Tableau 31. Interfaces communes (suite)
Nom de l'interface
cloud_wan
x86_lan
lte_wan
wifi_lan_ap
wifi_wan_sta
Exemple de commandes :
sudo uci show network
sudo uci show network.edge_lan
sudo uci show network.edge_lan.ipaddr
Paramètre de configuration
Tableau 32. Configurer un serveur DHCP (profil DHCP)
Syntaxe
sudo uci set dhcp.<name>=dhcp
sudo uci set dhcp.<name>.ignore=<ignore>
sudo uci set dhcp.<name>.interface=<interface>
sudo uci set dhcp.<name>.start=<start>
sudo uci set dhcp.<name>.limit=<limit>
sudo uci set dhcp.<name>.leasetime=<leasetime>
sudo uci set dhcp.<name>.dynamicdhcp=<dynamicdhcp>
sudo uci set dhcp.<name>.force=<force>
sudo uci set dhcp.<name>.netmask=<netmask>
sudo uci set dhcp.<name>.dhcp_option=<dhcp_option>
sudo uci set dhcp.<name>.ra=<ra>
sudo uci set dhcp.<name>.dhcpv6=<dhcpv6>
sudo uci set dhcp.<name>.ndp=<ndp>
sudo uci set dhcp.<name>.ra_management=<ra_management>
sudo uci set dhcp.<name>.ra_default=<ra_default>
sudo uci add_list dhcp.<name>.dns=<dns>
sudo uci add_list dhcp.<name>.domain=<domain>
sudo uci commit dhcp
Description
Ports de liaison montante (filaire)
Port 10 Go interne dédié connecté au système
d'exploitation (dénommé « LOM1-Switchboard » dans
Windows)
Port LTE 4G
Port WLAN (mode AP)
Port WLAN (mode station)
Chapitre 4
.
103
Configuration système