Freifunk: Unterschied zwischen den Versionen
Aus d0b
Zur Navigation springenZur Suche springenSysd0b (Diskussion | Beiträge) |
Sysd0b (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
+ | == Node Shell Zeug == | ||
+ | Vorraussetzung für folgende Befehle sind eine Verbindung mit dem KBU Freifunk Netz sowie ein Terminal / Shell. | ||
− | + | IPv6 ping | |
− | + | <pre> | |
+ | ping6 <link local adress des node> | ||
+ | </pre> | ||
− | + | IPv6 ssh - Hinter der link local Adresse "%" + "Netzwerk Interface an eurer Kiste" | |
− | + | <pre> | |
− | + | ssh root@<link local adress des node>%eth0 | |
− | + | </pre> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | == Links == | ||
+ | * [https://gokk.de/list/ Node Liste von kaleng] | ||
− | + | == Config Zeug == | |
+ | === Hostname ändern === | ||
+ | ''vim /etc/config/system'' | ||
+ | <pre> | ||
+ | config system | ||
+ | option hostname 'Freifunk-10feeda0507c' #Hostname = Nodename | ||
+ | option timezone 'CET-1CEST,M3.5.0,M10.5.0/3' | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | === LAN Kopplung === | ||
+ | Hier wird über die alle 4 LAN Ports gemeshed, Mesh über WLAN ist aus! | ||
+ | |||
+ | ''vim /etc/config/network'' | ||
+ | |||
+ | <pre> | ||
+ | config interface 'loopback' | ||
+ | option ifname 'lo' | ||
+ | option proto 'static' | ||
+ | option ipaddr '127.0.0.1' | ||
+ | option netmask '255.0.0.0' | ||
+ | |||
+ | config interface 'wan' | ||
+ | option ifname 'eth0' | ||
+ | option proto 'dhcp' | ||
+ | option type 'bridge' | ||
+ | option accept_ra '0' | ||
+ | option auto '1' | ||
+ | |||
+ | config switch | ||
+ | option name 'switch0' | ||
+ | option reset '1' | ||
+ | option enable_vlan '1' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device 'switch0' | ||
+ | option vlan '1' | ||
+ | option ports '0 1 2 3 4' | ||
+ | |||
+ | config interface 'freifunk' | ||
+ | option ifname 'bat0' | ||
+ | option type 'bridge' | ||
+ | option proto 'none' | ||
+ | option auto '1' | ||
+ | option accept_ra '1' | ||
+ | option macaddr '10:fe:ed:f1:53:84' | ||
+ | |||
+ | config interface 'mesh' | ||
+ | option proto 'batadv' | ||
+ | option mtu '1528' | ||
+ | option mesh 'bat0' | ||
+ | |||
+ | config interface 'mesh_vpn' | ||
+ | option ifname 'mesh-vpn' | ||
+ | option proto 'batadv' | ||
+ | option mesh 'bat0' | ||
+ | option macaddr '12:fe:ed:f2:53:84' | ||
+ | |||
+ | config interface 'mesh_lan' | ||
+ | option ifname 'eth1' | ||
+ | option proto 'batadv' | ||
+ | option mesh 'bat0' | ||
+ | </pre> |
Version vom 11. März 2014, 13:39 Uhr
Inhaltsverzeichnis
Node Shell Zeug
Vorraussetzung für folgende Befehle sind eine Verbindung mit dem KBU Freifunk Netz sowie ein Terminal / Shell.
IPv6 ping
ping6 <link local adress des node>
IPv6 ssh - Hinter der link local Adresse "%" + "Netzwerk Interface an eurer Kiste"
ssh root@<link local adress des node>%eth0
Links
Config Zeug
Hostname ändern
vim /etc/config/system
config system option hostname 'Freifunk-10feeda0507c' #Hostname = Nodename option timezone 'CET-1CEST,M3.5.0,M10.5.0/3'
LAN Kopplung
Hier wird über die alle 4 LAN Ports gemeshed, Mesh über WLAN ist aus!
vim /etc/config/network
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config interface 'wan' option ifname 'eth0' option proto 'dhcp' option type 'bridge' option accept_ra '0' option auto '1' config switch option name 'switch0' option reset '1' option enable_vlan '1' config switch_vlan option device 'switch0' option vlan '1' option ports '0 1 2 3 4' config interface 'freifunk' option ifname 'bat0' option type 'bridge' option proto 'none' option auto '1' option accept_ra '1' option macaddr '10:fe:ed:f1:53:84' config interface 'mesh' option proto 'batadv' option mtu '1528' option mesh 'bat0' config interface 'mesh_vpn' option ifname 'mesh-vpn' option proto 'batadv' option mesh 'bat0' option macaddr '12:fe:ed:f2:53:84' config interface 'mesh_lan' option ifname 'eth1' option proto 'batadv' option mesh 'bat0'