2013年10月25日 星期五

12.04LTS and the Telstra AirCard 320U 4G mobile wireless modem

Ubuntu 12.04.3 LTS, 3.5.0-41-generic #64-precise1-Ubuntu SMP
Notice: My ubuntu has been updated. My LTE environment might not be completed, for it is the eNodeB that I'm testing.

Sierra Wireless - Support Center
http://mycusthelpadmin.net/SIERRAWIRELESS/_cs/AnswerDetail.aspx?sSessionID=5180C4D3AD1341438EDD065089DFC5A4QTKEYQOQ&aid=44

I have ttyUSB0-4, 1-3 is created by the adapter. And minicom can connect to ttyUSB3 and send AT command.

115200-8N1, no flow control.

Do check the /var/log/syslog with "tail -f /var/log/syslog". Sometimes I got error when the minicom halt:

[268038.108951] sierra_net 2-4:1.7: wwan0: Submit SYNC failed -32
[268038.108965] sierra_net 2-4:1.7: wwan0: Send SYNC failed, status -32
I fixed it by unplug and plug the adapter again.

"ati5" shows modem IMEI and Firmware

"at+cgdcont ?" shows created profiles
"at!scprof=<profile_id>,"",1,0,0,0" set profile to auto connect
"at+cfun=1" turn on radio
"at!scact=1,<profile_id>" manual connect
"at!scact=0,<profile_id>" manual disconnect
"at!scdftprof=<profile_id>" set default profile
"at!scpaddr=<profile_id>" shows the IP address get by profile

First, I use the AT command to have the adapter get connected. However, somehow, the network manager doesn't know that it is connected. So I get the IP by the AT command (at!scpaddr), says 192.168.1.150, and set it by ifconfig:
ifconfig wwan0 192.168.1.150



Re: 12.04LTS and the Telstra 4G mobile wireless modem
http://www.mail-archive.com/ubuntu-au@lists.ubuntu.com/msg05253.html
http://www.mail-archive.com/ubuntu-au@lists.ubuntu.com/msg05260.html

How To Get Telstra 4G Mobile Broadband Working With Linux | eigenmagic
http://www.eigenmagic.com/2012/03/14/how-to-get-telstra-4g-mobile-broadband-working-with-linux/
Forcing 4G Mode
"AT+ZSNT=6,0,0" force the modem into 4G mode
"AT+ZSNT=0,0,0" put the modem into auto-negotiate mode
Telstra 4G Mobile Broadband Setup
http://ubuntuforums.org/showthread.php?t=2074518

沒有留言: