test result: mmcli connecting with IPv6 works, but disconnect does not work
Thomas Schäfer
tschaefer at t-online.de
Sat Aug 25 10:53:33 PDT 2012
Hi,
Modemmanager and mmcli is from yesterday afternoon.(20120824)
The logile is true, only the APN is replaced by the dummy XXXXX, because it is still not public.
This setup is an IPv6-only setup. For dualstack I don't have the necessary information/rights.
The SIM/APN is limited to 2G/3G. Therefore I went to an lte-free area.
Device was K5005.
Starting the connection was ok, but disconnect did not work. I did it twice, it is reproducible.
Regards,
Thomas
hpmini:~ # mmcli -m 0 --simple-connect="XXXXX,ip-type=ipv6" --verbose
[25 Aug 2012, 15:13:50] [Debug] Forcing request to be run asynchronously
[25 Aug 2012, 15:13:50] [Debug] Assuming '0' is the modem index
[25 Aug 2012, 15:13:50] [Debug] ModemManager process found at ':1.25'
[25 Aug 2012, 15:13:50] [Debug] Modem found at '/org/freedesktop/ModemManager1/Modem/0'
[25 Aug 2012, 15:13:50] [Debug] Asynchronously connecting the modem...
error: couldn't connect the modem: 'GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._qmi_5fcore_5ferror_5fquark.Code2: Transaction timed out'
hpmini:~ # /sbin/ip link set wwan0 up
hpmini:~ # ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 3c:d9:2b:1a:c9:9a brd ff:ff:ff:ff:ff:ff
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether d0:df:9a:93:67:90 brd ff:ff:ff:ff:ff:ff
5: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:a0:c6:00:00:00 brd ff:ff:ff:ff:ff:ff
inet6 2a01:198:24c:c122:89e1:83ed:a688:a480/64 scope global temporary dynamic
valid_lft 604793sec preferred_lft 85793sec
inet6 2a01:198:24c:c122:2a0:c6ff:fe00:0/64 scope global dynamic
valid_lft forever preferred_lft forever
inet6 fe80::2a0:c6ff:fe00:0/64 scope link
valid_lft forever preferred_lft forever
hpmini:~ # /sbin/ip link set wwan0 down
hpmini:~ # mmcli -m 0 --simple-disconnect
successfully disconnected all bearers in the modem
hpmini:~ # mmcli -m 0 --simple-disconnect
successfully disconnected all bearers in the modem
hpmini:~ # mmcli -m 0 --simple-status
/org/freedesktop/ModemManager1/Modem/0
-------------------------
Status | state: 'registered'
| signal quality: '67' (recent)
| bands: 'unknown'
| access tech: 'umts, hsdpa, hsupa'
-------------------------
3GPP | registration: 'home'
| operator code: '26202'
| operator name: 'Vodafone.de'
hpmini:~ #
More information about the libqmi-devel
mailing list