OpenWrt Pocket Travel Router
By flashing OpenWrt onto an MSM8916 USB stick, you convert a cheap $7 dongle into an enterprise-grade portable router with:
- LuCI Web Interface: Manage firewall, DHCP, and Wi-Fi visually from any browser.
- Failover / Dual WAN: Seamlessly route traffic between cellular 4G LTE and hotel/café Wi-Fi.
- WireGuard / OpenVPN Client: Route all connected devices through your encrypted home or cloud VPN tunnel.
- Ad-blocking: Run
adblockorsimple-adblockdirectly on the stick to protect mobile devices.
Prerequisites
Section titled “Prerequisites”- Supported MSM8916 eMMC dongle (UFI001B / UFI003 recommended).
- Fastboot / LK2ND installed.
- OpenWrt firmware image (
openwrt-msm8916-boot.imgandopenwrt-msm8916-rootfs.img).
Flashing Instructions
Section titled “Flashing Instructions”-
Place your device in Fastboot mode:
Terminal window adb reboot bootloader -
Flash the OpenWrt kernel and root filesystem:
Terminal window # Flash boot image containing OpenWrt kernelfastboot flash boot openwrt-msm8916-boot.img# Flash rootfs containing OpenWrt systemfastboot flash rootfs openwrt-msm8916-rootfs.img# Erase leftover Android userdatafastboot erase userdata# Reboot into OpenWrtfastboot reboot
First-Time Configuration & Web UI Access
Section titled “First-Time Configuration & Web UI Access”- Plug the dongle into a USB power supply or computer.
- The device will broadcast a Wi-Fi network named OpenWrt (unencrypted on first boot) or assign an IP over USB (
192.168.1.1). - Connect your laptop or smartphone to the Wi-Fi or USB network.
- Open your web browser and navigate to:
http://192.168.1.1
- Click Login (default has no password set).
- Set a strong administrator password under System -> Administration.
Setting up 4G LTE Cellular in LuCI
Section titled “Setting up 4G LTE Cellular in LuCI”- Navigate to Network -> Interfaces.
- Look for the
MODEMorWWANinterface (driven byqmi_wwanorcdc_mbim). - Edit the interface:
- Protocol: QMI Cellular or MBIM.
- Device:
/dev/cdc-wdm0. - APN: Enter your mobile carrier’s Access Point Name (e.g.,
fast.t-mobile.com,wholesale,internet). - PIN: Leave blank unless your SIM card requires a PIN code.
- Click Save & Apply.
- Within 15 seconds, the modem will connect to 4G LTE, acquire an IP address, and begin routing traffic to all Wi-Fi clients!