LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-21-2009, 01:04 PM   #1
sectionboy
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Rep: Reputation: 1
network configuration problem in Fedora


We have an "old" embedded system with fedora 7 on it. I can perform some minor changes/updates on it but upgrade the whole system to higher version of fedora (10/11) can't be done without big hassle. My problem is, the IP address I assign to the NIC won't take effect only by restarting the NIC. I have to reboot the computer to make it happen. I've tried using the GUI network configuration tool and manually edit the etc/sysconfig/network/devices/ifcfg-eth0 file (only one NIC), no luck. The address in the file did change though. Any idea? Thanks!

BTW: There seems no more update support for fedora7, at least not from the default updater.
 
Old 09-21-2009, 01:51 PM   #2
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
what is says in the log when you manually set and give restart the network?
 
Old 09-21-2009, 03:52 PM   #3
sectionboy
LQ Newbie
 
Registered: Jun 2009
Posts: 7

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by tanveer View Post
what is says in the log when you manually set and give restart the network?
Thanks for the reply, here is the log.

Setup network during bootup, ip = 10.0.0.100
Code:
Sep 21 16:39:19 localhost kernel: e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
Sep 21 16:39:19 localhost NetworkManager: <info>  Will activate wired connection 'eth0' because it now has a link. 
Sep 21 16:39:19 localhost NetworkManager: <info>  SWITCH: no current connection, found better connection 'eth0'. 
Sep 21 16:39:19 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
Sep 21 16:39:19 localhost NetworkManager: <info>  Will activate connection 'eth0'. 
Sep 21 16:39:19 localhost NetworkManager: <info>  Device eth0 activation scheduled... 
Sep 21 16:39:19 localhost NetworkManager: <info>  Activation (eth0) started... 
Sep 21 16:39:19 localhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled... 
Sep 21 16:39:19 localhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) started... 
Sep 21 16:39:19 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) scheduled... 
Sep 21 16:39:19 localhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) complete. 
Sep 21 16:39:19 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) starting... 
Sep 21 16:39:19 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) successful. 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled. 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) complete. 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) started... 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) scheduled... 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) complete. 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) started... 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled... 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) complete. 
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) started... 
Sep 21 16:39:20 localhost avahi-daemon[1723]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.100.
Sep 21 16:39:20 localhost avahi-daemon[1723]: New relevant interface eth0.IPv4 for mDNS.
Sep 21 16:39:20 localhost avahi-daemon[1723]: Registering new address record for 10.0.0.100 on eth0.IPv4.
Sep 21 16:39:20 localhost NetworkManager: <info>  Activation (eth0) Finish handler scheduled. 
Sep 21 16:39:21 localhost NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete. 
Sep 21 16:39:21 localhost NetworkManager: <info>  Activation (eth0) successful, device activated. 
Sep 21 16:39:22 localhost avahi-daemon[1723]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::204:bfff:fe91:8fe8.
Sep 21 16:39:22 localhost avahi-daemon[1723]: New relevant interface eth0.IPv6 for mDNS.
Sep 21 16:39:22 localhost avahi-daemon[1723]: Registering new address record for fe80::204:bfff:fe91:8fe8 on eth0.*.

shut down NIC, ifdown eth0
Code:
Sep 21 16:40:50 localhost avahi-daemon[1723]: Withdrawing address record for 10.0.0.100 on eth0.
Sep 21 16:40:50 localhost avahi-daemon[1723]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.0.100.
Sep 21 16:40:50 localhost avahi-daemon[1723]: Interface eth0.IPv4 no longer relevant for mDNS.
Sep 21 16:40:50 localhost avahi-daemon[1723]: Withdrawing address record for fe80::204:bfff:fe91:8fe8 on eth0.
Sep 21 16:40:50 localhost avahi-daemon[1723]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::204:bfff:fe91:8fe8.
Sep 21 16:40:50 localhost avahi-daemon[1723]: Interface eth0.IPv6 no longer relevant for mDNS.
Sep 21 16:40:50 localhost NetworkManager: <info>  SWITCH: terminating current connection 'eth0' because it's no longer valid. 
Sep 21 16:40:50 localhost NetworkManager: <info>  Deactivating device eth0. 
Sep 21 16:40:51 localhost NetworkManager: nm_device_is_802_3_ethernet: assertion `dev != NULL' failed
Sep 21 16:40:51 localhost NetworkManager: nm_device_is_802_11_wireless: assertion `dev != NULL' failed

