1 |
On 12/04/2018 11:26 AM, Andrew Udvare wrote: |
2 |
> On 04/12/2018 13:16, thelma@×××××××××××.com wrote: |
3 |
>> I'm trying to mount windows 10 shared folder on Gentoo home folder but |
4 |
>> I'm getting an error from "smbclinet" |
5 |
> |
6 |
> smbclient does not mount. It just connects a CLI client to the server |
7 |
> (see the manpage). The -L argument is for the NetBIOS name alone, not |
8 |
> the UNC. This should work: |
9 |
> |
10 |
> smbclient -U OP2 //10.0.0.119/ |
11 |
> |
12 |
> Since you know the IP, you can skip NetBIOS lookup: |
13 |
> |
14 |
> smbclient -I 10.0.0.119 -U OP2 //10.0.0.119/ |
15 |
> |
16 |
> Assuming you have CIFS built into your kernel, you can use mount as root: |
17 |
> |
18 |
> mount -t cifs -o user=OP2 //10.0.0.119 /mount-point |
19 |
|
20 |
I'm getting something, but it is not listing anyfiles/directories. |
21 |
|
22 |
smbclient -U OP2 //10.0.0.119/ |
23 |
Enter OP2's password: |
24 |
|
25 |
The "OP2" computer does not have any password setup, so hitting "enter" is not listing anything. |
26 |
|
27 |
When I try to mount it: |
28 |
mount -t cifs -o user=OP2 //10.0.0.119 /home/thelma/win10 |
29 |
mount: /home/joseph/win10: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program. |
30 |
|
31 |
In my kernel config I have CIFS enabled: |
32 |
grep -i cifs /usr/src/linux/.config |
33 |
CONFIG_CIFS=y |
34 |
|
35 |
Thelma |