From 1c96624b41ffb7b6376f86d2ea23e58c64cbae84 Mon Sep 17 00:00:00 2001 From: 4ndr3 Date: Sat, 22 Aug 2015 23:29:19 +0200 Subject: [PATCH] =?UTF-8?q?Brachvogelweg=5FKern=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Brachvogelweg_Kern/etc/config/network | 119 ++++++++++++++++++ .../Brachvogelweg_Kern/etc/config/wireless | 59 +++++++++ 2 files changed, 178 insertions(+) create mode 100644 Brachvogelweg/Brachvogelweg_Kern/etc/config/network create mode 100644 Brachvogelweg/Brachvogelweg_Kern/etc/config/wireless diff --git a/Brachvogelweg/Brachvogelweg_Kern/etc/config/network b/Brachvogelweg/Brachvogelweg_Kern/etc/config/network new file mode 100644 index 0000000..bdd0c8f --- /dev/null +++ b/Brachvogelweg/Brachvogelweg_Kern/etc/config/network @@ -0,0 +1,119 @@ + +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config globals 'globals' + option ula_prefix 'fde7:b4ed:eb13::/48' + +config interface 'wan6' + option proto 'dhcpv6' + option ifname 'br-wan' + option ip6table '1' + option peerdns '0' + +config switch + option name 'switch0' + option reset '1' + option enable_vlan '1' + +config switch_vlan + option device 'switch0' + option vlan '1' + option ports '0t 3 4 5' + +config switch_vlan + option device 'switch0' + option vlan '2' + option ports '0t 1' + +config switch_vlan + option device 'switch0' + option vlan '3' + option ports '0t 2' + +config interface 'wan' + option igmp_snooping '0' + option ifname 'eth0.2' + option auto '1' + option peerdns '0' + option type 'bridge' + option proto 'dhcp' + option macaddr 'fa:1b:67:ca:84:86' + +config rule6 'wan6_lookup' + option mark '0x01/0x01' + option lookup '1' + +config route6 'wan6_unreachable' + option type 'unreachable' + option table '1' + option target '::/0' + option metric '65535' + option gateway '::' + option interface 'loopback' + +config interface 'client' + option reqprefix 'no' + option ifname 'eth0.1 bat0' + option proto 'dhcpv6' + option type 'bridge' + option igmp_snooping '0' + option macaddr 'f8:1a:67:ca:84:86' + option peerdns '1' + +config interface 'bat0' + option ifname 'bat0' + option macaddr 'f8:1a:67:ca:84:86' + option proto 'none' + +config interface 'mesh_radio0' + option mesh 'bat0' + option proto 'batadv' + option mtu '1528' + +config interface 'mesh_radio1' + option mesh 'bat0' + option proto 'batadv' + option mtu '1528' + +config interface 'mesh_wan' + option auto '0' + option ifname 'br-wan' + option mesh 'bat0' + option proto 'batadv' + +config interface 'mesh_lan' + option ifname 'eth0.3' + option macaddr 'fa:1b:68:ca:84:86' + option mesh 'bat0' + option proto 'batadv' + option auto '1' + +config interface 'mesh_vpn' + option ifname 'mesh-vpn' + option mesh_no_rebroadcast '1' + option macaddr 'fa:1e:67:ca:84:86' + option mesh 'bat0' + option proto 'batadv' + +config device 'local_node_dev' + option macaddr '16:41:95:40:f7:dc' + option ifname 'br-client' + option name 'local-node' + option type 'macvlan' + +config interface 'local_node' + option ifname 'local-node' + option ipaddr '10.112.0.1' + option ip6addr '2a03:2267::1/128' + option netmask '255.255.192.0' + option proto 'static' + +config route6 'local_node_route6' + option target '2a03:2267::/64' + option gateway '::' + option interface 'client' + diff --git a/Brachvogelweg/Brachvogelweg_Kern/etc/config/wireless b/Brachvogelweg/Brachvogelweg_Kern/etc/config/wireless new file mode 100644 index 0000000..3d5359a --- /dev/null +++ b/Brachvogelweg/Brachvogelweg_Kern/etc/config/wireless @@ -0,0 +1,59 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11g' + option path 'platform/ar934x_wmac' + option htmode 'HT20' + option channel '1' + option country 'DE' + option disabled '1' + +config wifi-device 'radio1' + option type 'mac80211' + option hwmode '11a' + option path 'pci0000:00/0000:00:00.0' + option channel '44' + option htmode 'HT40+' + option country 'DE' + option disabled '1' + +config wifi-iface 'client_radio0' + option ifname 'client0' + option network 'client' + option disabled '0' + option device 'radio0' + option mode 'ap' + option macaddr 'fa:1c:68:ca:84:86' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option ifname 'mesh0' + option network 'mesh_radio0' + option device 'radio0' + option bssid 'f8:d1:11:87:52:2e' + option disabled '0' + option mcast_rate '12000' + option mode 'adhoc' + option macaddr 'fa:1d:68:ca:84:86' + option ssid 'f8:d1:11:87:52:2e' + +config wifi-iface 'client_radio1' + option ifname 'client1' + option network 'client' + option disabled '0' + option device 'radio1' + option mode 'ap' + option macaddr 'fa:1c:69:ca:84:86' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio1' + option ifname 'mesh1' + option network 'mesh_radio1' + option device 'radio1' + option bssid 'f8:d1:11:87:52:2e' + option disabled '0' + option mcast_rate '12000' + option mode 'adhoc' + option macaddr 'fa:1d:69:ca:84:86' + option ssid 'f8:d1:11:87:52:2e' +