Probleme unter Linux: Unterschied zwischen den Versionen

Aus Freifunk Kiel
Zur Navigation springen Zur Suche springen
(Anleitung zum installieren)
Zeile 1: Zeile 1:
 +
Hinweis: Diese Anleitung dient dazu einen Mesh-Schnelltest mit einem Wlan-fähigen Gerät durchzuführen.
 +
 
Unter Ubuntu 12.04 getestet:
 
Unter Ubuntu 12.04 getestet:
  
Install the packet
+
Installation
 
 
apt-get install batctl
 
 
 
then
 
modprobe batman-adv
 
  
and
+
  sudo apt-get install batctl
  batctl -v
 
  
sais:
+
Kernelmodul laden:
 +
sudo modprobe batman-adv
  
  batctl debian-2011.4.0-2 [batman-adv: 2011.4.0]
+
Version prüfen:
 +
  sudo batctl -v
  
(only some batman-adv versions are compatible)
+
Nicht alle Batmanversionen sind kompatibel - siehe: http://www.open-mesh.org/projects/batman-adv/wiki/Compatversion
  
To connect to batman.kiel.freifunk.net on wlan0 with the [[bssid]] 02:ca:ff:ee:ba:be
+
Um sich mit batman.kiel.freifunk.net on wlan0 with the [[bssid]] 02:ca:ff:ee:ba:be zu verbinden:
use this script: (source: http://linux-zugang.z11.de/batman-test.sh by [[User:strontium]])
 
  
 
'''<pre style="color:#222233">
 
'''<pre style="color:#222233">
Zeile 40: Zeile 37:
 
</pre>'''
 
</pre>'''
  
Also see the diskussion in [http://askubuntu.com/questions/205337/how-do-i-install-batman-adv-under-ubuntu-12-04-to-start-a-mesh-network Askubuntu]
+
Siehe auch: [http://askubuntu.com/questions/205337/how-do-i-install-batman-adv-under-ubuntu-12-04-to-start-a-mesh-network Askubuntu]
  
  
 
[[Kategorie:Software]]
 
[[Kategorie:Software]]

Version vom 24. Oktober 2012, 11:26 Uhr

Hinweis: Diese Anleitung dient dazu einen Mesh-Schnelltest mit einem Wlan-fähigen Gerät durchzuführen.

Unter Ubuntu 12.04 getestet:

Installation

sudo apt-get install batctl

Kernelmodul laden:

sudo modprobe batman-adv

Version prüfen:

sudo batctl -v

Nicht alle Batmanversionen sind kompatibel - siehe: http://www.open-mesh.org/projects/batman-adv/wiki/Compatversion

Um sich mit batman.kiel.freifunk.net on wlan0 with the bssid 02:ca:ff:ee:ba:be zu verbinden:

 #! /bin/bash
 IFACE=wlan0
 echo "stopping network-manager"
 /etc/init.d/network-manager stop
 echo "pls wait"
 sleep 10
 ifconfig $IFACE down
 ifconfig $IFACE mtu 1528
 iwconfig $IFACE enc off
 iwconfig $IFACE mode ad-hoc essid batman.kiel.freifunk.net ap 02:ca:ff:ee:ba:be channel 11
 modprobe batman-adv
 batctl if add $IFACE
 ifconfig $IFACE up
 ifconfig bat0 up
 echo "batman.kiel.freifunk.net on $IFACE should be ready"
 echo "to resume normal networking just restart the networkmanager:"
 echo "/etc/init.d/network-manager restart"

Siehe auch: Askubuntu