Prüfen on PIN gesetzt ist:
AT+CPIN?
PIN Eingeben:
AT+CPIN=1234
Pin löschen:
AT+CLCK="SC",0,"1234"
Stick Status, zeigt Hersteller
ATI
ati
Manufacturer: huawei
Model: E173
Revision: 11.126.16.04.00
IMEI: 869878001234567
+GCAP: +CGSM,+DS,+ES
Beispiel einer erfolgreichen Einwahl mit wvdail:
# wvdial vodafone
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Sending: AT^SYSCFG=2,2,3FFFFFFF,2,4
AT^SYSCFG=2,2,3FFFFFFF,2,4
OK
--> Modem initialized.
--> Sending: ATM1L3DT*99#
--> Waiting for carrier.
ATM1L3DT*99#
CONNECT
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Wed Mar 21 16:26:31 2018
--> Pid of pppd: 10192
--> Using interface ppp0
--> pppd: ▒[7f]
--> pppd: ▒[7f]
--> pppd: ▒[7f]
--> pppd: ▒[7f]
--> pppd: ▒[7f]
--> pppd: ▒[7f]
--> local IP address 100.76.134.164
--> pppd: ▒[7f]
--> remote IP address 10.64.64.64
--> pppd: ▒[7f]
--> primary DNS address 139.7.30.126
--> pppd: ▒[7f]
--> secondary DNS address 139.7.30.125
--> pppd: ▒[7f]
^CCaught signal 2: Attempting to exit gracefully...
--> Terminating on signal 15
--> pppd: ▒[7f]
--> Connect time 4.3 minutes.
--> pppd: ▒[7f]
--> pppd: ▒[7f]
--> pppd: ▒[7f]
--> Disconnecting at Wed Mar 21 16:30:57 2018
/etc/wvdial.conf
[Dialer vodafone]
Auto DNS = on
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Modem = /dev/ttyUSB4
Baud = 921600
[Dialer umts]
Carrier Check = no
Init4 = AT+CGDCONT=1,"IP","web.vodafone.de"
Stupid Mode = 1
Phone = *99#
Dialer Command = ATM1L3DT
Dial Attemps = 2
[Dialer pin]
Init3 = AT+CPIN=1234
[Dialer Defaults]
Dial Command = ATM1L3DT
Modem Type = Analog Modem
Baud = 9600
Username = nyx
Carrier Check = on
Password = nyx
Stupid Mode = on
Check Def Route = on
ISDN = 0
Abort on Busy = off
Init3 AT+CGDCONT = 1,"IP","web.vodafone.de"
Abort on No Dialtone = on
Ask Password = off
Init = ATZ
Phone = *99#
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init4 = AT^SYSCFG=2,2,3FFFFFFF,2,4
Auto Reconnect = on
Init2 ATQ0 V1 E1 S0 = 0 &C1 &D2 +FCLASS=0
Auto DNS = on
Idle Seconds = 0
Dial Attempts = 100
Modem = /dev/ttyUSB4
Links:
- [Using the Huawei E352s-5 UMTS USB Modem Stick with Ubuntu and OpenWrt](https://blog.philippklaus.de/2012/04/using-the-huawei-e352s-5-umts-usb-modem-stick-with-ubuntu-and-openwrt)
- [Wvdial.conf für einen Huawei E220 Stick von Vodafone](https://wiki.siduction.de/index.php?title=Wvdial.conf_f%C3%BCr_einen_Huawei_E220_Stick_von_Vodafone)
- [Script dialumts](https://wiki.siduction.de/index.php?title=Script_dialumts)
- [CME ERROR (GSM Equipment Related errors)](https://www.micromedia-int.com/en/gsm-2/73-gsm/669-cme-error-gsm-equipment-related-errors)