<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Travis Rice | Infrastructure & Systems]]></title><description><![CDATA[Practical documentation on enterprise networking, systems administration, OpenWrt, homelab architecture, and edge infrastructure by Travis Rice.]]></description><link>https://travisirice.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Thu, 12 Nov 2026 07:57:41 GMT</lastBuildDate><atom:link href="https://travisirice.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Turning a Surplus TP-Link Archer AX21 into a Dedicated OpenWrt Wireless Lab Bridge]]></title><description><![CDATA[Learn how to flash OpenWrt on a TPLink Archer AX21 v4.6 to create a high-speed, low-latency wireless client bridge for your homelab.]]></description><link>https://travisirice.hashnode.dev/turning-a-surplus-tp-link-archer-ax21-into-a-dedicated-openwrt-wireless-lab-bridge</link><guid isPermaLink="true">https://travisirice.hashnode.dev/turning-a-surplus-tp-link-archer-ax21-into-a-dedicated-openwrt-wireless-lab-bridge</guid><category><![CDATA[OpenWRT]]></category><category><![CDATA[networking]]></category><category><![CDATA[Homelab]]></category><category><![CDATA[Linux]]></category><category><![CDATA[hardware]]></category><category><![CDATA[Wireless Bridge]]></category><category><![CDATA[wifi]]></category><category><![CDATA[wireless network]]></category><dc:creator><![CDATA[Travis Rice]]></dc:creator><pubDate>Wed, 04 Nov 2026 20:14:06 GMT</pubDate><content:encoded><![CDATA[<p>After moving into a historic two-story rental, I found myself facing an immediate infrastructure challenge:</p>
<ul>
<li><strong>Lease Restrictions:</strong> Zero drilling or running permanent cable drops through walls, ceilings, or floors.</li>
<li><strong>Cabling Realities:</strong> The only coax drop in the house is downstairs where the primary ISP modem and router reside.</li>
<li><strong>Workplace Layout:</strong> My primary lab, test bench, and workstation are located upstairs.</li>
</ul>
<p>My goal was to avoid having four or five separate devices competing over individual Wi-Fi links in a confined room. Standard consumer advice suggests installing a wall-plug Wi-Fi range extender or a powerline networking kit, but both introduce major performance penalties:</p>
<ul>
<li><strong>Powerline Networking:</strong> In older structures with aging copper wiring and split-phase electrical panels, high-frequency line noise and phase-crossing drop throughput significantly and introduce unpredictable packet jitter.</li>
<li><strong>Consumer Wi-Fi Repeaters:</strong> Most plug-in extenders operate on a single radio that splits airtime between the upstream gateway and downstream devices. This store-and-forward repeater penalty cuts practical wireless bandwidth in half and doubles channel contention.</li>
</ul>
<p>Furthermore, either of those options would still require buying, powering, and placing an additional desktop switch to wire up my workbench.</p>
<p>Repurposing a used consumer router running <strong>OpenWrt</strong> solves both problems at once. By dedicating the router’s entire 5 GHz radio strictly as an upstream client backhaul and disabling local wireless broadcasting, downstream traffic remains isolated to physical Gigabit copper at line rate—with full Linux CLI control and zero recurring hardware costs.</p>
<h2>Phase 1: Feasibility &amp; Preparation</h2>
<p>Consumer routers frequently undergo silent hardware revisions under the same commercial model name. Before downloading firmware, always verify the exact hardware version printed on the underside sticker:</p>
<ul>
<li><strong>Target Device:</strong> TP-Link Archer AX21 v4.6</li>
<li><strong>OpenWrt Hardware Target:</strong> <strong>ramips/mt7621</strong></li>
<li><strong>Target Version:</strong> 23.05.x (or current stable release)</li>
</ul>
<h3>1. Download and Verify Image Integrity</h3>
<p>From the OpenWrt Firmware Selector, search for <strong>TP-Link Archer AX21 v4</strong> and download the <strong>FACTORY</strong> image (used when upgrading directly from TP-Link’s stock interface).</p>
<img src="https://cdn.hashnode.com/uploads/covers/6aeb5156321d9d92d87c5b46/5c90be50-83dc-42e8-a4ab-75b34eca578d.jpg" alt="" style="display:block;margin:0 auto" />

<p>Always calculate and verify the cryptographic checksum before flashing:</p>
<img src="https://cdn.hashnode.com/uploads/covers/6aeb5156321d9d92d87c5b46/ffc45f49-cfc7-4074-82c4-b816e90b49c7.jpg" alt="" style="display:block;margin:0 auto" />

<p>(On Linux/macOS: <code>sha256sum &lt;filename&gt;.bin</code>)</p>
<ol start="2">
<li>Pre-Flash Hardware Reset<ol>
<li>Perform a hardware reset by pressing and holding the recessed Reset button on the back of the router for 10 seconds until all LEDs flash. This guarantees the default LAN interface is clean and listening at <a href="http://192.168.0.1">http://192.168.0.1</a>.</li>
<li>Connect your PC directly to LAN Port 1 with an Ethernet cable.</li>
<li>Disable your PC's Wi-Fi and unplug any other network cables to prevent IP routing conflicts.</li>
<li>Navigate to <a href="http://192.168.0.1">http://192.168.0.1</a> and walk through the basic initial TP-Link setup wizard (set a dummy admin password and click through). You do not need to configure WAN or Wi-Fi settings since the entire OS will be overwritten in the next step.</li>
</ol>
</li>
</ol>
<h2>Phase 2: Loading OpenWrt Firmware</h2>
<img src="https://cdn.hashnode.com/uploads/covers/6aeb5156321d9d92d87c5b46/7d7900a6-646d-4734-aec9-dec3467996f7.jpg" alt="" style="display:block;margin:0 auto" />

