Freifunk: Difference between revisions

From The Munich Maker Lab's Wiki
Jump to navigation Jump to search
(breaking and building stuff)
(update)
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
We have a number of freifunk node in and around the space. Here are some details on them.
{{project
|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 nodes in and around the space. Here are some details on them.
== kreativquartier-munichmakerlab ==
== kreativquartier-munichmakerlab ==
{{AttentionBox|title=Currently not active|msg=Waiting for a [[Plenum]] decision.}}
{{AttentionBox|title=Currently not active|msg=Broken already? We'll have to find out}}
[[File:Freifunk powerbtn.jpg|thumb|200px|right|The power button for the Freifunk Router]]
The Freifunk node at the space.
The Freifunk node at the space.
* TP-Link TL-WR841N v9
* TP-Link TL-WR841N v9
** Restarted via a plugin timer once a day
** <del>Restarted via a plugin timer once a day</del>
** Labeled "makemunich-opportunity"
** Labeled "makemunich-opportunity"
** Located on the shelve above the distribution panel, alongside our VDSL modem
** Located on top of the wall-mounted network rack
* [https://map.ffmuc.net/#!v:m;n:e8de27589482 Status on the FF Muc map]
** Has a dedicated "Emergency" power button, in case people start a mess out front again. Located on the left side of the laser materials storage thing. Push to power off, turn to power back on.
* [https://map.ffmuc.net/#!/de/map/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]
<div style="clear:both;"></div>
== kreativquartier-laborateliers ==
== kreativquartier-laborateliers ==
{{AttentionBox|title=Status unknown|msg=Probably disabled right now ...}}
{{AttentionBox|title=Status unknown|msg=Probably disabled right now ...}}
Line 18: Line 34:


== kreativquartier01 ==
== 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/#!/de/map/001999782f63 Status on the FF Muc map]
* [https://stats.ffmuc.net/dashboard/db/mesh-nodes?refresh=1m&orgId=1&var-hostname=All&var-nodeid=001999782f63&var-interval=$__auto_interval&from=now-12h&to=now Detailed stats]
* [https://stats.ffmuc.net/d/hRIn3dRWk/mesh-nodes?orgId=1&refresh=5m&var-hostname=kreativquartier01&var-nodeid=001999782f63&var-interval=$__auto_interval_interval Detailed stats]
=== Shopping List ===
=== Shopping List ===
* 4x TP-Link CPE210
* 4x TP-Link CPE210
Line 49: Line 64:


=== Configuration ===
=== Configuration ===
TODO when setting this thing back up
* Flash "x86 generic" image to CF card (using dd or Balena Etcher)
* Boot Futr from CF card
* Config mode starts, IP 192.168.1.1
* Configure node, disable auto update, set ssh key
* After reboot, login via SSH (IPv6 address from the FF map, or local IPv4 via nmap/DHCP lease
<pre>
root@kreativquartier01:~# uci add_list network.client.ifname='eth0.10'
root@kreativquartier01:~# uci commit network
root@kreativquartier01:~# /etc/init.d/network restart
</pre>
 
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 ==
== kreativquartier02 ==
Temporary replacement for "kreativquartier01" while it's broken (🙈). VirtualBox VM running on [[Docker01]]
Was a temporary replacement for "kreativquartier01" while it was broken (🙈). VirtualBox VM running on [[Docker01]]. Not in operation anymore, only here for historical purposes.
 
=== VirtualBox Config ===
=== VirtualBox Config ===
Messed up the name, but it should work nonetheless
Messed up the name, but it should work nonetheless

Revision as of 21:58, 24 September 2021

   
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 nodes in and around the space. Here are some details on them.

kreativquartier-munichmakerlab

Attention Attention: Currently not active Attention
Broken already? We'll have to find out
The power button for the Freifunk Router

The Freifunk node at the space.

  • TP-Link TL-WR841N v9
    • Restarted via a plugin timer once a day
    • Labeled "makemunich-opportunity"
    • Located on top of the wall-mounted network rack
    • Has a dedicated "Emergency" power button, in case people start a mess out front again. Located on the left side of the laser materials storage thing. Push to power off, turn to power back on.
  • 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

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

  • Flash "x86 generic" image to CF card (using dd or Balena Etcher)
  • Boot Futr from CF card
  • Config mode starts, IP 192.168.1.1
  • Configure node, disable auto update, set ssh key
  • After reboot, login via SSH (IPv6 address from the FF map, or local IPv4 via nmap/DHCP lease
root@kreativquartier01:~# uci add_list network.client.ifname='eth0.10'
root@kreativquartier01:~# uci commit network
root@kreativquartier01:~# /etc/init.d/network restart

References:

kreativquartier02

Was a temporary replacement for "kreativquartier01" while it was broken (🙈). VirtualBox VM running on Docker01. Not in operation anymore, only here for historical purposes.

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