Try to turn on the NIC with ifconfig eth0 10.0.0.101 up, but failed.
Code:
Sep 21 16:41:16 localhost avahi-daemon[1723]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.101.
Sep 21 16:41:16 localhost kernel: e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
Sep 21 16:41:16 localhost avahi-daemon[1723]: New relevant interface eth0.IPv4 for mDNS.
Sep 21 16:41:16 localhost avahi-daemon[1723]: Registering new address record for 10.0.0.101 on eth0.IPv4.
Sep 21 16:41:16 localhost NetworkManager: <info>  Will activate wired connection 'eth0' because it now has a link. 
Sep 21 16:41:16 localhost NetworkManager: <info>  SWITCH: no current connection, found better connection 'eth0'. 
Sep 21 16:41:16 localhost dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth0 for sub-path eth0.dbus.get.reason
Sep 21 16:41:16 localhost NetworkManager: <info>  Will activate connection 'eth0'. 
Sep 21 16:41:16 localhost NetworkManager: <info>  Device eth0 activation scheduled... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) started... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) started... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) scheduled... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 1 of 5 (Device Prepare) complete. 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) starting... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) successful. 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled. 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 2 of 5 (Device Configure) complete. 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) started... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) scheduled... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 3 of 5 (IP Configure Start) complete. 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) started... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled... 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 4 of 5 (IP Configure Get) complete. 
Sep 21 16:41:16 localhost NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) started... 
Sep 21 16:41:16 localhost avahi-daemon[1723]: Withdrawing address record for 10.0.0.101 on eth0.
Sep 21 16:41:16 localhost avahi-daemon[1723]: Leaving mDNS multicast group on interface eth0.IPv4 with address 10.0.0.101.
Sep 21 16:41:16 localhost avahi-daemon[1723]: Interface eth0.IPv4 no longer relevant for mDNS.
Sep 21 16:41:16 localhost avahi-daemon[1723]: Joining mDNS multicast group on interface eth0.IPv4 with address 10.0.0.100.
Sep 21 16:41:16 localhost avahi-daemon[1723]: New relevant interface eth0.IPv4 for mDNS.
Sep 21 16:41:16 localhost avahi-daemon[1723]: Registering new address record for 10.0.0.100 on eth0.IPv4.
Sep 21 16:41:17 localhost NetworkManager: <info>  Activation (eth0) Finish handler scheduled. 
Sep 21 16:41:18 localhost NetworkManager: <info>  Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete. 
Sep 21 16:41:18 localhost NetworkManager: <info>  Activation (eth0) successful, device activated. 
Sep 21 16:41:18 localhost avahi-daemon[1723]: Joining mDNS multicast group on interface eth0.IPv6 with address fe80::204:bfff:fe91:8fe8.
Sep 21 16:41:18 localhost avahi-daemon[1723]: New relevant interface eth0.IPv6 for mDNS.
Sep 21 16:41:18 localhost avahi-daemon[1723]: Registering new address record for fe80::204:bfff:fe91:8fe8 on eth0.*.
 
  


Reply



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
problem in fedora 9 network configuration karthikeyanbe442 Linux - Networking 3 08-25-2008 08:47 AM
Fallback network configuration (fedora 6) frieza Linux - Networking 1 08-21-2007 07:36 AM
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
fedora 4 network configuration khaledkhaled Linux - Networking 3 03-06-2006 06:21 AM
fedora network configuration tool and kppp? carjumble Linux - Networking 1 12-22-2003 06:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:45 PM.

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