Commit 3e404d84 authored by Hamza Dely's avatar Hamza Dely
Browse files

Ajout de la version du fichier 'network' pour les TP-Link TL-WR841N/ND

parent 862caf04
......@@ -25,6 +25,8 @@ ifeq ($(CONFIG_TARGET_ar71xx_generic_ESR1750),y)
NETWORKFILE:="network.esr1750"
else ($(CONFIG_TARGET_ar71xx_generic_UAPPRO),y)
NETWORKFILE:="network.uap_pro"
else ($(CONFIG_TARGET_ar71xx_generic_TLWR841),y)
NETWORKFILE:="network.tl_wr841nd"
else
NETWORKFILE:="network"
endif
......
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'vlan3'
option ifname 'eth1.3'
option type 'bridge'
option proto 'dhcp'
config interface 'vlan3_6'
option ifname 'br-vlan3'
option proto 'dhcpv6'
config interface 'vlan6'
option ifname 'eth1.6'
option type 'bridge'
option proto 'none'
config interface 'vlan10'
option ifname 'eth1.10'
option type 'bridge'
option proto 'none'
config interface 'vlan22'
option ifname 'eth1.22'
option type 'bridge'
option proto 'none'
config interface 'vlan7'
option ifname 'eth1.7'
option type 'bridge'
option proto 'none'
# Configuration du switch pour les TP-Link TL-WR841N/ND
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 1 2 3 4'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 1t 2t 3t 4t'
config switch_vlan
option device 'switch0'
option vlan '10'
option ports '0t 1t 2t 3t 4t'
config switch_vlan
option device 'switch0'
option vlan '7'
option ports '0t 1t 2t 3t 4t'
config switch_vlan
option device 'switch0'
option vlan '6'
option ports '0t 1t 2t 3t 4t'
config switch_vlan
option device 'switch0'
option vlan '22'
option ports '0t 1t 2t 3t 4t'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment