Skip to content
LEDE (nee OpenWRT) config for a home network
Branch: master
Clone or download

Home Network

This is the code that configures my home network. The network consists of the following gear:

The network is monitored at: using the (Prometheus Node Exporter)[].


From we have - (2046 IPs)

Use Subnet address Netmask Range of addresses Useable IPs Hosts
VPN termination - - 254
IoT - - 254
F17 Trusted - - 254
W16 Trusted - - 254
Notrust / Freifunk - - 1022
Freifunk mesh (IPv4) - - 254
Freifunk mesh (IPv6) 2001:bf7:830:6600::/56

Build Firmware

./build-firmware <edgerouterx|repeaterNN>


cp network-secrets.env.example network-secrets.env # and edit as appropriate
./deploy <edgerouterx|repeaterNN>

Debugging Notes

Wireless Mesh notes (no longer used since 802.11s was to be really slow)

iw phy0 info
iw --debug event -f
iw dev mesh2 station dump
iw dev mesh2 survey dump
iw mesh2 get power_save
iw dev mesh2 mpath dump
iw dev mesh2 station dump
wifi status
iw dev mesh2  scan
iw dev mesh2 get mesh_param
iw list |grep -i antenna

Debugging wifi management frames

opkg update
opkg install horst
iw dev mesh2 interface add mon0 type monitor
horst -i mon0

grep -q mon0 /proc/net/dev || /usr/sbin/iw phy phy0 interface add mon0 type monitor;  /sbin/ifconfig mon0 up; /usr/sbin/tcpdump -s 0 -i mon0 -y IEEE802_11_RADIO
grep -q mon0 /proc/net/dev || /usr/sbin/iw phy phy0 interface add mon0 type monitor;  /sbin/ifconfig mon0 up; /usr/sbin/iwcap -i mon0 -s

Read wifi stats from /sys/kernel/debug/ieee80211/phy1/netdev\:dual2/stations/

You can’t perform that action at this time.