Networking :: netcardconfig after each reboot?



got it, not pretty, but it works

open /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.

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! :D

yay!

it was a minor annoyance, but now its gone!


original here.