  | |  | samba mounting start before ethernet up during booting | samba mounting start before ethernet up during booting 2005-07-29 - By M E Fieu
Back Hi..I used your method (see below, it add the route successfully
[root@(protected) sysconfig]# more static-routes any net 172.16.1.0 netmask 255.255.255.0 gateway 172.16.12.1
But it still fail to mount the samba drive during booting. The error that we have Jul 29 15:59:11 APMCG1 kernel: bcm5700: eth0 NIC Link is UP, 1000 Mbps full duplex Jul 29 15:59:11 APMCG1 kernel: bcm5700: eth1 NIC Link is UP, 1000 Mbps full duplex Jul 29 15:59:12 APMCG1 mount: Error connecting to 172.16.1.21 (No route to host) Jul 29 15:59:12 APMCG1 mount: 2236: Connection to SPM failed Jul 29 15:59:12 APMCG1 mount: SMB connection failed Jul 29 15:59:12 APMCG1 netfs: Mounting SMB filesystems: failed Jul 29 15:59:12 APMCG1 netfs: Mounting other filesystems: succeeded
The routing was add after it tried to map SMB drive. I used a workaround by specify a S99smbmount of a entry mount -t smbfs -o username=mcg_iur,password=mcg1234 //SPM/IURdownload /mounted _spm_dir
and S60local of a entry of route add -net 172.16.1.0 netmask 255.255.255.0 gw 172.16.12.1
I thought it will add the route and mount the drive, but the route is added and never mount. Why? Any idea? I confirmed the S99smbmount can work by manually execute it. Any workaround ?
--- Ed Wilts <ewilts@(protected)> wrote:
> On Thu, Jul 28, 2005 at 07:00:08PM -0700, M E Fieu wrote: > > Hi.. The mail was not quite clear, what entry format I need to put in > > /etc/sysconfig/static-routes > > do you mean to the entry format like > > > > any route add -net 172.16.1.0 netmask 255.255.255.0 gw 172.16.1.1 > > It would just be: > > any net 72.16.1.0 netmask 255.255.255.0 gw 172.16.1.1 > > There's an example from Chris Cloiber from Red Hat at > https://www.redhat.com/archives/taroon-list/2004-July/msg00135.html > that uses another method to add static routes. > > See also /usr/share/doc/initscripts*/sysconfig.txt > > -- > Ed Wilts, RHCE > Mounds View, MN, USA > mailto:ewilts@(protected) > Member #1, Red Hat Community Ambassador Program > > -- > Taroon-list mailing list > Taroon-list@(protected) > http://www.redhat.com/mailman/listinfo/taroon-list >
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
-- Taroon-list mailing list Taroon-list@(protected) http://www.redhat.com/mailman/listinfo/taroon-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |