Posted: Thu Mar 14, 2024 19:58 Post subject: Android USB Tethering to Archer A7-v5 v3.0-r55179
Question about setting USB Tethering with Tp_link AC1750 with Archer A7-v5 with firmware v3.0-r55179 (the newest one I could find.)
Is USB Tethering supported with this setup? I enabled USB in the GUI (Services==>USB). The Android phone charges and can go into USB tether mode through the USB port. It doesn't appear there is anyway in the GUI to turn this on. The docs reference adding rdnis modules, but those don't exist in this build, and those docs a pretty old.
Thanks for anyone that can help. Sorry if this information was somewhere and I couldn't find it.
Joined: 08 May 2018 Posts: 14249 Location: Texas, USA
Posted: Thu Mar 14, 2024 23:52 Post subject:
Android tethering is not natively supported in DD-WRT, it's never been natively supported in DD-WRT, and those docs are the most current information on the subject. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
#Use ONLY for cell phone tethering
ifconfig usb0 up
udhcpc -i usb0
iptables --table nat --append POSTROUTING --out-interface usb0 -j MASQUERADE
iptables --append FORWARD --in-interface br0 -j ACCEPT
iptables -t mangle -A FORWARD -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
Record WANIP at boot
If you are not familiar with building kernel modules against DD-WRT kernel source, you will not get very far. This is not an easy task for a beginner. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Here are the Android tether k4.9 modules for r53562 and maybe lesser versions too. These will NOT WORK with k6.1 builds. I built these against the EA8500 kernel source so not sure what other routers these may work with. if successfully loaded, you will see them in your lsmod output.
Code:
Module Size Used by
rndis_host 4740 0
cdc_ether 5079 1 rndis_host
usbnet 18219 2 rndis_host,cdc_ether
Edit: Just tested these on a R7800 (r53562) and they loaded fine on that router too.
Edit2: Tried to build these on the 6.1 kernel, but it appears the USBNET module is disabled in the .config for the kernel. Also RNDISHOST and CDCHOST modules are both entirely missing from the .config file. Could they be added and enabled? Probably, but since I don't have a working k6.1 build to test these on imma not even gonna try it for now. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.