Comment 1 for bug 311508

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 311508] [NEW] NetworkManager HUAWEI E220 +COPS Invalid Byte Sequence

jatstic wrote:
> Public bug reported:
>
> Binary package hint: network-manager
>
> Since I bought a Huawei E220 HSDPA-3G modem I have been experiencing
> problems connecting to the Internet through network-manager in Ubuntu
> 8.10 and Kubuntu 8.10.
>
> Looking in the system log I have found that the problem is that when is
> impossible to connect, the log reads as follows:
>
> Dec 26 10:38:40 acer-laptop NetworkManager: <info> Activation (ttyUSB0) starting connection 'Vodafone'
> Dec 26 10:38:40 acer-laptop NetworkManager: <info> (ttyUSB0): device state change: 3 -> 4
> Dec 26 10:38:40 acer-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) scheduled...
> Dec 26 10:38:40 acer-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) started...
> Dec 26 10:38:40 acer-laptop NetworkManager: <debug> [1230284320.935329] nm_serial_device_open(): (ttyUSB0) opening device...
> Dec 26 10:38:40 acer-laptop NetworkManager: <info> Activation (ttyUSB0) Stage 1 of 5 (Device Prepare) complete.
> Dec 26 10:38:41 acer-laptop NetworkManager: <info> (ttyUSB0): powering up...
> Dec 26 10:38:41 acer-laptop NetworkManager: <info> Registered on Home network
>
> Dec 26 10:38:52 acer-laptop NetworkManager: <info> Associated with
> network: +COPS: 0,0,"vodafone ES
>
> Dec 26 10:38:52 acer-laptop NetworkManager: Invalid byte sequence in conversion input
> Dec 26 10:39:00 acer-laptop NetworkManager: <WARN> set_apn_done(): Setting APN failed
> Dec 26 10:39:00 acer-laptop NetworkManager: <info> (ttyUSB0): device state change: 4 -> 9
> Dec 26 10:39:00 acer-laptop NetworkManager: <debug> [1230284340.000954] nm_serial_device_close(): Closing device 'ttyUSB0'
> Dec 26 10:39:00 acer-laptop NetworkManager: <info> Marking connection 'Vodafone' invalid.
> Dec 26 10:39:00 acer-laptop NetworkManager: <info> Activation (ttyUSB0) failed.
> Dec 26 10:39:00 acer-laptop NetworkManager: <info> (ttyUSB0): device state change: 9 -> 3
> Dec 26 10:39:00 acer-laptop NetworkManager: <info> (ttyUSB0): deactivating device (reason: 0).
>
> The problem is that NetworkManager sends AT+COPS? to the modem, and it's
> not capable to understand the response, because in the end of the name
> of the network (in this case vodafone ES) appears a non printable
> character. So the string is as follows: Associated with network: +COPS:
> 0,0,"vodafone ES
>
> When the connection works well, it should be: Associated with network:
> +COPS: 0,0,"vodafone ES",2
>
> I am not sure of this, but it could be because when the modem encounters
> a 3G+(HSDPA) network, adds a '+' to the name of the network. I think
> this because in windows the name of the network is shown as "vodafone
> ES+".
>
> The version of the package is the one that comes with Ubuntu 8.10 and
> updated: network-manager 0.7~~svn20081018t105859-0ubuntu1.8.10.1
>
> Thank you very much in advance of looking at this problem.
>
>

Please test the latest intrepid packages in the ~network-manager team
PPA (http://launchpad.net/~network-manager/+archive).

just add to your sources and upgrade your system.

 status incomplete

Thanks