wireless_mesh
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wireless_mesh [2014/10/18 15:29] – [2- Hardware Requirements] samer | wireless_mesh [2014/10/19 22:03] (current) – [4- Configuring the Wireless Nodes with B.A.T.M.A.N] samer | ||
---|---|---|---|
Line 7: | Line 7: | ||
Mesh networking performance is directly related to the number of available radio channels. Particularly, | Mesh networking performance is directly related to the number of available radio channels. Particularly, | ||
- | In order to overcome this problem, we implement in this project low cost multi-channel mesh devices consisting of a wireless router with an additional WLAN adapter. | + | In order to overcome this problem, we implement in this project low cost multi-channel mesh devices consisting of a wireless router with an additional WLAN adapter. |
- | + | ||
* TP-Link [[http:// | * TP-Link [[http:// | ||
* USB WLAN adapter based on the [[http:// | * USB WLAN adapter based on the [[http:// | ||
Line 109: | Line 108: | ||
===== -- Configuring the Wireless Nodes with B.A.T.M.A.N===== | ===== -- Configuring the Wireless Nodes with B.A.T.M.A.N===== | ||
+ | Start by installing the B.A.T.M.A.N package on your router: | ||
+ | <code bash> | ||
+ | root@MeshNode: | ||
+ | </ | ||
+ | |||
+ | Modify your wireless configuration to activate a mesh interface in ad-hoc mode on radio0, an interface in AP mode on radio1, as in the following: | ||
+ | |||
+ | <file autoconf / | ||
+ | config wifi-device ' | ||
+ | option type ' | ||
+ | option macaddr ' | ||
+ | option hwmode ' | ||
+ | option htmode ' | ||
+ | list ht_capab ' | ||
+ | list ht_capab ' | ||
+ | list ht_capab ' | ||
+ | list ht_capab ' | ||
+ | option txpower ' | ||
+ | option country ' | ||
+ | option channel ' | ||
+ | |||
+ | config wifi-iface ' | ||
+ | option device ' | ||
+ | option mode ' | ||
+ | option ssid ' | ||
+ | option encryption ' | ||
+ | option network ' | ||
+ | option ifname ' | ||
+ | option bssid ' | ||
+ | | ||
+ | config wifi-device ' | ||
+ | option type ' | ||
+ | option channel ' | ||
+ | option macaddr ' | ||
+ | option hwmode ' | ||
+ | option htmode ' | ||
+ | list ht_capab ' | ||
+ | list ht_capab ' | ||
+ | list ht_capab ' | ||
+ | list ht_capab ' | ||
+ | |||
+ | config wifi-iface | ||
+ | option device ' | ||
+ | option mode ' | ||
+ | option ssid ' | ||
+ | option encryption ' | ||
+ | option network ' | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | Due to the compatibility problems of the USB WLAN adapters, it is preferable to configure the corresponding radio interface in AP mode and leave the internal chipset of the MR3020 router in ad-hoc mode. | ||
+ | </ | ||
+ | |||
+ | Use the following network configuration: | ||
+ | |||
+ | <file autoconf / | ||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option proto ' | ||
+ | option ipaddr ' | ||
+ | option netmask ' | ||
+ | |||
+ | config interface ' | ||
+ | option type ' | ||
+ | option proto ' | ||
+ | option ipaddr ' | ||
+ | option netmask ' | ||
+ | option gateway ' | ||
+ | list dns ' | ||
+ | list dns ' | ||
+ | option _orig_ifname 'eth0 wlan0 wlan1' | ||
+ | option _orig_bridge ' | ||
+ | option ifname ' | ||
+ | |||
+ | config interface ' | ||
+ | option ifname ' | ||
+ | option mtu ' | ||
+ | option proto ' | ||
+ | option mesh ' | ||
+ | |||
+ | config interface tinet | ||
+ | option ifname | ||
+ | option type | ||
+ | option proto static | ||
+ | option ipaddr | ||
+ | option netmask | ||
+ | </ | ||
+ | |||
+ | Make sure that '' | ||
+ | <file autoconf / | ||
+ | config ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | option ' | ||
+ | </ | ||
+ | |||
+ | Activate the DHCP server on you acces point interface '' | ||
+ | <code bash> | ||
+ | config dhcp | ||
+ | option start ' | ||
+ | option leasetime ' | ||
+ | option limit ' | ||
+ | option interface ' | ||
+ | </ | ||
+ | Reboot your router, ... | ||
+ |
wireless_mesh.1413638993.txt.gz · Last modified: 2014/10/18 15:29 by samer