<ol>
<li>In the TP-Link management interface, navigate to <strong>Advanced &gt; System &gt; Firmware Update</strong></li>
<li>Scroll to <strong>Local Update</strong>, click <strong>Browse</strong>, select the downloaded <code>openwrt-...-squashfs-factory.bin</code> file, and click <strong>Update</strong>.</li>
<li><strong>Wait 3 to 5 minutes.</strong> Do not disconnect cables, refresh the browser, or power off the router while the internal flash partitions are rewritten. The router will automatically reboot when complete.</li>
</ol>
<p><em>Troubleshooting Note:</em> If your specific TP-Link firmware version rejects the file with an <em>Invalid File Type</em> or signature verification error, power down the router, hold the <strong>Reset</strong> button while plugging the power back in for 6 to 8 seconds until the Internet LED turns solid amber, and access <a href="http://192.168.0.1">http://192.168.0.1</a> in your browser. This opens the low-level <strong>U-Boot HTTP Recovery Mode</strong>, which bypasses stock signature checks.</p>
<h2>Phase 3: Configuring the OpenWrt LAN Switch</h2>
<p>Once the device reboots into OpenWrt, the default gateway changes to 192.168.1.1.</p>
<ol>
<li><p>Open your browser and navigate to <a href="http://192.168.1.1">http://192.168.1.1</a>.</p>
</li>
<li><p>Fresh OpenWrt installs have <strong>no default password</strong>. Leave the password field blank and click <strong>Login</strong>.</p>
</li>
<li><p>Go immediately to <strong>System &gt; Administration</strong> and configure a strong root password.</p>
</li>
<li><p>Navigate to <strong>Network &gt; Interfaces</strong>, locate the <strong>LAN</strong> interface, and click <strong>Edit</strong>.</p>
</li>
<li><p>Change the <strong>IPv4 Address</strong> to an isolated subnet to avoid collisions with your primary downstairs network (for example, change <code>192.168.1.1</code> to <code>10.10.10.1</code> or <code>192.168.2.1</code>).</p>
</li>
<li><p>Click <strong>Save</strong>, then <strong>Save &amp; Apply</strong>.</p>
</li>
<li><p>Force your PC to release its old address and pull a new lease from the updated pool:</p>
<p><code>ipconfig /release</code><br /><code>ipconfig /renew</code></p>
</li>
<li><p>Reconnect to your router’s web interface at its new address: <a href="http://10.10.10.1">http://10.10.10.1</a>.</p>
</li>
</ol>
<h2>Phase 4: Configuring the Wireless WAN Client</h2>
<img src="https://cdn.hashnode.com/uploads/covers/6aeb5156321d9d92d87c5b46/142e4096-6343-43ca-8a34-1fe5703ba603.jpg" alt="" style="display:block;margin:0 auto" />

<p>With the local switch isolated, we now configure the 5 GHz radio to act as the WAN uplink to the downstairs router:</p>
<ol>
<li>Navigate to <strong>Network &gt; Wireless</strong>.</li>
<li>Locate the 5 GHz radio (MediaTek MT7915/MT7975) and click <strong>Scan</strong>.</li>
<li>Find your household's primary 5 GHz SSID in the results and click <strong>Join Network</strong>.</li>
<li>Check <strong>Replace wireless configuration</strong>.</li>
<li>Enter your WPA2/WPA3 passphrase.</li>
<li>Verify the interface is assigned to the <strong>WAN</strong> firewall zone (LuCI defaults to this automatically).</li>
<li>Click <strong>Save &amp; Apply</strong>.</li>
</ol>
<p>All four Gigabit LAN interfaces on the AX21 now operate as a dedicated, line-rate switch upstairs, backhauled over a low-latency 5 GHz 802.11ax link to the downstairs gateway (You may also reconfigure the "WAN" interface to act as part of the switch as well for a total of five interfaces).</p>
<h2>Phase 5: Supply Chain Hardening &amp; Next Steps</h2>
<p>Beyond solving physical cabling limitations, replacing stock firmware on commodity networking gear eliminates a significant attack surface:</p>
<ul>
<li><strong>Eliminated Telemetry:</strong> Stock firmware runs continuous background daemons that check in with vendor cloud servers (such as TP-Link Tether services). OpenWrt contains zero telemetry by default.</li>
<li><strong>Wiping Closed-Source Bloat:</strong> Proprietary inspection engines and third-party security suites often bundled in consumer routers are completely removed when the squashfs root filesystem is overwritten.</li>
<li><strong>Protection from Edge Implants:</strong> Vulnerabilities frequently leveraged by botnets and edge threat actors targeting stock router web servers (httpd) are rendered inert.</li>
</ul>
<h3>Recommended Baseline Hardening</h3>
<p>To finish the build, secure the management plane:</p>
<ol>
<li><strong>Enforce SSH Keys:</strong> Add your public key to <code>/etc/dropbear/authorized_keys</code> and disable password authentication entirely under <strong>System &gt; Administration &gt; SSH Access</strong>.</li>
<li><strong>Restrict Management Access:</strong> Ensure the WAN firewall zone drops all incoming management traffic so LuCI and SSH are only accessible from your physical upstairs LAN ports.</li>
</ol>
<p>Repurposing surplus enterprise or consumer hardware with open-source firmware turns a $25 thrift or secondhand find into a fully transparent, highly configurable, and isolated network drop—without running a single cable through the floorboards.</p>
]]></content:encoded></item></channel></rss>