Networking Forums

Networking Forums > Computer Networking > Linux Networking > Belkin router hostnames problem

Reply
Thread Tools Display Modes

Belkin router hostnames problem

 
 
John Stolz
Guest
Posts: n/a

 
      07-08-2005, 11:35 AM
Belkin's usually excellent technical support seems to have failed me this
time (although all credit to them for having a toll-free number and
calling me back twice on a **LINUX** issue).

This adsl router has a dhcp server which hands out ip addresses
appropriatly. However, linux machines acquire bizarre hostnames
comprising the string 'unknown' followed by the mac address of the network
card in the client.

Any suggestions?


 
Reply With Quote
 
 
 
 
Bit Twister
Guest
Posts: n/a

 
      07-08-2005, 11:42 AM
On Fri, 08 Jul 2005 13:35:02 +0200, John Stolz wrote:
> Belkin's usually excellent technical support seems to have failed me this
> time (although all credit to them for having a toll-free number and
> calling me back twice on a **LINUX** issue).
>
> This adsl router has a dhcp server which hands out ip addresses
> appropriatly. However, linux machines acquire bizarre hostnames
> comprising the string 'unknown' followed by the mac address of the network
> card in the client.
>
> Any suggestions?


my node name from comcast is
c-24-1-202-185.hsd1.tx.comcast.net
I just ignore it and have my node set it's own name.

Depending on dhcp client, you can have a script to modify any files
needing to know the ip address and you set your own node name.
 
Reply With Quote
 
Randy Thompson
Guest
Posts: n/a

 
      07-09-2005, 10:34 PM
On Fri, 08 Jul 2005 13:35:02 +0200, John Stolz wrote:

> Belkin's usually excellent technical support seems to have failed me this
> time (although all credit to them for having a toll-free number and
> calling me back twice on a **LINUX** issue).
>
> This adsl router has a dhcp server which hands out ip addresses
> appropriatly. However, linux machines acquire bizarre hostnames
> comprising the string 'unknown' followed by the mac address of the network
> card in the client.
>
> Any suggestions?


Since you didn't mention which distribution, I'm going to use Fedora Core
as an example. It sounds like the Belkin router makes use of Dynamic DNS
and you want the hostname of the machine to appear in the DHCP client list
when you view it.

When Fedora Core requests a DHCP address, it doesnÿt send the hostname
unless it is configured to do so.

This is an easy fix! Create a file `/etc/dhclient-X.conf` where X is
either eth0, eth1, eth2, etc. (it will probably be eth0) and put this in
it:

send host-name ´hostname-you-want-to-appear-in-dns";

You may want to read the man page for dhclient to see what other nifty
things you can do.

For me, that's the only entry I usually put in the dhclient
configuration file and it's strictly for my laptop. At the house, all
of my desktop PCs have fixed addresses and are statically entered into DNS.

Randy

 
Reply With Quote
 
John Stolz
Guest
Posts: n/a

 
      07-12-2005, 07:59 AM
Thanks for this it didn't solve it directly, but set me on the right
track.
I'm on MDK 10.1 and the relevant file is /etc/sysconfig/network
and adding NEEDHOSTNAME=no seems to do the trick
Thanks again.
John
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Belkin router problem Graham Broadband 2 04-16-2007 08:14 AM
Problem with hostnames starting with hyphens, stars, etc. (but works fine on windows!) Dav Clark Linux Networking 5 11-02-2006 02:18 PM
Problem with new Belkin Pre-N router Danisoid Network Routers 9 12-23-2004 10:42 PM
Problem with new Belkin Pre-N router Danisoid Wireless Internet 11 12-23-2004 10:42 PM
Belkin Router Problem Help..... CS Home Networking 4 05-10-2004 05:21 PM



1 2 3 4 5 6 7 8 9 10 11