Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mounting network filesystems at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Wed Aug 24, 2005 6:14 pm    Post subject: mounting network filesystems at boot Reply with quote

What is the Gentoo way of doing this because simply putting it in the fstab as type cifs does not work?
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Wed Aug 24, 2005 6:30 pm    Post subject: Reply with quote

For samba:
Code:
//machiname/sharname  /mnt/point       smbfs   noauto,user,username=???,password=????,uid=0,fmask=777,ip=x.x.x.x   0 0

Of course remove the noauto flag since it seems you're trying to do the opposite.

ip= and password= are optional; use workgroup= to specify a domain
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
slam_head
Guru
Guru


Joined: 06 Jan 2003
Posts: 449
Location: New York City

PostPosted: Wed Aug 24, 2005 6:40 pm    Post subject: Reply with quote

Thank you but I already knew the proper syntax, and BTW you should consider using cifs instead of smbfs, it's a better client.
Back to top
View user's profile Send private message
Nylle
Guru
Guru


Joined: 05 May 2002
Posts: 308
Location: Uppsala, Sweden

PostPosted: Sat Oct 08, 2005 9:35 am    Post subject: Reply with quote

slam_head wrote:
Thank you but I already knew the proper syntax, and BTW you should consider using cifs instead of smbfs, it's a better client.


I'm dragging up this old thread again as I have the same problem. Smbfs works fine but I want to use cifs, however I can't get it to mount at boot. It fails with

Code:

CIFS VFS: Error connecting to IPv4 socket. Aborting operation
 CIFS VFS: cifs_mount failed w/return code = -101


But when I have booted up, I can mount and unmount them without errormessages. If I have them mounted when I shut down, the machine hangs at "unmounting local file systems". Any idea on how to get cifs working properly?
_________________
"Do you hear that sound your Highness?"
"Those are the shrieking eels, they always grow louder when they are about to feed on human flesh."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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