Cannot get IPv4 address from EE UK with MC7455
Cian Masterson
cian.masterson at gmail.com
Wed Apr 5 10:09:08 UTC 2017
>
>
> Let's see what your PDP/EPS contexts are. Your device should expose
> one or more serial ports, one of which will probably speak AT commands.
> You can use "minicom -d /dev/xxxxx" (where the xxxxx is something like
> ACM0 or USB1) and then type:
>
> AT+CGDCONT? <hit return>
>
> and then copy and paste what it says in a reply to this mail.
>
That returns the following:
AT+CGDCONT?
+CGDCONT: 1,"IPV4V6","everywhere","0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0",0,0,0,0
OK
I note that it has IPV4V6, which presumably tells the network it's happy to
do either. The "everywhere" part would presumably have been set by my
--wds-start-network command, but how does the IPV4V6 get set?
For reference the uBlox responds with +CGDCONT:
1,"IP","everywhere","10.189.241.78",0,0,0,0,0,0
It may be that the only contexts defined on the device are IPv6 ones,
> and since you're requesting IPv4 the device doesn't allow that. The
> contexts are stored on the device, not related to the SIM, so that
> would explain why you can do IPv4 on the Toby.
>
> Alternatively, if you have a new enough qmicli, you can:
>
> qmicli -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
>
That returns teh following:
[root at feegle /]# qmicli -d /dev/cdc-wdm0 --wds-get-profile-list=3gpp
Profile list retrieved:
[1] 3gpp -
APN: 'everywhere'
PDP type: 'ipv4-or-ipv6'
Username: 'eesecure'
Password: 'secure'
Auth: 'chap'
[root at feegle /]#
If I understand you correctly this means the contexts are stored on the
device and it is using those, so I guess my question is how do they get set
and/or how do I change them?
Slan,
Cian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20170405/5629aafc/attachment.html>
More information about the libqmi-devel
mailing list