Raspberry Pi/3G Modem: Difference between revisions

From Wiki
No edit summary
No edit summary
Line 10: Line 10:
wvdialconf
wvdialconf


<editor> /etc/wvdial.conf
<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
</pre>
</pre>

Revision as of 15:00, 19 May 2019

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