Date: 2020-10-25
I had DD-WRT on a Linksys E1200 v2 router acting as a wireless adapter (for my desktop connected by ethernet), but its admin console became inaccessible. This was basically okay until I wanted it to connect to a different access point.
Since I was going to hard reset, I figured it might be time for a new firmware. But wow, DD-WRT hasn’t been updated in a while, is there some new hotness? OpenWRT doesn’t fit in the Linksys E1200 memory, so that’s not an option. Is there a fresh version of Tomato? Turns out, yes. FreshTomato.
Install. I followed https://easylinuxtipsproject.blogspot.com/p/tomato.html#ID3 pretty closely.
K26RT-N
version of FreshTomato supports Linksys E1200 v2..bin
file.Administration -> Firmware Upgrade
tab.
Don't reset
after finishing. We’ll hard reset to wipe settings..bin
.root
with password admin
.Change local IP to avoid conflicts. Before we get access to the rest of the local network, we should make sure that the router uses a different subnet than others.
Basic -> Network
tab.
LAN -> IP Address
on a unique subnet. I used 192.168.5.1
(with a subnet mask of 255.255.255.0
) since nothing else on the network starts with 192.168.5.
.LAN -> IP Range
on the same unique subnet. I used 192.168.5.2
to 192.168.5.50
even though I only really need 1 address.sudo ifconfig eth0 down
followed by sudo ifconfig eth0 up
is the quick and dirty way.eth0
is the network device reported by ifconfig
. Actually, mine is enp9s0
.)Configure Wireless Client mode. I followed https://learntomato.flashrouters.com/setup-wireless-client-bridge-tomato-router/ pretty closely.
Basic -> Network
tab.
Wireless Client Mode
as 2.4 GHz / eth1
(not disabled).
Wireless Mode
to Wireless Client
.SSID
as the primary router’s SSID.Security
as the primary router’s security mode (WPA2 Personal
).Shared Key
as the primary router’s password.Lock down access. Might as well handle the security steps now.
root
with password admin
.Administration -> Admin Access
Allow Wireless Access
as not checked.TODO: Enable IPv6?
I did have IPv6 working with DD-WRT configured as a Client Bridge
(when it became inaccessible…).
That method involved setting the primary access point’s IP (v4, nothing v6) as a default gateway, and I don’t think the client router was running its own DHCP server.
So far, I have tried the settings described at https://home.wieringafamily.com/projects/ipv6-home/, even though the instructions don’t pertain to Wireless Client
mode:
Basic -> IPv6
tab.
IPv6 Service Type
as DHCPv6 with Prefix Delegation
.