From f9145183e14957d276b4741975fe17e974eaf3e9 Mon Sep 17 00:00:00 2001 From: 4ndr3 Date: Fri, 10 Apr 2015 17:20:37 +0200 Subject: [PATCH] bb-flora-uplink mesh on LAN aktiviert --- Richtfunk/bb-flora-uplink/etc/config/network | 117 ++++++++++++++++++ .../etc/config/wireless | 31 +++++ 2 files changed, 148 insertions(+) create mode 100644 Richtfunk/bb-flora-uplink/etc/config/network create mode 100644 Rickmer-Rickmers/Rickmer-Rickmer-Werkstatt/etc/config/wireless diff --git a/Richtfunk/bb-flora-uplink/etc/config/network b/Richtfunk/bb-flora-uplink/etc/config/network new file mode 100644 index 0000000..d548c9e --- /dev/null +++ b/Richtfunk/bb-flora-uplink/etc/config/network @@ -0,0 +1,117 @@ + +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 'fde5:7d91:be8c::/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 2 3 4 5' + +config switch_vlan + option device 'switch0' + option vlan '2' + option ports '0t 1' + +config interface 'wan' + option peerdns '0' + option ifname 'eth0.2' + option auto '1' + option type 'bridge' + option proto 'dhcp' + option macaddr 'ea:95:f6:cd:6c:66' + +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 proto 'dhcpv6' + option type 'bridge' + option igmp_snooping '0' + option macaddr 'e8:94:f6:cd:6c:66' + option peerdns '1' + option ifname 'bat0' + +config interface 'bat0' + option ifname 'bat0' + option macaddr 'e8:94:f6:cd:6c:66' + option proto 'none' + +config interface 'mesh_radio0' + option proto 'batadv' + option mesh 'bat0' + option mtu '1528' + +config interface 'mesh_radio1' + option proto 'batadv' + option mesh 'bat0' + option mtu '1528' + +config interface 'mesh_wan' + option auto '0' + option ifname 'br-wan' + option mesh 'bat0' + option proto 'batadv' + +config interface 'mesh_vpn' + option ifname 'mesh-vpn' + option mesh_no_rebroadcast '1' + option macaddr 'ea:98:f6:cd:6c:66' + 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.255.255' + option proto 'static' + +config route 'local_node_route4' + option target '10.112.0.0' + option gateway '0.0.0.0' + option netmask '255.255.192.0' + option interface 'client' + +config route6 'local_node_route6' + option target '2a03:2267::/64' + option gateway '::' + option interface 'client' + +config interface 'mesh_lan' + option ifname 'eth0.1' + option mesh 'bat0' + option proto 'batadv' + diff --git a/Rickmer-Rickmers/Rickmer-Rickmer-Werkstatt/etc/config/wireless b/Rickmer-Rickmers/Rickmer-Rickmer-Werkstatt/etc/config/wireless new file mode 100644 index 0000000..84e99dc --- /dev/null +++ b/Rickmer-Rickmers/Rickmer-Rickmer-Werkstatt/etc/config/wireless @@ -0,0 +1,31 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'platform/qca953x_wmac' + list ht_capab 'LDPC' + list ht_capab 'SHORT-GI-20' + list ht_capab 'SHORT-GI-40' + list ht_capab 'TX-STBC' + list ht_capab 'RX-STBC1' + list ht_capab 'DSSS_CCK-40' + option channel '9' + option country 'DE' + option htmode 'HT20' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr 'ea:96:f7:0c:ad:62' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr 'ea:97:f7:0c:ad:62' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + option disabled '1'