Skip to main content How can I retrieve IMEI number from a device running OpenWRT? : r/openwrt
Go to openwrt

How can I retrieve IMEI number from a device running OpenWRT?

I've got a Chinese WiFi/Cellular router that came pre-loaded with OpenWRT (OpenWrt Barrier Breaker unknown / LuCI Trunk (svn-r10457)).

How can I retrieve the IMEI number for the 4G interface it has? (The interface appears to be named "3g-4G_WAN".)

Is there a command I can use when logged in via SSH, perhaps?

New Quick Actions in Lightroom instantly give you suggestions tailored to your photo so you can get the look you want.
Clickable image which will reveal the video player: New Quick Actions in Lightroom instantly give you suggestions tailored to your photo so you can get the look you want.
Sort by:
Best
Open comment sort options

Connect to the device (eg.: sudo minicom -D /dev/ttyUSB0), enable local echo (ctrl+a e), and send at commands: try: ATi1 AT+CGSN ATi ...

More replies

Just guessing, but try "ip address" or "dmesg" at a command prompt. You might also try installing pciutils ("opkg install pciutils") to run the "lspci -vv" command.

More replies