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.
LVL 9
CLozAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.