Wiki » Historial » Versió 3
Axel Neumann, 25-08-2012 17:34
1 | 1 | Pau Escrich | h1. Wiki |
---|---|---|---|
2 | |||
3 | 3 | Axel Neumann | |
4 | Bmx6 is a lightweight routing protocol for Linux based operating systems. |
||
5 | The following intro provides kind of tutorial to get started. |
||
6 | |||
7 | In its most simple configuration, the only required parameter are the interfaces names that should be used for meshing. |
||
8 | The following example starts bmx6 on interface wlan0: |
||
9 | <pre> |
||
10 | bmx6 dev=wlan0 |
||
11 | </pre> |
||
12 | |||
13 | However, to let this simple command work as expected also check the following basic requirements: |
||
14 | |||
15 | * bmx6 must be executed in root context (with super user permissions). If you are not already root prepend all commands with sudo (eg: @ sudo bmx6 dev=wlan0 @ ). |
||
16 | |||
17 | * NO IP address needs to be configured. By default bmx6 assumes IPv6 and autoconfigures an ULA based IPv6 address for each interface. But the interfaces must be UP. The linux ip command can do this for you (eg: @ ip link set wlan0 up @). Also, if you are using a wireless interface, the wireless interface settings must be set correctly so that link-layer connectivity is given with bmx6 daemons running on other nodes (computers). The good old iwconfig command may help to achieve that. For example @ iwconfig wlan0 mode ad-hoc ap 02:ca:ff:ee:ba:be channel 11 essid my-mesh-network @ is a typical configuration for a wireless mesh setup. |
||
18 | |||
19 | * Bmx6 (by default) works in daemon mode, thus continues to work in background. To let it run in foreground specify a debug level with the startup command like: @bmx6 debug=0 dev=bmx6@ . Of course you may need to kill a previously started bmx6 daemon beforehand (@ killall bmx6 @) |
||
20 | |||
21 | If everything went fine bmx6 is running now, searching for neighboring bmx6 daemons via the configured link and coordinates with them to learn about existence of and routes to all other bmx6 nodes in the network. |
||
22 | To access status information of the bmx6 daemon which has just been started a second bmx6 process can be launched in client mode to connect to the main bmx6 daemon and retrieve the desired information. |
||
23 | |||
24 | |||
25 | |||
26 | |||
27 | |||
28 | |||
29 | |||
30 | [[config-plugin]] |
||
31 | |||
32 | [[json-plugin]] |
||
33 | |||
34 | [[sms-plugin]] |
||
35 | |||
36 | [[quagga-plugin]] |
||
37 | |||
38 | |||
39 | *Misc* |
||
40 | |||
41 | |||
42 | 2 | Pau Escrich | [[Tunnel]] |