Tableau 35. Configurer le paramètre lié à l'adresse IP (profil : réseau)
Syntaxe
sudo uci set network.<interface>=interface
sudo uci set network.<interface>.ifname=<ifname>
sudo uci set network.<interface>.proto=static
sudo uci set network.<interface>.ipaddr=<ipaddr>
sudo uci set network.<interface>.netmask=<netmask>
sudo uci set network.<interface>.gateway=<gateway>
sudo uci set network.<interface>.broadcast=<broadcast>
sudo uci set network.<interface>.dns=<dns>
sudo uci set network.<interface>.ip6assign=<ip6assign>
sudo uci set network.<interface>.ip6hint=<ip6hint>
sudo uci set network.<interface>.ip6ifaceid=<ip6ifaceid>
sudo uci set network.<interface>.auto=<auto>
sudo uci set network.<interface>.force_link=<force_link>
sudo uci set network.<interface>.macaddr=<macaddr>
sudo uci set network.<interface>.mtu=<mtu>
sudo uci set network.<interface>.metric=<metric>
Tableau 36. Paramètres
Nom
Type
104
Requis
Par défaut
Description