Thanks, that worked, but is there a way that could pull the configured hostname automatically instead of hardcoding it in the file?<br><br>I tried:<br>send host-name &quot;`hostname`&quot;;<br><br>but that didn't work.<br>
<br>- Thanks,<br>Richard<br><br><div><span class="gmail_quote">On 7/31/06, <b class="gmail_sendername">Simon Kelley</b> &lt;<a href="mailto:simon@thekelleys.org.uk">simon@thekelleys.org.uk</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;">
Richard Bailey wrote:<br>&gt; Hello,<br>&gt;<br>&gt; I have dnsmasq running and it's running great. When I had my client<br>&gt; machine as Windows XP the dhcp-host option worked and gave the ip for<br>&gt; the host I'd defined in the /etc/hosts file.
<br>&gt;<br>&gt; Now my client is a Ubuntu 6.06 machine and it has the same hostname, but<br>&gt; it doesn't get the ip I've assigned. What's different about how Linux<br>&gt; does a DHCP request that causes this and how can I fix it so that it works?
<br>&gt;<br>&gt; Note the hostname command in Ubuntu gives the proper hostname but the<br>&gt; hostname -f command returns localhost. I tried to adjust this but some X<br>&gt; and other networking stuff stopped working.<br>
&gt;<br><br>I don't think that the default DHCP client on Ubuntu send the host name<br>unless you configure it.<br><br>Try editing /etc/dhcp3/dhclient.conf and adding<br><br>send host-name &quot;&lt;hostname&gt;&quot;<br>
<br>HTH<br><br>Simon.<br></blockquote></div><br><br clear="all"><br>-- <br>&quot;Look at their players from big clubs like Juventus and Arsenal and Anderlecht, look at ours from San Juan Jabloteh and New England Revolution...and look what we did. This is the beauty of our game.&quot;
<br>Coach Leo Beenhakker - after TnT's draw against Sweden