imx8: Connecting USB 4g modem internet dongle to imx8 not allocating ip address

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8: Connecting USB 4g modem internet dongle to imx8 not allocating ip address

1,217 Views
vsuneja63
Contributor III

Hi,

Connecting USB 4g airtel dongle for internet connectivity to imx8mq-evk(bsp 5.4) but not allocating ip address. By looking at logs looks like it considered as storage device. Here are the logs:

imx8mqevk:/home# [ 6687.839996] usb 1-1.2: new high-speed USB device number 4 using xhci-hcd
[ 6688.106089] usb-storage 1-1.2:1.2: USB Mass Storage device detected
[ 6688.113720] scsi host0: usb-storage 1-1.2:1.2
[ 6689.148581] scsi 0:0:0:0: Direct-Access ZXIC MMC Storage 2.31 PQ: 0 ANSI: 2
[ 6689.157923] sd 0:0:0:0: Power-on or device reset occurred
[ 6689.164395] scsi 0:0:0:1: Direct-Access ZXIC MMC Storage 2.31 PQ: 0 ANSI: 2
[ 6689.173184] sd 0:0:0:1: Power-on or device reset occurred
[ 6689.218790] sd 0:0:0:1: [sdb] Attached SCSI removable disk
[ 6689.220096] sd 0:0:0:0: [sda] Attached SCSI removable disk

 

No ip address allocation happened with interface:

imx8mqevk:/home# ifconfig
can0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP RUNNING NOARP MTU:72 Metric:1
RX packets:80270 errors:0 dropped:0 overruns:0 frame:0
TX packets:80270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:642160 (627.1 KiB) TX bytes:642160 (627.1 KiB)

eth0 Link encap:Ethernet HWaddr 00:04:9F:05:A5:9C
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:108 errors:0 dropped:0 overruns:0 frame:0
TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18057 (17.6 KiB) TX bytes:18057 (17.6 KiB)

 

Host: Ubuntu16.04

bsp : 5.4

target: imx8mq evk

what could be the issue for this? Looking forward for your response.

Labels (1)
0 Kudos
2 Replies

1,194 Views
vsuneja63
Contributor III

Hi,

Any suggestion on the issue, the same dongle is directly working on ubuntu system & could access internet but on imx8 ip allocation is not happening.

0 Kudos

1,187 Views
igorpadykov
NXP Employee
NXP Employee

Hi vsuneja63

 

one can look at boundary devices modem blog:

https://boundarydevices.com/cellular-modems-on-i-mx8-boards-nitrogen8m-and-nitrogen8m-mini-under-ubu...

 

Best regards
igor

0 Kudos