LTE + raspberry 3

Hi,

I would like to use an old Telekom Speedstick LTE II on my raspberry 3.

it seems to work from Archlinux on my laptop, see last code block below.

it doesn’t work on openwrt yet. any help would be appreciated.

[ 4062.195389] usb 1-1: new high-speed USB device number 9 using xhci_hcd
[ 4062.338413] usb 1-1: New USB device found, idVendor=1bbb, idProduct=f017, bcdDevice= 0.00
[ 4062.338430] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 4062.338437] usb 1-1: Product: Mobile Broad Band
[ 4062.338443] usb 1-1: Manufacturer: USBModem
[ 4062.342540] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 4062.343002] scsi host4: usb-storage 1-1:1.0
[ 4062.343696] usb-storage 1-1:1.1: USB Mass Storage device detected
[ 4062.344067] scsi host5: usb-storage 1-1:1.1
[ 4063.098602] usb 1-1: USB disconnect, device number 9
[ 4066.712092] usb 1-1: new high-speed USB device number 10 using xhci_hcd
[ 4066.855296] usb 1-1: New USB device found, idVendor=1bbb, idProduct=011e, bcdDevice= 0.00
[ 4066.855315] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 4066.855324] usb 1-1: Product: Mobile Broad Band
[ 4066.855330] usb 1-1: Manufacturer: USBModem
[ 4066.864005] option 1-1:1.0: GSM modem (1-port) converter detected
[ 4066.864192] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 4066.864772] option 1-1:1.1: GSM modem (1-port) converter detected
[ 4066.864962] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 4066.865452] usb-storage 1-1:1.2: USB Mass Storage device detected
[ 4066.865865] scsi host4: usb-storage 1-1:1.2
[ 4066.866860] option 1-1:1.3: GSM modem (1-port) converter detected
[ 4066.867083] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[ 4066.869383] qmi_wwan 1-1:1.4: cdc-wdm0: USB WDM device
[ 4066.869563] wwan wwan0: port wwan0qmi0 attached
[ 4066.870080] qmi_wwan 1-1:1.4 wwan0: register 'qmi_wwan' at usb-0000:00:14.0-1, WWAN/QMI device, 6a:7c:95:d0:12:bf
[ 4066.934688] qmi_wwan 1-1:1.4 wwp0s20f0u1i4: renamed from wwan0
[ 4067.877197] scsi 4:0:0:0: Direct-Access     USBModem MMC Storage      2.31 PQ: 0 ANSI: 2
[ 4067.877943] sd 4:0:0:0: Attached scsi generic sg3 type 0
[ 4067.879143] sd 4:0:0:0: [sdd] Media removed, stopped polling
[ 4067.879871] sd 4:0:0:0: [sdd] Attached SCSI removable disk

$ lsusb                                                                                                                 
Bus 001 Device 010: ID 1bbb:011e T & A Mobile Phones Alcatel One Touch L100V / Telekom Speedstick LTE II

$ ll /dev/ttyUSB*
crw-rw---- 1 root uucp 188, 0  1. Aug 21:07 /dev/ttyUSB0
crw-rw---- 1 root uucp 188, 1  1. Aug 21:07 /dev/ttyUSB1
crw-rw---- 1 root uucp 188, 2  1. Aug 21:07 /dev/ttyUSB2

$ lsblk
sdc      8:32   1     0B  0 disk 
sdd      8:48   1     0B  0 disk 
$ ip link
6: wwp0s20f0u1i4: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/none 

this device id is unknown by usb modeswitch, on arch and on openwrt.

why are there 3 ttyUSB? it does not answer AT commands, which baudrate and 8n1 do i need?

This is what i achieved on arch after starting Modemmanager:

