help with DNS/BIND/DHCPd
James Gray
james at grayonline.id.au
Sun Jan 22 20:38:43 UTC 2006
On Sunday 22 January 2006 01:16, Hroller McKnutt wrote:
> Help, my brain is melting! :)
Quick! Bung some corks in your ears so it doesn't run out!
> I'm trying to get my local network to do some tricks and I'm having no
> luck.
My network can do tricks - it likes to randomly disappear and reappear. But I
think that's actually the ISP's magic. ;)
> This all started with my router, I was looking at the LAN info and the
> one Windows machine on the network identifies itself as "fingerloop",
> while the linux boxes (both kubuntu 5.1, one upgraded from 5.04 and one
> from ubuntu 5.04) show just the IP address. Is there some way to make
> the linux boxes report a hostname or whatever to the router?
You can get the DHCP client on the Ubuntu/Kubuntu machines to send their
hostname. However, whether or not the MS router recognises or supports this
RFC-standard DHCP behaviour is anyone's guess :P Either way, it wont hurt
anything to turn it on.
Edit the /etc/dhcp3/dhclient.conf file (sudo <editor> <file>) and add or
uncomment the line:
send host-name "<hostname>";
...somewhere near the top of the file is a good option. Mines the first
non-commented line and works a champ with all our DHCP servers, and the Cisco
Aironet access points :)
Once you've edited the file, you'll need to wait for the DHCP lease to expire
or to force a new lease:
sudo ifdown eth0 ; sudo ifup eth0
...assuming your network interface is eth0. Modify as necessary.
Usual disclaimers apply - YMMV.
HTH,
James
--
<Coderjoe> gib, perl?
<gib> methinks perl is the programmer's Swiss Army Chainsaw
More information about the kubuntu-users
mailing list