mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ar71xx: create a separated network interface for the RB2011UAS SFP port
Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36800 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -55,6 +55,13 @@ rb-2011uas-2hnd)
|
||||
ucidef_add_switch_vlan "switch0" "2" "0t 1"
|
||||
ucidef_add_switch "switch1" "1" "1"
|
||||
ucidef_add_switch_vlan "switch1" "1" "0 1 2 3 4 5"
|
||||
|
||||
case "$board" in
|
||||
rb-2011uas*)
|
||||
ucidef_set_interface_raw "sfp" "eth0.3"
|
||||
ucidef_add_switch_vlan "switch0" "3" "0t 6"
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
|
||||
dir-825-b1|\
|
||||
|
||||
Reference in New Issue
Block a user