Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
openwrt-crans-package
Commits
3e404d84
Commit
3e404d84
authored
Mar 02, 2016
by
Hamza Dely
Browse files
Ajout de la version du fichier 'network' pour les TP-Link TL-WR841N/ND
parent
862caf04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
3e404d84
...
...
@@ -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
...
...
files/etc/config/network.tl_wr841nd
0 → 100644
View file @
3e404d84
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'
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment