Skip to content

Instantly share code, notes, and snippets.

@sclaret
Last active September 7, 2025 00:35
Show Gist options
  • Select an option

  • Save sclaret/20e66bafb9e13a68072c9d390f9fd7f3 to your computer and use it in GitHub Desktop.

Select an option

Save sclaret/20e66bafb9e13a68072c9d390f9fd7f3 to your computer and use it in GitHub Desktop.
OpenWrt v21.02.0 AP

East to West

192.168.2.4 10dbm (80mhz channel 157) 
192.168.2.3 14dbm (160mhz channel 36)
192.168.2.2 10dbm (80mhz channel 100)

Reset

Turn off

Turn on while holding reset button

Set static IP on wired connection 192.168.0.6 & disable wifi

http://192.168.0.1

https://firmware-selector.openwrt.org/ D-Link EAGLE PRO AI M32 A1

Upload recovery image

Configure OpenWRT

http://192.168.1.1

service dnsmasq stop
service dnsmasq disable
service odhcpd disable
service odhcpd stop

uci set network.lan.ipaddr=192.168.2.2
uci set network.lan.gateway=192.168.2.1
Use custom DNS servers: 192.168.2.1 (for shell)

http://192.168.2.2

System —> System 
Timezone: Americas / Toronto
Sync with NTP server

System -> Administration -> Router password

cat /etc/config/wireless

Mode Channel Width
Maximum Transmit Power
Country code CA

Mode Access Point
essid abc
Encryption WPA3-SAE
key abc

802.11r Fast Transition enabled
NAS ID ap4
Mobility Domain 4f57
FT protocol FT over DS

Administration -> SSH Keys

iw reg get

opkg update

opkg install iperf3
vi /etc/rc.local
iperf3 -s -D &

opkg install vim htop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment