Skip to content

Instantly share code, notes, and snippets.

@mancubus77
Created August 22, 2017 13:32
Show Gist options
  • Save mancubus77/5ad1d6b74cfdfbb5623b2c445973aa18 to your computer and use it in GitHub Desktop.
Save mancubus77/5ad1d6b74cfdfbb5623b2c445973aa18 to your computer and use it in GitHub Desktop.
USB Modem for console
Enable huawei modem
usb_modeswitch -v 12d1 -p14fe -V 12d1 -P 1506 -M "55534243123456780000000000000011063000000100010000000000000000"
WV Dial config
[Dialer Defaults]
Init1 = ATZ
Init2 = ATE1
Init3 = AT+CGDCONT=1,"IP","connect"
Stupid Mode = 1
MessageEndPoint = "0x01"
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB0
Username = guest
Password = guest
Baud = 460800
Auto Reconnect = on
Run command
wvdial
After connection established need to make static route
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment