Last active
November 18, 2025 22:18
-
-
Save sulincix/4c189663511d7ce61991a6524811837f to your computer and use it in GitHub Desktop.
OpenWRT Usb tethering
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # update repository | |
| opkg update | |
| # install packages | |
| opkg install \ | |
| kmod-nls-base \ | |
| kmod-usb2 \ | |
| kmod-usb-core \ | |
| kmod-usb-net \ | |
| kmod-usb-net-cdc-ether \ | |
| kmod-usb-net-rndis \ | |
| kmod-usb-ohci kmod-usb-uhci \ | |
| kmod-usb-net-cdc-ncm \ | |
| kmod-usb-net-cdc-ether \ | |
| kmod-usb-net-ipheth \ | |
| usbmuxd \ | |
| libimobiledevice \ | |
| usbutils \ | |
| hub-ctrl | |
| # Create usb wan | |
| uci set network.uwan=interface | |
| uci set network.uwan.device='usb0' | |
| uci set network.uwan.proto='dhcp' | |
| uci set network.uwan.ifname='usb0' | |
| uci commit network | |
| # restart network | |
| /etc/init.d/network restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment