Page 1 of 1

Problems with WWAN Under Ubuntu ( X1 Carbon )

Posted: Fri Sep 21, 2012 3:19 pm
by aspen
I've got an X1C, and appear to have borked the 3G at some point.
I tried it once with my T-Mobile SIM right after I got it, and it worked fine. Then I got an AT&T data plan.
Settings aside, here's what happens when I try to connect (syslog):

Code: Select all

Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Activation (ttyACM2) starting connection 'AT&T'
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> (ttyACM2): device state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Activation (ttyACM2) Stage 1 of 5 (Device Prepare) scheduled...
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Activation (ttyACM2) Stage 1 of 5 (Device Prepare) started...
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> (ttyACM2): device state change: prepare -> need-auth (reason 'none') [40 60 0]
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Activation (ttyACM2) Stage 1 of 5 (Device Prepare) complete.
Sep 21 13:12:33 twelve modem-manager[949]: <info>  Modem /org/freedesktop/ModemManager/Modems/2: state changed (connected -> disconnecting)
Sep 21 13:12:33 twelve modem-manager[949]: <info>  Modem /org/freedesktop/ModemManager/Modems/2: state changed (disconnecting -> connected)
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Activation (ttyACM2) Stage 1 of 5 (Device Prepare) scheduled...
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> disconnect failed: (32) The serial port is not open.
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Activation (ttyACM2) Stage 1 of 5 (Device Prepare) started...
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> (ttyACM2): device state change: need-auth -> prepare (reason 'none') [60 40 0]
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Activation (ttyACM2) Stage 1 of 5 (Device Prepare) complete.
Sep 21 13:12:33 twelve NetworkManager[1049]: <warn> GSM connection failed: (32) Sending command failed: device is not enabled
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> (ttyACM2): device state change: prepare -> failed (reason 'unknown') [40 120 1]
Sep 21 13:12:33 twelve NetworkManager[1049]: <warn> Activation (ttyACM2) failed.
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> (ttyACM2): device state change: failed -> disconnected (reason 'none') [120 30 0]
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> (ttyACM2): deactivating device (reason 'none') [0]
Sep 21 13:12:33 twelve NetworkManager[1049]: nm_system_iface_flush_routes: assertion `ifindex > 0' failed
Sep 21 13:12:33 twelve NetworkManager[1049]: nm_system_iface_flush_addresses: assertion `ifindex > 0' failed
Sep 21 13:12:33 twelve modem-manager[949]: <info>  Modem /org/freedesktop/ModemManager/Modems/2: state changed (connected -> disconnecting)
Sep 21 13:12:33 twelve modem-manager[949]: <info>  Modem /org/freedesktop/ModemManager/Modems/2: state changed (disconnecting -> connected)
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Policy set 'Guest' (wlan0) as default for IPv4 routing and DNS.
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> Policy set 'Guest' (wlan0) as default for IPv4 routing and DNS.
Sep 21 13:12:33 twelve NetworkManager[1049]: <info> disconnect failed: (32) The serial port is not open.
The concerning part about this is the:

Sep 21 13:12:33 twelve NetworkManager[1049]: <warn> GSM connection failed: (32) Sending command failed: device is not enabled

I have the box ticked in Network manager... I did at one point install gammu so I could get the IMEI off of it. I'm thinking maybe that accidentally changed a setting?

Re: Problems with WWAN Under Ubuntu ( X1 Carbon )

Posted: Fri Jan 18, 2013 7:28 pm
by raket
disable network manager completly.

start minicom with
minicom -D /dev/ttyACM0
AT+CFUN=1

start wvdial and set it up properly. If you put AT+CFUN=1 in the Init1 line please don't ask me how to fix it :-)

There's a very good guide for the f3507g card which describe it deeply.

Google for 'Thinkwiki f3507g'

It's probably not the same card you have - but possibilities are that your card use the same AT commands.
(And no - i don't know what 'AT+CFUN' means, but probably CFUN means 'CONNECT FUN')

Re: Problems with WWAN Under Ubuntu ( X1 Carbon )

Posted: Sun Apr 21, 2013 5:42 am
by LuisMiCM
Take a look to the command "rfkill", I detected that network-manager used to get stuck with wifi on my x301. It could be possible it happens also with WWAN.