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?

Pre-order the 2024 Monster Manual today and battle over 500 newly illustrated mighty monsters
Thumbnail image: Pre-order the 2024 Monster Manual today and battle over 500 newly illustrated mighty monsters
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