Paramétrer OpenWRT sur PI3 (ou autre)

De Wiki de Mémoire Vive
Version datée du 24 février 2025 à 15:51 par 192.168.2.1 (discussion) (Page créée avec « Commande à taper après démarrage pour modifier l'adresse IP du routeur <pre> uci set network.lan.ipaddr='192.168.1.xx' # choisir xx uci set network.lan.netmask='255.255.255.0' uci set network.lan.gateway='192.168.1.1' # Facultatif, à définir si besoin uci set network.lan.dns='8.8.8.8 1.1.1.1' # Facultatif, pour configurer les DNS uci commit network »)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)
Aller à la navigation Aller à la recherche

Commande à taper après démarrage pour modifier l'adresse IP du routeur

uci set network.lan.ipaddr='192.168.1.xx' # choisir xx
uci set network.lan.netmask='255.255.255.0'
uci set network.lan.gateway='192.168.1.1'  # Facultatif, à définir si besoin
uci set network.lan.dns='8.8.8.8 1.1.1.1'  # Facultatif, pour configurer les DNS
uci commit network