• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1178
  • Last Modified:

Forcing ethernet port to active status

I have a dual homed Linux Server running Fedora Core 4.  I only have eth0 plugged in during boot up so when it boots only eth0 comes up active and eth1 is inactive.  Is there a way to force eth1 to come up active automatically on boot up?  I need to be able to do this for testing purposes.  

Thanks.
0
CLoz
Asked:
CLoz
1 Solution
 
pjedmondCommented:
ifconfig eth1 up

will force the interface to become active. In order to make this occur during startup, add the command to the file:

 /etc/rc.local

HTH:)

0
 
kiitiiCommented:
Make sure you set an ip address for both network cards.
In FC4, you can set ip address by

# system-config-network

On eth1, make sure you set STATIC ip address, not dynamic.
If you set dynamic (DHCP), the boot up process will take longer time to boot up.

To comfirm the ip addresses,
# ifconfig

To check the cable is connected or not,
# mii-tool
0
 
wnrossCommented:
add the following to

/etc/sysconfig/network-scripts/ifcfg-eth1
MII_NOT_SUPPORTED="yes"

This will shut off link detection and cause the adapter to activate at boot time

Cheers
-Bill
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now