MC7430 Connection problem

Erik Kazandjian erik.kazandjian at accelleran.com
Tue Oct 10 17:38:44 UTC 2017


I'm a little confused now. All of a sudden the MC7430 refuses to reveil its
IP address. Although the modem is PS attached (verified with
--nas-get-serving-sytem) the call to --wds-get-current-settings now return
not in Call. What could be the reason for this behaviour that re-appeared
out of nothing

cheers

Erik

On Tue, Oct 3, 2017 at 11:26 AM, Erik Kazandjian <
erik.kazandjian at accelleran.com> wrote:

> This always works for me
>
> But I wonder . Why /sys/class/net/wwan0/qmi/raw_ip is set to N. Is this a
> driver issue ? Can I change this ?
>
> BR
>
> Erik
>
>
>  sudo -s
> root at raspberrypi:/home/pi# ifconfig  wwan0  down
> root at raspberrypi:/home/pi# echo Y > /sys/class/net/wwan0/qmi/raw_ip
> root at raspberrypi:/home/pi# ifconfig  wwan0  up
> root at raspberrypi:/home/pi# qmicli -d /dev/cdc-wdm0
> --dms-set-operating-mode=low-power
> [/dev/cdc-wdm0] Operating mode set successfully
> root at raspberrypi:/home/pi# qmicli -d /dev/cdc-wdm0
> --dms-set-operating-mode=online
> [/dev/cdc-wdm0] Operating mode set successfully
> root at raspberrypi:/home/pi# qmicli -d /dev/cdc-wdm1
> --nas-get-serving-system
> [/dev/cdc-wdm1] Successfully got serving system:
>     Registration state: 'registered'
>     CS: 'attached'
>     PS: 'attached'
>     Selected network: '3gpp'
>     Radio interfaces: '1'
>         [0]: 'lte'
>     Roaming status: 'off'
>     Data service capabilities: '1'
>         [0]: 'lte'
>     Current PLMN:
>         MCC: '1'
>         MNC: '1'
>         Description: 'Test1-1'
>     Roaming indicators: '1'
>         [0]: 'off' (lte)
>     3GPP location area code: '65534'
>     3GPP cell ID: '64768'
>     Detailed status:
>         Status: 'available'
>         Capability: 'cs-ps'
>         HDR Status: 'none'
>         HDR Hybrid: 'no'
>         Forbidden: 'no'
>     LTE tracking area code: '1'
>     Full operator code info:
>         MCC: '1'
>         MNC: '1'
>         MNC with PCS digit: 'no'
> root at raspberrypi:/home/pi#  qmicli -d /dev/cdc-wdm0
> --wds-get-current-settings
> [/dev/cdc-wdm0] Current settings retrieved:
>            IP Family: IPv4
>         IPv4 address: 10.188.20.63
>     IPv4 subnet mask: 255.255.255.128
> IPv4 gateway address: 10.188.20.64
>     IPv4 primary DNS: 8.8.8.8
>                  MTU: 1500
>              Domains: none
> root at raspberrypi:/home/pi# ifconfig wwan0 10.188.20.63/24
> root at raspberrypi:/home/pi# route add -host 8.8.8.8 gw 10.188.20.63 wwan0
> root at raspberrypi:/home/pi# ping 8.8.8.8
> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
> 64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=41.2 ms
> 64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=41.7 ms
> 64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=35.7 ms
>
>
>
> On 10/03/2017 09:27 AM, Aleksander Morgado wrote:
>
>> On Tue, Oct 3, 2017 at 8:51 AM, Erik Kazandjian
>> <erik.kazandjian at accelleran.com> wrote:
>>
>>> To be very honest we are developing  a cell ourselves and I see on the
>>> cell
>>> that the modem is attached. But now I also noticed if I reboot
>>> everything ,
>>> the Pi and the modem I see the modem atteching and when I ask for its
>>> current settings it responds with an IP address.
>>>
>>> This seems to work every time I put switch the modem from low power to
>>> online. Without any other qmi command.
>>>
>>> This looks like the modem is configured for auto-connect, so that as
>> soon as it's registered in the network it sets up the active
>> connection?
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libqmi-devel/attachments/20171010/0db881dc/attachment.html>


More information about the libqmi-devel mailing list