SMBFS Don't work !!!
"mini.jphy" <[email protected]> Sat, 10 May 2003 21:6:57 +0000
| Newsgroups | gmane.linux.tomsrtbt |
|---|---|
| Message-ID | <[email protected]> |
Hello Tom, I'am sorry to disturb you for this problem because i have seen a lot a things in the archive and i think you've got other thing to do but i really can't connect an smb filesystem so, i was tried a lot of things : # this part of code is always the same # i connect my floppy to run a smb script mkdir fd mount -t vfat /dev/fd0 /fd cd /fd /smb # now it's the beginig of the script: ifconfig eth0 192.168.1.5 netmask=255.255.255.0 up echo "192.168.1.1 dell" >> /etc/lmhosts echo "192.168.1.2 jphy" >> /etc/lmhosts echo "192.168.1.1 dell" >> /etc/hosts echo "192.168.1.2 jphy" >> /etc/hosts echo "eth0 192.168.1.5" >> /etc/networks domainname mdkgroup hostname tomsrtbt # now this is the part of case by case # CASE NUMBER ONE: insmod ./smbfs.o ln -s ./smbmount /usr/bin/smbmount ln -s ./smbumount /usr/bin/smbumount ln -s ./smbmnt /usr/bin/smbmnt mkdir /smb smbmount //192.168.1.1/sys /smb -o guest # result : Using ./smbfs.o smbmount: symbolic link loop # CASE NUMBER TWO: cp smbfs.o /lib/modules insmod smbfs.o cp smbmount /usr/bin/smbmount cp smbumount /usr/bin/smbumount cp smbmnt /usr/bin/smbmnt mkdir /smb smbmount //192.168.1.1/sys /smb -o guest # result : Using smbfs.o param.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf": No such file or directory Can't load /usr/local/samba/lib/smb.confsmb.conf - run testparm to debug it load_client_codepage: filename /usr/local/samba/lib/codepages/codepage.850 does not exist. load_unicode_map: filename /usr/local/samba/lib/codepages/unicode_map.850 does not exist. session request to 192.168.1.1 failed session setup failed: ERRDOS - ERRnoaccess ( access denied. ) # CASE NUMBER TREE: cp smbfs.o /lib/modules insmod smbfs.o cp smbmount /usr/bin/smbmount cp smbumount /usr/bin/smbumount cp smbmnt /usr/bin/smbmnt mkdir /smb mount -t smbfs //192.168.1.1/sys /smb -o guest # result : Using smbfs.o SMBFS: need mount version 6 mount: wrong fs type, bad option, bad superblock on //192.168.1.1/sys, or too many mounted file systems I have got a big list of example because i have tried a lot of things but these are the most common errors. In every case i was in capability to ping the other computer and to get the controle of him by netcat. do you know a solution for this, or it's really possible my proc are bad i'am a really newbie under linux. thank's a lot.