-
1Step 1Interface
Here is what you need to know about this modem. Like most modems, it responds to AT commands. Thus, the first thing to do is make sure that the kernel sees the modem driver correctly.
# modinfo sierrayou should see v.1.7.x or later
# modinfo sierra_netyou should see v.1.xx or later
# ls /dev/ttyUSB*you should see:/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2 /dev/ttyUSB3
# ifconfigyou should see a WWAN without ip address.
# minicom –syou should see115200-8N1: 115200 bps and 8 bits none parity, 1 stop bit.
I got a real feeling of nostalgia and fondly remembered the BBS when doing this. I did not need to enable echo: its ATE1, so if you don't see what you are typing, just type 'ATE1 <enter>' and it should respond let you see what you are typing.
-
2Step 2
The next thing you need to do is know your APN and additional details. For the AT&T starter kit, you will use this:
m2m.com.attzFor regular retail SIMs:
broadband.# minicom -s AT #Verify the thing is ON. This should return OK.
at!gstatus?should return device status.Ok, now you are good to set your APN into the modem.
at+cfun=1 at+cgdcont=3,"IP","CustomAPN" at!scdftprof=3 at!scprof=3," ",1,0,0,0 -
3Step 3
At the end of this, the modem should be connected.
Check the IP address that the modem has
at!scpaddr=3and it should display the real life address. Now, you face the next challenge: how to exit Minicom. Ctrl-A and X worked for me.ifconfigthe interface should have the IP address. How to test it without losing the terminal?ping -I wwan0 8.8.8.8If it's pinging its on.
Sophia Tupolev
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.