Probleme unter Linux

Aus Freifunk Kiel
Version vom 24. Oktober 2012, 06:08 Uhr von Rubo77 (Diskussion | Beiträge) (Anleitung zum installieren)
Zur Navigation springen Zur Suche springen

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