MC7430 Connection problem

Erik Kazandjian erik.kazandjian at
Tue Oct 3 09:26:21 UTC 2017

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 ?



  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 
[/dev/cdc-wdm0] Operating mode set successfully
root at raspberrypi:/home/pi# qmicli -d /dev/cdc-wdm0 
[/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 
[/dev/cdc-wdm0] Current settings retrieved:
            IP Family: IPv4
         IPv4 address:
     IPv4 subnet mask:
IPv4 gateway address:
     IPv4 primary DNS:
                  MTU: 1500
              Domains: none
root at raspberrypi:/home/pi# ifconfig wwan0
root at raspberrypi:/home/pi# route add -host gw wwan0
root at raspberrypi:/home/pi# ping
PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=57 time=41.2 ms
64 bytes from icmp_seq=2 ttl=57 time=41.7 ms
64 bytes from 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> 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?

More information about the libqmi-devel mailing list