Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mount.cifs does not work on installed hardrive
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Niimura
n00b
n00b


Joined: 05 Jul 2004
Posts: 58

PostPosted: Sat Feb 08, 2014 10:09 pm    Post subject: mount.cifs does not work on installed hardrive Reply with quote

Hi.

I have an univeral USB end of world version. I run mount.cifs after I booted from the USB, and the mount.cifs worked okay. However, I installed the gentoo from USB, and let the hard disk boot, I don't get mount.cifs works.

I got this error every time I tried "mount.cifs" or "mount -cifs" commands
[quote]mount error(22): Invalid argument
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Quote:


I type the command in the following way:

Code:
mount.cifs //Server IP/Data /mnt/Apple -o user=myusername,domain=workgroup,password=mypassword


I even tried the options with ntlm, ntlmv2, or lanman, but no luck.
I have make sure that I have fuse and cifs-utils installed, and get cifs supported in kernel.


I tried "smbclient" command to log on my Apple time capsule, and it works successfully.
However, I got nothing when I typed:
Code:
smbtree -N


I just frustrated with what's going on with cifs, I want the smbmount back.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1368
Location: Montréal

PostPosted: Sun Feb 09, 2014 7:32 am    Post subject: Reply with quote

What about if you quote the spaces?
Code:
mount.cifs //"Server IP"/"Data "/mnt/Apple -o user=myusername,domain=workgroup,password=mypassword

A space is a character that need to be quote to be taken in account, or it must not be there. I generally use
Code:
smbtree -N

to know the exact path of the Samba shares.
_________________
Paul
Back to top
View user's profile Send private message
Niimura
n00b
n00b


Joined: 05 Jul 2004
Posts: 58

PostPosted: Mon Feb 10, 2014 5:49 am    Post subject: Reply with quote

Code:
smbtree -N
returns nothing.

But I can use the command:
Code:
gvfs-mount smb://myusername:mypassword@Apple/data

to browse the content inside the Apple time Capsule.

However, I cannot open the files with gvfs-mount. :(
Back to top
View user's profile Send private message
Niimura
n00b
n00b


Joined: 05 Jul 2004
Posts: 58

PostPosted: Mon Feb 10, 2014 5:54 am    Post subject: Reply with quote

Right now..
I have to copy files to /home directory, if I want to open files..

Not Good. :(
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue Feb 11, 2014 4:22 pm    Post subject: Reply with quote

Does /sbin/mount.cifs exist?

Will
Back to top
View user's profile Send private message
Niimura
n00b
n00b


Joined: 05 Jul 2004
Posts: 58

PostPosted: Tue Feb 11, 2014 7:21 pm    Post subject: Reply with quote

I have emerged the cifs-utils, so mount.cifs exists.

By the way, I got warning during boot. Saying:

Quote:

Unknown keys: sysctl: cannot stat /proc/sys/vfs/usermount: No such file or directory


Don't know if there is anything wrong with "usermount"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum