Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, after restarting my Fedora 10 the eth0 interface is not up after i manually restart the network service everything is OK but after restarting it is the same problem. ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    14

    [SOLVED] Network interface is down after restart

    Hi,

    after restarting my Fedora 10 the eth0 interface is not up

    after i manually restart the network service everything is OK but after restarting it is the same problem.

    this is the interface config file:
    /etc/sysconfig/networking/devices/ifcfg-eth0 /etc/sysconfig/networking/devices/ifcfg-eth0

    # Intel Corporation 82545EM Gigabit Ethernet Controller (Copper)
    DEVICE=eth0
    HWADDR=00:0c:29:8b:82:6b
    ONBOOT=yes
    SEARCH="mydomainname"
    BOOTPROTO=none
    NETMASK=255.255.255.0
    IPADDR=MYServerIPAdress
    USERCTL=no
    IPV6INIT=no
    NM_CONTROLLED=no
    GATEWAY="My-GW-IP"
    TYPE=Ethernet

    i know i can put the restart service command in the rc.local file but it not suppose to work this way.

  2. #2
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    did you make sure network service is on with /sbin/chkconfig?

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    14
    Quote Originally Posted by coopstah13 View Post
    did you make sure network service is on with /sbin/chkconfig?
    I'm new to Linux and i never heard of this command but i check and this is the result:
    network 0:off 1:off 2:off 3:off 4:off 5:off 6:off

    I'm guessing this is the service configuration on every runlevel option, am i right?
    it looks it all off.

    how can it be control/change?

    10x!

  4. #4
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    yeah, i'm surprised it is off like that, but..

    Code:
    /sbin/chkconfig --level 2345 network on
    this should do the trick, you need to run as root user

  5. #5
    Just Joined!
    Join Date
    Jan 2010
    Posts
    14
    Quote Originally Posted by coopstah13 View Post
    yeah, i'm surprised it is off like that, but..

    Code:
    /sbin/chkconfig --level 2345 network on
    this should do the trick, you need to run as root user

    YES it works!

    great forum and quick answers

    thanks for your help!!!!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...