Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
eth0 not starting on bootup

eth0 not starting on bootup

2003-10-29       - By Steven J. Yellin

 Back
Reply:     1     2     3     4  

On Wed, 29 Oct 2003, Darryl W. DeLao Jr wrote:

> I have my server configured to where the only network device that activates
> on boot is eth0.  This morning, I changed the name of my server and
> rebooted.  After that, the eth0 interface is now no longer starting when the
> computer boots.  Nor does it even go through the "bringing up eth0
> internface" that you normally see when Red Hat starts.  When I type in the
> command "ifconfig eth0 up" the interface comes up, but does not have the
> statically defined address settings that it has always had.  I had to end up
> creating an new interface eth0:1 which is a virual setup just so I could get
> connectivity.  Now that connectivity has been established and I have told
> this interface to now start on bootup, red hat still does the same thing.
> None of the interfaces that I have destined for startup will activate on
> boot.  Is there a startup file of some kind that I may need to modify or
> some kind of script so that the interface will start on boot?
>
>  
>
> Any help is greatly appreciated.
>
   Here's an example of the type of lines you should see in
/etc/sysconfig/network:

NETWORKING=yes
HOSTNAME=<name of your computer>
GATEWAY=<IP number of the gateway your computer uses>

You may have others, such as

NISDOMAIN=<name of NIS domain -- skip this line if you don't use NIS>
DOMAINNAME=<something with a form like x.y.z, where your full computer
  name is of the form a.x.y.z>
FORWARD_IPV4=false

but if you don't, your network should still come up.
  Here's an example of the type of lines you should see in
/etc/sysconfig/network-scripts/ifcfg-eth0:

DEVICE=eth0
BOOTPROTO=static
IPADDR=<IP number of your computer>
NETMASK=255.255.0.0
ONBOOT=yes

Other lines can also go in ifcfg-eth0.  The GATEWAY amd HOSTNAME lines
might be here instead of or in addition to in network.  You may have NS1
and NS2 lines to hold the IP's of timeservers for ntpd if you use ntpd.
But your network should come up with just the lines I showed, possibly
with a different NETMASK.


  The command "chkconfig --list network" should show something like
network           0:off   1:off   2:on   3:on   4:on   5:on   6:off

--
Steven Yellin