Posted on May 10, 2025 | Read time: 37 minutes | 591
OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.
1. Install putty, and open it
2. Change into this:
3. Type:
cat /proc/mtd
Output may be like this:
dev: size erasesize name mtd0: 01000000 00010000 "ALL" mtd1: 00030000 00010000 "Bootloader" mtd2: 00010000 00010000 "Config" mtd3: 00010000 00010000 "Factory" mtd4: 007b0000 00010000 "firmware1" mtd5: 007b0000 00010000 "firmware2" mtd6: 0065ef59 00010000 "rootfs" mtd7: 000b0000 00010000 "rootfs_data" mtd8: 00050000 00010000 "reserved"
4. Backup firmware partition with this:
cat /dev/mtd4 >> /tmp/firmware.bin
5. Now you can download dumped firmware with WinSCP or tftp:
tftp -g -r firmware.bin 192.168.0.1
Modem cellular is fixed now! It was exposed as CDC Ethernet driver at eth1 devices in new build of OpenWrt firmware.
You need to re-download openwrt-ramips-mt76x8-net1_r05-squashfs-sysupgrade.bin again to use modem cellular in this device. Now with OpenWrt 24.10.1 stable instead of Snapshot OpenWrt v25.
Currently i can't test it to connect cellular network since Net1 provider is discontinue and modem is only has Band 31 which unavailable to rest network providers. Let me know if the modem is working.
Name: wwan Protocol: DHCP client Device: eth1
config interface 'eth1' option proto 'dhcp' option device ‘eth1’
echo "216f 0047" > /sys/bus/usb-serial/drivers/option1/new_id
Example usage:
root@OpenWrt:~# dmesg | grep ttyUSB [ 145.939378] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 [ 145.980335] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3 [ 146.021129] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB5 root@OpenWrt:~# comgt -d /dev/ttyUSB1 info ##### Wireless WAN Modem Configuration ##### Product text: ====Manufacturer: Altair Semiconductor Model: ALT38XX Revision: P65Net1_CP_R051_V004 OK ==== Manufacturer: Altair Semiconductor IMEI and Serial Number: 353375xxxxxxxx4 Manufacturer's Revision: P65Net1_CP_R051_V0 Hardware Revision:Network Locked: 0 Customisation:Band settings: ( ) APN: 1,"IP","internet",,0,0,0,0,0,,0 ##### END ##### root@OpenWrt:~# comgt -d /dev/ttyUSB1 SIM ready Waiting for Registration..(120 sec max)…
root@OpenWrt:~# dmesg | grep ttyUSB [ 145.939378] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1 [ 145.980335] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3 [ 146.021129] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB5
root@OpenWrt:~# comgt -d /dev/ttyUSB1 info ##### Wireless WAN Modem Configuration ##### Product text: ====
Manufacturer: Altair Semiconductor Model: ALT38XX Revision: P65Net1_CP_R051_V004 OK ==== Manufacturer: Altair Semiconductor IMEI and Serial Number: 353375xxxxxxxx4 Manufacturer's Revision: P65Net1_CP_R051_V0 Hardware Revision:
Network Locked: 0 Customisation:
Band settings: ( ) APN: 1,"IP","internet",,0,0,0,0,0,,0 ##### END #####
root@OpenWrt:~# comgt -d /dev/ttyUSB1 SIM ready Waiting for Registration..(120 sec max)…
Use ‘How to flash OpenWrt firmware’ guide if you accidentally bricked it, if LAN does not work you can use USB to TTL. This guide only if you destroy firmware1 and not erase bootloader or others partition.
Hit any key to stop autoboot: 0
setenv ipaddr 192.168.1.1 # Router's IP setenv serverip 192.168.1.100 # Your TFTP server IP setenv netmask 255.255.255.0 saveenv
tftpboot 0x81000000 openwrt-ramips-mt76x8-net1_r05-squashfs-sysupgrade.bin
Hello, Anonymous! Want log in?