Re: MC 7304 ipv4v6
- From: Thomas Schäfer <tschaefer t-online de>
- To: Bjørn Mork <bjorn mork no>
- Cc: networkmanager-list gnome org, Reinhard Speyerer <rspmn arcor de>
- Subject: Re: MC 7304 ipv4v6
- Date: Fri, 27 Nov 2015 22:35:26 +0100
Bjørn Mork <bjorn mork no> writes:
Works for me(tm). Only tested on an E392 for now:
nemi:/tmp# ifconfig wwan1
wwan1 Link encap:Ethernet HWaddr 92:b9:2a:c0:4f:96
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
nemi:/tmp# cat /sys/class/net/wwan1/qmi/raw_ip
N
nemi:/tmp# echo 1 >/sys/class/net/wwan1/qmi/raw_ip
nemi:/tmp# ifconfig wwan1
wwan1 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 POINTOPOINT NOARP MULTICAST
MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
nemi:/tmp# cat /sys/class/net/wwan1/qmi/raw_ip
Y
bjorn nemi:~$ qmicli -d /dev/cdc-wdm1
--device-open-net='net-raw-ip|net-no-qos-header'
--wds-start-network=apn=telenor --wds-follow-network
[/dev/cdc-wdm1] Network started
Packet data handle: '34967784'
Ctrl+C will stop the network
[/dev/cdc-wdm1] Connection status: 'connected'
Did you leave this terminal and opened a second one?
bjorn nemi:~$ qmicli -d /dev/cdc-wdm1 --client-cid=1
--client-no-release-cid --wds-get-current-settings [/dev/cdc-wdm1] Current
settings retrieved:
IP Family: IPv4
IPv4 address: 46.157.38.113
IPv4 subnet mask: 255.255.255.252
IPv4 gateway address: 46.157.38.114
IPv4 primary DNS: 193.213.112.4
IPv4 secondary DNS: 130.67.15.198
MTU: 1500
Domains: none
[/dev/cdc-wdm1] Client ID not released:
Service: 'wds'
CID: '1'
qmicli -d /dev/cdc-wdm0 --device-open-net="net-raw-ip|net-no-qos-header" --
wds-start-network=apn=internet.t-mobile --wds-follow-network
[/dev/cdc-wdm0] Network started
Packet data handle: '38972872'
Ctrl+C will stop the network
[/dev/cdc-wdm0] Connection status: 'connected'
[/dev/cdc-wdm0] Connection status: 'connected'
[/dev/cdc-wdm0] Connection status: 'connected'
I do not get the data:
hpmini:~ # qmicli -d /dev/cdc-wdm0 --client-cid=1 --client-no-release-cid --
wds-get-current-settings
[27 Nov 2015, 21:38:18] -Warning ** Error reading from istream: Resource
temporarily unavailable
error: operation failed: Transaction timed out
[/dev/cdc-wdm0] Client ID not released:
Service: 'wds'
CID: '1'
??????
Thomas
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]