qmicli always getting transaction time out
EMANUEL FERNANDO MONTOYA GOMEZ
emanuel.montoya at udea.edu.co
Wed Apr 25 20:44:22 UTC 2018
ModemManager doesn't configure the network interface, it just reports
> to the upper layers what the configuration should be. In this case
> it's saying "modem is connected and the IP settings to configure in
> wwp0s21f0u4i12 are 10.142.47.170/30 with gateway 10.142.47.169"-
> If you're using NetworkManager, you should let NetworkManager handle
> the modem connection (i.e. NM is the one calling simple-connect), so
> that it also configures the network interface for you.
>
> If you're not using NM, you'll have to configure the settings yourself
> in the network interface.
>
> --
> Aleksander
> https://aleksander.es
>
Thanks Aleksander. It's almost done.
Now I get IP on wwp0s21f0u4i12 interface using nmcli
ico1 at ico1:~$ sudo nmcli connection down claro
Connection 'claro' successfully deactivated (D-Bus active path:
/org/freedesktop/NetworkManager/ActiveConnection/5)
ico1 at ico1:~$ sudo nmcli connection up claro
Connection successfully activated (D-Bus active path:
/org/freedesktop/NetworkManager/ActiveConnection/6)
ico1 at ico1:~$ ip addr
address addrlabel
ico1 at ico1:~$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
link/ether 00:60:e0:70:30:8d brd ff:ff:ff:ff:ff:ff
inet 192.168.4.110/24 brd 192.168.4.255 scope global enp1s0
valid_lft forever preferred_lft forever
inet6 fe80::260:e0ff:fe70:308d/64 scope link
valid_lft forever preferred_lft forever
3: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
group default qlen 1000
link/ether 00:60:e0:70:30:8e brd ff:ff:ff:ff:ff:ff
4:
*wwp0s21f0u4i12: <BROADCAST,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UNKNOWN group default qlen 1000 link/ether
7e:a3:8a:44:19:13 brd ff:ff:ff:ff:ff:ff inet 10.204.106.216/28
<http://10.204.106.216/28> brd 10.204.106.223 scope global
wwp0s21f0u4i12 valid_lft forever preferred_lft forever*
ico1 at ico1:~$ mmcli -b 13
Bearer '/org/freedesktop/ModemManager1/Bearer/13'
-------------------------
Status | connected: 'yes'
| suspended: 'no'
|* interface: 'wwp0s21f0u4i12'*
| IP timeout: '20'
-------------------------
Properties | apn: 'internet.comcel.com.co'
| roaming: 'allowed'
| IP type: 'ipv4'
| user: 'comcelweb'
| password: 'comcelweb'
| number: '*99#'
| Rm protocol: 'unknown'
-------------------------
* IPv4 configuration | method: 'static' | address:
'10.204.106.216' | prefix: '28'
| gateway: '10.204.106.217' | DNS:
'190.157.8.89', '8.8.8.8' | MTU: '1500'*
-------------------------
IPv6 configuration | method: 'unknown'
-------------------------
Stats | Duration: '150'
| Bytes received: 'N/A'
| Bytes transmitted: 'N/A'
ico1 at ico1:~$
But I cant ping anywhere
ico1 at ico1:~$ sudo traceroute www.google.com -i wwp0s21f0u4i12
traceroute to www.google.com (172.217.10.164), 30 hops max, 60 byte packets
1 * * *
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *
ico1 at ico1:~$
*I can see packets with tcpdump*
ico1 at ico1:~$ sudo tcpdump -i wwp0s21f0u4i12
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on wwp0s21f0u4i12, link-type EN10MB (Ethernet), capture size
262144 bytes
15:37:59.643116 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 47, length 64
15:37:59.806921 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 47, length 64
15:38:00.667111 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 48, length 64
15:38:00.837307 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 48, length 64
15:38:01.691147 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 49, length 64
15:38:01.856968 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 49, length 64
15:38:02.715135 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 50, length 64
15:38:02.887350 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 50, length 64
15:38:03.739411 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 51, length 64
15:38:03.907008 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 51, length 64
15:38:04.763243 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 52, length 64
15:38:04.926635 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 52, length 64
15:38:05.787104 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 53, length 64
15:38:05.958986 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 53, length 64
15:38:06.811143 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 54, length 64
15:38:06.976704 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 54, length 64
15:38:07.835141 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 55, length 64
15:38:07.997298 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 55, length 64
15:38:08.859145 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 56, length 64
15:38:09.026706 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 56, length 64
15:38:09.883127 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 57, length 64
15:38:10.047343 IP atl14s75-in-f4.1e100.net > 10.204.106.216: ICMP echo
reply, id 4325, seq 57, length 64
15:38:10.907142 IP 10.204.106.216 > atl14s75-in-f4.1e100.net: ICMP echo
request, id 4325, seq 58, length 64
^C
23 packets captured
24 packets received by filter
0 packets dropped by kernel
*But ping seems not to complete*
ico1 at ico1:~$ ping www.google.com -I wwp0s21f0u4i12
PING www.google.com (172.217.10.164) from 10.204.106.216 wwp0s21f0u4i12:
56(84) bytes of data.
^C
--- www.google.com ping statistics ---
78 packets transmitted, 0 received, 100% packet loss, time 78842ms
ico1 at ico1:~$
When I try on Windows, it works perfectly (can ping www.google,com)
Any suggestions on this?
Again, thanks in advance.
--
"La información aquí contenida es para uso exclusivo de la persona o
entidad de destino. Está estrictamente prohibida su utilización, copia,
descarga, distribución, modificación y/o reproducción total o parcial, sin
el permiso expreso de Universidad de Antioquia, pues su contenido puede ser
de carácter confidencial y/o contener material privilegiado. Si usted
recibió esta información por error, por favor contacte en forma inmediata a
quien la envió y borre este material de su computador. Universidad de
Antioquia no es responsable por la información contenida en esta
comunicación, el directo responsable es quien la firma o el autor de la
misma."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20180425/8b371fc7/attachment.html>
More information about the libqmi-devel
mailing list