LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   what services rely on hostname? (https://www.linuxquestions.org/questions/linux-networking-3/what-services-rely-on-hostname-145060/)

sdave1284 02-11-2004 10:10 PM

what services rely on hostname?
 
I recently placed Mandrake 9.2 on my Dell D800 laptop. I have everything working great (even bluetooth). I have ran into a networking issue now. At home I have no problem at all. I can connect to my wireless access no problem, but i'm having a problem connecting to my university of florida wireless system. I definately have singled the problem down to hostname. I have it setup as localhost because I have no registered hostname for my home network but at campus, the system automatically assigns a hostname to my computer. This is causing a problem of large delays in programs loading and even authencating myself in the webbrowser. In a terminal, I am shown as sdave@cse.xx.xx.xx.ufl (etc.) instead of my normal @localhost. This is just causeing the computer to practically be at a standstill when loading things in kde. Even after I finally authencated myself (through a webbrowser or VPN), pages load very slow. My question is, how do I fix this? I know the network lets me on it at campus but the new hostname throws in problems. I know the hostname is not the same everytime so I cannot fix it that way. What services in linux rely on hostnames? I can just stop them from starting. I just dont know which onces I should stop. I believe the same thing happens if I change my hostname manually from localhost on my home network. Thanks for any help. I don't want to always have to use XP at campus and linux labs are not half as good. Thanks

Dave

adz 02-12-2004 06:25 AM

I'm not entirely sure which services run on hostnames but I do know that your current hostname is stored in the environment variable "HOSTNAME". Do an echo $HOSTNAME to double check. You may be able to specify the variable when asked instead of an actual hostname. Maybe in your hosts.allow and/or hosts.deny?


All times are GMT -5. The time now is 11:23 PM.