Actions

BATMAN-Advanced Setup

From HacDC Wiki

Revision as of 14:29, 26 February 2011 by Sitwon (talk | contribs) (Created page with "== Compile and install BATMAN-Advanced == Download batman-adv and batctl. Standard "make && sudo make install". == Setup ad-Hoc network == # Disable NetworkManager ## Fedora: <p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Compile and install BATMAN-Advanced

Download batman-adv and batctl. Standard "make && sudo make install".

Setup ad-Hoc network

  1. Disable NetworkManager
    1. Fedora:
      # /etc/init.d/NetworkManager stop
    2. Ubuntu:
      # stop network-manager
  2. Disable the firewall
    1. # iptables -F
  3. # ifconfig wlan0 down
  4. # iwconfig wlan0 mode ad-hoc essid hacdc-batman channel 8
  5. # ifconfig wlan0 up

Setup BATMAN-Advanced

  1. # insmod batman-adv.ko
  2. # echo bat0 > /sys/class/net/wlan0/batman_adv/mesh_iface
  3. # cat /sys/class/net/wlan0/batman_adv/iface_status
    Should read "active".
  4. # ifconfig wlan0 0.0.0.0
    ???