You can still use DHCP for your IP settings, but override DNS settings.&nbsp; Look at /etc/dhcp3/dhclient.conf and the supercede statement.&nbsp; From the manpage:<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The supersede statement<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; supersede [ option declaration ] ;
<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If for some option the client should always&nbsp; use&nbsp; a&nbsp; locally-configured<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value&nbsp; or&nbsp; values rather than whatever is supplied by the server, these<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; values can be defined in the supersede statement.
<br><br>Werd,<br>dpk<br><br><br><div><span class="gmail_quote">On 9/12/06, <b class="gmail_sendername">Clay Dowling</b> &lt;<a href="mailto:clay@lazarusid.com">clay@lazarusid.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Scott,<br><br>What's probably assigning those values is dhcp.&nbsp;&nbsp;If your machine is<br>supposed to be getting its information from DHCP then you should stop<br>fighting it.&nbsp;&nbsp;If your machine is not supposed to be using DHCP then you
<br>should disable DHCP configuration on eth0.<br><br>Clay Dowling<br><br>Scott Harrison said:<br>&gt; Hi,<br>&gt;<br>&gt;<br>&gt; Here is my current situation.&nbsp;&nbsp;I am booting from<br>&gt; ubuntu live cd desktop version 6.06.1
.<br>&gt; Please see my silly perl scripts below, and<br>&gt; help me find a better way!<br>&gt;<br>&gt;<br>&gt; If I don't do this,<br>&gt; perl -e 'while(1) {sleep(1);`echo &quot;nameserver <a href="http://35.8.2.41">35.8.2.41
</a>&quot; &gt;<br>&gt; /etc/resolv.conf`;}' &amp;<br>&gt;<br>&gt;<br>&gt; I then, after a few minutes, wind up with this:<br>&gt; root@ubuntu:~# more /etc/resolv.conf<br>&gt; search domain_not_set.invalid<br>&gt; nameserver 
<a href="http://192.168.0.1">192.168.0.1</a><br>&gt;<br>&gt;<br>&gt; Also, I am doing this:<br>&gt; perl -e while(1) {sleep(1);`ifconfig eth0 <a href="http://192.168.2.1">192.168.2.1</a> netmask<br>&gt; 255.255.255.0`;}?<br>
&gt;<br>&gt;<br>&gt; because something in the system is auto-assigning<br>&gt; <a href="http://192.168.1.64">192.168.1.64</a> to eth0.<br>&gt;<br>&gt;<br>&gt; I tried adjusting<br>&gt; auto eth0<br>&gt; iface eth0 inet dhcp
<br>&gt;<br>&gt;<br>&gt; to be<br>&gt; auto eth0<br>&gt; iface eth0 inet <a href="http://192.168.2.1">192.168.2.1</a><br>&gt;<br>&gt;<br>&gt; Also, for my LAN, I adapted various iptables commands<br>&gt; from <a href="http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/summary.html">
http://www.tldp.org/HOWTO/Masquerading-Simple-HOWTO/summary.html</a><br>&gt; to help allow other LAN computers to access the internet.<br>&gt; I am wanting to use ubuntu live cd as a failsafe internet connection<br>&gt; tool for my LAN, but it seems cumbersome to
<br>&gt; store/transcribe/thumbdrive/remixlivecd all those<br>&gt; iptable commands.&nbsp;&nbsp;Is there a simple GUI or countably few<br>&gt; set of commands to do something similar?<br>&gt;<br>&gt;<br>&gt; I'm still in a happy place, but I must face Darth Vader
<br>&gt; (aka these bugs and issues) again, and this mailing list<br>&gt; is my only hope.<br>&gt;<br>&gt;<br>&gt; Scott<br>&gt;<br>&gt;&nbsp;&nbsp;-----<br>&gt;<br>&gt;<br>&gt; *******************<br>&gt; ** DISCLAIMER :P **<br>&gt; *******************
<br>&gt;<br>&gt; This E-mail message and any attachments may contain information.<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; linux-user mailing list<br>&gt; <a href="mailto:linux-user@egr.msu.edu">
linux-user@egr.msu.edu</a><br>&gt; <a href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user">http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br>&gt;<br><br><br>--<br>Simple Content Management<br><a href="http://www.ceamus.com">
http://www.ceamus.com</a><br><br>_______________________________________________<br>linux-user mailing list<br><a href="mailto:linux-user@egr.msu.edu">linux-user@egr.msu.edu</a><br><a href="http://mailman.egr.msu.edu/mailman/listinfo/linux-user">
http://mailman.egr.msu.edu/mailman/listinfo/linux-user</a><br></blockquote></div><br>