bananapi-r3 #2
|
@ -1,5 +1,5 @@
|
||||||
install-bpi-r3-network-config:
|
install-bpi-r3-network-config:
|
||||||
mkdir -p files/etc/config
|
mkdir -p files/etc/config
|
||||||
cp misc/bpi-r3/uci/network files/etc/config/network
|
cp misc/bpi-r3/uci/network files/etc/config/network
|
||||||
cp misc/bpi-r3/uci/wireless files/etc/config/wireless
|
# cp misc/bpi-r3/uci/wireless files/etc/config/wireless
|
||||||
cp misc/bpi-r3/uci/system files/etc/config/system
|
# cp misc/bpi-r3/uci/system files/etc/config/system
|
|
@ -5,9 +5,6 @@ config device
|
||||||
option ipaddr '127.0.0.1'
|
option ipaddr '127.0.0.1'
|
||||||
option netmask '255.0.0.0'
|
option netmask '255.0.0.0'
|
||||||
|
|
||||||
config globals 'globals'
|
|
||||||
option ula_prefix 'fd78:1aa3:8b15::/48'
|
|
||||||
|
|
||||||
config device
|
config device
|
||||||
wpetit marked this conversation as resolved
Outdated
|
|||||||
option name 'br-lan'
|
option name 'br-lan'
|
||||||
option type 'bridge'
|
option type 'bridge'
|
||||||
|
@ -32,16 +29,10 @@ config device
|
||||||
|
|
||||||
config device
|
config device
|
||||||
option name 'eth1'
|
option name 'eth1'
|
||||||
option macaddr '96:37:22:3f:67:af'
|
|
||||||
|
|
||||||
config device
|
config device
|
||||||
option name 'wan'
|
option name 'wan'
|
||||||
option macaddr '96:37:22:3f:67:af'
|
|
||||||
|
|
||||||
wpetit marked this conversation as resolved
Outdated
wpetit
commented
On ne devrait pas fixer l'adresse MAC des cartes réseaux. On ne devrait pas fixer l'adresse MAC des cartes réseaux.
|
|||||||
config interface 'wan'
|
config interface 'wan'
|
||||||
option device 'br-wan'
|
option device 'br-wan'
|
||||||
option proto 'dhcp'
|
option proto 'dhcp'
|
||||||
|
|
||||||
config interface 'wan6'
|
|
||||||
option device 'br-wan'
|
|
||||||
option proto 'dhcpv6'
|
|
Loading…
Reference in New Issue
La configuration ne devrait contenir que le minimum vital pour que la configuration réseau soit fonctionnelle (i.e. interface WAN en mode DHCP).
On ne devrait pas surcharger les autres propriétés de la configuration UCI et maintenir celles par défaut fournies par le firmware OpenWRT.
i.e. supprimer le bloc
globals
si possible.