1 |
On 04/12/2018 13:16, thelma@×××××××××××.com wrote: |
2 |
> I'm trying to mount windows 10 shared folder on Gentoo home folder but |
3 |
> I'm getting an error from "smbclinet" |
4 |
|
5 |
smbclient does not mount. It just connects a CLI client to the server |
6 |
(see the manpage). The -L argument is for the NetBIOS name alone, not |
7 |
the UNC. This should work: |
8 |
|
9 |
smbclient -U OP2 //10.0.0.119/ |
10 |
|
11 |
Since you know the IP, you can skip NetBIOS lookup: |
12 |
|
13 |
smbclient -I 10.0.0.119 -U OP2 //10.0.0.119/ |
14 |
|
15 |
Assuming you have CIFS built into your kernel, you can use mount as root: |
16 |
|
17 |
mount -t cifs -o user=OP2 //10.0.0.119 /mount-point |
18 |
|
19 |
-- |
20 |
Andrew |