LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-18-2004, 01:08 PM   #1
majicrobot
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Rep: Reputation: 0
eth0 interfce fails


Hi,

I have a Redhat Linux ES 2.1/3.0 machines with eth0 and eth1. When I reboot the machines, it doesn't activate the eth0/eth1 and for every reboot, I go the machine location and activate it.

How could I make this automatic?

Thanks

- Robot
 
Old 10-18-2004, 01:17 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
in /etc/sysconfig/network-scripts/ifcfg-eth0 chcek for a line that says "ONBOOT=YES" if it's not there... add it.

if that doesn't work... is the network even set to load as part of the boot sequence?
 
Old 10-18-2004, 01:25 PM   #3
Oderus
Member
 
Registered: Sep 2004
Posts: 52

Rep: Reputation: 15
Have you checked your /etc/rc.d/rc.inet1.conf ?
There are options there to enable DHCP for each eth(x) interface.
 
Old 10-25-2004, 10:27 AM   #4
majicrobot
LQ Newbie
 
Registered: Sep 2004
Posts: 9

Original Poster
Rep: Reputation: 0
eth0 interfce fails

Folks,

I have the following entry in my system and still eth0 don't start during the bootup.

$more /etc/sysconfig/network-scripts
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0E:7F:F1:EB:F3
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.25.0
IPADDR=10.4.33.453
USERCTL=no
PEERDNS=no
GATEWAY=10.4.212.32

When I reboot the machine(Redhat Linux ES 3.0), I see the OK startup message for etho and eth1.But actually, it don't start(ie) I am unable to ping or ssh to the machine.I think, it is specific to RH Linux ES 3.0 version because I don't have this problem in our RH Linux 2.1 machines.

Thanks

Robot
 
Old 10-25-2004, 12:43 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Re: eth0 interfce fails

Quote:
Originally posted by majicrobot
$more /etc/sysconfig/network-scripts
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:0E:7F:F1:EB:F3
ONBOOT=yes
TYPE=Ethernet
NETMASK=255.255.25.0
IPADDR=10.4.33.453
USERCTL=no
PEERDNS=no
GATEWAY=10.4.212.32
Try changing FROM
BOOTPROTO=none
to
BOOTPROTO=static
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 fails shueib Linux - Newbie 6 10-19-2005 01:36 PM
ifup eth0 fails.... esi-eric Linux - Hardware 4 07-23-2004 12:11 PM
eth0 fails at boot... fowlerlfc Linux - Hardware 3 06-02-2004 10:52 PM
Mandrake 10 fails eth0 MysteriousRevC Mandriva 18 05-22-2004 01:39 PM
eth0 interface fails linuxbeak Linux - Newbie 5 02-24-2003 03:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration