netcardconfig after each reboot?Forum: Networking Topic: netcardconfig after each reboot? started by: meorero Posted by meorero on July 15 2004,06:56
I'm using 0.7 version from HD. My connection to the internet is through PPPoE, and it's shared - I have an ADSL cable modem and a hub. The connection configurations are at the modem, so it is actually a home router (Alcatel). But after each time I do reboot the internet connection from the DSL comuter doesn't work. I need to run each time netcardconfig. And the saettings are the same! Do I have something wrog? Posted by delbondigaldo on July 15 2004,07:49
1. after you reboot does 'ifconfig' show interface ethx ?2. f you type 'ifconfig eth0 up' then "ifconfig' does it now show as up ? 3. if it's up in the first place can you ping your router but not resolve addresses? if yes check /etc/resolve.conf (i hope-i just started using this today) for dns servers. maybe use static address in the netconfig if your not getting it back through the router ?? Posted by delbondigaldo on July 15 2004,07:52
oops.... assuming you are saving your config with the filetool.lst and then restoring it when you boot up ?
Posted by SaidinUnleashed on July 22 2004,03:17
i am having a very similar problem with my HD install of 7.2, and i have tried your fix, but it no worky.when i boot up, after the autodetecting devices and before the "starting automounter for floppy cdrom" it says "skipping DHCP broadcast as requested on command bootline" since there is no command bootline, how can one request something at the command bootline? and more importantly, how can i fix this? Posted by lunchbox on Aug. 04 2004,04:39
i have the exact same problem (skipping DHCP broadcast as requested on command bootline") , it all started when i gave my nic a static ip addy then put it back on dhcp. have you found the answer yet?
Posted by lunchbox on Aug. 04 2004,07:17
got it, not pretty, but it worksopen /etc/init.d/knoppix-autoconfig with your favorite editor comment out these lines if checkbootparam "nodhcp" || [ -f "/tmp/netconfig" ] ; then echo " ${BLUE}Skipping DHCP broadcast/network detection as requested on boot commandline.${NORMAL}" else fi (not every fi in the doc, just the one in that section, comment those 4 lines by putting a # in front of them, these are lines 856, 857, 858, and 869 in mine.) all this is assuming that you want to use dhcp and that you append line on /etc/lilo.conf does not contain nodhcp. Posted by libretto on Aug. 08 2004,20:38
Hello there,I'm having similar (annoying) problems with netcardconfig. Each time I reboot (DSL 0.7.3 HDD install) I have to run netcardconfig so I can get on the internet, although all the settings are still in the progam, all present and correct. Tried the following as root: 'ifup eth0' from the command line says "ifup: interface eth0 already configured" Then I run "ifdown eth0" which reports back "SIOCDELRT: No such process" Then I run 'if up eht0" and the internet starts working again! Even tried putting 'ifup eth0' into /opt/bootlocal.sh but still had he above situation. Does anyone know how to make netcardconfig stick EXTRA! Got it to work! Put the following in my /opt/bootlocal.sh : ifup eth0 ifdown eth0 ifup eth0 The first ifup may not be needed, but the idea working so I'm leaving as is! Posted by SaidinUnleashed on Aug. 09 2004,05:59
yay!it was a minor annoyance, but now its gone! |