MC7304 - Linux obtain ip problem


#1

Hello,
I am trying to use MC7304 modem with our embedded board. We have problem about obtaining ip.
Our MC7304 modem’s firmware is SWI9X15C_05.05.58.00 r27038 carmd-fwbuild1 2015/03/04 21:30:23.
Our kernel version is 4.1.15_2.0.0-g92ce9f2-dirty.
Our embedded board is imx7 based board. We added qcserial and qmi-wwan in our kernel tree and compile kernel.

Then here is our dmesg output :

[ 340.619490] option 1-1.2.4:1.0: GSM modem (1-port) converter detected
[ 340.620033] usb 1-1.2.4: GSM modem (1-port) converter now attached to ttyUSB0
[ 340.620780] option 1-1.2.4:1.2: GSM modem (1-port) converter detected
[ 340.621254] usb 1-1.2.4: GSM modem (1-port) converter now attached to ttyUSB1
[ 340.622027] option 1-1.2.4:1.3: GSM modem (1-port) converter detected
[ 340.622509] usb 1-1.2.4: GSM modem (1-port) converter now attached to ttyUSB2
[ 340.623989] qmi_wwan 1-1.2.4:1.8: cdc-wdm0: USB WDM device
[ 340.624971] qmi_wwan 1-1.2.4:1.8 wwan0: register ‘qmi_wwan’ at usb-ci_hdrc.1-1.2.4, WWAN/QMI device, ce:ae:49:b2:b6:65
[ 340.636030] qmi_wwan 1-1.2.4:1.10: cdc-wdm1: USB WDM device
[ 340.637559] qmi_wwan 1-1.2.4:1.10 wwan1: register ‘qmi_wwan’ at usb-ci_hdrc.1-1.2.4, WWAN/QMI device, ce:ae:49:b2:b6:65

But when we check ifconfig out, there is no entry for MC7304 modem.
So we are stuck in this step. How can we see modem’s ip on embedded linux device ?


#2

Try sending the below command which will start a user data session.
at!scact=1,1

To it, if the IP address is still not there (because you might have network manager off) then send
dhclient eth1 (or whatever the first ethernet interface the driver has create is)

Regards

Matt