$ mmcli -m /org/freedesktop/ModemManager1/Modem/1
  --------------------------------
  General  |                 path: /org/freedesktop/ModemManager1/Modem/1
           |            device id: xxx
  --------------------------------
  Hardware |         manufacturer: QUALCOMM INCORPORATED
           |                model: 0
           |    firmware revision: EX1550E89X  1  [Sep 24 2012 22:00:00]
           |         h/w revision: 203F1000
           |            supported: gsm-umts, lte
           |              current: gsm-umts, lte
           |         equipment id: xxx
  --------------------------------
  System   |               device: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1
           |              physdev: /sys/devices/pci0000:00/0000:00:14.0/usb1/1-1
           |              drivers: qmi_wwan, option
           |               plugin: generic
           |         primary port: cdc-wdm0
           |                ports: cdc-wdm0 (qmi), ttyUSB1 (at), ttyUSB2 (at), 
           |                       wwp0s20f0u1i4 (net)
  --------------------------------
  Status   |                 lock: sim-pin2
           |       unlock retries: sim-pin (3), sim-puk (10), sim-pin2 (3), sim-puk2 (10)
           |                state: registered
           |          power state: on
           |          access tech: lte
           |       signal quality: 83% (recent)
  --------------------------------
  Modes    |            supported: allowed: 2g; preferred: none
           |                       allowed: 3g; preferred: none
           |                       allowed: 4g; preferred: none
           |                       allowed: 2g, 3g; preferred: 3g
           |                       allowed: 2g, 3g; preferred: 2g
           |                       allowed: 2g, 4g; preferred: 4g
           |                       allowed: 2g, 4g; preferred: 2g
           |                       allowed: 3g, 4g; preferred: 4g
           |                       allowed: 3g, 4g; preferred: 3g
           |                       allowed: 2g, 3g, 4g; preferred: 4g
           |                       allowed: 2g, 3g, 4g; preferred: 3g
           |                       allowed: 2g, 3g, 4g; preferred: 2g
           |              current: allowed: 2g, 3g, 4g; preferred: none
  --------------------------------
  Bands    |            supported: egsm, dcs, pcs, g850, utran-1, utran-3, utran-8
           |              current: egsm, dcs, pcs, g850, utran-1, utran-3, utran-8
  --------------------------------
  IP       |            supported: ipv4, ipv6, ipv4v6
  --------------------------------
  3GPP     |                 imei: xxx
           |        enabled locks: fixed-dialing
           |          operator id: 26203
           |        operator name: sipgate
           |         registration: roaming
           | packet service state: attached
  --------------------------------
  SIM      |     primary sim path: /org/freedesktop/ModemManager1/SIM/0

I cannot find how to start modemmanager on openwrt.

this https://openwrt.org/docs/guide-user/network/wan/wwan/modemmanager tells to use menuconfig. so i do have to compile the kernel? I hope there is a guide for crosscompiling. don’t want to build on Rpi3 :wink:

what about the command line tools like mmcli and qmicli? couldn’t find them either. where to they come from?

thank you very much

ps. moving to the real computer now, fetching kernel source

pps. the editor wanted me to add tags, but I don’t see any way to add them?

Don’t use ModemManager, follow https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle

Please share the result of cat /sys/kernel/debug/usb/devices

Mh. Just now I neither have /dev/ttyUSB* nor any block device. maybe missing some kernel modules?

cat /sys/kernel/debug/usb/devices

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  5, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 6.06
S:  Manufacturer=Linux 6.6.73 dwc_otg_hcd
S:  Product=DWC OTG Controller
S:  SerialNumber=3f980000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=2514 Rev= b.b3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=01 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 3
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=2514 Rev= b.b3
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=01 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=01 Lev=03 Prnt=03 Port=00 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=0424 ProdID=7800 Rev= 3.00
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  2mA
I:* If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=00 Prot=ff Driver=lan78xx
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  16 Ivl=1ms

T:  Bus=01 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  6 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1bbb ProdID=011e Rev= 0.00
S:  Manufacturer=USBModem
S:  Product=Mobile Broad Band
C:* #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
E:  Ad=84(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms
I:* If#= 4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=qmi_wwan
E:  Ad=86(I) Atr=03(Int.) MxPS=  64 Ivl=2ms
E:  Ad=87(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=4ms

that’s what the link @AndrewZ shared with you is all about ?

1 Like

Ah, I was following the guide from start, which led me to other links before I saw the section about packages. wrong order?

Now I got it.

The guide was missing: reboot after installing the packages. then go to luci web interface.

APN is sipgate, no IPv6.

but which authentication do I use?

well, seems to work with sipgate/sipgate.

thank you very much.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.