I am trying to mount a samba share on my OpenWRT router but I have the same error:
mount: mounting //192.168.0.254/Disque dur on /mnt/freebox failed: No such file or directory
I tried:
mount -t cifs "//FREEBOX/Disque dur" -o username=freebox,password="" /root/freebox
mount -t cifs "//192.168.0.254/Disque dur" -o username=freebox,password="" /root/freebox
mount -t cifs //FREEBOX -o username=freebox,password="" /root/freebox
mount -t cifs -o username=freebox,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 "//FREEBOX/Disque dur" /root/freebox
mount -t cifs -o username=freebox,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 "//192.168.0.254/Disque dur" /root/freebox
mount -t cifs -o user=freebox "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox "\192.168.0.254\Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,sec=ntlm "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -v -o domain=WORKGROUP,sec=krb5 "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=1.0 "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=2.0 "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=3.0 "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=1.0,sec=ntlm "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=2.0,sec=ntlm "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=3.0,sec=ntlm "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=1.0,sec=krb5 "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=2.0,sec=krb5 "//192.168.0.254/Disque dur" /mnt/freebox
mount -t cifs -o user=freebox,vers=3.0,sec=krb5 "//192.168.0.254/Disque dur" /mnt/freebox
The only time it works is only on Windows with:
net use J: "\192.168.0.254\Disque dur" /PERSISTENT:NO
I think the space between Disque and dur should be the problem