Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th July 2011, 09:28 PM
sauvagii Offline
Registered User
 
Join Date: Jul 2011
Posts: 10
windows_7chrome
Connection eth0 never active on boot

Hi,

I am trying to sort out some issues following an upgrade from F12.

I have eth0 as the connection I want to use. Prior to the upgrade, this connection was enabled and active at boot.

Now, for some reason after the upgrade it has to be manually enabled at every boot - even though when I go the Network tool, Ethernet Device > General tab - "Activate device when computer starts" is checked.

At every boot time it is inactive.

In all the ifcft-eth0 files, the ONBOOT parameter is set to "yes".

Can anyone advise?
Reply With Quote
  #2  
Old 16th July 2011, 09:40 PM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,491
linuxfirefox
Re: Connection eth0 never active on boot

If you're using NetworkManager, then check the "Connect Automatically" check box by using your NetworkManager desktop widget.

In KDE you do that by selecting the widget (looks like some waves going up) in the lower right corner, left click it, pick "Manage Connections", select the right interface, hit "Edit..." and the "Connect Automatically" checkbox is clearly there. I think Gnome 3 has a similar widget in the upper right.
Reply With Quote
  #3  
Old 16th July 2011, 11:18 PM
sauvagii Offline
Registered User
 
Join Date: Jul 2011
Posts: 10
windows_7chrome
Re: Connection eth0 never active on boot

Unfortunately, that doesn't "stick" and no matter what on a reboot, the connection is back to inactive.
Reply With Quote
  #4  
Old 16th July 2011, 11:43 PM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: Connection eth0 never active on boot

Hello,

try from command line
# chkconfig --list |grep etw

If using NetworkManager or network
one of them need to say on for level 3 and 5

# chkconfig --level 35 NetworkManager on

With you saying you have yes in ifup-eth0 I am thinking you want to use network

# chkconfig --level 35 network on

Last edited by scott32746; 16th July 2011 at 11:49 PM.
Reply With Quote
  #5  
Old 17th July 2011, 12:29 AM
sauvagii Offline
Registered User
 
Join Date: Jul 2011
Posts: 10
windows_7chrome
Re: Connection eth0 never active on boot

I've confirmed network is on at level 3 and 5 at boot.

But the eth0 adapter still starts in "inactive" state, and needs to be manually activated from Preferences > Network, despite being set to start at boot.
Reply With Quote
  #6  
Old 17th July 2011, 12:55 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: Connection eth0 never active on boot

Hello,

Post output from

# cat /etc/sysconfig/network
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# chkconfig --list |grep etw
# ifconfig
Reply With Quote
  #7  
Old 17th July 2011, 01:08 AM
sauvagii Offline
Registered User
 
Join Date: Jul 2011
Posts: 10
windows_7chrome
Re: Connection eth0 never active on boot

Results as requested below:

ifconfig - I have 3 network ports on my server, eth1 and eth2 are inactive in the same way that eth0 is - I don't want to use them, yet eth1+2 show in ifconfig results, but nothing for eth0?


Sorry - I'm a newbie to Linux networking and it's pretty confusing...!

[root@dl ~]# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=dl.net


[root@dl ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
TYPE=Ethernet
DEVICE=eth0
IPV6INIT=no
USERCTL=yes
HWADDR=00:e0:81:32:3f:57
PREFIX0=24
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
NAME="System eth0"
UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03
PREFIX=24
IPADDR=192.168.1.76
NETMASK=255.255.255.0
GATEWAY=192.168.1.254
DNS1=192.168.1.76
DNS2=192.168.1.76
SEARCH=dl.net
DOMAIN=dl.net
BOOTPROTO=none
NM_CONTROLLED=no
ONBOOT=yes
# generated by hdactl on 2011-07-17 00:07:50 / 1


[root@dl ~]# chkconfig --list |grep etw
NetworkManager 0:off 1:off 2:off 3:on 4:off 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off


[root@dl ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:E0:81:32:3F:56
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

eth2 Link encap:Ethernet HWaddr 00:E0:81:32:3E:F1
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:476 errors:0 dropped:0 overruns:0 frame:0
TX packets:476 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:36344 (35.4 KiB) TX bytes:36344 (35.4 KiB)

tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.8.0.1 P-t-P:10.8.0.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:18077 (17.6 KiB)
Reply With Quote
  #8  
Old 17th July 2011, 01:15 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,491
linuxfirefox
Re: Connection eth0 never active on boot

Quote:
Originally Posted by sauvagii View Post

[root@dl ~]# chkconfig --list |grep etw
NetworkManager 0:off 1:off 2:off 3:on 4:off 5:on 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off

I think that could be the problem, NetworkManager and network are mutually exclusive, you should just run one or the other. For a fixed server, you should run network and turn off NetworkManager:

Quote:
chkconfig NetworkManager off
service NetworkManager stop
Reply With Quote
  #9  
Old 17th July 2011, 01:20 AM
sauvagii Offline
Registered User
 
Join Date: Jul 2011
Posts: 10
linuxsafari
Re: Connection eth0 never active on boot

So how do I permanently disable network manager?

this wasn't a problem before the upgrade so I must have screwed something up.
Reply With Quote
  #10  
Old 17th July 2011, 01:18 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: Connection eth0 never active on boot

Need to turn off one of ether NetworkManager or network , do not need both running.
I think for hardware network is best, but that is me
# chkconfig NetworkManager off
# service NetworkManager stop

Also add to /etc/sysconfig/network
NETWORKING_IPV6=no
# echo "NETWORKING_IPV6=no" >> /etc/sysconfig/network


# reboot
Reply With Quote
  #11  
Old 17th July 2011, 01:22 AM
scott32746 Offline
Registered User
 
Join Date: Jun 2007
Location: Lake Mary, Florida
Age: 48
Posts: 1,082
windows_xp_2003firefox
Re: Connection eth0 never active on boot

# chkconfig NetworkManager off
This is going to permanently disable NetworkManager
Reply With Quote
  #12  
Old 17th July 2011, 10:56 AM
sauvagii Offline
Registered User
 
Join Date: Jul 2011
Posts: 10
windows_7chrome
Re: Connection eth0 never active on boot

Hi Scott,

I've tried making the changes you have listed but to no avail. Eth0 is still inactive on boot, and I need to manually activate it to be able to see the server on the network.
Reply With Quote
  #13  
Old 18th July 2011, 03:40 PM
sauvagii Offline
Registered User
 
Join Date: Jul 2011
Posts: 10
windows_xp_2003ie
Re: Connection eth0 never active on boot

Still having this issue - anyone else have any thoughts?
Reply With Quote
Reply

Tags
active, boot, connection, eth0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I keep connection to router always active? mcv2010 Servers & Networking 4 26th August 2010 12:21 PM
LAN connection is not active vyronad Servers & Networking 1 25th December 2009 02:01 PM
Yum without an active internet connection kombucha Using Fedora 1 2nd July 2006 03:03 AM
eth0 is active but no internet connection. New FC5 install jsweatte Servers & Networking 2 30th March 2006 05:40 PM
laptop DV1000 - cannot active eth0 trung_bmt Servers & Networking 2 20th December 2005 10:46 AM


Current GMT-time: 09:57 (Thursday, 20-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat