Sierra Wireless AirCard 313U
Jump to navigation
Jump to search
Using with Ting
Reference: https://mycusthelp.net/SIERRAWIRELESS/_cs/AnswerDetail.aspx?aid=44
- First, make sure the SIM card is activated with ting
- Then, find the USB tty device. its usually the 3rd device created after plugging it in. so if you didn't have any ttyUSB* devices, it would be ttyS3 (starts at 1)
sudo screen /dev/ttyUSB3 115200
- To verify modem is responding type ati5. It shows modem IMEI and Firmware
ati5
- set ting APN:
at+cgdcont=1,"IP","wholesale"
That should do it. If you have a network manager running, you should use it to configure the device. Otherwise:
- dhclient <dev>
Other useful commands:
- Turn radio on:
at+cfun=1
- Turn radio off:
at+cfun=0
To manual connect: at!scact=1,<profile>. e.g:
at!scact=1,1
To manual disconnect: at!scact=0,<profile>. e.g.:
at!scact=0,1
Using with pfSense
To use this device with pfSense:
- Login to pfsense web portal and go to Interfaces -> PPPs
- Click Add and use the following:
- Link Type: PPP
- Link Interfaces: /dev/cuaU0.3 (adjust if you have other USB tty devices)
- The rest will depend on your provider, but for Ting I use:
- Country: United States
- Provider: T-Mobile
- Plan: LTS - fast.t-mobile.com
- Username/Password: leave empty
- Phone number: *99#
- APN: wholesale
- The rest: defaults
- Click Save
- Go to Interfaces -> Assign
- For Available network ports, choose "PPP0(cuaU0.3)" and click Add
- It named mine OPT1
- Click OPT1 to edit it and then use:
- Enable: [x] (checked)
- Description: WWAN
- IPv4 Configuration Type: DHCP
- IPv6 Configuration Type: DHCP6 (doesn't seem to support IPv6)
- Click Save
To set up as a failover internet access:
- Go to System -> Routing -> Gateway Groups
- Click Add and use the following:
- Group Name: INTERNET
- Gateway Priority:
- [WWAN_DHCP] [Tier 2] [Interface Address] [Interface WWAN_DHCP Gateway]
- [WAN_DHCP] [Tier 1] [Interface Address] [Interface WWAN_DHCP Gateway]
- Trigger Level: Member down
- The rest: defaults
- Click Save
- Go to System -> Routing -> Gateways and click on WWAN to edit
- Change the monitor IP to something different since the default won't work (I use 8.8.8.8)
- Click Save
You can now test the failover functionality by unplugging your WAN connection and see if your internet access works
Cheers, Jeremy ;-)