PDA

View Full Version : dhclient/DNS


timomai
1st April 2007, 04:06 PM
Hello,


I use 'dhclient' to get an IP address for my wireless card. 'dhclient' does its jobs nicely and changes my /etc/resolv.conf file as well. But I would like to keep my own file.

How can I use 'dhclient' if I do not want it to change my /etc/resolv.conf' file ?

Thank you,
Tim :)

Iron_Mike
2nd April 2007, 01:03 AM
You can go to system ->administration ->network Highlight your wireless card and select edit. Uncheck the box for "automatically obtain DNS info from ISP"

timomai
2nd April 2007, 03:35 PM

You can go to system ->administration ->network Highlight your wireless card and select edit. Uncheck the box for "automatically obtain DNS info from ISP"
Thank you for the answeer. But I would prefer to use a command line version, because it will be included in a script.
Tim