Re: [gentoo-user] mounting windows 10 partition on linux

2018-12-04 Thread thelma
On 12/04/2018 12:20 PM, the...@sys-concept.com wrote:
> On 12/04/2018 12:05 PM, the...@sys-concept.com wrote:
>> mount: /home/joseph/win10: bad option; for several filesystems (e.g. nfs, 
>> cifs) you might need a /sbin/mount. helper program.
> 
> That should be:
> mount -t cifs -o user=OP2 //10.0.0.119 /home/thelma/win10
> mount: /home/thelma/win10: bad option; for several filesystems (e.g. nfs, 
> cifs) you might need a /sbin/mount. helper program.
> 
> The above command works for my Windows 7  but not for Windows 10

mount -t cifs //10.0.0.119/backup /home/thelma/win10 -o 
username=OP2,password=op2,vers=1.0
mount error(112): Host is down

mount -t cifs //10.0.0.119/backup /home/thelma/win10 -o 
username=OP2,password=op2,vers=3.0
mount error(22): Invalid argument

Same error is for "vers=2.0



Re: [gentoo-user] mounting windows 10 partition on linux

2018-12-04 Thread thelma
On 12/04/2018 12:11 PM, Neil Bothwick wrote:
> On Tue, 4 Dec 2018 12:05:49 -0700, the...@sys-concept.com wrote:
> 
>> 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. helper program.
> 
> Do you have /sbin/mount.cifs? It's provided by cifs-utils.

Yes I was missing "cifs-utils" on this box and just install it.
But I'm still getting an error:

mount -t cifs -o user=OP2,password=op2 //10.0.0.119/backup
/home/thelma/win10
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

"backup" folder on Windows 10 has shared enabled.

--
Thelma



Re: [gentoo-user] mounting windows 10 partition on linux

2018-12-04 Thread thelma
On 12/04/2018 12:05 PM, the...@sys-concept.com wrote:
> mount: /home/joseph/win10: bad option; for several filesystems (e.g. nfs, 
> cifs) you might need a /sbin/mount. helper program.

That should be:
mount -t cifs -o user=OP2 //10.0.0.119 /home/thelma/win10
mount: /home/thelma/win10: bad option; for several filesystems (e.g. nfs, cifs) 
you might need a /sbin/mount. helper program.

The above command works for my Windows 7  but not for Windows 10




Re: [gentoo-user] mounting windows 10 partition on linux

2018-12-04 Thread Neil Bothwick
On Tue, 4 Dec 2018 12:05:49 -0700, the...@sys-concept.com wrote:

> 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. helper program.

Do you have /sbin/mount.cifs? It's provided by cifs-utils.


-- 
Neil Bothwick

"DOOM ", said Pooh, and Slaughtered Christopher Robin with a chainsaw


pgpyvR5gKBt35.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] mounting windows 10 partition on linux

2018-12-04 Thread thelma
On 12/04/2018 11:26 AM, Andrew Udvare wrote:
> On 04/12/2018 13:16, the...@sys-concept.com 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. helper program.

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

Thelma



Re: [gentoo-user] mounting windows 10 partition on linux

2018-12-04 Thread Andrew Udvare
On 04/12/2018 13:16, the...@sys-concept.com 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

-- 
Andrew



signature.asc
Description: OpenPGP digital signature