Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   F8: NetworkManager + Static IP +Wifi (http://www.linux-archive.org/fedora-user/1967-f8-networkmanager-static-ip-wifi.html)

Fujisan 11-21-2007 08:45 AM

F8: NetworkManager + Static IP +Wifi
 
I upgraded from F7 to F8 recently and I noticed some changes in the behaviour of NetworkManager.
While I did not have this problem in F7, in F8 NM cannot find my static IP address and finds one by DHCP which is
169.254.59.61.

I am running F8 on a Dell laptop and I can connect on both a wifi network or a cable network.
On F7 , when I unplugged the cable, the laptop was connecting to the wifi network and when I plugged the cable, it was connecting to the wired network.


On F8, as soon as i run NM, it is looking for another IP address by dhcp.

I have to turn off NM at boot time so eth0 get the right IP.

Anyone has an idea on how to get things right? Or is it a bug of NM?


Thanks.

Before runnning NM:
# route -nKernel IP routing table
Destination**** Gateway******** Genmask******** Flags Metric Ref*** Use Iface
192.168.1.32*** 0.0.0.0******** 255.255.255.224 U**** 0***** 0******* 0 eth0
169.254.0.0**** 0.0.0.0********
255.255.0.0**** U**** 0***** 0******* 0 eth00.0.0.0********
192.168.1.62*** 0.0.0.0******** UG*** 0***** 0******* 0 eth0

After running NM and getting this weird IP address:
# route -n

Kernel IP routing table
Destination**** Gateway******** Genmask******** Flags Metric Ref*** Use Iface
169.254.0.0**** 0.0.0.0******** 255.255.0.0**** U**** 0***** 0******* 0 eth0




Network card configuration:
# Broadcom Corporation BCM4401-B0 100Base-TX
DEVICE=eth0BOOTPROTO=none
HWADDR=00:15:C5:53:FD:F5>
TYPE=EthernetUSERCTL=yes
IPV6INIT=noPEERDNS=yes
NETMASK=255.255.255.224IPADDR=192.168.1.61
GATEWAY=192.168.1.62

Output of NM:

NetworkManager: <info>* starting...NetworkManager: <info>* Found radio killswitch /org/freedesktop/Hal/devices/dell_wlan_switch
NetworkManager: <info>* eth0: Device is fully-supported using driver 'b44'.
NetworkManager: <info>* (eth0): exporting device as /org/freedesktop/NetworkManager/Device/2
NetworkManager: <info>* Now managing wired Ethernet (802.3) device 'eth0'.NetworkManager: <info>* Bringing up device eth0
NetworkManager: <info>* Deactivating device eth0.
NetworkManager: <info>* wlan0: Device is fully-supported using driver 'iwl3945'.NetworkManager: <info>* (wlan0): exporting device as /org/freedesktop/NetworkManager/Device/4
NetworkManager: <info>* Now managing wireless (802.11) device 'wlan0'.
NetworkManager: <info>* Bringing up device wlan0NetworkManager: <info>* Deactivating device wlan0.
NetworkManager: <info>* (eth0) supplicant interface is now in state 2 (from 1).
NetworkManager: <info>* (wlan0) supplicant interface is now in state 2 (from 1).
NetworkManager: <info>* SWITCH: no current connection, found better connection 'Auto Ethernet (eth0)'.
NetworkManager: <info>* Activating device eth0NetworkManager: <info>* Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
NetworkManager: <info>* Activation (eth0) Stage 1 of 5 (Device Prepare) started...
NetworkManager: <info>* Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
NetworkManager: <info>* Activation (eth0) Stage 1 of 5 (Device Prepare) complete.NetworkManager: <info>* Activation (eth0) Stage 2 of 5 (Device Configure) starting...
NetworkManager: <info>* Activation (eth0) Stage 2 of 5 (Device Configure) successful.
NetworkManager: <info>* Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
NetworkManager: <info>* Activation (eth0) Stage 2 of 5 (Device Configure) complete.NetworkManager: <info>* Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
NetworkManager: <info>* Activation (eth0) Beginning DHCP transaction.
NetworkManager: <info>* dhclient started with pid 9139NetworkManager: <info>* Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Internet Systems Consortium DHCP Client V3.0.6-Fedora
Copyright 2004-2007 Internet Systems Consortium.All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
wmaster0: unknown hardware address type 801wmaster0: unknown hardware address type 801
NetworkManager: <info>* DHCP: device eth0 state changed (null) -> preinit
Listening on LPF/eth0/00:15:c5:53:fd:f5Sending on** LPF/eth0/00:15:c5:53:fd:f5
Sending on** Socket/fallbackDHCPDISCOVER on eth0 to
255.255.255.255 port 67 interval 6NetworkManager: <WARN>* killswitch_getpower_reply(): Error getting killswitch power: An Error occurred. The Error message is:*
*Could not open file /sys/devices/platform/dcdbas/smi_data. Check that dcdbas driver is properly loaded..
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12DHCPDISCOVER on eth0 to
255.255.255.255 port 67 interval 20NetworkManager: <info>* Device 'eth0' DHCP transaction took too long (>45s), stopping it.
NetworkManager: <info>* eth0: canceled DHCP transaction, dhclient pid 9139
NetworkManager: <info>* Activation (eth0) Stage 4 of 5 (IP Configure Timeout) scheduled...
NetworkManager: <info>* Activation (eth0) Stage 4 of 5 (IP Configure Timeout) started...NetworkManager: <info>* No DHCP reply received.* Automatically obtaining IP via Zeroconf.
NetworkManager: <info>* autoip: Sending probe #0 for IP address 169.254.59.61
.NetworkManager: <info>* autoip: Waiting for reply...
NetworkManager: <info>* autoip: Sending probe #1 for IP address 169.254.59.61.
NetworkManager: <info>* autoip: Waiting for reply...NetworkManager: <info>* autoip: Sending probe #2 for IP address
169.254.59.61.NetworkManager: <info>* autoip: Waiting for reply...
NetworkManager: <info>* autoip: Got some data to check for reply packet.
NetworkManager: <WARN>* get_autoip(): autoip: (eth0) recv arp type=2048, op=0, NetworkManager: <WARN>* get_autoip():* source =
1.56.192.168 80:11:9B:C6:C0:A8, NetworkManager: <WARN>* get_autoip():* target =
0.209.207.204 01:3F:00:8A:00:8ANetworkManager: <info>* autoip: Sending announce #0 for IP address
169.254.59.61.NetworkManager: <info>* autoip: Waiting for reply...
NetworkManager: <info>* autoip: Sending announce #1 for IP address 169.254.59.61.
NetworkManager: <info>* autoip: Waiting for reply...NetworkManager: <info>* autoip: Got some data to check for reply packet.
NetworkManager: <WARN>* get_autoip(): autoip: (eth0) recv arp type=2048, op=16384,
NetworkManager: <WARN>* get_autoip():* source = 229.134.192.168 6F:06:AA:66:50:DA,
NetworkManager: <WARN>* get_autoip():* target = 115.171.28.192 01:3D:F9:8B:94:C4
NetworkManager: <info>* autoip: Sending announce #2 for IP address 169.254.59.61.
NetworkManager: <info>* autoip: Waiting for reply...
NetworkManager: <info>* autoip: Got some data to check for reply packet.NetworkManager: <WARN>* get_autoip(): autoip: (eth0) recv arp type=2048, op=16384,
NetworkManager: <WARN>* get_autoip():* source = 229.134.192.168 6F:06:AA:2D:50:DA,
NetworkManager: <WARN>* get_autoip():* target = 115.171.28.192 01:3D:F9:8B:94:C4
NetworkManager: <info>* Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled...
NetworkManager: <info>* Activation (eth0) Stage 4 of 5 (IP Configure Timeout) complete.
NetworkManager: <info>* Activation (eth0) Stage 5 of 5 (IP Configure Commit) started...
NetworkManager: <info>* Activation (eth0) successful, device activated.NetworkManager: <info>* Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete.
NetworkManager: <WARN>* nm_signal_handler(): Caught signal 2, shutting down normally.
NetworkManager: <debug> [1195636347.808989] nm_print_open_socks(): Open Sockets List:
NetworkManager: <debug> [1195636347.809073] nm_print_open_socks(): Open Sockets List Done.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


All times are GMT. The time now is 02:07 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.