check /etc/sysconfig/network; this would only apply to mandrake or redhat systems, it would be different on others. There is a hostname option in this file. You can also set the hostname sysctl, should be /etc/sysctl.conf, though it might not be on some systems unless you manually put it there.

tim


On Tue, 21 Oct 2003 14:46:36 -0600, Nick W wrote:

>My friends box (mdk 9.2, 9.1 did this too, as well as Gentoo) is acting
>funny. For some reason its saying his default hostname is dXXX-XXX-XXX-XXX
>where all the X's are his ip address, with dashes instead of dots. His
>console prompt comes up
>
>[EMAIL PROTECTED]
>
>instead of the usual
>
>[EMAIL PROTECTED]
>
>It seems to be a problem with his machine thinking its a node on the telus
>network (his isp is telus, DSL). /etc/hostname and /etc/hosts are right.
>Ive seen other machines on telus exhibit the same behaviour. Has this
>happened to anyone else? Anyone know how to fix it? Wine wont work right
>being the way it is.
>
>Oddly, installing Apache fixed it for a few days, but it went back
>(probably when DHCP gave him a new ip).
>
>Nick W ([EMAIL PROTECTED])
>Registered Linux User #324288 (http://counter.li.org)
>MSN Messenger: [EMAIL PROTECTED]
>Yahoo: foolish_gambit
>ICQ: 303276221
>
>
>

Reply via email to