Difference between revisions of "Freifunk"

From The Munich Maker Lab's Wiki
Jump to: navigation, search
(project info box)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Freifunk @ the space ==
+
{{project
We have a Freifunk node at the space. It's running on a TP-Link TL-WR841N. It tends to break down every once in a while, so it get's restarted every night automatically.
+
|name        = Freifunk
 
+
|status      = beta
 +
|image      = Freifunk-muenchen.png
 +
|description = Open WiFi for the masses
 +
|author      =
 +
|username    =
 +
|version    =
 +
|update      =
 +
|platform    =
 +
|license    =  
 +
|download    = https://ffmuc.net/
 +
}}We have a number of freifunk node in and around the space. Here are some details on them.
 +
== kreativquartier-munichmakerlab ==
 +
{{AttentionBox|title=Currently not active|msg=Waiting for a [[Plenum]] decision.}}
 +
The Freifunk node at the space.
 +
* TP-Link TL-WR841N v9
 +
** Restarted via a plugin timer once a day
 +
** Labeled "makemunich-opportunity"
 +
** Located on the shelve above the distribution panel, alongside our VDSL modem
 
* [https://map.ffmuc.net/#!v:m;n:e8de27589482 Status on the FF Muc map]
 
* [https://map.ffmuc.net/#!v:m;n:e8de27589482 Status on the FF Muc map]
 
* [https://stats.ffmuc.net/dashboard/db/mesh-nodes?refresh=1m&orgId=1&var-hostname=All&var-nodeid=e8de27589482&var-interval=$__auto_interval&from=now-12h&to=now Detailed stats]
 
* [https://stats.ffmuc.net/dashboard/db/mesh-nodes?refresh=1m&orgId=1&var-hostname=All&var-nodeid=e8de27589482&var-interval=$__auto_interval&from=now-12h&to=now Detailed stats]
 +
== kreativquartier-laborateliers ==
 +
{{AttentionBox|title=Status unknown|msg=Probably disabled right now ...}}
 +
Freifunk node in the Halle6 building across the street, located in the Laborbüros, but servicing the other side of the building, which has the name "Labor Ateliers" written on it (hence the name of the node)
 +
* TP-Link TL-WR841N v9
 +
** Labeled "makemunich-phoenix"
 +
* [https://map.ffmuc.net/#!v:m;n:e8de27587a8c Status on the FF Muc map]
 +
* [https://stats.ffmuc.net/dashboard/db/mesh-nodes?refresh=1m&orgId=1&var-hostname=All&var-nodeid=e8de27587a8c&var-interval=$__auto_interval&from=now-12h&to=now Detailed stats]
  
== Freifunk @ Kreativquartier ==
+
== kreativquartier01 ==
 +
{{AttentionBox|title=Broken|msg=VPN Offloader is broken due to a failed update to the current Freifunk network layout 🙈}}
 
Severin's installed some Freifunk nodes to bring wifi coverage to some parts of the Kreativlabor.
 
Severin's installed some Freifunk nodes to bring wifi coverage to some parts of the Kreativlabor.
 
* [https://map.ffmuc.net/#!v:m;n:001999782f63 Status on the FF Muc map]
 
* [https://map.ffmuc.net/#!v:m;n:001999782f63 Status on the FF Muc map]
Line 31: Line 56:
 
** ff-kq-ap02 - 192.168.0.72 - Channel 6
 
** ff-kq-ap02 - 192.168.0.72 - Channel 6
 
** Managment on VLAN 1
 
** Managment on VLAN 1
** WiFi: munich.freifunk.net with VLAN 10
+
** WiFi: munich.freifunk.net/muc_nord with VLAN 10
 
* Smart Switch (8 Port)
 
* Smart Switch (8 Port)
 
** ff-kq-sw01 - 192.168.0.70
 
** ff-kq-sw01 - 192.168.0.70
  
 +
=== Configuration ===
 +
TODO when setting this thing back up
 +
 +
References:
 +
* https://wiki.freifunk.net/Flensburg:Offloader
 +
* https://wiki.freifunk-mwu.de/index.php/Howto/Offloader
 +
* https://wiki.freifunk.net/Fastd_Offloader
 +
* https://ffmuc.net/wiki/doku.php?id=knb:futro
 +
* https://github.com/freifunk-gluon/gluon/wiki/Commandline-administration#set-a-static-ipv4-for-the-wan-port
 +
* https://ffmuc.net/wiki/doku.php?id=knb:ssh#manuelle_segmentauswahl
 +
 +
== kreativquartier02 ==
 +
Temporary replacement for "kreativquartier01" while it's broken (🙈). VirtualBox VM running on [[Docker01]]
 +
 +
[https://map.ffmuc.net/#!/de/map/080027dbc080 Status on the FF Muc map]
 +
=== VirtualBox Config ===
 +
Messed up the name, but it should work nonetheless
 +
<pre>
 +
VBoxManage createvm --name ffmux-offloader-kqtmp --ostype Linux26_64 --register
 +
VBoxManage modifyvm ffmux-offloader-kqtmp --memory 2048
 +
VBoxManage modifyvm ffmux-offloader-kqtmp --bridgeadapter1 enp4s0f0
 +
VBoxManage modifyvm ffmux-offloader-kqtmp --nic1 bridged
 +
cd VirtualBox\ VMs/ffmux-offloader-kqtmp/
 +
wget https://firmware.ffmuc.net/stable/factory/gluon-ffmuc-v2019.1.2-x86-64.vdi
 +
VBoxManage storagectl ffmux-offloader-kqtmp --name "SATA Controller" --add sata --controller IntelAhci
 +
VBoxManage storageattach ffmux-offloader-kqtmp --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium gluon-ffmuc-v2019.1.2-x86-64.vdi
 +
VBoxManage modifyvm ff-mux-offloader-kqtmp --nicpromisc1 allow-all
 +
VBoxManage modifyvm ffmux-offloader-kqtmp --vrde on
 +
VBoxManage modifyvm ffmux-offloader-kqtmp --vrdemulticon on --vrdeport 3390
 +
VBoxManage modifyvm ffmux-offloader-kqtmp –autostart-enabled on
 +
VBoxManage startvm ffmux-offloader-kqtmp --type headless
 +
</pre>
 +
=== VLAN Config ===
 +
Most Guides suggest the following:
 +
<pre>
 +
root@kreativquartier02:~# uci set network.client.ifname='eth0.10' 'local-port' 'bat0'
 +
</pre>
 +
But that fails. Do the following instead:
 +
<pre>
 +
root@kreativquartier02:~# uci add_list network.client.ifname='eth0.10'
 +
root@kreativquartier02:~# uci commit network
 +
root@kreativquartier02:~# /etc/init.d/network restart
 +
</pre>
 
[[Category:Project]][[Category:Infrastructure]]
 
[[Category:Project]][[Category:Infrastructure]]

Latest revision as of 00:11, 13 February 2020

   
Freifunk

Release status: beta [box doku]

Freifunk-muenchen.png
Description Open WiFi for the masses
Download  https://ffmuc.net/

We have a number of freifunk node in and around the space. Here are some details on them.

kreativquartier-munichmakerlab

Attention Attention: Currently not active Attention
Waiting for a Plenum decision.

The Freifunk node at the space.

  • TP-Link TL-WR841N v9
    • Restarted via a plugin timer once a day
    • Labeled "makemunich-opportunity"
    • Located on the shelve above the distribution panel, alongside our VDSL modem
  • Status on the FF Muc map
  • Detailed stats

kreativquartier-laborateliers

Attention Attention: Status unknown Attention
Probably disabled right now ...

Freifunk node in the Halle6 building across the street, located in the Laborbüros, but servicing the other side of the building, which has the name "Labor Ateliers" written on it (hence the name of the node)

kreativquartier01

Attention Attention: Broken Attention
VPN Offloader is broken due to a failed update to the current Freifunk network layout 🙈

Severin's installed some Freifunk nodes to bring wifi coverage to some parts of the Kreativlabor.

Shopping List

  • 4x TP-Link CPE210

Cables

We need uplink connectivity and power at the nodes. Unsure where we can get that from. Worst case we have to lay cables all the way to the lab (roughly 100m).

  • Network cable
    • Do we need "outdoor" cable?
    • Normal Cat6 cable, shielded: [1] ~37€ / 100m
    • Outdoor cable unshielded: [2] ~50€ / 100m
    • Outdoor cable shielded [3] ~140€ / 100m
    • Ubiquity Touch Cable [4] 130€ / 300m
  • Power Cable

Installation

  • Futro S550 as VPN Offloader
    • Only one NIC
    • WAN on "VLAN 1", FF Client Network on VLAN 10
  • 2 CPE210
    • ff-kq-ap01 - 192.168.0.71 - Channel 1
    • ff-kq-ap02 - 192.168.0.72 - Channel 6
    • Managment on VLAN 1
    • WiFi: munich.freifunk.net/muc_nord with VLAN 10
  • Smart Switch (8 Port)
    • ff-kq-sw01 - 192.168.0.70

Configuration

TODO when setting this thing back up

References:

kreativquartier02

Temporary replacement for "kreativquartier01" while it's broken (🙈). VirtualBox VM running on Docker01

Status on the FF Muc map

VirtualBox Config

Messed up the name, but it should work nonetheless

VBoxManage createvm --name ffmux-offloader-kqtmp --ostype Linux26_64 --register
VBoxManage modifyvm ffmux-offloader-kqtmp --memory 2048
VBoxManage modifyvm ffmux-offloader-kqtmp --bridgeadapter1 enp4s0f0
VBoxManage modifyvm ffmux-offloader-kqtmp --nic1 bridged
cd VirtualBox\ VMs/ffmux-offloader-kqtmp/
wget https://firmware.ffmuc.net/stable/factory/gluon-ffmuc-v2019.1.2-x86-64.vdi
VBoxManage storagectl ffmux-offloader-kqtmp --name "SATA Controller" --add sata --controller IntelAhci
VBoxManage storageattach ffmux-offloader-kqtmp --storagectl "SATA Controller" --port 0 --device 0 --type hdd --medium gluon-ffmuc-v2019.1.2-x86-64.vdi
VBoxManage modifyvm ff-mux-offloader-kqtmp --nicpromisc1 allow-all
VBoxManage modifyvm ffmux-offloader-kqtmp --vrde on
VBoxManage modifyvm ffmux-offloader-kqtmp --vrdemulticon on --vrdeport 3390
VBoxManage modifyvm ffmux-offloader-kqtmp –autostart-enabled on
VBoxManage startvm ffmux-offloader-kqtmp --type headless

VLAN Config

Most Guides suggest the following:

root@kreativquartier02:~# uci set network.client.ifname='eth0.10' 'local-port' 'bat0'

But that fails. Do the following instead:

root@kreativquartier02:~# uci add_list network.client.ifname='eth0.10'
root@kreativquartier02:~# uci commit network
root@kreativquartier02:~# /etc/init.d/network restart