"Dr . Sharukh K . R . Pavri ." wrote:

> I had to re-install pcqlinux 7.1 and now I don't seem to be able to set the
> hostname. During installation, I had given the hostname as farzaan but it
> still comes up as localhost.
>
> /etc/hosts/ has the following line
>
> 127.0.0.1       farzaan localhost.localdomain localhost
>
> I even created a file /et/HOSTNAME with the word farzaan but still won't
> work.
>
> I can set it with the hostname command but this is wiped out at reboot.
>
> so now what ?

hello there,
try checking the file /etc/sysconfig/network
in it you can specify the hostname.
also there may be a file /etc/HOSTNAME which shld also contain your
hostname.You can create /etc/HOSTNAME if you want,though it is considered
obsolete.
regards,
dayalan


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to