From 771e66b52ec6ea76a8556cd57919a64cdb532464 Mon Sep 17 00:00:00 2001 From: 4ndr3 Date: Mon, 7 Nov 2016 23:58:02 +0100 Subject: [PATCH] =?UTF-8?q?bb-pgkaltona-kern=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bb-pgkaltona-kern/etc/config/batman-adv | 7 + .../bb-pgkaltona-kern/etc/config/network | 159 ++++++++++++++++++ .../bb-pgkaltona-kern/etc/config/wireless | 29 ++++ 3 files changed, 195 insertions(+) create mode 100644 Richtfunk/bb-pgkaltona-kern/etc/config/batman-adv create mode 100644 Richtfunk/bb-pgkaltona-kern/etc/config/network create mode 100644 Richtfunk/bb-pgkaltona-kern/etc/config/wireless diff --git a/Richtfunk/bb-pgkaltona-kern/etc/config/batman-adv b/Richtfunk/bb-pgkaltona-kern/etc/config/batman-adv new file mode 100644 index 0000000..746ebd1 --- /dev/null +++ b/Richtfunk/bb-pgkaltona-kern/etc/config/batman-adv @@ -0,0 +1,7 @@ + +config mesh 'bat0' + option gw_mode 'client' + option orig_interval '5000' + option hop_penalty '1' + option multicast_mode '0' + diff --git a/Richtfunk/bb-pgkaltona-kern/etc/config/network b/Richtfunk/bb-pgkaltona-kern/etc/config/network new file mode 100644 index 0000000..2a1d418 --- /dev/null +++ b/Richtfunk/bb-pgkaltona-kern/etc/config/network @@ -0,0 +1,159 @@ + +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 'fd58:831a:b3b4::/48' + +config interface 'wan6' + option proto 'dhcpv6' + option sourcefilter '0' + 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 1 2 3' + +config switch_vlan + option device 'switch0' + option vlan '2' + option ports '5 6' + +config switch_vlan + option device 'switch0' + option vlan '5' + option ports '0t 4t' + +config switch_vlan + option device 'switch0' + option vlan '10' + option ports '0t 4t' + +config switch_vlan + option device 'switch0' + option vlan '21' + option ports '0t 4t' + +config switch_vlan + option device 'switch0' + option vlan '31' + option ports '0t 4t' + +config interface 'vlan5' + option proto 'static' + option ifname 'eth1.5' + option ipaddr '192.168.112.48' + option netmask '255.255.255.0' + +config interface 'vlan10' + option proto 'batadv' + option mesh 'bat0' + option mesh_no_rebroadcast '1' + option ifname 'eth1.10' + option macaddr 'de:ad:be:ef:90:20' + +config interface 'vlan21' + option proto 'batadv' + option mesh 'bat0' + option mesh_no_rebroadcast '1' + option ifname 'eth1.21' + option macaddr 'de:ad:be:ef:90:21' + +config interface 'vlan31' + option proto 'batadv' + option mesh 'bat0' + option mesh_no_rebroadcast '1' + option ifname 'eth1.31' + option macaddr 'de:ad:be:ef:90:22' + +config interface 'wan' + option igmp_snooping '0' + option ifname 'eth0' + option auto '1' + option peerdns '0' + option type 'bridge' + option proto 'dhcp' + option macaddr 'ee:09:6b:a4:d0:76' + +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 type 'bridge' + option macaddr 'ec:08:6b:a4:d0:76' + list ifname 'bat0' + list ifname 'eth1.1' + option proto 'dhcpv6' + option reqprefix 'no' + option igmp_snooping '0' + option peerdns '1' + option sourcefilter '0' + +config interface 'bat0' + option ifname 'bat0' + option macaddr 'ec:08:6b:a4:d0:76' + option proto 'none' + +config interface 'ibss_radio0' + 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 'eth1' + option auto '0' + option macaddr 'ee:09:6c:a4:d0:76' + option mesh 'bat0' + option proto 'batadv' + +config interface 'mesh_vpn' + option ifname 'mesh-vpn' + option mesh_no_rebroadcast '1' + option macaddr 'ee:0c:6b:a4:d0:76' + 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/Richtfunk/bb-pgkaltona-kern/etc/config/wireless b/Richtfunk/bb-pgkaltona-kern/etc/config/wireless new file mode 100644 index 0000000..f2fbe3a --- /dev/null +++ b/Richtfunk/bb-pgkaltona-kern/etc/config/wireless @@ -0,0 +1,29 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11g' + option path 'platform/qca955x_wmac' + option htmode 'HT20' + option channel '1' + option country 'DE' + +config wifi-iface 'client_radio0' + option ifname 'client0' + option network 'client' + option disabled '1' + option device 'radio0' + option mode 'ap' + option macaddr 'ee:0a:6c:a4:d0:76' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'ibss_radio0' + option ifname 'ibss0' + option network 'ibss_radio0' + option device 'radio0' + option bssid 'f8:d1:11:87:52:2e' + option disabled '1' + option mcast_rate '12000' + option mode 'adhoc' + option macaddr 'ee:0b:6c:a4:d0:76' + option ssid 'f8:d1:11:87:52:2e' +