  | |  | samba mounting start before ethernet up during booting | samba mounting start before ethernet up during booting 2005-07-30 - By Roger "Pe?a" Escobio
Back
--- M E Fieu <sibu168@(protected)> wrote:
> > another thing: sometimes, the messages "No route > to > > host" hide a firewall problem, maybe is not your > case > > but maybe it is > > > > I have allow any any between both server and when I > map manually using the command > mount -t smbfs -o username=mcg_iur,password=mcg1234 > //SPM/IURdownload /mounted_spm_dir > > I don't problem, so I don't think Firewall is a > problem > > > > The routing was add after it tried to map SMB > drive. > > ^^^^^^^^^^^^^^^^^^^^^ > > what you mean hear ? > > I mean during the booting process, the SMB mapping > happen before the routing table adding. > > > I think it is not a good idea to move the "start > id" > > of "services" > > > > in my system: > > > > 08 -> iptables (firewall problems) > > 10 -> network (interfases and routes) > > 25 -> netfs (fstab network filesystems: smb for > > example) > > In fact I create a custom S22local to add the route > table "route add -net 172.16.1.0 netmask > 255.255.255.0 gw 172.16.12.1" The route table happen > should happen after 10network and before > 25netfs. The netfs for smb still fail to map > although the route table did add in. >
the network script should add that route if it is properly set in the right config files
as was previously mention, create the file /etc/sysconfig/static-route{s} (I can remenber if there is an "s" at the end or not) with the content: -net 172.16.1.0 netmask 255.255.255.0 gw 172.16.12.1
it is the argument to: "route add" command
> I also create S99smbmount of entry "mount -t smbfs > -o username=mcg_iur,password=mcg1234 > //SPM/IURdownload /mounted_spm_dir" but the mounting > also never happen.
with the error you mention: "No route to host" ? or that error is only from the netfs script ?
I am realy confuse, because you did differents things try to start all over again, this time doing the right thing to set the route at the right moment, and letting netfs to try to mount the smb filesystem by itseft
if there is an error, let us know where it is, and who complain wiht what
cu roger
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ 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.
|
|
 |