-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openwrt: init files for mt798x (OpenWrt One)
- Loading branch information
1 parent
41b7880
commit 030a817
Showing
2 changed files
with
120 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
config interface 'loopback' | ||
option device 'lo' | ||
option proto 'static' | ||
option ipaddr '127.0.0.1' | ||
option netmask '255.0.0.0' | ||
|
||
config device | ||
option name 'br-lan' | ||
option type 'bridge' | ||
option stp '1' | ||
list ports 'eth0' | ||
list ports 'eth1' | ||
|
||
config bridge-vlan | ||
option device 'br-lan' | ||
option vlan '100' | ||
list ports 'eth0:t' | ||
list ports 'eth1:t' | ||
|
||
config bridge-vlan | ||
option device 'br-lan' | ||
option vlan '500' | ||
list ports 'eth0:t' | ||
list ports 'eth1:t' | ||
|
||
config device | ||
option name 'scaleslow-br' | ||
option type 'bridge' | ||
option stp '1' | ||
list ports 'br-lan.100' | ||
list ports 'br-lan.500' | ||
|
||
config interface 'scaleslow' | ||
option device 'scaleslow-br' | ||
option proto 'none' | ||
|
||
config bridge-vlan | ||
option device 'br-lan' | ||
option vlan '101' | ||
list ports 'eth0:t' | ||
list ports 'eth1:t' | ||
|
||
config bridge-vlan | ||
option device 'br-lan' | ||
option vlan '501' | ||
list ports 'eth0:t' | ||
list ports 'eth1:t' | ||
|
||
config device | ||
option name 'scalefast-br' | ||
option type 'bridge' | ||
option stp '1' | ||
list ports 'br-lan.101' | ||
list ports 'br-lan.501' | ||
|
||
config interface 'scalefast' | ||
option device 'scalefast-br' | ||
option proto 'none' | ||
|
||
config bridge-vlan | ||
option device 'br-lan' | ||
option vlan '103' | ||
list ports 'eth0:t' | ||
list ports 'eth1:t' | ||
|
||
config bridge-vlan | ||
option device 'br-lan' | ||
option vlan '503' | ||
list ports 'eth0:t' | ||
list ports 'eth1:t' | ||
|
||
config device | ||
option name 'mgmt-br' | ||
option type 'bridge' | ||
option stp '1' | ||
list ports 'br-lan.103' | ||
list ports 'br-lan.503' | ||
|
||
config interface 'mgmt' | ||
option device 'mgmt-br' | ||
option proto 'dhcp' | ||
option reqopts '224 225 226' | ||
|
||
config interface 'mgmt6' | ||
option device '@mgmt' | ||
option proto 'dhcpv6' | ||
option reqprefix 'no' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
config wifi-device 'radio0' | ||
option type 'mac80211' | ||
option path 'platform/soc/18000000.wifi' | ||
option channel '11' | ||
option band '2g' | ||
option htmode 'HT20' | ||
option num_global_macaddr '7' | ||
|
||
config wifi-device 'radio1' | ||
option type 'mac80211' | ||
option path 'platform/soc/18000000.wifi+1' | ||
option channel '36' | ||
option band '5g' | ||
option htmode 'HE80' | ||
option num_global_macaddr '7' | ||
|
||
config wifi-iface 'scaleslow_radio0' | ||
option device 'radio0' | ||
option ssid 'scale-public-slow' | ||
option mode 'ap' | ||
option network 'scaleslow' | ||
option encryption 'psk2' | ||
option key 'penguins' | ||
option disabled '0' | ||
|
||
config wifi-iface 'scalefast_radio1' | ||
option device 'radio1' | ||
option ssid 'scale-public-fast' | ||
option mode 'ap' | ||
option network 'scalefast' | ||
option encryption 'psk2' | ||
option key 'penguins' | ||
option disabled '0' |