Send connman mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."
Today's Topics:
1. Huawei ME909s-120 (St?phane David)
----------------------------------------------------------------------
Message: 1
Date: Thu, 18 Apr 2019 17:56:50 +0200
From: St?phane David <[email protected]>
To: [email protected]
Subject: Huawei ME909s-120
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed
Hello,
I have some trouble to start a 4G modem with connman.
- Raspberry Pi 3B+ with latest Raspbian Stretch (Linux 4.14.50-v7+)
- USB to MPCIE adapter with a HUAWEI ME909s-120 (4G Modem)
- connman 1.33
The modem is well detected on boot, we can see ttyUSBx ports and
ecm_ether port
$ dmesg
[? 138.235050] usb 1-1.3: new high-speed USB device number 6 using dwc_otg
[? 138.366928] usb 1-1.3: New USB device found, idVendor=12d1,
idProduct=15c1
[? 138.366942] usb 1-1.3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3
[? 138.366950] usb 1-1.3: Product: HUAWEI Mobile V7R11
[? 138.366961] usb 1-1.3: Manufacturer: Huawei Technologies Co., Ltd.
[? 138.366969] usb 1-1.3: SerialNumber: 0123456789ABCDEF
[? 138.540782] cdc_ether 1-1.3:2.0 wwan0: register 'cdc_ether' at
usb-3f980000.usb-1.3, Mobile Broadband Network Device, 02:1e:10:1f:00:00
[? 138.540959] usbcore: registered new interface driver cdc_ether
[? 138.548007] usbcore: registered new interface driver usbserial
[? 138.548045] usbcore: registered new interface driver usbserial_generic
[? 138.548080] usbserial: USB Serial support registered for generic
[? 138.562184] usbcore: registered new interface driver option
[? 138.562231] usbserial: USB Serial support registered for GSM modem
(1-port)
[? 138.562684] option 1-1.3:2.2: GSM modem (1-port) converter detected
[? 138.566270] usb 1-1.3: GSM modem (1-port) converter now attached to
ttyUSB0
[? 138.566548] option 1-1.3:2.3: GSM modem (1-port) converter detected
[? 138.567323] usb 1-1.3: GSM modem (1-port) converter now attached to
ttyUSB1
[? 138.568591] cdc_ether 1-1.3:2.0 eth1: renamed from wwan0
[? 138.568742] option 1-1.3:2.4: GSM modem (1-port) converter detected
[? 138.568952] usb 1-1.3: GSM modem (1-port) converter now attached to
ttyUSB2
[? 138.569130] option 1-1.3:2.5: GSM modem (1-port) converter detected
[? 138.569294] usb 1-1.3: GSM modem (1-port) converter now attached to
ttyUSB3
[? 138.569448] option 1-1.3:2.6: GSM modem (1-port) converter detected
[? 138.569579] usb 1-1.3: GSM modem (1-port) converter now attached to
ttyUSB4
$ ifconfig
eth1: flags=4099<UP,BROADCAST,MULTICAST>? mtu 1500
??????? ether 02:1e:10:1f:00:00? txqueuelen 1000? (Ethernet)
??????? RX packets 0? bytes 0 (0.0 B)
??????? RX errors 0? dropped 0? overruns 0? frame 0
??????? TX packets 0? bytes 0 (0.0 B)
??????? TX errors 0? dropped 0 overruns 0? carrier 0? collisions 0
a udev rule translate wwan0 to eth1 (eth0 is the ethernet port on RPI)
i can establish a connection with picocom on port ttyUSB2 and send AT
commands
$? picocom /dev/ttyUSB2 --b 115200 -l
Set the operator APN name to use for the data connectivity
AT+CGDCONT=1,"IP","hologram"
Activate the data connection for the network interface exposed to host
system with the APN profile previously created.
AT^NDISDUP=1,1,
Now the eth1 interface is running and receive it's IP address from the
network.
eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>? mtu 1500
??????? inet 10.171.18.100? netmask 255.255.255.248? broadcast
10.171.18.103
??????? inet6 fe80::361d:6a22:fd47:61d2? prefixlen 64? scopeid 0x20<link>
??????? ether 02:1e:10:1f:00:00? txqueuelen 1000? (Ethernet)
??????? RX packets 1? bytes 318 (318.0 B)
??????? RX errors 0? dropped 0? overruns 0? frame 0
??????? TX packets 31? bytes 4463 (4.3 KiB)
??????? TX errors 0? dropped 0 overruns 0? carrier 0? collisions 0
ping is also ok
$ ping -I eth1 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 10.171.18.100 eth1: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=113 time=211 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=113 time=83.9 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=113 time=78.9 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=113 time=77.9 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=113 time=78.9 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=113 time=78.0 ms
64 bytes from 8.8.8.8: icmp_seq=7 ttl=113 time=85.4 ms
64 bytes from 8.8.8.8: icmp_seq=8 ttl=113 time=84.3 ms
64 bytes from 8.8.8.8: icmp_seq=9 ttl=113 time=84.3 ms
64 bytes from 8.8.8.8: icmp_seq=10 ttl=113 time=82.3 ms
^C
--- 8.8.8.8 ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9010ms
rtt min/avg/max/mdev = 77.928/94.592/211.622/39.109 ms
but i never see a new service inside connman only eth0 ?
ogate@1gate-b827eb5d7000:~$ connmanctl
connmanctl> services
*AO Wired??????????????? ethernet_b827eb5d9c12_cable
connmanctl>
What i'm doing wrong ?
thanks,
St?phane David
------------------------------
Subject: Digest Footer
_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman
------------------------------
End of connman Digest, Vol 42, Issue 11
***************************************