- To: slug@xxxxxxxxxxx
- Subject: Re: [SLUG] Newbie Samba mounts
- From: knet <knet@xxxxxxxxxxxxxxx>
- Date: Tue Oct 8 00:27:11 2002
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4.1) Gecko/20020314 Netscape6/6.2.2
First, ensure init starts both network and netfs at boot time and that
network is started before netfs; netfs is responsible for mounting the
SMB shares.
In my case:
[david@joshua init.d]$ /sbin/chkconfig --list | grep -e network -e netfs
netfs 0:off 1:off 2:off 3:on 4:off 5:on 6:off
network 0:off 1:off 2:off 3:on 4:off 5:on 6:off
[david@joshua init.d]$
[david@joshua init.d]$ ls /etc/rc.d/rc3.d/ | grep "S.*net"
S10network
S25netfs
[david@joshua init.d]$
Second, do you need a username and password? If so, these should be
provided as options rather than simply using "defaults".
Hope that helps.
knet.
jackcom@xxxxxxxxxxxxxx wrote:
I have tried the following strings in /etc/fsatb
//server.domain/share /mnt/share smbfs defaults 0 0
//server.domain/alsosh /mnt/alsosh smbfs defaults 0 0
This causes the boot process to pause at 'mounting smbfiles systems' until
enter is hit repeatedly. Neither of these shares requires a password. There
are at least two additional shares I would like to mount that do require
passwords.
I would like the smbfs to mount seemlessly during teh boot process. How do I
include log on details in /etc/fstab without making them 'human readable" ?
I run linux redhat 7.3 and the server runs emsith. The network is 100 base.
Thanks
Mick