Click to See Complete Forum and Search --> : Mystery Hostname
freeman_108
10-18-2003, 10:33 PM
All questions/concerns from me are from the Redhat 8 environment. My question is about a mystery hostname. For some reason, all of my boxes on my home network that are running linux have the hostname dhcppc1 instead of the usual localhost.localdomain. Ive tried to search as to why this is happening on this sight, but I seem to only find ways to change the hostname. I've already checked /etc/hosts, /etc/syconfig/network, and I even checked /etc/bashrc. The first two have no mention of this dhcppc1, and the bashrc file has the usual PS1=[\u@\h \W]... stuff in it. I've also tried the network option in gnome. I have no idea where this is coming from. Can anyone tell me what I'm overlooking? It has to come from somewhere.
Also in a kind of related subject, I have a fa511 (Netgear) network card for my notebook. I've installed a tulip driver for it, but I can't seem to get the card to work correctly. I have noticed a message stating that my hostname is not valid and gnome may not operate correctly (in so many words). I've only found 4 postings for fa511 cards on this site. Anyone have anything on this/ does anyone think this problem is related to my mystery hostname?
GaryJones32
10-18-2003, 11:23 PM
your box is running the DNS-DHCP client daemon
(dynamic host configuration protocol)
whatever run level you are booting is starting dhcpc
and each client is receiving it's name from the dhcp server.
It's great for large networks.
you can dissable it and set up the network without it.
or since it's already working live with the goofy host name it sets.
or you may be able to set the hostname in /etc/dhcpc.conf
hostname:name
or if you know your way around you can try this boot script hack
to costomize the dhcpc startup:
http://lists.debian.org/debian-user/1998/debian-user-199812/msg00132.html
the notebook will need to run the dhcpc client and request it's name from the server as well yes???
hope that helps a little -- i'm not very knowledgeble about this
freeman_108
10-26-2003, 10:04 PM
I tried something (stupid) and completely blocked myself off of the net. I don't need a DNS for a four box network. Can anyone tell me how to remove the DNS program (?) from my box. It was installed because I chose the 'install everything' option when I installed redhat 8. Again, I have not been able to find a thread about unistalling DNS (so I actually did look before I asked).
I found this using Google: (here is the URL: :)DNS removal (http://groups.google.com.au/groups?q=remove+dns+from+redhat&hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=3AD06B16.C6CFDCB2%40csse.monash.edu.au&rnum=1) )
rpm -qa | grep bind
<return a list of packages>
rpm --erase <enter in the packages that the previous command gave you>
This will remove all the DNS packages off your system
I just tested it on my Redhat server (running DHCP) and it worked for me!:)
I hope this helps!
freeman_108
10-27-2003, 12:54 AM
Thanks not only for posting an answer, but the source for your answer. I always used google.com/linux, but never thought to use regular old google. The answers I kept getting back were way over my head. Then again, I couldn't have searched for a DNS answer without knowing that was my problem :-)
Now if I can get someone to post something about the Netgear FA511 card I'd be in there like swimwear...
freeman_108
10-30-2003, 10:25 PM
I tried the rpm -qa | grep bind to remove the dns server, but I got an error message saying some of the bindings cannot be removed because of dependents. That was cool because I remembered gnome has gui way to add and remove rpms. I removed every server type of package but samba (because I actually use it), rebooted the system and still have the dhcpp1 hostname. Does anyone else have any other ideas as to what this can be because I can't figure it out to save my life. I don't even know what to search for.