# MC7304 - Linux obtain ip problem

**URL:** <https://forum.sierrawireless.com/t/mc7304-linux-obtain-ip-problem/12969>\
**Category:** MC/EM Series\
**Created:** [June 26, 2018, 3:59pm UTC](https://forum.sierrawireless.com/t/mc7304-linux-obtain-ip-problem/12969 "2018-06-26T15:59:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sbahadirarslan](https://avatars.discourse-cdn.com/v4/letter/s/c4cdca/32.png) [@sbahadirarslan](https://forum.sierrawireless.com/u/sbahadirarslan)\
**Post date:** [June 26, 2018, 3:59pm UTC](https://forum.sierrawireless.com/t/mc7304-linux-obtain-ip-problem/12969/1 "2018-06-26T15:59:29Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![mlw](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/mlw/32/3706_2.png) [@mlw](https://forum.sierrawireless.com/u/mlw)\
**Post date:** [June 26, 2018, 5:59pm UTC](https://forum.sierrawireless.com/t/mc7304-linux-obtain-ip-problem/12969/2 "2018-06-26T17:59:16Z")

</div>

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
