I wanted to share my Android phone’s internet over my LAN. Can be used as a backup internet connection if the normal connection is down or in a lan where internet is rarely needed, perhaps only for updates or new installation.
I searched for ways to do it and found a lot of confusing and unhelpful stuff about tethering and how to connect a single laptop over wifi to the mobile hotspot on the phone. No good.
But after some experimenting I figured out how to do it using a GL-AR300M. I think it would work just the same with a GL-AR150 and many other devices.
In the “Advanced settings:”
- Network: Wireless.
Configure the Wireless Network to connect to the phone wifi internet share as a normal client. Set ESSID and mode to client and the password.
- Network: Interfaces.
Configure/edit the lan interface as a standard lan router. I used IP: 192.168.8.1 as fixed IP. DHCP server activated serving out IPs between .150-.200 and gateway also 192.168.8.1. Under Physical Settings I made sure lan was connected to eth1 (lan cable) and nothing else.
Configure/edit the wan interface. Under Physical Setting I made sure it was connected to the Wireless Network (the phone internet share) and nothing else.
I deleted all other interfaces.
And it just worked!
The GL-AR300M serves IP-adresses to clients using DHCP and the lan works fine. If you start sharing internet on your phone, GL-AR300M immediately gives all clients internet access.