« Paramétrer OpenWRT sur PI3 (ou autre) » : différence entre les versions
Aller à la navigation
Aller à la recherche
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 » |
Aucun résumé des modifications |
||
| Ligne 7 : | Ligne 7 : | ||
uci set network.lan.dns='8.8.8.8 1.1.1.1' # Facultatif, pour configurer les DNS | uci set network.lan.dns='8.8.8.8 1.1.1.1' # Facultatif, pour configurer les DNS | ||
uci commit network | uci commit network | ||
/etc/init.d/network restart | |||
</pre> | |||
Version du 24 février 2025 à 15:56
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 /etc/init.d/network restart