Hostname is not saved in router table

Hi,

I setup the hostname for my linux machine to Linux. If I try ping Linux from the same computer it works. If I try from another computer inside my network the host can not be resolved. If I ping the IP from another computer it works.

I take a look in my router at DHCP client list and my linux machine doesn’t have the Hostname set up.

How to broadcast the hostname to the entire network?

Thank you,

You failed to explain how you have set up the host name. How are we supposed to point you the an eventual mistake you made?

Also you failed to tell which level openSUSE you use.

Hi,

I didn’t do any settings. The hostname is the one defined in: Yast -> Network Devices -> Network Settings -> Hostnames/DNS.

I use OpenSuse 11.0.

Thanks,

rotfl! Thus you (or somebody else) did a setting: in YaST > …
Where does the system get his IP address? From the router using DHCP?

Yes, the system gets his IP address from the router using DHCP.

When in YaST > Network Devices > Network Settings > Hostnames/DNS is “Change hostname via DHCP” checked? (the exact wording may differ, I do have a dutch version here).

When not, please try. I am not sure it does the trick (I have no DHCP here, so can not test).

I also assume that the router is your DNS server. Check with

cat /etc/resolv.conf

Have you tried setting Hostname to send in YaST? That is normally set to AUTO, but you can fill in the name you want to be sent to the DHCP server and the server may remember this for their DNS info. It depends on your router.

Hi Ken,

Can you please tell me how to set “Hostname to send in YaST”? I think this is the cause, but I don’t know how to set it.

Thank you,

It in under YaST > Network Interfaces. Sorry have to run, but you’ll find it if you look around a bit.