On 12/04/2018 11:26 AM, Andrew Udvare wrote:
> On 04/12/2018 13:16, [email protected] wrote:
>> I'm trying to mount windows 10 shared folder on Gentoo home folder but
>> I'm getting an error from "smbclinet"
> 
> smbclient does not mount. It just connects a CLI client to the server
> (see the manpage). The -L argument is for the NetBIOS name alone, not
> the UNC. This should work:
> 
> smbclient -U OP2 //10.0.0.119/
> 
> Since you know the IP, you can skip NetBIOS lookup:
> 
> smbclient -I 10.0.0.119 -U OP2 //10.0.0.119/
> 
> Assuming you have CIFS built into your kernel, you can use mount as root:
> 
> mount -t cifs -o user=OP2 //10.0.0.119 /mount-point

I'm getting something, but it is not listing anyfiles/directories.

smbclient -U OP2  //10.0.0.119/
Enter OP2's password: 
 
The "OP2" computer does not have any password setup, so hitting "enter" is not 
listing anything.

When I try to mount it:
mount -t cifs -o user=OP2 //10.0.0.119 /home/thelma/win10
mount: /home/joseph/win10: bad option; for several filesystems (e.g. nfs, cifs) 
you might need a /sbin/mount.<type> helper program.

In my kernel config I have CIFS enabled:
grep -i cifs /usr/src/linux/.config 
CONFIG_CIFS=y

Thelma

Reply via email to