Last year's configs
This commit is contained in:
parent
a266cbe8bd
commit
8c1d3fd437
16
Rakefile
16
Rakefile
|
@ -19,7 +19,7 @@ def wifi(name)
|
||||||
wlan_config.sub!("<radio#{id}-channel>", wlan['channel'].to_s)
|
wlan_config.sub!("<radio#{id}-channel>", wlan['channel'].to_s)
|
||||||
wlan_config.sub!("<wlan#{id}-macaddr>", wlan['bssid'].to_s)
|
wlan_config.sub!("<wlan#{id}-macaddr>", wlan['bssid'].to_s)
|
||||||
end
|
end
|
||||||
wlan_config.gsub!("# option channel", " option channel")
|
#wlan_config.gsub!("# option channel", " option channel")
|
||||||
wlan_config.gsub!("# option macaddr", " option macaddr")
|
wlan_config.gsub!("# option macaddr", " option macaddr")
|
||||||
|
|
||||||
File.open(config_path, 'w') do |f|
|
File.open(config_path, 'w') do |f|
|
||||||
|
@ -32,9 +32,14 @@ def hostname(name)
|
||||||
`sed -i "s/<hostname>/#{name}/g" #{OUT_DIR}/#{name}/files/etc/collectd.conf`
|
`sed -i "s/<hostname>/#{name}/g" #{OUT_DIR}/#{name}/files/etc/collectd.conf`
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def ip(name)
|
||||||
|
ip = CONFIGURATIONS[name]['ip']
|
||||||
|
`sed -i "s/<ip>/#{ip}/g" #{OUT_DIR}/#{name}/files/etc/config/network`
|
||||||
|
end
|
||||||
|
|
||||||
def config(name)
|
def config(name)
|
||||||
config = CONFIGURATIONS[name]['config']
|
config = CONFIGURATIONS[name]['config']
|
||||||
`cp #{File.join(CONFIG_DIR, "%s.configdiff" % config)} #{File.join(OUT_DIR, name)}`
|
`cp #{File.join(CONFIG_DIR, "%s.configdiff" % config)} #{File.join(OUT_DIR, name, '.config')}`
|
||||||
end
|
end
|
||||||
|
|
||||||
def outdir(name)
|
def outdir(name)
|
||||||
|
@ -46,10 +51,15 @@ task :ap, [:name] do |t, args|
|
||||||
mixins args.name
|
mixins args.name
|
||||||
hostname args.name
|
hostname args.name
|
||||||
wifi args.name
|
wifi args.name
|
||||||
|
ip args.name
|
||||||
|
config args.name
|
||||||
end
|
end
|
||||||
|
|
||||||
task :all do
|
task :all do
|
||||||
aps = %W(ap-bulgaria-1-ac ap-bulgaria-2-ac ap-bulgaria-3-ac ap-chamber-1-ac ap-chamber-2-ac ap-marble-1-ac ap-music-1-ac)
|
aps = %W(ap-bulgaria-1-ac ap-bulgaria-2-ac ap-bulgaria-3-ac ap-chamber-1-ac ap-chamber-2-ac ap-marble-1-ac ap-music-1-ac ap-lobby1-1-an ap-lobby1-2-legacy)
|
||||||
|
aps = %W(ap-lobby1-3-an)
|
||||||
|
aps = %W(ap-lobby2-1-an)
|
||||||
|
aps = %W(ap-bulgaria-4-legacy)
|
||||||
|
|
||||||
aps.each do |ap|
|
aps.each do |ap|
|
||||||
Rake::Task["ap"].reenable
|
Rake::Task["ap"].reenable
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
configurations:
|
configurations:
|
||||||
ap-bulgaria-1-ac:
|
ap-bulgaria-1-ac:
|
||||||
config: archer-c5
|
config: archer-c5
|
||||||
|
ip: 10.100.0.200
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:00
|
bssid: 02:00:0f:20:15:00
|
||||||
|
@ -15,6 +16,7 @@ configurations:
|
||||||
- archer-c5-dual-trunk
|
- archer-c5-dual-trunk
|
||||||
ap-bulgaria-2-ac:
|
ap-bulgaria-2-ac:
|
||||||
config: archer-c5
|
config: archer-c5
|
||||||
|
ip: 10.100.0.201
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:10
|
bssid: 02:00:0f:20:15:10
|
||||||
|
@ -28,6 +30,7 @@ configurations:
|
||||||
- archer-c5-dual-trunk
|
- archer-c5-dual-trunk
|
||||||
ap-bulgaria-3-ac:
|
ap-bulgaria-3-ac:
|
||||||
config: archer-c5
|
config: archer-c5
|
||||||
|
ip: 10.100.0.202
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:20
|
bssid: 02:00:0f:20:15:20
|
||||||
|
@ -41,14 +44,17 @@ configurations:
|
||||||
- archer-c5-triple-trunk
|
- archer-c5-triple-trunk
|
||||||
ap-bulgaria-4-legacy:
|
ap-bulgaria-4-legacy:
|
||||||
config: wr1043-nd
|
config: wr1043-nd
|
||||||
|
ip: 10.100.0.203
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:30
|
bssid: 02:00:0f:20:15:30
|
||||||
channel: 5
|
channel: 5
|
||||||
mixins:
|
mixins:
|
||||||
- all
|
- all
|
||||||
|
- wr-1043nd
|
||||||
ap-chamber-1-ac:
|
ap-chamber-1-ac:
|
||||||
config: archer-c5
|
config: archer-c5
|
||||||
|
ip: 10.100.0.204
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:40
|
bssid: 02:00:0f:20:15:40
|
||||||
|
@ -62,6 +68,7 @@ configurations:
|
||||||
- archer-c5-single-trunk
|
- archer-c5-single-trunk
|
||||||
ap-chamber-2-ac:
|
ap-chamber-2-ac:
|
||||||
config: archer-c5
|
config: archer-c5
|
||||||
|
ip: 10.100.0.205
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:50
|
bssid: 02:00:0f:20:15:50
|
||||||
|
@ -75,6 +82,7 @@ configurations:
|
||||||
- archer-c5-single-trunk
|
- archer-c5-single-trunk
|
||||||
ap-music-1-ac:
|
ap-music-1-ac:
|
||||||
config: archer-c5
|
config: archer-c5
|
||||||
|
ip: 10.100.0.206
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:60
|
bssid: 02:00:0f:20:15:60
|
||||||
|
@ -88,6 +96,7 @@ configurations:
|
||||||
- archer-c5-single-trunk
|
- archer-c5-single-trunk
|
||||||
ap-marble-1-ac:
|
ap-marble-1-ac:
|
||||||
config: archer-c5
|
config: archer-c5
|
||||||
|
ip: 10.100.0.207
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:70
|
bssid: 02:00:0f:20:15:70
|
||||||
|
@ -101,6 +110,7 @@ configurations:
|
||||||
- archer-c5-single-trunk
|
- archer-c5-single-trunk
|
||||||
ap-lobby1-1-an:
|
ap-lobby1-1-an:
|
||||||
config: wdr4300
|
config: wdr4300
|
||||||
|
ip: 10.100.0.208
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:80
|
bssid: 02:00:0f:20:15:80
|
||||||
|
@ -114,15 +124,17 @@ configurations:
|
||||||
- wdr-4300-single-trunk
|
- wdr-4300-single-trunk
|
||||||
ap-lobby1-2-legacy:
|
ap-lobby1-2-legacy:
|
||||||
config: rs
|
config: rs
|
||||||
|
ip: 10.100.0.209
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:90
|
bssid: 02:00:0f:20:15:90
|
||||||
channel: 5
|
channel: 5
|
||||||
mixins:
|
mixins:
|
||||||
- all
|
- all
|
||||||
- legacy-normal
|
- rs
|
||||||
ap-lobby1-3-an:
|
ap-lobby1-3-an:
|
||||||
config: wdr4300
|
config: wdr4300
|
||||||
|
ip: 10.100.0.210
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:a0
|
bssid: 02:00:0f:20:15:a0
|
||||||
|
@ -136,6 +148,7 @@ configurations:
|
||||||
- wdr-4300-single-trunk
|
- wdr-4300-single-trunk
|
||||||
ap-lobby2-1-an:
|
ap-lobby2-1-an:
|
||||||
config: wdr4300
|
config: wdr4300
|
||||||
|
ip: 10.100.0.211
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:b0
|
bssid: 02:00:0f:20:15:b0
|
||||||
|
@ -146,18 +159,19 @@ configurations:
|
||||||
mixins:
|
mixins:
|
||||||
- all
|
- all
|
||||||
- wdr-4300
|
- wdr-4300
|
||||||
- wdr-4300-dual-trunk
|
- wdr-4300-single-trunk
|
||||||
ap-lobby2-2-legacy:
|
ap-lobby2-2-legacy:
|
||||||
config: wr841nd
|
config: wr841nd
|
||||||
|
ip: 10.100.0.212
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:c0
|
bssid: 02:00:0f:20:15:c0
|
||||||
channel: 5
|
channel: 5
|
||||||
mixins:
|
mixins:
|
||||||
- all
|
- all
|
||||||
- legacy-small
|
|
||||||
ap-lobby2-3-an:
|
ap-lobby2-3-an:
|
||||||
config: wdr4300
|
config: wdr4300
|
||||||
|
ip: 10.100.0.213
|
||||||
wlans:
|
wlans:
|
||||||
0:
|
0:
|
||||||
bssid: 02:00:0f:20:15:d0
|
bssid: 02:00:0f:20:15:d0
|
||||||
|
@ -168,4 +182,4 @@ configurations:
|
||||||
mixins:
|
mixins:
|
||||||
- all
|
- all
|
||||||
- wdr-4300
|
- wdr-4300
|
||||||
- wdr-4300-single-trunk
|
- wdr-4300-single-trunk
|
||||||
|
|
|
@ -6,7 +6,11 @@ config interface 'loopback'
|
||||||
|
|
||||||
config interface 'management'
|
config interface 'management'
|
||||||
option ifname 'eth0'
|
option ifname 'eth0'
|
||||||
option proto 'dhcp'
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
option ipv6 'no'
|
option ipv6 'no'
|
||||||
|
|
||||||
config interface 'wireless'
|
config interface 'wireless'
|
||||||
|
|
|
@ -6,7 +6,11 @@ config interface 'loopback'
|
||||||
|
|
||||||
config interface 'management'
|
config interface 'management'
|
||||||
option ifname 'eth0'
|
option ifname 'eth0'
|
||||||
option proto 'dhcp'
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
option ipv6 'no'
|
option ipv6 'no'
|
||||||
|
|
||||||
config interface 'wireless'
|
config interface 'wireless'
|
||||||
|
|
|
@ -6,7 +6,11 @@ config interface 'loopback'
|
||||||
|
|
||||||
config interface 'management'
|
config interface 'management'
|
||||||
option ifname 'eth0'
|
option ifname 'eth0'
|
||||||
option proto 'dhcp'
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
option ipv6 'no'
|
option ipv6 'no'
|
||||||
|
|
||||||
config interface 'wireless'
|
config interface 'wireless'
|
||||||
|
|
|
@ -0,0 +1,22 @@
|
||||||
|
|
||||||
|
config interface 'loopback'
|
||||||
|
option ifname 'lo'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '127.0.0.1'
|
||||||
|
option netmask '255.0.0.0'
|
||||||
|
|
||||||
|
config interface 'management'
|
||||||
|
option ifname 'eth0.100'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
|
option ipv6 'no'
|
||||||
|
|
||||||
|
config interface 'wireless'
|
||||||
|
option ifname 'eth1.102'
|
||||||
|
option proto 'none'
|
||||||
|
option ipv6 'no'
|
||||||
|
option force_link '1'
|
||||||
|
option type 'bridge'
|
|
@ -0,0 +1,15 @@
|
||||||
|
|
||||||
|
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.100.0.1'
|
||||||
|
option log_remote '1'
|
||||||
|
|
||||||
|
config timeserver 'ntp'
|
||||||
|
list server '0.openwrt.pool.ntp.org'
|
||||||
|
list server '1.openwrt.pool.ntp.org'
|
||||||
|
list server '2.openwrt.pool.ntp.org'
|
||||||
|
list server '3.openwrt.pool.ntp.org'
|
||||||
|
option enabled '1'
|
||||||
|
option enable_server '0'
|
|
@ -0,0 +1,27 @@
|
||||||
|
config wifi-device 'radio0'
|
||||||
|
option type 'mac80211'
|
||||||
|
option hwmode '11g'
|
||||||
|
option path 'pci0000:00/0000:00:12.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'
|
||||||
|
# option doth '1'
|
||||||
|
# option pwr_constraint 4
|
||||||
|
# option spectrum_mgmt 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'
|
|
@ -0,0 +1,41 @@
|
||||||
|
config interface 'loopback'
|
||||||
|
option ifname 'lo'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '127.0.0.1'
|
||||||
|
option netmask '255.0.0.0'
|
||||||
|
|
||||||
|
config interface 'management'
|
||||||
|
option ifname 'eth0.100'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
|
option ipv6 'no'
|
||||||
|
|
||||||
|
config interface 'wireless'
|
||||||
|
option ifname 'eth0.102'
|
||||||
|
option proto 'none'
|
||||||
|
option ipv6 'no'
|
||||||
|
option force_link '1'
|
||||||
|
option type 'bridge'
|
||||||
|
|
||||||
|
config switch
|
||||||
|
option name 'switch0'
|
||||||
|
option reset '1'
|
||||||
|
option enable_vlan '1'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '25'
|
||||||
|
option ports '0 1 2'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '100'
|
||||||
|
option ports '0t 1t 2t'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '102'
|
||||||
|
option ports '0 1t 2t'
|
|
@ -0,0 +1,43 @@
|
||||||
|
|
||||||
|
|
||||||
|
config interface 'loopback'
|
||||||
|
option ifname 'lo'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '127.0.0.1'
|
||||||
|
option netmask '255.0.0.0'
|
||||||
|
|
||||||
|
config interface 'management'
|
||||||
|
option ifname 'eth0.100'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
|
option ipv6 'no'
|
||||||
|
|
||||||
|
config interface 'wireless'
|
||||||
|
option ifname 'eth0.102'
|
||||||
|
option proto 'none'
|
||||||
|
option ipv6 'no'
|
||||||
|
option force_link '1'
|
||||||
|
option type 'bridge'
|
||||||
|
|
||||||
|
config switch
|
||||||
|
option name 'switch0'
|
||||||
|
option reset '1'
|
||||||
|
option enable_vlan '1'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '25'
|
||||||
|
option ports '0 1'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '100'
|
||||||
|
option ports '0t 1t'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '102'
|
||||||
|
option ports '0t 1t'
|
|
@ -0,0 +1,42 @@
|
||||||
|
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.100.0.1'
|
||||||
|
option log_remote '1'
|
||||||
|
|
||||||
|
config timeserver 'ntp'
|
||||||
|
list server '0.openwrt.pool.ntp.org'
|
||||||
|
list server '1.openwrt.pool.ntp.org'
|
||||||
|
list server '2.openwrt.pool.ntp.org'
|
||||||
|
list server '3.openwrt.pool.ntp.org'
|
||||||
|
option enabled '1'
|
||||||
|
option enable_server '0'
|
||||||
|
|
||||||
|
config led 'led_usb1'
|
||||||
|
option name 'USB1'
|
||||||
|
option sysfs 'tp-link:blue:qss'
|
||||||
|
option trigger 'usbdev'
|
||||||
|
option dev '1-1.1'
|
||||||
|
option interval '50'
|
||||||
|
option default '0'
|
||||||
|
|
||||||
|
config led 'led_usb2'
|
||||||
|
option name 'USB2'
|
||||||
|
option sysfs 'tp-link:blue:qss'
|
||||||
|
option trigger 'usbdev'
|
||||||
|
option dev '1-1.2'
|
||||||
|
option interval '50'
|
||||||
|
option default '0'
|
||||||
|
|
||||||
|
config led 'led_wlan2g'
|
||||||
|
option name 'WLAN2G'
|
||||||
|
option sysfs 'tp-link:blue:wlan2g'
|
||||||
|
option trigger 'phy0tpt'
|
||||||
|
option default '0'
|
||||||
|
|
||||||
|
config led 'led_system'
|
||||||
|
option name 'SYSTEM'
|
||||||
|
option sysfs 'tp-link:blue:system'
|
||||||
|
option default '0'
|
||||||
|
option trigger 'heartbeat'
|
|
@ -0,0 +1,53 @@
|
||||||
|
config wifi-device radio0
|
||||||
|
option type mac80211
|
||||||
|
option hwmode 11g
|
||||||
|
option path 'platform/ar934x_wmac'
|
||||||
|
# option channel <radio0-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 '00'
|
||||||
|
# option country_ie '1'
|
||||||
|
# option doth '1'
|
||||||
|
# option pwr_constraint 4
|
||||||
|
# option spectrum_mgmt 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'
|
||||||
|
|
||||||
|
config wifi-device radio1
|
||||||
|
option type mac80211
|
||||||
|
option hwmode 11a
|
||||||
|
option path 'pci0000:00/0000:00:00.0'
|
||||||
|
# option channel <radio1-channel>
|
||||||
|
# option txpower '30'
|
||||||
|
option htmode HT20
|
||||||
|
option distance '20'
|
||||||
|
list basic_rate '54000'
|
||||||
|
option require_mode 'n'
|
||||||
|
option log_level '-1'
|
||||||
|
option country '00'
|
||||||
|
# option country_ie '1'
|
||||||
|
# option doth '1'
|
||||||
|
# option pwr_constraint 0
|
||||||
|
|
||||||
|
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'
|
|
@ -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
|
|
@ -0,0 +1,36 @@
|
||||||
|
config interface 'loopback'
|
||||||
|
option ifname 'lo'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '127.0.0.1'
|
||||||
|
option netmask '255.0.0.0'
|
||||||
|
|
||||||
|
config interface 'management'
|
||||||
|
option ifname 'eth0'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
|
option ipv6 'no'
|
||||||
|
|
||||||
|
config interface 'wireless'
|
||||||
|
option ifname 'eth1'
|
||||||
|
option proto 'none'
|
||||||
|
option ipv6 'no'
|
||||||
|
option force_link '1'
|
||||||
|
option type 'bridge'
|
||||||
|
|
||||||
|
config switch
|
||||||
|
option name 'switch0'
|
||||||
|
option reset '1'
|
||||||
|
option enable_vlan '1'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '100'
|
||||||
|
option ports '5t 6'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '102'
|
||||||
|
option ports '0 5t'
|
|
@ -0,0 +1 @@
|
||||||
|
ignisf@clarity.lan.initlab.org.25878:1446447098
|
|
@ -0,0 +1,36 @@
|
||||||
|
config interface 'loopback'
|
||||||
|
option ifname 'lo'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '127.0.0.1'
|
||||||
|
option netmask '255.0.0.0'
|
||||||
|
|
||||||
|
config interface 'management'
|
||||||
|
option ifname 'eth0'
|
||||||
|
option proto 'static'
|
||||||
|
option ipaddr '<ip>'
|
||||||
|
option netmask '255.255.255.0'
|
||||||
|
option gateway '10.100.0.1'
|
||||||
|
option dns '10.100.0.1'
|
||||||
|
option ipv6 'no'
|
||||||
|
|
||||||
|
config interface 'wireless'
|
||||||
|
option ifname 'eth1'
|
||||||
|
option proto 'none'
|
||||||
|
option ipv6 'no'
|
||||||
|
option force_link '1'
|
||||||
|
option type 'bridge'
|
||||||
|
|
||||||
|
config switch
|
||||||
|
option name 'switch0'
|
||||||
|
option reset '1'
|
||||||
|
option enable_vlan '1'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '100'
|
||||||
|
option ports '1t 6'
|
||||||
|
|
||||||
|
config switch_vlan
|
||||||
|
option device 'switch0'
|
||||||
|
option vlan '102'
|
||||||
|
option ports '0 1t'
|
|
@ -0,0 +1,20 @@
|
||||||
|
|
||||||
|
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.100.0.1'
|
||||||
|
option log_remote '1'
|
||||||
|
|
||||||
|
config timeserver 'ntp'
|
||||||
|
list server '0.openwrt.pool.ntp.org'
|
||||||
|
list server '1.openwrt.pool.ntp.org'
|
||||||
|
list server '2.openwrt.pool.ntp.org'
|
||||||
|
list server '3.openwrt.pool.ntp.org'
|
||||||
|
option enabled '1'
|
||||||
|
option enable_server '0'
|
||||||
|
|
||||||
|
config led 'led_system'
|
||||||
|
option name 'SYSTEM'
|
||||||
|
option sysfs 'tp-link:green:system'
|
||||||
|
option trigger 'heartbeat'
|
|
@ -0,0 +1,27 @@
|
||||||
|
config wifi-device radio0
|
||||||
|
option type mac80211
|
||||||
|
option hwmode 11g
|
||||||
|
option path 'platform/qca955x_wmac'
|
||||||
|
# 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'
|
||||||
|
# option doth '1'
|
||||||
|
# option pwr_constraint 4
|
||||||
|
# option spectrum_mgmt 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'
|
|
@ -0,0 +1,112 @@
|
||||||
|
CONFIG_TARGET_ar71xx=y
|
||||||
|
CONFIG_TARGET_ar71xx_generic=y
|
||||||
|
CONFIG_TARGET_ar71xx_generic_TLWDR4300=y
|
||||||
|
CONFIG_DEVEL=y
|
||||||
|
CONFIG_ATH_USER_REGD=y
|
||||||
|
CONFIG_BWMNG_EXTENDEDSTATS=y
|
||||||
|
CONFIG_BWMNG_TIME=y
|
||||||
|
CONFIG_COLLECT_KERNEL_DEBUG=y
|
||||||
|
CONFIG_DROPBEAR_ECC=y
|
||||||
|
CONFIG_IB=y
|
||||||
|
CONFIG_IMAGEOPT=y
|
||||||
|
# CONFIG_KERNEL_KALLSYMS is not set
|
||||||
|
CONFIG_LUCI_SRCDIET=y
|
||||||
|
CONFIG_MAKE_TOOLCHAIN=y
|
||||||
|
CONFIG_PACKAGE_ATH_DEBUG=y
|
||||||
|
CONFIG_PACKAGE_bmon=y
|
||||||
|
CONFIG_PACKAGE_bwm-ng=y
|
||||||
|
CONFIG_PACKAGE_collectd=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-contextswitch=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-cpu=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-exec=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-interface=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-irq=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-iwinfo=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-load=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-network=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-wireless=y
|
||||||
|
CONFIG_PACKAGE_confuse=y
|
||||||
|
# CONFIG_PACKAGE_dnsmasq is not set
|
||||||
|
CONFIG_PACKAGE_ebtables=y
|
||||||
|
CONFIG_PACKAGE_ebtables-utils=y
|
||||||
|
# CONFIG_PACKAGE_firewall is not set
|
||||||
|
CONFIG_PACKAGE_horst=y
|
||||||
|
CONFIG_PACKAGE_hostapd-utils=y
|
||||||
|
CONFIG_PACKAGE_htop=y
|
||||||
|
# CONFIG_PACKAGE_ip6tables is not set
|
||||||
|
# CONFIG_PACKAGE_iptables is not set
|
||||||
|
CONFIG_PACKAGE_kismet-drone=y
|
||||||
|
CONFIG_PACKAGE_kmod-8021q=y
|
||||||
|
CONFIG_PACKAGE_kmod-bridge=y
|
||||||
|
CONFIG_PACKAGE_kmod-ebtables=y
|
||||||
|
CONFIG_PACKAGE_kmod-ebtables-ipv4=y
|
||||||
|
CONFIG_PACKAGE_kmod-ebtables-ipv6=y
|
||||||
|
# CONFIG_PACKAGE_kmod-ip6tables is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-ipt-nat is not set
|
||||||
|
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
|
||||||
|
CONFIG_PACKAGE_kmod-ledtrig-usbdev=m
|
||||||
|
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
|
||||||
|
CONFIG_PACKAGE_kmod-llc=y
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-nat is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-nathelper is not set
|
||||||
|
CONFIG_PACKAGE_kmod-nls-base=m
|
||||||
|
# CONFIG_PACKAGE_kmod-ppp is not set
|
||||||
|
CONFIG_PACKAGE_kmod-stp=y
|
||||||
|
CONFIG_PACKAGE_kmod-usb-core=m
|
||||||
|
CONFIG_PACKAGE_kmod-usb-ohci=m
|
||||||
|
CONFIG_PACKAGE_kmod-usb2=m
|
||||||
|
CONFIG_PACKAGE_kmod-zd1211rw=m
|
||||||
|
CONFIG_PACKAGE_libcap=y
|
||||||
|
# CONFIG_PACKAGE_libip6tc is not set
|
||||||
|
CONFIG_PACKAGE_libiwinfo-lua=y
|
||||||
|
CONFIG_PACKAGE_libltdl=y
|
||||||
|
CONFIG_PACKAGE_liblua=y
|
||||||
|
CONFIG_PACKAGE_libncurses=y
|
||||||
|
CONFIG_PACKAGE_libnl=y
|
||||||
|
CONFIG_PACKAGE_libpcap=y
|
||||||
|
CONFIG_PACKAGE_libpcre=y
|
||||||
|
CONFIG_PACKAGE_libpthread=y
|
||||||
|
CONFIG_PACKAGE_libubus-lua=y
|
||||||
|
CONFIG_PACKAGE_libuci-lua=y
|
||||||
|
CONFIG_PACKAGE_lua=y
|
||||||
|
CONFIG_PACKAGE_luci-base=y
|
||||||
|
CONFIG_PACKAGE_luci-lib-ip=y
|
||||||
|
CONFIG_PACKAGE_luci-lib-nixio=y
|
||||||
|
CONFIG_PACKAGE_luci-mod-admin-full=y
|
||||||
|
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||||
|
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||||
|
# CONFIG_PACKAGE_odhcpd is not set
|
||||||
|
# CONFIG_PACKAGE_ppp is not set
|
||||||
|
CONFIG_PACKAGE_rpcd=y
|
||||||
|
CONFIG_PACKAGE_strace=y
|
||||||
|
CONFIG_PACKAGE_sudo=y
|
||||||
|
CONFIG_PACKAGE_tcpdump=m
|
||||||
|
CONFIG_PACKAGE_tcpdump-mini=y
|
||||||
|
CONFIG_PACKAGE_terminfo=y
|
||||||
|
CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh=y
|
||||||
|
CONFIG_PACKAGE_uclibcxx=y
|
||||||
|
CONFIG_PACKAGE_uhttpd=y
|
||||||
|
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
||||||
|
CONFIG_PACKAGE_wavemon=y
|
||||||
|
CONFIG_PACKAGE_wifi-sentinel=y
|
||||||
|
CONFIG_PACKAGE_wireless-tools=y
|
||||||
|
CONFIG_PACKAGE_wpad=y
|
||||||
|
# CONFIG_PACKAGE_wpad-mini is not set
|
||||||
|
CONFIG_PACKAGE_zlib=y
|
||||||
|
# CONFIG_PER_FEED_REPO_ADD_COMMENTED is not set
|
||||||
|
CONFIG_SDK=y
|
||||||
|
CONFIG_VERSIONOPT=y
|
||||||
|
CONFIG_VERSION_DIST="OpenFestWrt"
|
||||||
|
CONFIG_VERSION_FILENAMES=y
|
||||||
|
CONFIG_VERSION_HWREV=""
|
||||||
|
CONFIG_VERSION_MANUFACTURER=""
|
||||||
|
CONFIG_VERSION_NICK="Chaos Calmer"
|
||||||
|
CONFIG_VERSION_NUMBER="15.05"
|
||||||
|
CONFIG_VERSION_PRODUCT=""
|
||||||
|
CONFIG_VERSION_REPO="http://downloads.openwrt.org/%n/%v/%S/packages"
|
||||||
|
CONFIG_WPA_SUPPLICANT_INTERNAL=y
|
||||||
|
# CONFIG_IB_STANDALONE is not set
|
|
@ -0,0 +1,108 @@
|
||||||
|
CONFIG_TARGET_ar71xx=y
|
||||||
|
CONFIG_TARGET_ar71xx_generic=y
|
||||||
|
CONFIG_TARGET_ar71xx_generic_TLWR1043=y
|
||||||
|
CONFIG_DEVEL=y
|
||||||
|
CONFIG_ATH_USER_REGD=y
|
||||||
|
CONFIG_BWMNG_EXTENDEDSTATS=y
|
||||||
|
CONFIG_BWMNG_TIME=y
|
||||||
|
CONFIG_COLLECT_KERNEL_DEBUG=y
|
||||||
|
CONFIG_DROPBEAR_ECC=y
|
||||||
|
CONFIG_IMAGEOPT=y
|
||||||
|
# CONFIG_KERNEL_KALLSYMS is not set
|
||||||
|
CONFIG_LUCI_SRCDIET=y
|
||||||
|
CONFIG_PACKAGE_ATH_DEBUG=y
|
||||||
|
CONFIG_PACKAGE_bmon=y
|
||||||
|
CONFIG_PACKAGE_bwm-ng=y
|
||||||
|
CONFIG_PACKAGE_collectd=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-contextswitch=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-cpu=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-exec=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-interface=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-irq=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-iwinfo=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-load=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-network=y
|
||||||
|
CONFIG_PACKAGE_collectd-mod-wireless=y
|
||||||
|
CONFIG_PACKAGE_confuse=y
|
||||||
|
# CONFIG_PACKAGE_dnsmasq is not set
|
||||||
|
CONFIG_PACKAGE_ebtables=y
|
||||||
|
CONFIG_PACKAGE_ebtables-utils=y
|
||||||
|
# CONFIG_PACKAGE_firewall is not set
|
||||||
|
CONFIG_PACKAGE_horst=y
|
||||||
|
CONFIG_PACKAGE_hostapd-utils=y
|
||||||
|
CONFIG_PACKAGE_htop=y
|
||||||
|
# CONFIG_PACKAGE_ip6tables is not set
|
||||||
|
# CONFIG_PACKAGE_iptables is not set
|
||||||
|
CONFIG_PACKAGE_kismet-drone=y
|
||||||
|
CONFIG_PACKAGE_kmod-8021q=y
|
||||||
|
CONFIG_PACKAGE_kmod-bridge=y
|
||||||
|
CONFIG_PACKAGE_kmod-ebtables=y
|
||||||
|
CONFIG_PACKAGE_kmod-ebtables-ipv4=y
|
||||||
|
CONFIG_PACKAGE_kmod-ebtables-ipv6=y
|
||||||
|
# CONFIG_PACKAGE_kmod-ip6tables is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-ipt-conntrack is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-ipt-nat is not set
|
||||||
|
CONFIG_PACKAGE_kmod-ledtrig-heartbeat=y
|
||||||
|
CONFIG_PACKAGE_kmod-ledtrig-usbdev=m
|
||||||
|
# CONFIG_PACKAGE_kmod-lib-crc-ccitt is not set
|
||||||
|
CONFIG_PACKAGE_kmod-llc=y
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-conntrack is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-conntrack6 is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-ipt6 is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-nat is not set
|
||||||
|
# CONFIG_PACKAGE_kmod-nf-nathelper is not set
|
||||||
|
CONFIG_PACKAGE_kmod-nls-base=m
|
||||||
|
# CONFIG_PACKAGE_kmod-ppp is not set
|
||||||
|
CONFIG_PACKAGE_kmod-stp=y
|
||||||
|
CONFIG_PACKAGE_kmod-usb-core=m
|
||||||
|
CONFIG_PACKAGE_kmod-usb-ohci=m
|
||||||
|
CONFIG_PACKAGE_kmod-usb2=m
|
||||||
|
CONFIG_PACKAGE_kmod-zd1211rw=m
|
||||||
|
CONFIG_PACKAGE_libcap=y
|
||||||
|
# CONFIG_PACKAGE_libip6tc is not set
|
||||||
|
CONFIG_PACKAGE_libiwinfo-lua=y
|
||||||
|
CONFIG_PACKAGE_libltdl=y
|
||||||
|
CONFIG_PACKAGE_liblua=y
|
||||||
|
CONFIG_PACKAGE_libncurses=y
|
||||||
|
CONFIG_PACKAGE_libnl=y
|
||||||
|
CONFIG_PACKAGE_libpcap=y
|
||||||
|
CONFIG_PACKAGE_libpcre=y
|
||||||
|
CONFIG_PACKAGE_libpthread=y
|
||||||
|
CONFIG_PACKAGE_libubus-lua=y
|
||||||
|
CONFIG_PACKAGE_libuci-lua=y
|
||||||
|
CONFIG_PACKAGE_lua=y
|
||||||
|
CONFIG_PACKAGE_luci-base=y
|
||||||
|
CONFIG_PACKAGE_luci-lib-ip=y
|
||||||
|
CONFIG_PACKAGE_luci-lib-nixio=y
|
||||||
|
CONFIG_PACKAGE_luci-mod-admin-full=y
|
||||||
|
CONFIG_PACKAGE_luci-proto-ipv6=y
|
||||||
|
CONFIG_PACKAGE_luci-theme-bootstrap=y
|
||||||
|
# CONFIG_PACKAGE_odhcpd is not set
|
||||||
|
# CONFIG_PACKAGE_ppp is not set
|
||||||
|
CONFIG_PACKAGE_rpcd=y
|
||||||
|
CONFIG_PACKAGE_strace=y
|
||||||
|
CONFIG_PACKAGE_sudo=y
|
||||||
|
CONFIG_PACKAGE_tcpdump=m
|
||||||
|
CONFIG_PACKAGE_tcpdump-mini=y
|
||||||
|
CONFIG_PACKAGE_terminfo=y
|
||||||
|
CONFIG_PACKAGE_uboot-ar71xx-nbg460n_550n_550nh=y
|
||||||
|
CONFIG_PACKAGE_uclibcxx=y
|
||||||
|
CONFIG_PACKAGE_uhttpd=y
|
||||||
|
CONFIG_PACKAGE_uhttpd-mod-ubus=y
|
||||||
|
CONFIG_PACKAGE_wavemon=y
|
||||||
|
CONFIG_PACKAGE_wifi-sentinel=y
|
||||||
|
CONFIG_PACKAGE_wireless-tools=y
|
||||||
|
CONFIG_PACKAGE_wpad=y
|
||||||
|
# CONFIG_PACKAGE_wpad-mini is not set
|
||||||
|
CONFIG_PACKAGE_zlib=y
|
||||||
|
# CONFIG_PER_FEED_REPO_ADD_COMMENTED is not set
|
||||||
|
CONFIG_VERSIONOPT=y
|
||||||
|
CONFIG_VERSION_DIST="OpenFestWrt"
|
||||||
|
CONFIG_VERSION_FILENAMES=y
|
||||||
|
CONFIG_VERSION_HWREV=""
|
||||||
|
CONFIG_VERSION_MANUFACTURER=""
|
||||||
|
CONFIG_VERSION_NICK="Chaos Calmer"
|
||||||
|
CONFIG_VERSION_NUMBER="15.05"
|
||||||
|
CONFIG_VERSION_PRODUCT=""
|
||||||
|
CONFIG_VERSION_REPO="http://downloads.openwrt.org/%n/%v/%S/packages"
|
||||||
|
CONFIG_WPA_SUPPLICANT_INTERNAL=y
|
Loading…
Reference in New Issue