Forcing ethernet port to active status

Posted on 2006-04-10
Last Modified: 2008-03-06
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.  

Question by:CLoz
    LVL 22

    Expert Comment

    ifconfig eth1 up

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



    LVL 3

    Expert Comment

    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
    LVL 7

    Accepted Solution

    add the following to


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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
    Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
    Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now