Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
In my local network, I connect a laptop that's set for DHCP, and I noticed that the hostname is being set to <ip>.in-addr.btopenworld.com. Laptop is running Fedora 7 (no SE Linux because I have Oracle services and configuring them through the Linux firewall is a pain.
I have a Lynksys router and all workstations connect to that. Another pc that has a fixed IP gets the domain I have set for my local network.
>>Instead of setting the hostname using the hostname command, have you tried using system-config-network to do this and then reboot?<<
The hostname is set in the system-config-network utility. If I append the domain right there in the hostname field it all gets set as a hostname. I don't see a field to set the domain name explicitly unless I'm using a static IP.
It is the domainname what is being changed somehow to btopenworld.com.
Could that information be set by your DNS lookup? I looked atbtopenworld on whois and found a U.K. site offering broadband access and modems, and they own the whole 213.-.-.- address range, so, if you're using an address in that range, DNS will, I presume, return btopenworld (Which, I assume, is an abbreviation for "British Telecoms Open World.")
Note: The above is just a guess, since I've never had occasion to use ssh, and have no idea if it uses a reverse DNS lookup to find the name of the address to which it's pointed.
You are correct, BT OpenWorld is a British Telecom ISP. I know some distros have an option to "override" the settings sent by the DNS server so on the local network you should see your hostname.domain instead of the your ISPs. I thought system-config-network had this option, but I've just realised that I was thinking about the Mandriva network configuration tool.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.