Linux - Networking This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-03-2002, 01:02 PM
|
#1
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Rep:
|
Weird Netbios Names
I have a private ethernet LAN and Cayman 3220H DSL modem/router/hub. When idle the computers run Setiathome under the control of SetiQueue on a Win2K Pro machine. SQ keeps track of things using netbios names, if it can get them, or IP addresses.
Early this morning, SQ began replacing the usual names/IPs with names of the form hostx-null.null.bellsouth.net as each machine transmitted a completed Seti workunit. The "x" corresponds to 192.168.1.x and Bellsouth is my DSL ISP. It is now beginning revert back to the original names/IPs as machines with the weird names complete the first workunit under that name. Some machines have more than one IP (more than one NIC) and several are dualies (one of those hyperthreads). All instances of Seti@Home on a given machine switch names at once. The weird names do not appear in the Cayman DCHP client list and are not pingable. I continue to be able to ping machines by the names I assigned or by IP if samba isn't fully operational (still haven't redone on the linux machines after installing new distros/versions).
Has anyone seen anything like this? Is this some smb/nmbd weirdness or, perhaps something sinister?
|
|
|
01-01-2003, 11:25 PM
|
#2
|
Member
Registered: Dec 2002
Distribution: redhat 7.3 now upgraded to 8.0
Posts: 53
Rep:
|
|
|
|
01-02-2003, 06:50 PM
|
#3
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Original Poster
Rep:
|
The appearance of the weird names (they are not netbios names, after all) seems to have something to do with the RH8 netconfig tool settings. Things are better if I select DHCP but do not specify a hostname and uncheck "automatically obtain DNS information from provider." I had thought the latter would read the name table on the DHCP server - NOT. To be able to see the Internet, I have to specify my router address as the "primary DNS server." This appears to put a null domain name in the DNS search path and is contrary to the directions provided by RH.
Not specifying the optional DHCP hostname on the Macs also seems to prevent their IP addresses from being replaced with what I had called weird netbios names - what ever they are, they aren't netbios names.
|
|
|
01-03-2003, 09:33 AM
|
#4
|
Member
Registered: Dec 2002
Posts: 327
Rep:
|
This is expected behaviour...
Um, that is.. I didn't expect it myself, until I read through the dhcp scripts, and discovered that...
If you don't set the hostname the script runs dhcpcd -H, where -H means 'set the hostname of this machine to the hostname supplied by the dhcp server.'
You can either - supply a hostname, edit /etc/sysconfig/network-scripts/ifup and search for :
if need_hostname; then
PUMPARGS="${PUMPARGS} --lookup-hostname"
DHCPCDARGS="${DHCPCDARGS} -H"
fi
and remove the -H
:P
Slick.
|
|
|
01-04-2003, 10:09 AM
|
#5
|
Member
Registered: Nov 2002
Location: Cary, NC
Distribution: Red Hat
Posts: 76
Original Poster
Rep:
|
Slick W,
I couldn't tell any difference after making the change you suggested but have started poking around in the scripts.
I am still confused about the different names that can be assigned to a host or NIC and where you do it for the different OSes (Linux, OSX, OS/2, Win2K) and how to make sure everything gets updated with changes are made.
I'll spare everyone a dump of the details but would appreciate an explanation of the differences between the "hostname", DHCP optional "hostname", and the NetBios name. BTW, none of these are the weird hostnames that sometimes show up as hostnames when logging on a linux or OSX machine and in the SetiQueue client lists.
R.
|
|
|
All times are GMT -5. The time now is 10:48 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|