According to [EMAIL PROTECTED]: While burning my CPU.
> 
> Hi,
> I have redhat 5, kernel 2.0.32 and the set up went well.
> I set up domain name as yale.com and the host name as Hale.yale.com.
> But when I look at /etc/rc.d/rc.sysinit, I see:
> # Read in config data
> if [-f /etc/sysconfig/network ];
> then ./etc/sysconfig/network
> else 
> NETWORKING=no
> HOSTNAME= localhost
> 
> # set the host name 
> hostname ${HOSTNAME}
> echo hostname: 'hostname'
> 
> Now my questions: 
> 
> But where is Hale (my hostname..that I settted up during install)??in that
> script???
> 2nd question: Why NETWORKING=no????
> I did everything to have networking up on my linux box and set up seemed to
> accept it. Does that mean there s no networking support on my box???

I think you are misunderstanding it all, the script rc.sysinit says;
if (-f) the file /etc/sysconfig/network exsits then execute it, if it is not
found then system will not have networking and use localhost as hostname.

So you should be looking at what /etc/sysconfig/network has included in it.
It should look "something" like;

NETWORKING=yes
HOSTNAME=Hale.yale.com
DOMAINNAME=yale.com
GATEWAY=xxx.xxx.xxx.xxx
GATEWAYDEV=eth0

Futher more you can check your own hostname with the 'hostname' command,
using 'cat /etc/HOSTNAME' will also show it.

> 
> Thanks
> 
> 


-- 
Regards Richard.
[EMAIL PROTECTED]

Reply via email to