OpenWrt Forum Archive

Topic: mount on windows 7

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,

I dont know why but i can't mount a windows 7 share on my openwrt Backfire (10.03.1-rc4, r24045).

I install
opkg install cifsmount
opkg install kmod-fs-cifs
opkg install samba-common
opkg install samba-client

I try
mount.cifs //192.168.0.1/Musique /Musique -o user=test,pass=test
The cmd is ok but when i exec "ls /Musique" it's say
"ls: can't open '/Musique': Value too large for defined data type "
and i see my user on windows sharing manager...

So i try
mount -t smbfs //192.168.0.1/Musique /Musique/ -o user=test,pass=test
the answer : mount: mounting //192.1698.0.1/Musique on /Musique failed: No such device

:S

I try the same cmd on debian and I dont have any error

Someone could help me ? is missing some package?

Thank you

For those who would face the same issue, I just found the answer (from Samba's FAQ):

add the option nounix,noserverino to the mount line (or in fstab)

Ex:
mount -t cifs //server/media /media -o nounix,noserverino


Hope it may help!

Chris

The discussion might have continued from here.