You are not logged in.

#1 2014-12-22 06:23:13

Elliot93
Member
Registered: 2014-12-21
Posts: 3

[Solved] Setting up HP Chromebook 14 T Mobile data connection

Hello, this is my first post here, so I apologize in advance if I sound like an idiot. I've recently flashed the firmware on my HP Chromebook 14 using the John Lewis scripts and some guides on the wiki and installed Arch. Everything is working swimmingly except for the free mobile data that comes with the Chromebook (200 mb per month for life with T Mobile); it worked perfectly before flashing the firmware. I currently have my wifi working with netctl-auto and would like to set up the mobile data similarly, possibly setting it up as an automatic fallback when I don't have wifi. I've read over relevant wiki pages several times and have failed to get it to work. According to this reddit thread, it should be possible at least with NetworkManager, but it doesn't seem to be working for me:
http://www.reddit.com/r/chrubuntu/comme … ith_linux/

For information:

$ lsusb
...
Bus 002 Device 004: ID 12d1:1570 Huawei Technologies Co., Ltd.
...

Which corresponds to the Huawei MU736. I can't seem to find any information regarding whether usb_modeswitch must be used, and usb_modeswitch does not include individual config files for it. Trying gives:

$ sudo usb_modeswitch -H -v 12d1 -p 1570 -s 10
...
Check for mode switch (max. 10 times, once per second) ...
Wait for original device to vanish ...
Original device can't be accessed anymore. Good.
(For a better success check provide target IDs or class)
Original device vanished after switching

Mode switch most likely succeeded. Bye!

And the IDs remain the same. I tried using wvdial with the following config file, but got what I think is a bad SIM error:

[Dialer Defaults]
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Modem = /dev/ttyUSB0
Baud = 460800
Stupid Mode = 1
New PPPD = yes
Carrier Check = on
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init3 = AT+CGDCONT=1,"IP","epc.tmobile.com"
Auto DNS = 1
Auto Reconnect = on

$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","epc.tmobile.com"
AT+CGDCONT=1,"IP","epc.tmobile.com"
+CME ERROR: 13
--> Bad init string.

Also, I'm not sure if this is related, but journalctl is showing me the following error and I cannot find very much information on it and I'm not sure if it is related to my difficulties:

kernel: cdc_ether 2-5:1.0 enp0s20u5: CDC: unexpected notification 01!

If anyone has any ideas, or has gotten this to work, please let me know so that I can stop ripping my hair out. Thanks.
------
As an update, I've managed to get the 3G data to work and will mark this thread as solved. I didn't use usb_modeswitch, and used the following configuration of wvdial:

[Dialer Defaults]                                                                                                         
Modem Type = Analog Modem
Phone = *99#
ISDN = 0
Modem = /dev/ttyUSB0
Baud = 9600
Stupid Mode = 1
New PPPD = yes
Carrier Check = on
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Auto Reconnect = on
Username = user
Password = user

[Dialer 3G]
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init5 = AT+CGDCONT=1,"IP","epc.tmobile.com"
ISDN = 0
Modem = /dev/ttyUSB0
Modem Type = Analog Modem
Baud = 460800

Last edited by Elliot93 (2014-12-29 21:15:54)

Offline

#2 2015-01-17 02:41:32

madbrenner
Member
Registered: 2014-08-19
Posts: 4

Re: [Solved] Setting up HP Chromebook 14 T Mobile data connection

Hello Elliot93,
I was wondering if you could give me any advice on getting the SIM chip in my HP Chromebook working.  I have tried using wvdial with the config file you posted, but when I run it, I get an error that "ATDT*99#" is an invalid dial command.  I thought maybe that has to be the phone number of my SIM chip, so I tried that, as well as just the last four digits, however for both of those I just got into an infinite loop where it says "No carrier! Trying again."

Any light you could shed on this would be fantastic, thank you!

Offline

#3 2015-01-17 05:28:52

Elliot93
Member
Registered: 2014-12-21
Posts: 3

Re: [Solved] Setting up HP Chromebook 14 T Mobile data connection

Hello madbrenner,
You could try using the Phone number "*99***1#" although I believe they're functionally identical. I often also have to take out my SIM card and put it back in for it to work, and repeatedly try wvdial till it works. The quality of the mobile broadband service obviously matters too. I'm sorry if I'm not much of a help. I still plan to try to use netctl in the eventual future, so if I get that working, I'll add on the configuration.

Offline

#4 2015-01-17 21:44:24

madbrenner
Member
Registered: 2014-08-19
Posts: 4

Re: [Solved] Setting up HP Chromebook 14 T Mobile data connection

Thanks for that quick response!
Unfortunately I still do not seem to be able to get it to work.  I know the signal is good, because I've got a T-Mobile chip in my phone as well.  I checked that there is no PIN on the SIM card in a spare phone as well, so I don't think that is it.
If you run `cat /dev/ttyUSB0` do you get any feedback?  I was wondering because I saw a couple forum posts that catting the device should return some messages, but when I did it, I got nothing, so I was wondering if there is something up with my SIM chip.

Last edited by madbrenner (2015-01-17 21:49:45)

Offline

#5 2015-01-17 22:38:05

Elliot93
Member
Registered: 2014-12-21
Posts: 3

Re: [Solved] Setting up HP Chromebook 14 T Mobile data connection

That's too bad. cat gives a stream of empty lines. Posting the entire output of wvdial might possibly help, but I'm just grasping at straws.

Offline

#6 2015-01-17 23:05:16

madbrenner
Member
Registered: 2014-08-19
Posts: 4

Re: [Solved] Setting up HP Chromebook 14 T Mobile data connection

OK, that's what mine seems to be doing too, so that makes me feel better about that.  Here is the output if I run `sudo wvdial`:

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
--> Disconnecting at Sat Jan 17 17:59:04 2015

And if I run `sudo wvdial 3G`:

--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT+CGDCONT=1,"IP","epc.tmobile.com"
AT+CGDCONT=1,"IP","epc.tmobile.com"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
--> Disconnecting at Sat Jan 17 17:59:10 2015

Do you get that same invalid dial command when yours does not work?

Offline

Board footer

Powered by FluxBB