[LBo] Mounts on login
Brian Reichert
rignes at pobox.com
Thu Mar 6 00:00:16 CET 2008
* Jorge Diaz <empanadas at gmail.com> [2008-03-05 14:42:09-0500]
> At home we have a laptop that connects to the network via wifi. There are
> samba shares that I would like to access and have done so successfully. My
> only issue is that when I try to mount the samba share via fstab, it is
> unable to mount at boot time because the wifi takes a while longer to
> register with the router.
>
> How could I have samba shares automounted but only after a successful
> connection to the router has been made?
>
> thanks!
>
A quick Google search produced this which has some ideas:
http://ubuntuforums.org/showthread.php?t=269971
You could also not automount them in fstab and put the mount commands in
whatever the functional equivalent of rc.local is for your distro. rc.local
usually gets processed last in the boot process as far as I know which may give
your wireless more time to get connected.
You could also put the mount commands in your .bashrc such that they get run at
log on if you are the only user of the system.
I searched for delayed mounting in fstab but didn't come up with any hits.
Granted I only searched for 5 minutes so there may be a better way.
--
Brian Reichert
GPG Public Key: 0xECEFD7AC
http://rignesnet.tzo.com
"I'd love to go out with you, but I'm staying home to work on my
cottage cheese sculpture."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://LinuxBasics.org/pipermail/qna/attachments/20080305/194ec07b/attachment.pgp
More information about the QnA
mailing list