Version: NetworkManager-kde4-0.7.svn958040 (using Devel) OS: Linux Installed from: Compiled sources Hi I try to connect my mobile broadband modem (Huawei E220) using nm-kde4. The device gets detected but fails to connect. I can connect it manually with wvdial. Here is a log with a clean modem-manager and network-manager started. blue:/home/alin # NetworkManager --no-daemon NetworkManager: <info> starting... NetworkManager: <info> modem-manager is now available -- Error received: File exists -- Original message: type=0x14 length=56 flags=<REQUEST,ACK,ATOMIC> sequence-nr=1241510331 pid=4205485 NetworkManager: <WARN> nm_generic_enable_loopback(): error -17 returned from rtnl_addr_add(): Sucess NetworkManager: <info> /dev/ttyUSB0: driver is 'option'. NetworkManager: <info> Found new GSM modem device '/dev/ttyUSB0'. NetworkManager: <info> (/dev/ttyUSB0): exported as /org/freedesktop/Hal/devices/usb_device_12d1_1003_noserial_if0_serial_usb_0 NetworkManager: <info> Found radio killswitch /org/freedesktop/Hal/devices/pci_8086_4229_rfkill_4965AGN_wlan NetworkManager: <info> Found radio killswitch /org/freedesktop/Hal/devices/dell_wlan_switch NetworkManager: nm_device_ethernet_new: assertion `driver != NULL' failed NetworkManager: <info> eth0: driver is 'tg3'. NetworkManager: <info> Found new Ethernet device 'eth0'. NetworkManager: <info> (eth0): exported as /org/freedesktop/Hal/devices/net_00_21_9b_e5_7b_9d NetworkManager: <info> wlan0: driver is 'iwlagn'. NetworkManager: <info> wlan0: driver supports SSID scans (scan_capa 0x01). NetworkManager: <info> Found new 802.11 WiFi device 'wlan0'. NetworkManager: <info> (wlan0): exported as /org/freedesktop/Hal/devices/net_00_21_5c_93_0a_ed NetworkManager: <WARN> connection_get_settings_cb(): connection_get_settings_cb: Invalid connection: 'NMSettingIP4Config' / 'addresses' invalid: 2 NetworkManager: <WARN> connection_get_settings_cb(): connection_get_settings_cb: Invalid connection: 'NMSettingIP4Config' / 'dns' invalid: 3 (NetworkManager:11181): GLib-GObject-WARNING **: value "251658240" of type `guint' is invalid or out of range for property `bits' of type `guint' (NetworkManager:11181): GLib-GObject-WARNING **: value "8519312" of type `guint' is invalid or out of range for property `stopbits' of type `guint' (NetworkManager:11181): GLib-GObject-WARNING **: unable to set property `parity' of type `gchar' from value of type `gchararray' NetworkManager: <info> (/dev/ttyUSB0): device state change: 1 -> 2 NetworkManager: <info> (/dev/ttyUSB0): deactivating device (reason: 2). NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed NetworkManager: <info> (eth0): device state change: 1 -> 2 NetworkManager: <info> (eth0): bringing up device. NetworkManager: <info> (eth0): preparing device. NetworkManager: <info> (eth0): deactivating device (reason: 2). NetworkManager: <info> (wlan0): device state change: 1 -> 2 NetworkManager: <info> (wlan0): bringing up device. NetworkManager: <info> (wlan0): preparing device. NetworkManager: <info> (wlan0): deactivating device (reason: 2). NetworkManager: <info> (/dev/ttyUSB0): device state change: 2 -> 3 NetworkManager: <info> (wlan0): device state change: 2 -> 3 NetworkManager: <info> Activation (/dev/ttyUSB0) starting connection 'Ichecthinggie' NetworkManager: <info> (/dev/ttyUSB0): device state change: 3 -> 4 NetworkManager: <info> Activation (/dev/ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled... NetworkManager: <info> Activation (/dev/ttyUSB0) Stage 1 of 5 (Device Prepare) started... NetworkManager: <info> Activation (/dev/ttyUSB0) Stage 1 of 5 (Device Prepare) complete. NetworkManager: <info> (wlan0): supplicant interface state: starting -> ready NetworkManager: <info> (eth0): carrier now ON (device state 2) NetworkManager: <info> (eth0): device state change: 2 -> 3 NetworkManager: <info> Activation (eth0) starting connection 'System eth0' NetworkManager: <info> (eth0): device state change: 3 -> 4 NetworkManager: <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> (eth0): device state change: 4 -> 5 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> (eth0): device state change: 5 -> 7 NetworkManager: <info> Activation (eth0) Beginning DHCP transaction. NetworkManager: <info> dhclient started with pid 11197 NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete. Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ wmaster0: unknown hardware address type 801 wmaster0: unknown hardware address type 801 NetworkManager: <info> DHCP: device eth0 state changed (null) -> preinit Listening on LPF/eth0/00:21:9b:e5:7b:9d Sending on LPF/eth0/00:21:9b:e5:7b:9d Sending on Socket/fallback DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3 DHCPOFFER from 10.71.0.1 NetworkManager: <info> Activation (wlan0) starting connection 'ICHEC' NetworkManager: <info> (wlan0): device state change: 3 -> 4 NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... NetworkManager: <info> (wlan0): device state change: 4 -> 5 NetworkManager: <info> Activation (wlan0/wireless): access point 'ICHEC' has security, but secrets are required. NetworkManager: <info> (wlan0): device state change: 5 -> 6 NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. NetworkManager: <WARN> update_one_setting(): Failed to update connection secrets: 1 802-1x NetworkManager: <WARN> real_connection_secrets_updated(): Ignoring updated secrets for setting '802-11-wireless'. NetworkManager: <WARN> real_connection_secrets_updated(): Ignoring updated secrets for setting 'ipv4'. NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled... NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started... NetworkManager: <info> (wlan0): device state change: 6 -> 4 NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled... NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete. NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting... NetworkManager: <info> (wlan0): device state change: 4 -> 5 NetworkManager: <info> Activation (wlan0/wireless): connection 'ICHEC' has security, and secrets exist. No new secrets needed. NetworkManager: <info> Config: added 'ssid' value 'ICHEC' NetworkManager: <info> Config: added 'scan_ssid' value '1' NetworkManager: <info> Config: added 'key_mgmt' value 'WPA-PSK' NetworkManager: <info> Config: added 'auth_alg' value 'OPEN' NetworkManager: <info> Config: added 'psk' value '<omitted>' NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. NetworkManager: <info> Config: set interface ap_scan to 1 NetworkManager: <info> (wlan0): supplicant connection state: scanning -> disconnected NetworkManager: <info> (wlan0): supplicant connection state: disconnected -> scanning DHCPREQUEST on eth0 to 255.255.255.255 port 67 DHCPACK from 10.71.0.1 bound to 10.71.0.160 -- renewal in 1938437 seconds. NetworkManager: <info> DHCP: device eth0 state changed preinit -> bound NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) scheduled... NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) started... NetworkManager: <info> address 10.71.0.160 NetworkManager: <info> prefix 20 (255.255.240.0) NetworkManager: <info> gateway 10.71.0.1 NetworkManager: <info> nameserver '10.61.32.1' NetworkManager: <info> nameserver '1.1.1.1' NetworkManager: <info> domain name 'tcd.ie' NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) scheduled... NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Get) complete. NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) started... NetworkManager: <debug> [1241510339.040982] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' NetworkManager: <debug> [1241510339.043541] write_to_netconfig(): Writing to netconfig: INTERFACE='eth0' NetworkManager: <debug> [1241510339.043808] write_to_netconfig(): Writing to netconfig: DNSSEARCH='tcd.ie tcd.ie' NetworkManager: <debug> [1241510339.044015] write_to_netconfig(): Writing to netconfig: DNSSERVERS='10.61.32.1 1.1.1.1' NetworkManager: <info> Clearing nscd hosts cache. NetworkManager: <info> (eth0): device state change: 7 -> 8 NetworkManager: <debug> [1241510339.060862] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' NetworkManager: <debug> [1241510339.110332] write_to_netconfig(): Writing to netconfig: INTERFACE='eth0' NetworkManager: <debug> [1241510339.110888] write_to_netconfig(): Writing to netconfig: DNSSEARCH='tcd.ie tcd.ie' NetworkManager: <debug> [1241510339.111250] write_to_netconfig(): Writing to netconfig: DNSSERVERS='10.61.32.1 1.1.1.1' NetworkManager: <info> Clearing nscd hosts cache. NetworkManager: <info> Policy set 'System eth0' (eth0) as default for routing and DNS. NetworkManager: <info> Activation (eth0) successful, device activated. NetworkManager: <info> Activation (eth0) Stage 5 of 5 (IP Configure Commit) complete. NetworkManager: <info> (wlan0): supplicant connection state: associating -> associated NetworkManager: <info> (wlan0): supplicant connection state: associated -> 4-way handshake NetworkManager: <info> (wlan0): supplicant connection state: 4-way handshake -> group handshake NetworkManager: <info> (wlan0): supplicant connection state: group handshake -> completed NetworkManager: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'ICHEC'. NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled. NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started... NetworkManager: <info> (wlan0): device state change: 5 -> 7 NetworkManager: <info> Activation (wlan0) Beginning DHCP transaction. Internet Systems Consortium DHCP Client V3.1.1 Copyright 2004-2008 Internet Systems Consortium. All rights reserved. For info, please visit http://www.isc.org/sw/dhcp/ NetworkManager: <info> dhclient started with pid 11448 NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete. wmaster0: unknown hardware address type 801 wmaster0: unknown hardware address type 801 NetworkManager: <info> DHCP: device wlan0 state changed (null) -> preinit Listening on LPF/wlan0/00:21:5c:93:0a:ed Sending on LPF/wlan0/00:21:5c:93:0a:ed Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2 DHCPOFFER from 192.168.0.254 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPACK from 192.168.0.254 bound to 192.168.0.192 -- renewal in 1730 seconds. NetworkManager: <info> DHCP: device wlan0 state changed preinit -> bound NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP Configure Get) scheduled... NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP Configure Get) started... NetworkManager: <info> address 192.168.0.192 NetworkManager: <info> prefix 24 (255.255.255.0) NetworkManager: <info> gateway 192.168.0.254 NetworkManager: <info> nameserver '192.168.0.254' NetworkManager: <info> domain name 'tcd.ie' NetworkManager: nm_ip4_config_add_search: assertion `strlen (search) > 0' failed NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) scheduled... NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP Configure Get) complete. NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started... NetworkManager: <debug> [1241510348.228339] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' NetworkManager: <debug> [1241510348.232813] write_to_netconfig(): Writing to netconfig: INTERFACE='wlan0' NetworkManager: <debug> [1241510348.232923] write_to_netconfig(): Writing to netconfig: DNSSEARCH='tcd.ie tcd.ie tcd.ie' NetworkManager: <debug> [1241510348.232980] write_to_netconfig(): Writing to netconfig: DNSSERVERS='10.61.32.1 1.1.1.1 192.168.0.254' NetworkManager: <info> Clearing nscd hosts cache. NetworkManager: <debug> [1241510348.239667] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' NetworkManager: <debug> [1241510348.280109] write_to_netconfig(): Writing to netconfig: INTERFACE='eth0' NetworkManager: <debug> [1241510348.280452] write_to_netconfig(): Writing to netconfig: DNSSEARCH='tcd.ie tcd.ie tcd.ie' NetworkManager: <debug> [1241510348.280649] write_to_netconfig(): Writing to netconfig: DNSSERVERS='10.61.32.1 1.1.1.1 192.168.0.254' NetworkManager: <info> Clearing nscd hosts cache. NetworkManager: <info> Policy set 'System eth0' (eth0) as default for routing and DNS. NetworkManager: <info> (wlan0): device state change: 7 -> 8 NetworkManager: <info> Activation (wlan0) successful, device activated. NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete. NetworkManager: dbus_g_error_get_name: assertion `error->code == DBUS_GERROR_REMOTE_EXCEPTION' failed NetworkManager: (null) NetworkManager: <WARN> state_machine(): GSM modem connection failed: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. NetworkManager: <info> (/dev/ttyUSB0): device state change: 4 -> 9 NetworkManager: <info> Marking connection 'Ichecthinggie' invalid. NetworkManager: <info> Activation (/dev/ttyUSB0) failed. NetworkManager: <info> (/dev/ttyUSB0): device state change: 9 -> 3 NetworkManager: <info> (/dev/ttyUSB0): deactivating device (reason: 0). NetworkManager: <debug> [1241510355.969040] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' NetworkManager: <debug> [1241510355.972372] write_to_netconfig(): Writing to netconfig: INTERFACE='eth0' NetworkManager: <debug> [1241510355.972601] write_to_netconfig(): Writing to netconfig: DNSSEARCH='tcd.ie tcd.ie tcd.ie' NetworkManager: <debug> [1241510355.972806] write_to_netconfig(): Writing to netconfig: DNSSERVERS='10.61.32.1 1.1.1.1 192.168.0.254' NetworkManager: <info> Clearing nscd hosts cache. NetworkManager: <info> Policy set 'System eth0' (eth0) as default for routing and DNS. NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed Alin
Working on it now
I have also problems with connecting via mobile broadband, but I am not sure if it is the same. I described the problem in KDE-Forum and was advised to file a bug. If you think the problem is not related, I can file an extra bug report. Problem description with logs is here: http://forum.kde.org/problems-with-networkmanager-applet-and-mobile-broadband-t-59914.html#pid77702
Having issues with "Mobile Broadband" aswell. No problem with wvdial. Versions: pppd 2.4.5 NetworkManager 0.7.0.r4359 NetworkManager-kde4 0.7.svn970012 ---------- The config file created by the NetworkManager applet is strange (baud, mru, mtu, baud, bits). [connection] autoconnect=false id=3 timestamp=-4713,1,1,0,0,0 type=gsm uuid={20073e34-3957-407e-bc8b-7a79fba3f0da} [gsm] apn=bredband.tre.se band=5 networkid= networktype=3145780 number=*99# username= [ipv4] addresses= ignoredhcpdns=false method=Automatic routes= [ppp] baud=3145776 crtscts=false lcpechofailure=0 lcpechointerval=0 mppestateful=false mru=3342391 mtu=3342437 noauth=true nobsdcomp=false nodeflate=false novjcomp=false refusechap=false refuseeap=false refusemschap=true refusemschapv2=false refusepap=true requiremppe=false requiremppe128=false [serial] baud=2061565008 bits=32767 parity= senddelay=0 stopbits=0
After manually editing the settingsfile for the connection and rebooting (don't know howto force the applet to reload the connection files) it now works for me. I changed the following to: baud=0 mtu=1440 mru=1440 bits=0 Before the following command was executed: nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock nodefaultroute user dummy /dev/ ttyUSB0 noipdefault noauth refuse-pap refuse-chap refuse-mschap-v2 nobsdcomp crtscts usepeerdns mru 3342391 mtu 3342437 lcp-echo-failure 5 lcp-echo-interval 30 i pparam /org/freedesktop/NetworkManager/PPP/0 plugin /usr/lib64/pppd/2.4.4/nm-pppd-plugin.so Now when working I get: nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock nodefaultroute user dummy /dev/ ttyUSB0 noipdefault noauth refuse-pap refuse-chap refuse-mschap-v2 nobsdcomp crtscts usepeerdns mru 1440 mtu 1440 lcp-echo-failure 5 lcp-echo-interval 30 ipparam /o rg/freedesktop/NetworkManager/PPP/0 plugin /usr/lib64/pppd/2.4.4/nm-pppd-plugin.so I don't know if the MRU or MTU values are the best, but thats what wvdial uses.
Hi all, I have similar problem with my Boardband device. I'm using Sierra AirCard 880E. I had the same strange values for mtu and mru in the configuration files and I changed them according to what Dan suggested (thanks Dan), but as you can see below it didn't help. In my case ppp plugin doesn't even start. Or is it because debug is not turned on, btw: how do I turn debug on ? Below is NetworkManager log : May 30 10:30:13 dEUS NetworkManager: <info> /dev/ttyUSB0: driver is 'sierra'. May 30 10:30:13 dEUS NetworkManager: <info> Found new GSM modem device '/dev/ttyUSB0'. May 30 10:30:13 dEUS NetworkManager: <info> (/dev/ttyUSB0): exported as /org/freedesktop/Hal/devices/usb_device_1199_6852_noserial_if0_0_serial_usb_0 May 30 10:30:17 dEUS NetworkManager: <info> (/dev/ttyUSB0): device state change: 1 -> 2 May 30 10:30:17 dEUS NetworkManager: <info> (/dev/ttyUSB0): deactivating device (reason: 2). May 30 10:30:17 dEUS NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed May 30 10:30:17 dEUS NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed May 30 10:30:17 dEUS NetworkManager: <info> (/dev/ttyUSB0): device state change: 2 -> 3 May 30 10:30:17 dEUS NetworkManager: <info> Activation (/dev/ttyUSB0) starting connection 'Cellcom' May 30 10:30:17 dEUS NetworkManager: <info> (/dev/ttyUSB0): device state change: 3 -> 4 May 30 10:30:17 dEUS NetworkManager: <info> Activation (/dev/ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled... May 30 10:30:17 dEUS NetworkManager: <info> Activation (/dev/ttyUSB0) Stage 1 of 5 (Device Prepare) started... May 30 10:30:17 dEUS NetworkManager: <info> Activation (/dev/ttyUSB0) Stage 1 of 5 (Device Prepare) complete. May 30 10:30:28 dEUS NetworkManager: org.freedesktop.ModemManager.Modem.Gsm.Unknown May 30 10:30:28 dEUS NetworkManager: <WARN> state_machine(): GSM modem connection failed: Unknown error May 30 10:30:28 dEUS NetworkManager: <info> (/dev/ttyUSB0): device state change: 4 -> 9 May 30 10:30:28 dEUS NetworkManager: <info> Marking connection 'Cellcom' invalid. May 30 10:30:28 dEUS NetworkManager: <info> Activation (/dev/ttyUSB0) failed. May 30 10:30:28 dEUS NetworkManager: <info> (/dev/ttyUSB0): device state change: 9 -> 3 May 30 10:30:28 dEUS NetworkManager: <info> (/dev/ttyUSB0): deactivating device (reason: 0). May 30 10:30:28 dEUS NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion `iface_idx >= 0' failed May 30 10:30:28 dEUS NetworkManager: nm_system_device_flush_ip4_addresses_with_iface: assertion `iface_idx >= 0' failed Thanks, Sagi.
The same problem for E180 in KDE 4.3.2 In KDE 4.3.1 all works ok
Since works now ... kde trunk... I find it fair to close it as soleved... Thanks all who contributed. Alin