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


  Search this Thread
Old 05-02-2007, 06:58 AM   #1
LQ Newbie
Registered: Jan 2007
Posts: 20

Rep: Reputation: 0
In FC6 network interface doesn't come up if 'service network restart' command is run

Hi All,

I'm having 2 Fedora Core 6 machines with kernels 2.6.18 and 2.6.20

I am facing a problem with the eth1 interface on machine with kernel 2.6.20

In the GUI of neat command, the eth1 is configured with an IP address : After having configured this IP the interface is made active in the GUI, by clicking on the activate button. On the command line once I issue commands service network restart and ifconfig, eth1 does not come up. That is the eth1 does not come as active. To confirm this, in the GUI of neat command the same interface is shown as inactive.

I'm facing the similar issue with some of the other virtual interfaces of eth0 on my other FC6 machine with kernel 2.6.18

Strangely, if I do not issue the command service network restart and just make it active in the GUI of neat command and the output of ifconfig shows eth1 as active. Same happens with other interfaces on the other machine.

So the problem is clearly with the service network restart command, which does not bring up or make active these interfaces.

Does anybody else found the similar problem?

Is this really a problem? I mean, do we not require 'service network restart' any longer with FC6 and just setting the interface as active in GUI of neat command is sufficient to make any interface active.
Please help.

Old 05-02-2007, 07:24 AM   #2
Senior Member
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
No it is not a problem with the network service, check your ifcfg-eth1 file in /etc/sysconfig/network-scripts for the line: ONBOOT=yes

Sample output;
# service network restart
Shutting down interface wlan0:                             [  OK  ]
Shutting down loopback interface:                          [  OK  ]
Bringing up loopback interface:                            [  OK  ]
Bringing up interface wlan0:                               [  OK  ]
Old 05-02-2007, 11:53 PM   #3
LQ Newbie
Registered: Jan 2007
Posts: 20

Original Poster
Rep: Reputation: 0

Thanks for pointing me to /etc/sysconfig/network-scripts. The problem of eth1 along with the virtual interfaces eg : eth1:2 also got resolved.

As you suggested, setting ONBOOT=yes in ifcfg-eth1 solved the eth1 problem.
Setting ONPARENT=yes in ifcfg-eth1:2 solved the eth1:2 problem.

Thanks very much.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How do I set the regulatory daemon to restart when I restart the network service? zahadumy Linux - Networking 0 11-05-2006 11:24 AM
reboot works but service network restart does not spikeroo Linux - Networking 4 12-15-2005 04:41 PM
FreeBSD how to restart network interface kernelvn *BSD 4 06-17-2005 02:58 AM
service network restart - mandrake 9.1 problem perry Linux - General 0 01-25-2004 07:04 PM
service network restart perry Linux - Networking 2 12-15-2003 07:00 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:02 AM.

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