Skip to content

Instantly share code, notes, and snippets.

@rroemhild
Last active April 15, 2018 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rroemhild/392905a68ac91b8a12eaad7a2c94fd9b to your computer and use it in GitHub Desktop.
Save rroemhild/392905a68ac91b8a12eaad7a2c94fd9b to your computer and use it in GitHub Desktop.
congstar wvdial config
#!/bin/bash
(
while : ; do
wvdial congstar
sleep 10
done
) &
[Dialer Defaults]
Init2 = ATQ0 V1 E1 S0=0
Modem Type = Analog Modem
ISDN = 0
Init1 = ATZ
Modem = /dev/ttyUSB1
Baud = 921600
[Dialer congstar]
Carrier Check = no
Init3 = AT+CPIN=**** # Sim Card PIN
Init4 = AT+CGDCONT=1,"IP","internet.t-mobile"
Stupid Mode = 1
Phone = *99#
Dialer Command = ATD
Dial Attemps = 2
Username = tm
Password = tm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment