LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-25-2006, 02:54 AM   #1
litlmary
Member
 
Registered: May 2005
Location: Texas, somewhere near Houston (I think)
Distribution: See my sig
Posts: 308

Rep: Reputation: 30
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

Last edited by litlmary; 09-25-2006 at 03:01 AM.
 
Old 09-25-2006, 07:55 AM   #2
bernied
Member
 
Registered: Mar 2006
Location: Edinburgh, UK
Distribution: debian
Posts: 304

Rep: Reputation: 30
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?
 
Old 09-26-2006, 11:09 PM   #3
litlmary
Member
 
Registered: May 2005
Location: Texas, somewhere near Houston (I think)
Distribution: See my sig
Posts: 308

Original Poster
Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SMB mounts not working after Fedore 4 install sketchydave Linux - Networking 5 07-13-2005 02:40 PM
Forcibly Remove Dead Smb Mounts tunasashimi Linux - Networking 3 06-13-2005 11:51 PM
fstab to define mounts on boot PhiMati Fedora 1 06-18-2004 05:29 PM
NFS SMB common mounts greno Linux - Networking 1 06-02-2004 05:51 PM
smb mounts in fstab failing gw1500se Mandriva 4 05-31-2004 08:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration