According to Lee Mcshane: While burning my CPU.
> 
> This probaby is a daft question but here goes;
> 
> well I've installed red hat linux 5.1 and everything went fine, I set my
> password etc.  Now, when I reboot it asks me for a 'hostname' and
> 'password', password I know but 'hostname'?, it keeps saying I.m not
> recognised...any ideas?

Normaly if a system has no defined hostname 'localhost' "should" be used.
/etc/rc.d/rc.sysint looks to see if the file /etc/sysconfig/network is
found, if it is found then the system will use the "defined" hostname
which is in /etc/sysconfig/network, now if you have a file called
/etc/sysconfig/network and you have no hostname defined, thats possably
your problem.

As to how do i correct the problem, there are several ways.
I would reboot linux into run level 1 which will allow you to enter the
system without a password.

If you are booting with LILO then type at the lilo prompt 'init 1' let
the system startup, as soon as the login screen appiers DO NOTHING, bash
should take over and present you with a 'bash' prompt. You can now repair
your system configuration files where needed.

If you have not installed lilo on your hard drive, then you will need to
use the rescue disk(s) which you made during the install process.
(You did make them din't you).

Or it could be as simple as, let the system boot "as is" wait untill the
loging prompt has appierd and reported the hostname problem, and enter
"root" and then roots password, you might just be alble to login, now do
the repairs to the files concerned.

As to the cause of the problem, you did not configure the system properly
when asked to during the install process.

> 
> Thanks in advance....
> 
> Lee
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Merry Xmas to all, and may all your troubles be small (ones).

Reply via email to