






















I got a Beelink EQI12 two weeks ago, thanks to a friend flying in from Dubai. This MiniPC has been my plan to replace the weak Linkstar H68K OpenWrt router I had for about 2 years now. While the Linkstar has worked just fine, I wanted to upgrade to something more powerful so I could install other services on it as well. I didn’t want to install PiHole on a Raspberry Pi anymore. I’m a little tired of Pis and their problems.
So I setup Proxmox on this server, and then installed OpenWrt on a VM on it. At first I assumed it would be easy. I was very wrong.
I used ChatGPT to constantly debug this. What made my life easier at first was:
0 and 8. I couldn’t ssh into the server to take
photos from other computers because well, the damned network was down,
wasn’t it? Funnily enough, ChatGPT recommended getting a cheap capture card
and that’s what I did.I’m enjoying having AI summarize what I did, just so that I can wave away the details, but here I’m asking it to give the details
🔧 Debugging OpenWRT For Dual WAN Failover with ChatGPT
I set up a reliable failover system using OpenWrt
and mwan3 on
a mini PC router.
httping to test
actual HTTP response from:https://github.comhttps://amazon.comhttps://google.comBoth interfaces (wan and wwan) use httping for tracking
Custom interface configs:
| |
Policy:
config policy 'wan_first'
list use_member 'wan_m1_w3'
list use_member 'wwan_m2_w2'
Rule:
config rule 'default_rule'
option dest_ip '0.0.0.0/0'
option use_policy 'wan_first'
option family 'ipv4'
wanwwanmwan3 status to view current WAN state and policy usagelogread -t mwan3 to see interface events and failover activitymwan3 has a script feature. No.
It does not. Thanks Claude.1.1.1.1 8.8.8.8 as the entry
in DNS config. These had to be one per line. This happened because ChatGPT
kept telling me to add both nameservers in one command using uci.dnsmasq
errors! So many dnsmasq errors. I wish I had the time to read the docs, but
honestly I don’t.All in all, it works now, and that was 2 days of my life spent. I am not sure if I’d say it was “well-spent” though. If you’re choosing to be your family’s sysadmin, YMMV.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。