Raspberry Pi/3G Modem: Difference between revisions
(Die Seite wurde neu angelegt: „<pre> sudo apt-get update sudo apt-get install ppp usb-modeswitch wvdial lsusb </pre>“) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
lsusb | lsusb | ||
> Bus 001 Device 005: ID 12d1:1436 Huawei Technologies Co., Ltd. Broadband stick | |||
??? sudo usb_modeswitch --verbose -v 12d1 -p 1436 | |||
wvdialconf | |||
</pre> | |||
<editor> /etc/wvdial.conf: | |||
<pre> | |||
[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> |
Latest 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