Wbm2009v2/config-Babel

From Hackerspace Brussels
Jump to: navigation, search

Parent: Wbm2009v2

Contents

[edit] Config

dual channel test (zoobab)

  • 4 foneras (116, 122, 124, 128)
    • Channel: 1
    • ESSID: babel1
    • BSSID: 02:02:02:02:02:BA
  • 4 foneras (121, 123, 126, 127)
    • Channel: 14
    • ESSID: babel14
    • BSSID: 02:02:02:02:02:BE

single channel, basic mesh

  • 8 foneras
    • Channel: 7


[edit] Packages

  • babel
  • kmod-ipv6
  • librt

[edit] Config snippets

[edit] Configure the daemon

# create babel UCI config file
touch /etc/config/babel
# add a babel section in this file if it doesn't exist
uci -q show babel.@babel[0] || uci add babel babel
# add an interfaces option to the babel section 
uci set babel.@babel[0].interfaces="ath0 eth0:1"

[edit] Configure the wireless

[edit] Scenario 1

uci set network.wlan.proto=static
uci set wireless.wifi0.channel=1
uci set wireless.@wifi-iface[0].ssid=babel1
uci set wireless.@wifi-iface[0].bssid=02:02:02:02:02:BA

[edit] Scenario 2

uci set network.wlan.proto=static
uci set wireless.wifi0.channel=14
uci set wireless.@wifi-iface[0].ssid=babel14
uci set wireless.@wifi-iface[0].bssid=02:02:02:02:02:BE

[edit] Scenario 3 : To access the scenario 1 and 2 from the log server

uci set network.wlan.proto=static
uci set wireless.wifi0.channel=1
uci set wireless.@wifi-iface[0].ssid=babel1
uci set wireless.@wifi-iface[0].bssid=02:02:02:02:02:BA

[edit] Enable the daemon

[ -f /etc/init.d/babel ] && {
  /etc/init.d/babel enable
  /etc/init.d/babel start
}

[edit] Disable the daemon

[ -f /etc/init.d/babel ] && {
  /etc/init.d/babel stop
  /etc/init.d/babel disable
}

[edit] Nodelist

[edit] Scenario 1

00:18:84:10:7e:f4,wbm-116,172.16.32.116,10.20.30.116
00:18:84:14:b7:70,wbm-122,172.16.32.122,10.20.30.122
00:18:84:10:b9:7c,wbm-124,172.16.32.124,10.20.30.124
00:18:84:10:4d:0c,wbm-128,172.16.32.128,10.20.30.128

[edit] Scenario 2

00:18:84:11:be:04,wbm-121,172.16.32.121,10.20.30.121
00:18:84:29:af:50,wbm-123,172.16.32.123,10.20.30.123
00:18:84:27:7e:e0,wbm-126,172.16.32.126,10.20.30.126
00:18:84:11:8b:cc,wbm-127,172.16.32.127,10.20.30.127


[edit] Scenario 3

00:18:84:11:73:f8,wbm-101,172.16.32.101,10.20.30.101
00:18:84:27:19:5c,wbm-103,172.16.32.103,10.20.30.103
00:18:84:10:44:e8,wbm-109,172.16.32.109,10.20.30.109
00:18:84:11:8a:e4,wbm-113,172.16.32.113,10.20.30.113
00:18:84:11:60:04,wbm-115,172.16.32.115,10.20.30.115
00:18:84:12:f0:14,wbm-117,172.16.32.117,10.20.30.117
00:18:84:29:da:08,wbm-120,172.16.32.120,10.20.30.120