Add linksys base mixin
This commit is contained in:
parent
7be9f638a8
commit
9520014932
|
@ -0,0 +1,44 @@
|
|||
config system
|
||||
option hostname '<hostname>'
|
||||
option zonename 'Europe/Sofia'
|
||||
option timezone 'EET-2EEST,M3.5.0/3,M10.5.0/4'
|
||||
option log_ip '10.20.0.1'
|
||||
option log_remote '1'
|
||||
option ttylogin '0'
|
||||
option log_size '64'
|
||||
option urandom_seed '0'
|
||||
|
||||
config timeserver 'ntp'
|
||||
option enabled '1'
|
||||
option enable_server '0'
|
||||
list server '0.lede.pool.ntp.org'
|
||||
list server '1.lede.pool.ntp.org'
|
||||
list server '2.lede.pool.ntp.org'
|
||||
list server '3.lede.pool.ntp.org'
|
||||
|
||||
config led 'led_wan'
|
||||
option name 'WAN'
|
||||
option sysfs 'pca963x:shelby:white:wan'
|
||||
option trigger 'netdev'
|
||||
option mode 'link tx rx'
|
||||
option dev 'eth0'
|
||||
|
||||
config led 'led_usb2'
|
||||
option name 'USB2'
|
||||
option sysfs 'pca963x:shelby:white:usb2'
|
||||
option trigger 'usbdev'
|
||||
option interval '50'
|
||||
option dev '1-1'
|
||||
|
||||
config led 'led_usb3'
|
||||
option name 'USB3'
|
||||
option sysfs 'pca963x:shelby:white:usb3_1'
|
||||
option trigger 'usbdev'
|
||||
option interval '50'
|
||||
option dev '2-1'
|
||||
|
||||
config led 'led_power'
|
||||
option name 'POWER'
|
||||
option sysfs 'shelby:white:power'
|
||||
option trigger 'heartbeat'
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
config wifi-device radio0
|
||||
option type mac80211
|
||||
option hwmode 11a
|
||||
option path 'soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0'
|
||||
# option channel <radio0-channel>
|
||||
# option txpower '30'
|
||||
option htmode VHT80
|
||||
option distance '20'
|
||||
list basic_rate '54000'
|
||||
option require_mode 'n'
|
||||
option log_level '-1'
|
||||
option country 'BG'
|
||||
option country_ie '1'
|
||||
option doth '1'
|
||||
|
||||
config wifi-iface
|
||||
option device radio0
|
||||
option network 'wireless'
|
||||
option mode 'ap'
|
||||
option ssid 'OpenFest'
|
||||
option encryption 'none'
|
||||
# option macaddr '<wlan0-macaddr>'
|
||||
option isolate '1'
|
||||
option iapp_interface 'management'
|
||||
option wnm_sleep_mode 1
|
||||
option proxy_arp 1
|
||||
|
||||
config wifi-device radio1
|
||||
option type mac80211
|
||||
option hwmode 11g
|
||||
option path 'soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0'
|
||||
# option channel <radio1-channel>
|
||||
# option txpower '20'
|
||||
option htmode 'HT20'
|
||||
option distance '20'
|
||||
list basic_rate '54000'
|
||||
option require_mode 'g'
|
||||
option beacon_int 250
|
||||
option log_level '-1'
|
||||
option country 'BG'
|
||||
option country_ie '1'
|
||||
|
||||
config wifi-iface
|
||||
option device radio1
|
||||
option network 'wireless'
|
||||
option mode 'ap'
|
||||
option ssid 'OpenFest'
|
||||
option encryption 'none'
|
||||
# option macaddr '<wlan1-macaddr>'
|
||||
option isolate '1'
|
||||
option iapp_interface 'management'
|
||||
option wnm_sleep_mode 1
|
||||
option proxy_arp 1
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
# Put your custom commands here that should be executed once
|
||||
# the system init finished. By default this file does nothing.
|
||||
|
||||
/usr/sbin/ebtables -A FORWARD -i wlan+ -o wlan+ -j DROP
|
||||
/usr/sbin/ebtables -A FORWARD -i wlan+ -s 00:1e:0b:d9:bb:6a -j DROP
|
||||
/usr/sbin/ebtables -A FORWARD -i eth+ -o wlan+ -s ! 00:1e:0b:d9:bb:6a -j DROP
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue