Results 1 to 8 of 8
I am using Debian Sarge, linux kernel 2.4.27. My computer connects to the internet via an ethernet card, but every time I reboot, the network settings also get wiped. I ...
- 08-13-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 14
Netconfig during startup
I am using Debian Sarge, linux kernel 2.4.27. My computer connects to the internet via an ethernet card, but every time I reboot, the network settings also get wiped. I use dhcclient to set up the network configuration, so is there any way I can make the computer do that while it's booting?
Thanks.
- 08-13-2006 #2
take a look at
http://www.debian-administration.org/articles/28
http://www.debian.org/doc/debian-policy/ch-opersys.html
If you want a nice gui take a look at sysv-rc-conf. You may also try bum if you are running etchBrilliant Mediocrity - Making Failure Look Good
- 08-14-2006 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 14
I read through those but they don't say much about dhclient. Is there any way for dhclient to initiate during startup?
- 08-14-2006 #4
you will have to make a script. Here is a rough sample
replace blah with whatever you run. Name this script asCode:#! /bin/sh dhclient blah
Then do, from the site I linked toCode:/etc/init.d/dhclient
You could also put the command in yourCode:update-rc.d dhclient defaults
, or have it run with the startup of gnome or kde(I don't know how with kde).Code:/home/Derada/.bashrc
Code:gnome-session-properties
Brilliant Mediocrity - Making Failure Look Good
- 08-14-2006 #5Just Joined!
- Join Date
- Aug 2006
- Posts
- 14
So what do I replace blah with? I tried running it just as dhclient but it didn't work.
- 08-14-2006 #6
what command do you normally use to run dhclient?
Brilliant Mediocrity - Making Failure Look Good
- 08-15-2006 #7Just Joined!
- Join Date
- Aug 2006
- Posts
- 14
I just open up terminal and type in dhclient.
Will I get the same result if I re-install Debian?
- 08-15-2006 #8
in that case try that script with just using dhclient without the extra blah
Brilliant Mediocrity - Making Failure Look Good


Reply With Quote
