This is to document how I managed to USB tether an TP-Link Archer C7 to an Android phone using Gargoyle 1.9.2 following a few simple steps from a post in the OpenWrt forum (you may Google "USB Tethering to an OpenWrt router" as I can't post a direct link).
Please be advised I won't be able to answer questions you might have as I am a perfect noob at Linux in all it's many flavors. Hopefully a more knowledgeable member may be able to help you, should you have any problems.
This is what I did.
Step 1:
Started with a fresh clean install of Gargoyle 1.9.2 on the TP-Link Archer C7 v2 router.
This software image already includes USB basic support.
Step 2:
SSH into the router and installed tethering packages by issuing these commands at the command line prompt:
Code: Select all
opkg update
opkg install kmod-usb-net kmod-usb-net-rndis kmod-usb-net-cdc-ether usbutils udev
Step 3:
Connect the phone to the router via USB (I used port #2) and enabled USB tethering on your phone.
Step 4:
Modified network configuration file (/etc/config/network).
By default this file maps your WAN logical interface to your physical WAN ethernet port. You need to map the WAN interface to the USB0 interface.
At the CLI prompt entered this:
Code: Select all
uci del network.wan
uci set network.wan=interface
uci set network.wan.ifname=usb0
uci set network.wan.proto=dhcp
uci commit network
ifup wan
Regards.