Raspberry Pi/3G Modem

From Wiki
< Raspberry Pi
Revision as of 15:00, 19 May 2019 by Marcluer (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
sudo apt-get update
sudo apt-get install ppp usb-modeswitch wvdial

lsusb
> Bus 001 Device 005: ID 12d1:1436 Huawei Technologies Co., Ltd. Broadband stick

??? sudo usb_modeswitch --verbose -v 12d1 -p 1436

wvdialconf

<editor> /etc/wvdial.conf:

[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Modem = /dev/ttyUSB0
Baud = 921600

[Dialer umts]
Carrier Check = no
Init3 = AT+CGDCONT=1,"IP","internet.t-mobile"
Stupid Mode = 1
Phone = *99#
Dialer Command = ATD
Dial Attemps = 2
Username = tm
Password = tm