From LedHed's Wiki
Revision as of 18:58, 2 December 2020 by Ledhed (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

When installing an OpenWRT snapshot, DNS may not be set by DHCP. In order to perform package updates the device will need to resolve DNS.


CLI Commands

uci set network.wan.dns="8.8.8.8 1.1.1.1"
uci commit network
service network reload


Testing

ping openwrt.org

Reference

https://superuser.com/questions/1441257/change-dns-servers-in-an-openwrt-router-from-command-line