I can not get NetworkManager to handle my Huawei E220 usb modem. I have searched forums and tried a lot of things. I have just upgraded from openSUSE 11.2 to openSUSE 11.3 using zypper. It seems to work fine except that umtsmon stopped to work, so for now my laptop has no connetion to internet at all. Here are some information about my settings:
I have used usb_modeswitch to make the device a modem. Am I right if I say that usb_modeswitch is a one time command, or does it swap the setting each time it is called? Anyhow lsusb states that the device is a modem. (All the time.)
/home/freefox> lsusb
...
Bus 007 Device 003: ID 12d1:1003 Huawei Technologies Co., Ltd. E220 HSDPA Modem / E270 HSDPA/HSUPA Modem
...
Here is the log from NetworkManager. I have seen reason 1 and 13 as failures. Where can I get deeper information about the different reasons? Reason 1 appears if I attach the modem after starting the computer. And trying to connect off course.
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) starting connection 'tre'
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Aug 5 08:22:11 linux-walkabout NetworkManager: <WARN> stage1_prepare_done(): GSM modem connection failed: (32) Sending command failed: device is not enabled
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9 (reason 1)
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> Marking connection 'tre' invalid.
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) failed.
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Aug 5 08:22:11 linux-walkabout NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Is it the connection between the computer and the modem or between the modem and the RBS?
Reason 13 appears if I have the modem attached when I start the computer.
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) starting connection 'tre'
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4 (reason 0)
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) scheduled...
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) starting...
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 4 -> 5 (reason 0)
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) successful.
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) scheduled.
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 2 of 5 (Device Configure) complete.
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) started...
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 5 -> 7 (reason 0)
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Starting pppd connection
Aug 5 09:07:11 linux-walkabout NetworkManager: <debug> [1280992031.818979] nm_ppp_manager_start(): Command line: /usr/sbin/pppd nodetach lock nodefaultroute ttyUSB0 noipdefault noauth nobsdcomp nodeflate usepeerdns lcp-echo-failure 0 lcp-echo-interval 0 ipparam /org/freedesktop/NetworkManager/PPP/0 plugin /usr/lib64/pppd/2.4.5/nm-pppd-plugin.so
Aug 5 09:07:11 linux-walkabout NetworkManager: <debug> [1280992031.838330] nm_ppp_manager_start(): ppp started with pid 2587
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) scheduled...
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 3 of 5 (IP Configure Start) complete.
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) started...
Aug 5 09:07:11 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) Stage 4 of 5 (IP6 Configure Get) complete.
Aug 5 09:07:18 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 7 -> 9 (reason 13)
Aug 5 09:07:18 linux-walkabout NetworkManager: <info> Marking connection 'tre' invalid.
Aug 5 09:07:18 linux-walkabout NetworkManager: <info> Activation (ttyUSB0) failed.
Aug 5 09:07:18 linux-walkabout NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3 (reason 0)
Aug 5 09:07:18 linux-walkabout NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
Aug 5 09:07:21 linux-walkabout NetworkManager: <debug> [1280992041.000652] ensure_killed(): waiting for ppp pid 2587 to exit
Aug 5 09:07:21 linux-walkabout NetworkManager: <debug> [1280992041.000878] ensure_killed(): ppp pid 2587 cleaned up
In both cases KNetworkManager applet inactivates ‘tre’ so that it is not possible to try again without a restart. Clicking ‘tre’ again has no effect at all.
Can I restart the applet somehow?
Installed versions:
ModemManager-0.3-4.2
NetworkManager-0.8-7.4
ppp-2.4.5_git200910141435-5.2
kernel 2.6.34-12
Any ideas how to continue?
/freefox