How to share mobile internet (wifi hotspost) to wired ethernet (LAN) devices with dd-wrt this assumes you have a router flashed with dd-wrt and repeater bridge option available. I have included screenshots of most config page so you can check your own configuration but most of the settings are left to their default values.
Linksys WRT54G/GL/GS | Samsung Galaxy S6 |
---|---|
(Broadcom BCM5352 chip rev 0) flashed with dd-wrt firmware v24-sp2 (07/22-09) micro - build 12548M NEWD Eko | |
(useful pages @ https://wiki.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX) | Any wifi modem router could also be used instead or any other phone with hotspot function but the point here is to explain how to share mobile phone internet with wired devices |
- Detail of software flashed and router spec
Note: Click 'Save' everytime you change a settings, once all settings have been modified select 'Apply Settings' and wait for router to reboot.
- Network Name : e.g. WIFI_1
- Password: choose your own wifi password
- Hide my device: unselected (optional, select if you want to hide SSID)
- Security: WPA2 PSK
- Wifi Sharing: On
- Timeout Setting: Never Timeout (optional)
- Band: 2.4Ghz
- Turn Mobile HotSpot On
- Connect a device to check ip address range and subnet mask (in this case address range is 192.168.43.x subnet 255.255.255.0) hotspot ip address is 192.168.43.1
- reset router by pressing the hardware switch
-
connect to open wifi dd-wrt or use an ethernet cable instead
-
open browser and type 192.168.1.1
-
you should be greeted with a page inviting to set admininistrator user and password.
-
once set go to Setup -> basic setup
- disable STP
- choose rooter name (optional)
- set local IP address of router to 192.168.43.2
- subnet mask = 255.255.255.0
- Gateway adress: 192.168.43.1
- Local DNS: 192.168.43.1
- Assign WAN Port to Switch: (Optional) select if you want to make an extra ethernet port available for an additional device
- NTP Client: disbale (optional)
-
Setup -> DDNS (disable)
-
Setup -> Mac Address Clone (disable)
-
Setup -> Advanced Routing
-
Setup -> VLAN
- Setup -> Networking
- Wireless-> Basic Settings
- Wireless mode: Repeater Bridge
- Wireless Network Mode: Mixed or choose G-Only
- Wireless Network Name (SSID): WIFI_1 (same as phone hotspot)
- Sensitivity Range (ACK Timing): 2000 (default) unless you know what your doing
- Network Configuration: Bridged
- Click add a virtual Interface
- Wireless Netwrok Name (SSID): WIFI_2 (or any other name)
- Wireless SSID Broadcast: Enable (or Disable if you want to hide the network)
- AP Isolation: Disable
- Network Configuration: Bridged
-
Wireless -> Radius (skip this, only configurable in AP isolation mode anyway)
-
Wireless -> Wireless Security
--Physical Interface-- Encryption has to match mobile hotspot encryption (these are settings that worked for me)
- Security Mode: WPA2 Personal
- WPA algorithms: AES
- WPA Shared Key: Same as Mobile HotSpot
- Key Renewal Interval (in seconds): 3600 (default)
--Virtual Interfaces-- Encryption has to match mobile hotspot encryption (these are settings that worked for me)
- Security Mode: WPA2 Personal
- WPA algorithms: AES
- WPA Shared Key: Same as Mobile HotSpot
- Key Renewal Interval (in seconds): 3600 (default)
-
Wireless -> Mac Filter (optional - specify MAC address of devices allowed on the network if you want to restrict access to certain devices only this option is also available on the mobile hotspot).
- Wireless -> Advanced Settings (leave everything to default)
- Wireless GUI Access: Enable (if Disable is selected you will not be able to access this configuration interface via Wifi anymore).
- Wireless -> WDS (skip, leave default settings)
- Services -> Services (leave default settings except DNSMasq)
- DNSMasq: Disable
- Telnet: Enable --default-- (set to Disable if you do not want to allow configuration via telnet)
- Services -> Hostpot (leave default settings)
- Services -> My Ad Network (skip - leave default settings)
-
Security -> Firewall
- SPI Firewall: Disable
- Additional Filter: uncheck all
- Block Wan Requests: check only Filter Multicast
- Security -> VPN Passthrough (skip, leave default settings)
- Access Restrictions -> WAN Access (skip, leave default settings)
- Access Restrictions -> Port Forwarding (skip, leave default settings)
- Access Restrictions -> Port Range Forwarding (skip, leave default settings)
- Access Restrictions -> Port Triggering (skip, leave default settings)
- Access Restrictions -> UPnP (skip, leave default settings)
- Access Restrictions -> DMZ (skip, leave default settings)
- Access Restrictions -> Quality of Service (QoS) (skip, leave default settings)
- Administration -> Management
- Router Username: set router username if not already configured
- Router password: set if not already configured
- leave rest to default (no changes required unless specfic need)
- Adminstration -> Keep Alive (skip leave default settings)
- Administration -> Commands (skip leave default settings)
- Administration -> WOL (skip leave default settings)
- Administration -> Factory Defaults (skip leave default settings)
- Administration -> Firmware Upgrade (skip leave default settings)
- Administration -> Backup
here is the final screen, this is opportunity to backup all these settings to a file should you ever have to reset the router in the future you wil be able to retrieve yor settings.
Connect your wired devices to the router ethernet port, they should get automatice IP addresses via DHCP from the phone (make sure the device set to receive IP address via DHCP, you can also assign an IP address as long as it is in the same address range e.g. 192.168.43.x (x = 3 to 254) in this scenario. You should then be able to access the internet on these devices useing the mobile phone internet connection. You can also connect wifi devices using either WIFI_1 or WIFI_2 network, you can therefore place the wifi router in another location than the phone in order to extend coverage of the wifi network.
You can turn off the phone mobile hotspot at anytime, the router will keep functioning you will simply no longer have access to the internet with these devices.