View previous topic :: View next topic |
Author |
Message |
slam_head Guru
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Wed Aug 24, 2005 6:14 pm Post subject: mounting network filesystems at boot |
|
|
What is the Gentoo way of doing this because simply putting it in the fstab as type cifs does not work? |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Wed Aug 24, 2005 6:30 pm Post subject: |
|
|
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 |
|
|
slam_head Guru
Joined: 06 Jan 2003 Posts: 449 Location: New York City
|
Posted: Wed Aug 24, 2005 6:40 pm Post subject: |
|
|
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 |
|
|
Nylle Guru
Joined: 05 May 2002 Posts: 308 Location: Uppsala, Sweden
|
Posted: Sat Oct 08, 2005 9:35 am Post subject: |
|
|
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 |
|
|
|