Skip to content

Instantly share code, notes, and snippets.

@bradfa
Last active May 25, 2016 00:16
Show Gist options
  • Save bradfa/1c310aa5793415ff3def to your computer and use it in GitHub Desktop.
Save bradfa/1c310aa5793415ff3def to your computer and use it in GitHub Desktop.
Ting via USB modem
noauth
name wvdial
#usepeerdns
[Dialer ting]
Phone = *99#
IDSN = 0
Baud = 460800
Modem Type = Analog Modem
Stupid Mode = 1
Username = {blank}
Modem = /dev/ttyUSB1
Password = {blank}
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
;Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 = AT+CGDCONT=1,"IP","wholesale"
Auto DNS = 0
Check Def Route = 0
@bradfa
Copy link
Author

bradfa commented Dec 14, 2015

Then set a route to places you want to use ppp for, and change the metric on ppp, if desired with ip:

sudo ip route add 45.63.13.193 via 10.64.64.64 metric 5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment