Hallo zusammen,
ich möchte über den Raspberry Pi SMS verschicken und habe mir einen Surfstick Huawei E3531 und eine SIM Karte von congstar geholt.
Aber wenn ich folgender Anleitung https://www.datenreise.de/raspberry-pi-s…eile-versenden/ folge, so habe ich keine serielle Schnittstellen. Ich habe keinen Ordner /dev/serial/ .
Muss ich den USB vielleicht erst noch mounten? Wenn ja, wie moute ich die 3 seriellen Schnittstellen. Eine ist wohl das Modem, die anderen für die Abfrage der Statusinformationen Netz oder Signalstärke.
Wenn ich lsusb eingebe bekomme ich aber den Stick angezeigt:
Bus 001 Device 024: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 025: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 030: ID 0951:160d Kingston Technology
Bus 001 Device 029: ID 12d1:14dc Huawei Technologies Co., Ltd.
Unter /dev finde ich folgendes:
autofs loop3 ram3 tty14 tty40 ttyAMA0
block loop4 ram4 tty15 tty41 ttyprintk
bsg loop5 ram5 tty16 tty42 uhid
btrfs-control loop6 ram6 tty17 tty43 uinput
bus loop7 ram7 tty18 tty44 urandom
cachefiles loop-control ram8 tty19 tty45 vc-cma
cdrom2 MAKEDEV ram9 tty2 tty46 vchiq
cdrom3 mapper random tty20 tty47 vcio
cdrw2 mem raw tty21 tty48 vc-mem
cdrw3 memory_bandwidth root tty22 tty49 vcs
char mmcblk0 sda tty23 tty5 vcs1
console mmcblk0p1 sdb tty24 tty50 vcs2
cpu_dma_latency mmcblk0p2 sg0 tty25 tty51 vcs3
cuse net sg1 tty26 tty52 vcs4
disk network_latency sg2 tty27 tty53 vcs5
dvd2 network_throughput shm tty28 tty54 vcs6
dvd3 null snd tty29 tty55 vcsa
fb0 ppp sndstat tty3 tty56 vcsa1
fd ptmx sr0 tty30 tty57 vcsa2
full pts stderr tty31 tty58 vcsa3
fuse ram0 stdin tty32 tty59 vcsa4
gpiomem ram1 stdout tty33 tty6 vcsa5
hwrng ram10 tty tty34 tty60 vcsa6
input ram11 tty0 tty35 tty61 vcsm
kmsg ram12 tty1 tty36 tty62 vhci
log ram13 tty10 tty37 tty63 xconsole
loop0 ram14 tty11 tty38 tty7 zero
loop1 ram15 tty12 tty39 tty8
loop2 ram2 tty13 tty4 tty9
Alles anzeigen
Betriebssystem ist Raspbian GNU/Linux 7
Linux Version 4.1.19-v7
Kann mir wer helfen? Würde mich freuen.
Gruß,
Gustl
EDIT: Habe nun gelesen, dass ich den usbstick erst auf modem switchen muss, sonst wird er nur als Datenträger anerkannt. Habe nun folgendes probiert:
sudo usb_modeswitch -v 12d1 -p 14dc -I -M "55534243123456780000000000000011062000000100000000000000000000"
Ergebnis:
Looking for default devices ...
found matching product ID
adding device
Found device in default mode, class or configuration (1)
Accessing device 050 on bus 001 ...
Getting the current device configuration ...
OK, got current device configuration (1)
Using first interface: 0x00
Error: message endpoint not given or found. Aborting.
Ich habe den Endpunkt nicht angegeben? Welchen Endpunkt?