You are not logged in.
Pages: 1
Hello,
trying since hours to mount my NAS. Read a lot of advises but cannot succeed...
e.g. (all as SU):
root@slitaz:/home/tux# mount.cifs -t //192.168.1.101/public /mnt/nas/ -o user=ROOT,password=root
Couldn't chdir to //192.168.1.101/public: No such file or directory
or
root@slitaz:/home/tux# mount.cifs //192.168.1.101/ /mnt/nas
Password:
mount error(5): Input/output error
The IP 192... is correct - checked it on a windows compi
The NAS-HD is formatted as FAT32
The PUBLIC directory on the NAS exists...
Samba-packages, smbclient and smbfs are installed...
What to do?!?
Regards Ernst
Offline
Hello again - is no network guru out there who can help pls??? Read and tried and no success. Changed the NAS and tried:
root@slitaz:/home/tux# mount.cifs //192.168.2.60/PUBLIC /mnt/LANPLATTE -o user=GUEST,pass=public
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Interesting is if I try this and the NAS is in sleep-mode she "wakes up"... so there is a kind of communication between my compi and the nas...
Regards Ernst
Offline
And hello again... you will not believe what happened: The moment I pushed the button "Send Post" my eyes went to my other screen and there (must have hit a key on the keyboard, because can't remember THIS posting was there before) I saw a post in another forum. And a guy reported he nearly had the same problem, was working on it since days and found "accidently" following solution (changed for my needs):
root@slitaz:/home/tux# mount.cifs //192.168.2.60/PUBLIC /mnt/LANPLATTE -o user=GUEST,pass=public,ro,nounix,noserverino
and WOW it worked!!! The first time I have access to the NAS. Now I have a new point to start from... Wanted to tell you - maybe its helpful one day for another newbie like me...
Regards Ernst
Offline
Well done, Ernst! You even taught me something now.
Offline
Hello - @Trixar: thks for the flowers... - but to finalize the story and for all newbies like me... of course followed at first the procedure you can read often: to mount the drive on boot you use an entry in etc/fstab. This does not work in this case. It did not really surprised me and I looked into the boot log and found what I assumed: the fstab is worked trough before the ethernet connection is established. So this cannot work. Found a hint by googling in the old SliTaz forum and changed the line after the daemons are loaded in the etc/rcS.conf :
# Daemons to start at boot time. SliTaz only provides a few daemons: firewall,
# Web server (httpd), SSH server (dropbear) and rsyncd, so boot order is
# not really important, but dbus/hald should be started before slim.
RUN_DAEMONS="dbus hald cifs cupsd slim firewall httpd"
# Mount LAN-Drive (NAS)
mount.cifs //192.168.2.60/DATA /mnt/LANPLATTE -o user=GUEST,pass=public,uid=tux,gid=users,rw,nounix,noserverino,nobrl
So this now is working perfect - if the NAS is started a short period before the compi and this isn't a problem at the moment. Of course regarding safety issues (I learned you should work with credentials/hidden(protected)files...) this is not the best way but I'm for the time being interested in the technical solution and will have an eye on these questions later.
Regards Ernst
Offline
Pages: 1
[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]