Probleme unter Linux: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Rubo77 (Diskussion | Beiträge) K (Kategorie ergänzt) |
Rubo77 (Diskussion | Beiträge) (Anleitung zum installieren) |
||
Zeile 1: | Zeile 1: | ||
− | + | Unter Ubuntu 12.04 getestet: | |
+ | |||
+ | Install the packet | ||
+ | |||
+ | apt-get install batctl | ||
+ | |||
+ | then | ||
+ | modprobe batman-adv | ||
+ | |||
+ | and | ||
+ | batctl -v | ||
+ | |||
+ | sais: | ||
+ | |||
+ | batctl debian-2011.4.0-2 [batman-adv: 2011.4.0] | ||
+ | |||
+ | (only some batman-adv versions are compatible) | ||
+ | |||
+ | To connect to batman.kiel.freifunk.net on wlan0 with the [[bssid]] 02:ca:ff:ee:ba:be | ||
+ | use this script: (source: http://linux-zugang.z11.de/batman-test.sh by [[User:strontium]]) | ||
+ | |||
+ | '''<pre style="color:#222233"> | ||
+ | #! /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" | ||
+ | </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] | ||
[[Kategorie:Software]] | [[Kategorie:Software]] |
Version vom 24. Oktober 2012, 05:08 Uhr
Unter Ubuntu 12.04 getestet:
Install the packet
apt-get install batctl
then
modprobe batman-adv
and
batctl -v
sais:
batctl debian-2011.4.0-2 [batman-adv: 2011.4.0]
(only some batman-adv versions are compatible)
To connect to batman.kiel.freifunk.net on wlan0 with the bssid 02:ca:ff:ee:ba:be use this script: (source: http://linux-zugang.z11.de/batman-test.sh by User:strontium)
#! /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"
Also see the diskussion in Askubuntu