Networking :: small netowrk question



hello all.
i have tried all i know and been through this and other forums to try and find an answer and this is my last resort.
when booting dsl i need to run ifup eth0 in order for the network card to function, all the setting (ip, gw, snm) are there and used but before it will work on the network i need to run the above command

as this box will be a file server i need it to happen automatically.

its a hd install, its the latest version.

i have tried adding this line to the /etc/network/interfaces file and nothing.

i have also tried adding this line the the same file in /etc/r5.d that i run smbd and nmbd from and they start up fine, but eth0 still needs to be enabled using ifup eth0 from a terminal window.

any ideas please?

many thanks in advance.

You could try to put it in /opt/bootlocal.sh. Not a very clean solution (and I have no idea if it will work).
place that command in /etc/rc5.d/S99bootlocal and it will autostart, in fact all commands for "startup" should go in there, even the swapon command works in there

S99bootlocal is like the /etc/rc.d/rc.local file in Redhat

Kinda like the "startup" dir on a M$ system

Brian
AwPhuch

hi all.

tried all the above suggestions, done them all and te eth0 device wont come up on boot.

weird thing is i ping the dsl box with a -t from a m$ box, and as the dsl system comes up it settles at the login prompt. the m$ box has been unable to ping the dls box so i have a load of request timed out messages.

as soon as the dsl box settles at the login i get about 30 responses back on the m$ box and then after that it goes back to request timed out.

login and things are the same, still need to ifup to get anything out of it.

its a silly irritating problem but i guess life would be boring without them.

i have changed the nic also for a different speed and make, no better.

i dont know if this has any bearing but under the dls control panel dhcp is enabled, allthough i have set my /etc/network/interfaces file to static and have run the netcardconfig and asked for static.

when i alter the control panel to turn off dhcp then after a reboot dhcp goes back to on again.

just prior to the login screen, there is a line (in green) that says network device eth0 detected broadcasting for ip (backgrounding).

again thanks for any advice.

steve.

sorry, forgot to log in, the above guest post if from me (realpc).

doh!

Next Page...
original here.