From e289fd68790063167052ed77b16ac160939899e4 Mon Sep 17 00:00:00 2001 From: 4ndr3 Date: Mon, 23 Feb 2015 23:41:36 +0100 Subject: [PATCH] erster commit --- .gitignore | 1 + Kampnagel/Kampnagel_01/etc/config/wireless | 31 ++++ Kampnagel/Kampnagel_02/etc/config/wireless | 31 ++++ Kampnagel/Kampnagel_03/etc/config/wireless | 31 ++++ Kampnagel/Kampnagel_04/etc/config/wireless | 31 ++++ Kampnagel/Kampnagel_Uplink/etc/config/network | 114 +++++++++++++ .../Kampnagel_Uplink/etc/config/wireless | 63 +++++++ Kampnagel/README | 1 + .../Nochtspeicher_01/etc/config/wireless | 51 ++++++ .../Nochtspeicher_02/etc/config/wireless | 51 ++++++ .../Nochtspeicher_Uplink/etc/config/network | 117 +++++++++++++ Nochtspeicher/README | 1 + Richtfunk/NSM2/etc/rc.local | 8 + Richtfunk/README | 1 + .../bb-esmarch95-27-nsm2/etc/config/wireless | 30 ++++ .../bb-esmarch95-kern/etc/config/network | 158 ++++++++++++++++++ .../bb-esmarch95-kern/etc/config/wireless | 59 +++++++ Richtfunk/bb-fux-17-nsm2/etc/config/wireless | 30 ++++ Richtfunk/bb-fux-23-nsm2/etc/config/wireless | 26 +++ Richtfunk/bb-fux-kern/etc/config/network | 158 ++++++++++++++++++ Richtfunk/bb-fux-kern/etc/config/wireless | 63 +++++++ 21 files changed, 1056 insertions(+) create mode 100644 .gitignore create mode 100644 Kampnagel/Kampnagel_01/etc/config/wireless create mode 100644 Kampnagel/Kampnagel_02/etc/config/wireless create mode 100644 Kampnagel/Kampnagel_03/etc/config/wireless create mode 100644 Kampnagel/Kampnagel_04/etc/config/wireless create mode 100644 Kampnagel/Kampnagel_Uplink/etc/config/network create mode 100644 Kampnagel/Kampnagel_Uplink/etc/config/wireless create mode 100644 Kampnagel/README create mode 100644 Nochtspeicher/Nochtspeicher_01/etc/config/wireless create mode 100644 Nochtspeicher/Nochtspeicher_02/etc/config/wireless create mode 100644 Nochtspeicher/Nochtspeicher_Uplink/etc/config/network create mode 100644 Nochtspeicher/README create mode 100644 Richtfunk/NSM2/etc/rc.local create mode 100644 Richtfunk/README create mode 100644 Richtfunk/bb-esmarch95-27-nsm2/etc/config/wireless create mode 100644 Richtfunk/bb-esmarch95-kern/etc/config/network create mode 100644 Richtfunk/bb-esmarch95-kern/etc/config/wireless create mode 100644 Richtfunk/bb-fux-17-nsm2/etc/config/wireless create mode 100644 Richtfunk/bb-fux-23-nsm2/etc/config/wireless create mode 100644 Richtfunk/bb-fux-kern/etc/config/network create mode 100644 Richtfunk/bb-fux-kern/etc/config/wireless diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f935021 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +!.gitignore diff --git a/Kampnagel/Kampnagel_01/etc/config/wireless b/Kampnagel/Kampnagel_01/etc/config/wireless new file mode 100644 index 0000000..274a837 --- /dev/null +++ b/Kampnagel/Kampnagel_01/etc/config/wireless @@ -0,0 +1,31 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'pci0000:00/0000:00:00.0' + list ht_capab 'SHORT-GI-40' + list ht_capab 'TX-STBC' + list ht_capab 'RX-STBC1' + list ht_capab 'DSSS_CCK-40' + option country 'DE' + option channel '1' + option htmode 'HT20' + option txpower '8' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '26:a6:3d:e0:36:c0' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr '26:a7:3d:e0:36:c0' + 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' + diff --git a/Kampnagel/Kampnagel_02/etc/config/wireless b/Kampnagel/Kampnagel_02/etc/config/wireless new file mode 100644 index 0000000..35b36ba --- /dev/null +++ b/Kampnagel/Kampnagel_02/etc/config/wireless @@ -0,0 +1,31 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'pci0000:00/0000:00:00.0' + list ht_capab 'SHORT-GI-40' + list ht_capab 'TX-STBC' + list ht_capab 'RX-STBC1' + list ht_capab 'DSSS_CCK-40' + option country 'DE' + option channel '1' + option htmode 'HT20' + option txpower '8' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '26:a6:3d:e0:35:25' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr '26:a7:3d:e0:35:25' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + option disabled '0' + diff --git a/Kampnagel/Kampnagel_03/etc/config/wireless b/Kampnagel/Kampnagel_03/etc/config/wireless new file mode 100644 index 0000000..9cfe28a --- /dev/null +++ b/Kampnagel/Kampnagel_03/etc/config/wireless @@ -0,0 +1,31 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'pci0000:00/0000:00:00.0' + list ht_capab 'SHORT-GI-40' + list ht_capab 'TX-STBC' + list ht_capab 'RX-STBC1' + list ht_capab 'DSSS_CCK-40' + option country 'DE' + option channel '1' + option htmode 'HT20' + option txpower '8' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '26:a6:3d:e0:35:4b' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr '26:a7:3d:e0:35:4b' + 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' + diff --git a/Kampnagel/Kampnagel_04/etc/config/wireless b/Kampnagel/Kampnagel_04/etc/config/wireless new file mode 100644 index 0000000..7883beb --- /dev/null +++ b/Kampnagel/Kampnagel_04/etc/config/wireless @@ -0,0 +1,31 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'pci0000:00/0000:00:00.0' + list ht_capab 'SHORT-GI-40' + list ht_capab 'TX-STBC' + list ht_capab 'RX-STBC1' + list ht_capab 'DSSS_CCK-40' + option country 'DE' + option channel '1' + option htmode 'HT20' + option txpower '8' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '26:a6:3d:e0:35:71' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr '26:a7:3d:e0:35:71' + 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' + diff --git a/Kampnagel/Kampnagel_Uplink/etc/config/network b/Kampnagel/Kampnagel_Uplink/etc/config/network new file mode 100644 index 0000000..bde3dc6 --- /dev/null +++ b/Kampnagel/Kampnagel_Uplink/etc/config/network @@ -0,0 +1,114 @@ + +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config switch + option reset '1' + option enable_vlan '1' + option name 'switch0' + +config switch_vlan + option vlan '1' + option ports '0t 2 3 4 5' + option device 'switch0' + +config switch_vlan + option vlan '2' + option ports '0t 1' + option device 'switch0' + +config interface 'wan' + option ifname 'eth0.2' + option proto 'dhcp' + option type 'bridge' + option peerdns '0' + option auto '1' + option macaddr 'ea:95:f6:d4:53:c0' + +config interface 'wan6' + option proto 'dhcpv6' + option ifname 'br-wan' + option peerdns '0' + option ip6table '1' + +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 macaddr 'e8:94:f6:d4:53:c0' + option peerdns '1' + option ifname 'bat0' + option igmp_snooping '0' + +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 mesh 'bat0' + option proto 'batadv' + option macaddr 'ea:98:f6:d4:53:c0' + +config interface 'mesh_lan' + option ifname 'eth0.1' + option mesh 'bat0' + option proto 'batadv' + +config interface 'bat0' + option ifname 'bat0' + option macaddr 'e8:94:f6:d4:53:c0' + 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 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' + diff --git a/Kampnagel/Kampnagel_Uplink/etc/config/wireless b/Kampnagel/Kampnagel_Uplink/etc/config/wireless new file mode 100644 index 0000000..93b85d2 --- /dev/null +++ b/Kampnagel/Kampnagel_Uplink/etc/config/wireless @@ -0,0 +1,63 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'platform/ar934x_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 '1' + option country 'DE' + option htmode 'HT20' + option disabled '1' + +config wifi-device 'radio1' + option type 'mac80211' + option hwmode '11na' + option path 'pci0000:00/0000:00:00.0' + 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 '44' + option htmode 'HT40+' + option country 'DE' + option disabled '1' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr 'ea:96:f7:d4:53:c0' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr 'ea:97:f7:d4:53:c0' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + +config wifi-iface 'client_radio1' + option network 'client' + option device 'radio1' + option mode 'ap' + option macaddr 'ea:96:f8:d4:53:c0' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio1' + option mcast_rate '6000' + option network 'mesh_radio1' + option macaddr 'ea:97:f8:d4:53:c0' + option device 'radio1' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + diff --git a/Kampnagel/README b/Kampnagel/README new file mode 100644 index 0000000..f8e237e --- /dev/null +++ b/Kampnagel/README @@ -0,0 +1 @@ +Zur Konfiguration ist auch https://wiki.freifunk.net/Freifunk_Hamburg/Projekt_Kampnagel zu beachten. \ No newline at end of file diff --git a/Nochtspeicher/Nochtspeicher_01/etc/config/wireless b/Nochtspeicher/Nochtspeicher_01/etc/config/wireless new file mode 100644 index 0000000..431a82e --- /dev/null +++ b/Nochtspeicher/Nochtspeicher_01/etc/config/wireless @@ -0,0 +1,51 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11g' + option path 'platform/ar934x_wmac' + option htmode 'HT20' + option channel '1' + option country 'DE' + +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' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '16:ce:21:b5:01:43' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr '16:cf:21:b5:01:43' + 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' + +config wifi-iface 'client_radio1' + option network 'client' + option device 'radio1' + option mode 'ap' + option macaddr '16:ce:22:b5:01:43' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio1' + option mcast_rate '6000' + option network 'mesh_radio1' + option macaddr '16:cf:22:b5:01:43' + option device 'radio1' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + option disabled '1' + diff --git a/Nochtspeicher/Nochtspeicher_02/etc/config/wireless b/Nochtspeicher/Nochtspeicher_02/etc/config/wireless new file mode 100644 index 0000000..20262cb --- /dev/null +++ b/Nochtspeicher/Nochtspeicher_02/etc/config/wireless @@ -0,0 +1,51 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11g' + option path 'platform/ar934x_wmac' + option htmode 'HT20' + option channel '1' + option country 'DE' + +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' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '16:ce:21:b5:01:49' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr '16:cf:21:b5:01:49' + 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' + +config wifi-iface 'client_radio1' + option network 'client' + option device 'radio1' + option mode 'ap' + option macaddr '16:ce:22:b5:01:49' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio1' + option mcast_rate '6000' + option network 'mesh_radio1' + option macaddr '16:cf:22:b5:01:49' + option device 'radio1' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + option disabled '1' + diff --git a/Nochtspeicher/Nochtspeicher_Uplink/etc/config/network b/Nochtspeicher/Nochtspeicher_Uplink/etc/config/network new file mode 100644 index 0000000..f92ace9 --- /dev/null +++ b/Nochtspeicher/Nochtspeicher_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 'fdd8:266b:89f6::/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 '16:cd:20:b4:c7:80' + +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 '14:cc:20:b4:c7:80' + option peerdns '1' + option ifname 'bat0' + +config interface 'bat0' + option ifname 'bat0' + option macaddr '14:cc:20:b4:c7:80' + 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 '16:d0:20:b4:c7:80' + 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/Nochtspeicher/README b/Nochtspeicher/README new file mode 100644 index 0000000..44c70e9 --- /dev/null +++ b/Nochtspeicher/README @@ -0,0 +1 @@ +Zur Konfiguration ist auch https://wiki.freifunk.net/Hamburg/Nochtspeicher zu beachten. \ No newline at end of file diff --git a/Richtfunk/NSM2/etc/rc.local b/Richtfunk/NSM2/etc/rc.local new file mode 100644 index 0000000..3b26bfb --- /dev/null +++ b/Richtfunk/NSM2/etc/rc.local @@ -0,0 +1,8 @@ +# Put your custom commands here that should be executed once +# the system init finished. By default this file does nothing. + +echo 8 > /sys/class/gpio/export # Aktiviert PoE auf dem LAN-Port, um NSM5 in Reihe zu schalten +echo out > /sys/class/gpio/gpio8/direction # Aktiviert PoE auf dem LAN-Port, um NSM5 in Reihe zu schalten +echo 1 > /sys/class/gpio/gpio8/value # Aktiviert PoE auf dem LAN-Port, um NSM5 in Reihe zu schalten + +exit 0 diff --git a/Richtfunk/README b/Richtfunk/README new file mode 100644 index 0000000..1007e26 --- /dev/null +++ b/Richtfunk/README @@ -0,0 +1 @@ +Zur Konfiguration ist auch http://wiki.freifunk.net/Freifunk_Hamburg/Richtfunknetz:Gerätekonfiguration zu beachten und https://github.com/freifunk-gluon/gluon/wiki/Commandline-administration#sendeleistung-auf-nanostation-m2 für die NSM2 diff --git a/Richtfunk/bb-esmarch95-27-nsm2/etc/config/wireless b/Richtfunk/bb-esmarch95-27-nsm2/etc/config/wireless new file mode 100644 index 0000000..88c6bb5 --- /dev/null +++ b/Richtfunk/bb-esmarch95-27-nsm2/etc/config/wireless @@ -0,0 +1,30 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'pci0000:00/0000:00:00.0' + list ht_capab 'SHORT-GI-40' + list ht_capab 'TX-STBC' + list ht_capab 'RX-STBC1' + list ht_capab 'DSSS_CCK-40' + option channel '1' + option country 'DE' + option htmode 'HT20' + option txpower '8' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '26:a6:3d:ac:74:1b' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '15000' + option network 'mesh_radio0' + option macaddr '26:a7:3d:ac:74:1b' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + diff --git a/Richtfunk/bb-esmarch95-kern/etc/config/network b/Richtfunk/bb-esmarch95-kern/etc/config/network new file mode 100644 index 0000000..91d32d6 --- /dev/null +++ b/Richtfunk/bb-esmarch95-kern/etc/config/network @@ -0,0 +1,158 @@ + +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config switch + option name 'eth0' + option reset '1' + option enable_vlan '1' + +config switch_vlan + option device 'eth0' + option vlan '1' + option ports '0t 3 4 5' + +config switch_vlan + option device 'eth0' + option vlan '2' + option ports '0t 1' + +config switch_vlan + option device 'eth0' + option vlan '5' + option ports '0t 2t' + option vid '5' + +config switch_vlan + option device 'eth0' + option vlan '10' + option ports '0t 2t' + option vid '10' + +config switch_vlan + option device 'eth0' + option vlan '20' + option ports '0t 2t' + option vid '20' + +config switch_vlan + option device 'eth0' + option vlan '22' + option ports '0t 2t' + option vid '22' + +config interface 'vlan5' + option proto 'static' + option ifname 'eth0.5' + option ipaddr '192.168.112.2' + option netmask '255.255.255.0' + +config interface 'vlan10' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.10' + option macaddr 'de:ad:be:ef:90:00' + +config interface 'vlan20' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.20' + option macaddr 'de:ad:be:ef:90:01' + +config interface 'vlan22' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.22' + option macaddr 'de:ad:be:ef:90:02' + +config interface 'wan' + option ifname 'eth0.2' + option proto 'dhcp' + option type 'bridge' + option peerdns '0' + option macaddr 'ea:94:f6:ce:6d:47' + +config interface 'wan6' + option proto 'dhcpv6' + option ifname 'br-wan' + option peerdns '0' + option ip6table '1' + +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 macaddr 'e8:94:f6:cd:6d:46' + option peerdns '1' + +config interface 'bat0' + option ifname 'bat0' + option macaddr 'e8:94:f6:cd:6d:46' + 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:94:f6:ce:6d:46' + 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 'fd51:2bb2:fd0d::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 'fd51:2bb2:fd0d::/64' + option gateway '::' + option interface 'client' + diff --git a/Richtfunk/bb-esmarch95-kern/etc/config/wireless b/Richtfunk/bb-esmarch95-kern/etc/config/wireless new file mode 100644 index 0000000..d9f9fb1 --- /dev/null +++ b/Richtfunk/bb-esmarch95-kern/etc/config/wireless @@ -0,0 +1,59 @@ + +config wifi-device 'radio0' + option disabled '1' + option type 'mac80211' + option hwmode '11ng' + option path 'platform/ar934x_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 '1' + option htmode 'HT40+' + option country 'DE' + +config wifi-device 'radio1' + option disabled '1' + option type 'mac80211' + option hwmode '11na' + option path 'pci0000:00/0000:00:00.0' + 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 '44' + option htmode 'HT40+' + option country 'DE' + +config wifi-iface 'client_radio0' + option device 'radio0' + option mode 'ap' + option network 'client' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option network 'mesh_radio0' + option mcast_rate '12000' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + +config wifi-iface 'client_radio1' + option device 'radio1' + option mode 'ap' + option network 'client' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio1' + option network 'mesh_radio1' + option mcast_rate '12000' + option device 'radio1' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + diff --git a/Richtfunk/bb-fux-17-nsm2/etc/config/wireless b/Richtfunk/bb-fux-17-nsm2/etc/config/wireless new file mode 100644 index 0000000..1ca5c55 --- /dev/null +++ b/Richtfunk/bb-fux-17-nsm2/etc/config/wireless @@ -0,0 +1,30 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11ng' + option path 'pci0000:00/0000:00:00.0' + list ht_capab 'SHORT-GI-40' + list ht_capab 'TX-STBC' + list ht_capab 'RX-STBC1' + list ht_capab 'DSSS_CCK-40' + option channel '1' + option country 'DE' + option htmode 'HT20' + option txpower '8' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '26:a6:3d:ac:72:30' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '15000' + option network 'mesh_radio0' + option macaddr '26:a7:3d:ac:72:30' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + diff --git a/Richtfunk/bb-fux-23-nsm2/etc/config/wireless b/Richtfunk/bb-fux-23-nsm2/etc/config/wireless new file mode 100644 index 0000000..94b1553 --- /dev/null +++ b/Richtfunk/bb-fux-23-nsm2/etc/config/wireless @@ -0,0 +1,26 @@ + +config wifi-device 'radio0' + option type 'mac80211' + option hwmode '11g' + option path 'pci0000:00/0000:00:00.0' + option htmode 'HT20' + option channel '1' + option country 'DE' + option txpower '8' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr '26:a6:3d:ac:73:a5' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '15000' + option network 'mesh_radio0' + option macaddr '26:a7:3d:ac:73:a5' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + diff --git a/Richtfunk/bb-fux-kern/etc/config/network b/Richtfunk/bb-fux-kern/etc/config/network new file mode 100644 index 0000000..ac9b33f --- /dev/null +++ b/Richtfunk/bb-fux-kern/etc/config/network @@ -0,0 +1,158 @@ + +config interface 'loopback' + option ifname 'lo' + option proto 'static' + option ipaddr '127.0.0.1' + option netmask '255.0.0.0' + +config switch + option name 'eth0' + option reset '1' + option enable_vlan '1' + +config switch_vlan + option device 'eth0' + option vlan '1' + option ports '0t 3 4 5' + +config switch_vlan + option device 'eth0' + option vlan '2' + option ports '0t 1' + +config switch_vlan + option device 'eth0' + option vlan '5' + option ports '0t 2t' + option vid '5' + +config switch_vlan + option device 'eth0' + option vlan '10' + option ports '0t 2t' + option vid '10' + +config switch_vlan + option device 'eth0' + option vlan '20' + option ports '0t 2t' + option vid '20' + +config switch_vlan + option device 'eth0' + option vlan '21' + option ports '0t 2t' + option vid '21' + +config interface 'vlan5' + option proto 'static' + option ifname 'eth0.5' + option ipaddr '192.168.112.7' + option netmask '255.255.255.0' + +config interface 'vlan10' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.10' + option macaddr 'de:ad:be:ef:90:10' + +config interface 'vlan20' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.20' + option macaddr 'de:ad:be:ef:90:11' + +config interface 'vlan21' + option proto 'batadv' + option mesh 'bat0' + option mtu '1500' + option ifname 'eth0.21' + option macaddr 'de:ad:be:ef:90:12' + +config interface 'wan' + option ifname 'eth0.2' + option proto 'dhcp' + option type 'bridge' + option peerdns '0' + option macaddr 'ea:94:f6:ce:66:75' + +config interface 'wan6' + option proto 'dhcpv6' + option ifname 'br-wan' + option peerdns '0' + option ip6table '1' + +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 macaddr 'e8:94:f6:cd:66:74' + option peerdns '1' + +config interface 'bat0' + option ifname 'bat0' + option macaddr 'e8:94:f6:cd:66:74' + 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:94:f6:ce:66:74' + 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 'fd51:2bb2:fd0d::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 'fd51:2bb2:fd0d::/64' + option gateway '::' + option interface 'client' + diff --git a/Richtfunk/bb-fux-kern/etc/config/wireless b/Richtfunk/bb-fux-kern/etc/config/wireless new file mode 100644 index 0000000..2595ebd --- /dev/null +++ b/Richtfunk/bb-fux-kern/etc/config/wireless @@ -0,0 +1,63 @@ + +config wifi-device 'radio0' + option disabled '1' + option type 'mac80211' + option hwmode '11ng' + option path 'platform/ar934x_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 '1' + option country 'DE' + option htmode 'HT20' + +config wifi-device 'radio1' + option disabled '1' + option type 'mac80211' + option hwmode '11na' + option path 'pci0000:00/0000:00:00.0' + 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 '44' + option htmode 'HT40+' + option country 'DE' + +config wifi-iface 'client_radio0' + option network 'client' + option device 'radio0' + option mode 'ap' + option macaddr 'ea:96:f7:cd:66:74' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio0' + option mcast_rate '6000' + option network 'mesh_radio0' + option macaddr 'ea:97:f7:cd:66:74' + option device 'radio0' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' + +config wifi-iface 'client_radio1' + option network 'client' + option device 'radio1' + option mode 'ap' + option macaddr 'ea:96:f8:cd:66:74' + option ssid 'hamburg.freifunk.net' + +config wifi-iface 'mesh_radio1' + option mcast_rate '6000' + option network 'mesh_radio1' + option macaddr 'ea:97:f8:cd:66:74' + option device 'radio1' + option mode 'adhoc' + option bssid 'f8:d1:11:87:52:2e' + option ssid 'f8:d1:11:87:52:2e' +