Click to See Complete Forum and Search --> : fstab entries and hanging on boot
matei
05-06-2003, 01:55 PM
Hello!
Does anyone have any advice for a problem with fstab entries and bootup hang?
I've added several entries to my fstab with the following syntax:
//192.168.0.3/linux /mnt/linux smbfs credentials=/home/matei/.smbpasswd 0 0
I'm trying to automatically mount some windows shares on an XP system.
If I disable the respective service on bootup and then manually type mount /mnt/linux - it works fine. However, if I just let the system boot up on its own, it just hangs when it tries to mount the smb file systems.
Even if I put in my username/password on the remote system, it still hangs (but mounts if I issue the command manually).
parth
05-06-2003, 02:38 PM
Do you think Samba starts before fstab is read.
Some how I don't feel that happens.That might be the problem.
parth
05-06-2003, 02:44 PM
I see you are trying to mount remote sharing folder.This may due to your machine does not have IP yet by the time it reads fstab.
That might cause a problem
hope this helps
mikim
05-06-2003, 03:29 PM
being new to this all I can do is give you my fstab entries -- that correspond to a line entry in rc.local
//winserver/directory /mnt/directory smbfs noauto,username,unhide
that's it
Originally posted by parth
Do you think Samba starts before fstab is read.
Some how I don't feel that happens.That might be the problem. \
you dont need the samba daemons started to mount a remote samba share.
all you need is samba in the kernel which he must have because he can mount after he gets booted up.
Originally posted by matei
Hello!
Does anyone have any advice for a problem with fstab entries and bootup hang?
I've added several entries to my fstab with the following syntax:
//192.168.0.3/linux /mnt/linux smbfs credentials=/home/matei/.smbpasswd 0 0
I'm trying to automatically mount some windows shares on an XP system.
If I disable the respective service on bootup and then manually type mount /mnt/linux - it works fine. However, if I just let the system boot up on its own, it just hangs when it tries to mount the smb file systems.
Even if I put in my username/password on the remote system, it still hangs (but mounts if I issue the command manually).
how long have you let it sit there for while it is trying to mount the smb shares?
btw, your fstab line looks fine (same way i do it). one question, does ~/.smbpasswd exist? and does it have the username and password in it?
parth
05-06-2003, 04:00 PM
Hayl
Is it possible to broadcast and fetch info on networt without having an IP address for itself.
Thanks for you time
you can broadcast (and receive) packets on the network with out an ip - otherwise DHCP wouldn't be possible. :)
but no - samba won't work without an ip if that is your question.
bwkaz
05-06-2003, 06:17 PM
You can add "noauto" to the options field.
I don't know how to fix the delay, though.
matei
05-07-2003, 11:57 AM
Thanks for all the suggestions!
I think that I've pinned it to a problem with permissions on the Windows XP box.
When I changed the permissions to my Windows account (which matches the name & password in my .passwrd file), I can't logon and SMB just hangs. When I change the permissions to "Everybody/full" - no problem.
Is there a way to specify domain/username in the .passwrd file?