NetworkManager: IP address == Broadcast address?

Rick Stevens ricks at nerd.com
Wed Jan 7 02:07:34 UTC 2009


Patrick wrote:
> Hi,
> 
> Problem: Internet via a Nokia from a laptop with F10 x86_64 does not (no 
> longer?) work. Assigned IP address on laptop is the same as the 
> broadcast address.
> 
> A laptop with up-to-date Fedora 10 x86_64, NetworkManager version 
> 0.7.0-0.12.svn4326, a Nokia E71 and a USB cable for use between the 
> Nokia and the laptop. The Nokia has a working permanent GPRS Internet 
> connection. Steps I do to setup a link between the laptop and Nokia:
> 
> 1) I added the T-Mobile mobile broadband profile in NetworkManager
> 2) I plug the USB cable into the phone and laptop and select "PC Suite"
>    on the phone when asked
> 3) I select the T-Mobile profile in NetworkManager
> 4) NM starts chewing and reports after a few secs that a connection has
>    been setup
> 
> Result:
> Internet no longer works on the Nokia nor from the laptop via the Nokia. 
> In NetworkManager I select "Connection Information" and notice that the 
> IP address and Broadcast address are the same. Pings fail except to the 
> public IP address assigned to the laptop.
> 
> Question:
> Is this a bug? I'm no IP addressing expert so IP address == broadcast 
> address might be valid.

It is absolutely incorrect.  Your NIC should NOT have the broadcast
address as its IP address.

> FWIW I think this used to work fine when I initially did a fresh install 
> of F10 on the laptop.
> 
> In /var/log/messages I see:
> ifcfg-fedora:     error: Missing or invalid IP4 prefix '0'
> 
> Here is some more logging when setting up a connection:
> 
> Jan  6 13:52:51 localhost kernel: usb 3-1: Product: Nokia E71
> Jan  6 13:52:51 localhost kernel: usb 3-1: Manufacturer: Nokia
> Jan  6 13:52:51 localhost NetworkManager: <info>  ttyACM0: driver is 
> 'cdc_acm'.
> Jan  6 13:52:51 localhost NetworkManager: <info>  Found new Modem device 
> 'ttyACM0'.
> Jan  6 13:52:51 localhost NetworkManager: <info>  (ttyACM0): exported as 
> /org/freedesktop/Hal/devices/usb_device_421_ab_noserial_if0_5_serial_unknown_0 
> 
> Jan  6 13:52:55 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 1 -> 2
> Jan  6 13:52:55 localhost NetworkManager: <info>  (ttyACM0): 
> deactivating device (reason: 2).
> Jan  6 13:52:55 localhost NetworkManager: 
> nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' 
> failed
> Jan  6 13:52:55 localhost NetworkManager: 
> nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 
> 0' failed
> Jan  6 13:52:55 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 2 -> 3
> Jan  6 13:53:34 localhost NetworkManager: <info>  Activation (ttyACM0) 
> starting connection 'T-Mobile '
> Jan  6 13:53:34 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 3 -> 4
> Jan  6 13:53:34 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 1 of 5 (Device Prepare) scheduled...
> Jan  6 13:53:34 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 1 of 5 (Device Prepare) started...
> Jan  6 13:53:34 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 1 of 5 (Device Prepare) complete.
> Jan  6 13:53:34 localhost NetworkManager: <info>  (ttyACM0): powering up...
> Jan  6 13:53:34 localhost NetworkManager: <info>  Registered on Home 
> network
> Jan  6 13:53:34 localhost NetworkManager: <info>  Associated with 
> network: +COPS: 0,2,"20416",2
> Jan  6 13:53:36 localhost NetworkManager: <info>  Connected, Woo!
> Jan  6 13:53:36 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 2 of 5 (Device Configure) scheduled...
> Jan  6 13:53:36 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 2 of 5 (Device Configure) starting...
> Jan  6 13:53:36 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 4 -> 5
> Jan  6 13:53:36 localhost NetworkManager: <info>  Starting pppd connection
> Jan  6 13:53:36 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 2 of 5 (Device Configure) complete.
> Jan  6 13:53:36 localhost pppd[23152]: Plugin 
> /usr/lib64/pppd/2.4.4/nm-pppd-plugin.so loaded.
> Jan  6 13:53:36 localhost pppd[23152]: pppd 2.4.4 started by root, uid 0
> Jan  6 13:53:36 localhost pppd[23152]: Using interface ppp0
> Jan  6 13:53:36 localhost pppd[23152]: Connect: ppp0 <--> /dev/ttyACM0
> Jan  6 13:53:37 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 5 -> 6
> Jan  6 13:53:37 localhost pppd[23152]: PAP authentication succeeded
> Jan  6 13:53:37 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 6 -> 7
> Jan  6 13:53:37 localhost pppd[23152]: local  IP address 94.157.47.76
> Jan  6 13:53:37 localhost pppd[23152]: remote IP address 10.6.6.6
> Jan  6 13:53:37 localhost pppd[23152]: primary   DNS address 193.67.79.39
> Jan  6 13:53:37 localhost pppd[23152]: secondary DNS address 193.79.237.39
> Jan  6 13:53:37 localhost NetworkManager: <info>  PPP manager(IP Config 
> Get) reply received.
> Jan  6 13:53:37 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 4 of 5 (IP Configure Get) scheduled...
> Jan  6 13:53:37 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 4 of 5 (IP Configure Get) started...
> Jan  6 13:53:37 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 5 of 5 (IP Configure Commit) scheduled...
> Jan  6 13:53:37 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 4 of 5 (IP Configure Get) complete.
> Jan  6 13:53:37 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 5 of 5 (IP Configure Commit) started...
> Jan  6 13:53:38 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 7 -> 8
> Jan  6 13:53:39 localhost NetworkManager: <info>  Policy set 'T-Mobile ' 
> (ppp0) as default for routing and DNS.
> Jan  6 13:53:39 localhost NetworkManager: <info>  Activation (ttyACM0) 
> successful, device activated.
> Jan  6 13:53:39 localhost NetworkManager: <info>  Activation (ttyACM0) 
> Stage 5 of 5 (IP Configure Commit) complete.
> Jan  6 13:53:39 localhost nm-dispatcher.action: Script 
> '/etc/NetworkManager/dispatcher.d/04-iscsi' exited with error status 1.
> Jan  6 13:54:52 localhost NetworkManager: <info>  (ttyACM0): device 
> state change: 8 -> 3
> Jan  6 13:54:52 localhost NetworkManager: <info>  (ttyACM0): 
> deactivating device (reason: 39).

I believe there is/was a bug in NM, so make sure you update it.  You may
have to hand-edit the /etc/sysconfig/network-scripts/ifcfg-ppp0 script
to fix it.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-        Polygon: A dead parrot (With apologies to John Cleese)      -
----------------------------------------------------------------------




More information about the fedora-list mailing list