public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] mounting windows 10 partition on linux
@ 2018-12-04 18:16 thelma
  2018-12-04 18:26 ` Andrew Udvare
  0 siblings, 1 reply; 7+ messages in thread
From: thelma @ 2018-12-04 18:16 UTC (permalink / raw
  To: Gentoo mailing list

I'm trying to mount windows 10 shared folder on Gentoo home folder but
I'm getting an error from "smbclinet"

smbclient –L //10.0.0.119 –U OP2
–L: Not enough '\' characters in service

I've tried:
mbclient –L //10.0.0.119 –U OP2
smbclient –L //10.0.0.119/backup –U OP2
smbclient –L \\\\10.0.0.119\\backup –U OP2

-- 
Thelma


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mounting windows 10 partition on linux
  2018-12-04 18:16 [gentoo-user] mounting windows 10 partition on linux thelma
@ 2018-12-04 18:26 ` Andrew Udvare
  2018-12-04 19:05   ` thelma
  0 siblings, 1 reply; 7+ messages in thread
From: Andrew Udvare @ 2018-12-04 18:26 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 625 bytes --]

On 04/12/2018 13:16, thelma@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


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mounting windows 10 partition on linux
  2018-12-04 18:26 ` Andrew Udvare
@ 2018-12-04 19:05   ` thelma
  2018-12-04 19:11     ` Neil Bothwick
  2018-12-04 19:20     ` thelma
  0 siblings, 2 replies; 7+ messages in thread
From: thelma @ 2018-12-04 19:05 UTC (permalink / raw
  To: gentoo-user, Andrew Udvare

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

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

Thelma


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mounting windows 10 partition on linux
  2018-12-04 19:05   ` thelma
@ 2018-12-04 19:11     ` Neil Bothwick
  2018-12-04 19:36       ` thelma
  2018-12-04 19:20     ` thelma
  1 sibling, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2018-12-04 19:11 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

On Tue, 4 Dec 2018 12:05:49 -0700, thelma@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.<type> 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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mounting windows 10 partition on linux
  2018-12-04 19:05   ` thelma
  2018-12-04 19:11     ` Neil Bothwick
@ 2018-12-04 19:20     ` thelma
  2018-12-04 22:30       ` thelma
  1 sibling, 1 reply; 7+ messages in thread
From: thelma @ 2018-12-04 19:20 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org >> Gentoo mailing list

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

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mounting windows 10 partition on linux
  2018-12-04 19:11     ` Neil Bothwick
@ 2018-12-04 19:36       ` thelma
  0 siblings, 0 replies; 7+ messages in thread
From: thelma @ 2018-12-04 19:36 UTC (permalink / raw
  To: gentoo-user

On 12/04/2018 12:11 PM, Neil Bothwick wrote:
> On Tue, 4 Dec 2018 12:05:49 -0700, thelma@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.<type> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] mounting windows 10 partition on linux
  2018-12-04 19:20     ` thelma
@ 2018-12-04 22:30       ` thelma
  0 siblings, 0 replies; 7+ messages in thread
From: thelma @ 2018-12-04 22:30 UTC (permalink / raw
  To: gentoo-user@lists.gentoo.org >> Gentoo mailing list

On 12/04/2018 12:20 PM, thelma@sys-concept.com wrote:
> On 12/04/2018 12:05 PM, thelma@sys-concept.com wrote:
>> mount: /home/joseph/win10: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> 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.<type> 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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-12-04 22:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-04 18:16 [gentoo-user] mounting windows 10 partition on linux thelma
2018-12-04 18:26 ` Andrew Udvare
2018-12-04 19:05   ` thelma
2018-12-04 19:11     ` Neil Bothwick
2018-12-04 19:36       ` thelma
2018-12-04 19:20     ` thelma
2018-12-04 22:30       ` thelma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox