Hi all! Having trouble with ZTE MF93D connection using USB. Have done the following using RPI3B / MF93D - combo:
Fresh install "2018-11-13-raspbian-stretch-lite"
Installed UAV-cast Pro
For above setup I have succeeded to stream PICam stream to QGC thru wired LAN, also telemetry connects ok.
To get 4G working installed usb_modeswitch. Used following command to switch mode:
sudo usb_modeswitch -v 19d2 -p 1225 -W -I -c /usr/share/usb_modeswitch/19d2:1225
After switch I get following info:
pi@raspberrypi:~ $ lsusb
Bus 001 Device 011: ID 19d2:1403 ZTE WCDMA Technologies MSM
Bus 001 Device 004: ID 0424:7800 Standard Microsystems Corp.
Bus 001 Device 003: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $ nmcli
usb0: connected to Wired connection 1
"ZTE WCDMA Technologies MSM"
ethernet (rndis_host), 06:FE:7E:39:4B:26, hw, mtu 1500
ip4 default
inet4 192.168.0.138/24
inet6 fe80::d3c:acc7:c72b:2303/64
inet6 fe80::7855:7abb:de5e:24dd/64
eth0: unmanaged
"0424 7800"
ethernet (lan78xx), B8:27:EB:98:87:63, hw, mtu 1500
lo: unmanaged
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
wlan0: unmanaged
"Broadcom "
wifi (brcmfmac), B8:27:EB:CD😃2:36, hw, mtu 1500
DNS configuration:
servers: 192.168.0.1
interface: usb0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(5) manual pages for complete usage details.
pi@raspberrypi:~ $ dmesg | grep ZTE
[ 3.428754] usb 1-1.1.3: Product: ZTE WCDMA Technologies MSM
[ 3.428763] usb 1-1.1.3: Manufacturer: ZTE,Incorporated
[ 3.428772] usb 1-1.1.3: SerialNumber: P680A1ZTED000000
[ 10.932152] usb 1-1.1.3: Product: ZTE WCDMA Technologies MSM
[ 10.932160] usb 1-1.1.3: Manufacturer: ZTE,Incorporated
[ 10.932169] usb 1-1.1.3: SerialNumber: P680A1ZTED000000
[ 11.999538] scsi 0:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
[ 12.441712] cdc_ether 1-1.1.3:1.0 usb0: register 'cdc_ether' at usb-3f980000.usb-1.1.3, ZTE CDC Ethernet Device, ba:d6:d1:6a:87:24
[ 1905.029328] cdc_ether 1-1.1.3:1.0 usb0: unregister 'cdc_ether' usb-3f980000.usb-1.1.3, ZTE CDC Ethernet Device
[ 3065.753649] usb 1-1.1.3: Product: ZTE WCDMA Technologies MSM
[ 3065.753657] usb 1-1.1.3: Manufacturer: ZTE,Incorporated
[ 3065.753666] usb 1-1.1.3: SerialNumber: P680A1ZTED000000
[ 3072.503170] usb 1-1.1.3: Product: ZTE WCDMA Technologies MSM
[ 3072.503179] usb 1-1.1.3: Manufacturer: ZTE,Incorporated
[ 3072.503187] usb 1-1.1.3: SerialNumber: P680A1ZTED000000
[ 3072.524522] cdc_ether 1-1.1.3:1.0 usb0: register 'cdc_ether' at usb-3f980000.usb-1.1.3, ZTE CDC Ethernet Device, 52:db:bd:18:88:39
[ 3073.656103] scsi 0:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
[ 3162.327932] cdc_ether 1-1.1.3:1.0 usb0: unregister 'cdc_ether' usb-3f980000.usb-1.1.3, ZTE CDC Ethernet Device
[ 3166.102769] usb 1-1.1.3: Product: ZTE WCDMA Technologies MSM
[ 3166.102778] usb 1-1.1.3: Manufacturer: ZTE,Incorporated
[ 3166.102786] usb 1-1.1.3: SerialNumber: P680A1ZTED000000
[ 3166.126346] cdc_ether 1-1.1.3:1.0 usb0: register 'cdc_ether' at usb-3f980000.usb-1.1.3, ZTE CDC Ethernet Device, 16:4d:24:39💿ca
[ 3167.214801] scsi 0:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
[ 3168.471686] cdc_ether 1-1.1.3:1.0 usb0: unregister 'cdc_ether' usb-3f980000.usb-1.1.3, ZTE CDC Ethernet Device
[ 3169.233355] usb 1-1.1.3: Product: ZTE WCDMA Technologies MSM
[ 3169.233363] usb 1-1.1.3: Manufacturer: ZTE,Incorporated
[ 3169.233372] usb 1-1.1.3: SerialNumber: P680A1ZTED000000
[ 3176.343542] usb 1-1.1.3: Product: ZTE WCDMA Technologies MSM
[ 3176.343550] usb 1-1.1.3: Manufacturer: ZTE,Incorporated
[ 3176.343559] usb 1-1.1.3: SerialNumber: P680A1ZTED000000
[ 3177.448634] scsi 0:0:0:1: Direct-Access ZTE MMC Storage 2.31 PQ: 0 ANSI: 2
pi@raspberrypi:~ $ C
pi@raspberrypi:~ $
Setup in UAVCast "Cell Modem" :
Modem config : Yes
Model: Stick
Model: nmcli
Interface: usb0
APN: data.dna.fi
Internal Address: cdc-wdm0
Username: test
Password: test
Pine: none
On "Cell Modem" configuration I get following when pressing "Connect":
31/03/2019 06:45:32
Initializing Modem...
Initializing Modem...
error: couldn't find sim at '/org/freedesktop/ModemManager1/SIM/0': 'no modems found'
New Profile Created
error: couldn't find sim at '/org/freedesktop/ModemManager1/SIM/0': 'no modems found'
Connection 'UAVcast' (5dd2173f-bcd9-4f1a-bfcc-56ed884149aa) successfully added.
error: couldn't find sim at '/org/freedesktop/ModemManager1/SIM/0': 'no modems found'
Starting Modem-Managererror: couldn't find sim at '/org/freedesktop/ModemManager1/SIM/0': 'no modems found'
"Available modems":
No modems were found
"Network":
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.100.24 netmask 255.255.255.0 broadcast 192.168.100.255
inet6 fe80::d618:c08:554c:7386 prefixlen 64 scopeid 0x20<link>
inet6 fd78:6256:4e29:a00:899f:40fa:e44f:5c6 prefixlen 64 scopeid 0x0<global>
inet6 2001:14bb:180:f27:7d75:f410:2d04:2f18 prefixlen 64 scopeid 0x0<global>
ether b8:27:eb:98:87:63 txqueuelen 1000 (Ethernet)
RX packets 3628 bytes 374546 (365.7 Ki😎
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 8023 bytes 2795851 (2.6 Mi😎
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 5933 bytes 533065 (520.5 Ki😎
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 5933 bytes 533065 (520.5 Ki😎
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
usb0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.196 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::b54e:8a8e:e647:f6e9 prefixlen 64 scopeid 0x20<link>
ether ba:d6:d1:6a:87:24 txqueuelen 1000 (Ethernet)
RX packets 1803 bytes 173027 (168.9 Ki😎
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2202 bytes 378697 (369.8 Ki😎
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether b8:27:eb💿d2:36 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 😎
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 😎
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
"Modem information":
error: couldn't find modem at '/org/freedesktop/ModemManager1/Modem/0'
After no success changed "Model" to "mmcli" and after that get following on "Cell Modem" configuration when pressing "Connect":
31/03/2019 07:26:02
31/03/2019 07:26:02 Modem not ready, retries in 10sec...
31/03/2019 07:26:06 Modem not ready, retries in 10sec...
On "Disconnect"
31/03/2019 07:26:33
31/03/2019 07:26:33
error: couldn't find modem at '/org/freedesktop/ModemManager1/Modem/0'
Question is how to get status led "Green" on "Cell Modem" config? I am missing something but can't figure out what? Done already some extensive googling but without luck. Please advise linux-noob…
BR, Oula