Warning

 

Close

Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login
Site Notices
9/22/2017 12:11:25 AM
Posted: 12/8/2003 3:58:17 PM EDT


using the command line (Linux Mandrake), how do i get rid of the static IP address and make eth0 get a dynamic address from DHCP?

how do i set eth0 to automatically find a DNS server address? (my current DNS settings are in a file called resolv.conf under /etc).

thanks.


Link Posted: 12/8/2003 4:43:01 PM EDT
[Last Edit: 12/8/2003 4:45:07 PM EDT by KL2001]
I'm not in Mandrake, Run Slack 9.1 here, but in slack. open the file /etc/rc.d/rc.inet1.conf in a text editor (i.e. pico, vi or emacs) and change USE_DHCP[0]="no" to USE_DHCP[0]="yes" you can even leave all the other info there, since the USE_DHCP setting overrides all the others. To go back to your static IP, just change back to no. [edit]: board smilies get inserted, anyone know how to turn them off for this post only?
Link Posted: 12/8/2003 4:45:11 PM EDT
do you have a dhcp client package installed? I think it's called pump in Mandrake pump -i eth0 man interfaces vi /etc/network/interfaces man ifconfig
Link Posted: 12/8/2003 4:59:51 PM EDT
I'm on Mandrake 9.2. Try running "drakconnect" as root. GUI, but works for me.
Top Top