LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   fstab smb mounts fail at boot (https://www.linuxquestions.org/questions/linux-networking-3/fstab-smb-mounts-fail-at-boot-486724/)

litlmary 09-25-2006 02:54 AM

fstab smb mounts fail at boot
 
I have 3 lines in the fstab on my laptop that mount some smb shares on my fileserver for me. During boot just before the GUI loads I see:
Code:

Mount SMB/ CIFS File Systems
from /etc/fstab .SMB connection failed
SMB connection failed
SMB connection failed

once KDE has loaded and I am at the desktop, the shares are NOT mounted unless I open a terminal and do a simple
Code:

litljay@A22m:~> su
Password:
A22m:/home/litljay # mount -a
A22m:/home/litljay #

or even simpler
Code:

litljay@A22m:~> sudo mount -a
root's password:
litljay@A22m:~>

I don't really care to have to go in and mount my shares manually after every boot when fstab should be doing it for me.

FWIW, here is what the fstab lines look like:
Code:

//192.168.1.2/data    /data            smbfs  auto,credentials=/root/.credentials,uid=1000    0 0
//192.168.1.2/mp3    /mp3              smbfs  auto,credentials=/root/.credentials,uid=1000    0 0
//192.168.1.2/SUSEDVD /susedvd          smbfs  auto,credentials=/root/.credentials,uid=1000    0 0

(with the obvious
Code:

-rw------- 1 root root      32 2006-09-21 23:50 .credentials
in /root/)

Could there be a service that is not starting fast enough? Like I said, this is the last thing before the GUI loads, so I am already at runlevel 5 and AFAIK all of the services for that runlevel have already started. Hitting CTRL-ALT-F1 to get me back to the terminal shows that nothing happened after that.

Any ideas why it is failing?

TIA,

J

bernied 09-25-2006 07:55 AM

It's not a wireless network connection is it?

Have you tried not logging in to the desktop, then attempting the mount from a terminal? This would tell you if somehow your smbfs support was linked to the desktop.

How is smbfs support implemented in SUSE? In Ubuntu you have to install the package smbfs, but in my gentoo system it is compiled into the kernel. Could it be linked to some desktop utility?

litlmary 09-26-2006 11:09 PM

smbfs is a service that I have configured to run at runlevel 5, and I am currently battling with madwifi, so for the moment it is only a wired ethernet connection that they are failing on. A quick test like you suggested netted a good glean connect to the shares from a terminal.


All times are GMT -5. The time now is 12:01 PM.