Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
fstab: smbfs mount failed - change boot sequence perhaps?
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
rimian
n00b
n00b


Joined: 31 Dec 2005
Posts: 42
Location: Australia

PostPosted: Sat Jan 14, 2006 7:59 am    Post subject: fstab: smbfs mount failed - change boot sequence perhaps? Reply with quote

Hello,

My smbfs share wont mount when i start my machine. it seems the boot sequence is not right. in run level 3 it starts eth0 then runs through fstab then starts samba. of course this doesn't work. does anyone know if i can alter the sequence? i have tried starting the samba server in the boot run level but then i need to start eth0 there too. i fear i may end up chasing my tail or compromising security.

thanks in advance!
Back to top
View user's profile Send private message
pogi
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 124
Location: Hungary

PostPosted: Sat Jan 14, 2006 2:57 pm    Post subject: Reply with quote

ok, perhaps i dont really get what do you trying to do.
why are you want to mount 'your' samba share, on 'your' machine?

pogi
_________________
Free! Tibet
Back to top
View user's profile Send private message
tuxmin
l33t
l33t


Joined: 24 Apr 2004
Posts: 838
Location: Heidelberg

PostPosted: Sat Jan 14, 2006 5:07 pm    Post subject: Reply with quote

You don't need a samba server running for mounting smb shares. All that matters is smb.conf.
You should give some more information on what you are trying and what goes wrong -- any msgs in the logs?


Alex!!!
_________________
ALT-F4
Back to top
View user's profile Send private message
rimian
n00b
n00b


Joined: 31 Dec 2005
Posts: 42
Location: Australia

PostPosted: Sun Jan 15, 2006 12:20 am    Post subject: Reply with quote

ok:
my windows machine is MARVIN
my fstab has one network filesystem only:
//marvin/wip /home/rimian/wip smbfs user,password=,dmask=0777

when my linux machine boots i get:
INIT: Entering runlevel 3
* Starting metalog...
* Starting eth0
* Bringing up eth0
* 192.168.0.6
* Adding routes
* default gw 192.168.0.1
* Mounting network filesystems...
SMB connection failed
* Could not mount all network filesystems!
* Starting local...

If i try:
# mount //marvin/wip /home/rimian/wip -t smbfs -o password=,dmask=0777
then it mounts

i can't see anything in my logs that is relevant.

thanks for your help

EDIT:
i've learnt that if i restart netmount then the filesystem mounts! now how to make that happen when i boot...
Back to top
View user's profile Send private message
Wooff
Tux's lil' helper
Tux's lil' helper


Joined: 19 Jun 2004
Posts: 101
Location: LB.CZ.EU

PostPosted: Fri Jan 20, 2006 4:18 pm    Post subject: Reply with quote

hi,
try to move samba daemon to boot runlevel...
rc-update del samba default
rc-update add samba boot

if you had it....
W
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