Raspberry pi 3 surfstick Huawei E398 / E353

sudo apt-get update
sudo apt-get install ppp usb-modeswitch

 

lsusb

Bus 001 Device 005: ID 12d1:14fe Huawei Technologies Co., Ltd

 

Hier wird der Stick nur als Speicher erkannt (14fe)

usb_modeswitch -v 12d1 -p 14fe -M '55534243123456780000000000000011062000000100000000000000000000'

lsusb

Bus 001 Device 006: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard

 

Um es dauerhaft einzurichten:
vi /etc/udev/rules.d/40-modemswitch.rules

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="14fe", RUN+="/usr/sbin/usb_modeswitch -v 12d1 -p 1506 -M '55534243123456780000000000000011062000000100000000000000000000'"

 

Create a file with name "12d1:1f01" in /etc/usb_modeswitch.d with following content

# Huawei E353 (3.se)

TargetVendor=  0x12d1
TargetProduct= 0x1f01 

MessageContent="55534243123456780000000000000011062000000100000000000000000000"
NoDriverLoading=1

udevadm control --reload-rules

 

apt-get install wvdial

vi /etc/wvdial.conf

[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","internet.t-mobile.de"
ISDN = 0
Modem = /dev/ttyAMA0
DialMessage2 =
Password = tm
DialMessage1 =
Abort on No Dialtone = off
Force Address =
Ask Password = 0
Stupid Mode = on
Auto DNS = on
Baud = 57600
Phone = *99***1#
Username = T-Mobile
Compuserve = 0
Idle Seconds = 300
Dial Command = ATDT
Area Code =

Habt Ihr einen PIN dann könnt Ihr folgendes schreiben:

Init1 = AT+CPIN=MEINPIN
Init2 = AT+CGDCONT=1,"IP","internet.t-mobile.de"

Kommentar hinterlassen