running OLSR over WPA2 on OpenWR
https://www.justingoetz.net/docs/docs_openwrt/olsr/adhoc-wpa.html
启动openwrt系统
移除默认安装的wpad-mini package.
opkg remove wpad-mini
安装olsp packages和wpa2 package
opkg update
opkg install luci-app-olsr luci-app-olsr-services luci-app-olsr-viz olsrd olsrd-mod-arprefresh olsrd-mod-bmf olsrd-mod-dot-draw olsrd-mod-dyn-gw olsrd-mod-dyn-gw-plain olsrd-mod-httpinfo olsrd-mod-mdns olsrd-mod-nameservice olsrd-mod-p2pd olsrd-mod-pgraph olsrd-mod-secure olsrd-mod-txtinfo olsrd-mod-watchdog olsrd-mod-quagga wireless-tools luci-lib-json kmod-ipip wpad authsae
olsrd OLSR (Optimized Link State Routing) daemon
olsrd-mod-dyn-gw-plain Dynamic internet gateway plain plugin
olsrd-mod-bmf Basic multicast forwarding plugin, dependece: kmod-tun
olsrd-mod-httpinfo Small informative web server plugin
olsrd-mod-quagga Quagga plugin
olsrd-mod-dyn-gw Dynamic internet gateway plugin
olsrd-mod-txtinfo Small informative web server plugin
olsrd-mod-nameservice Lightweight hostname resolver plugin
olsrd-mod-dot-draw Dot topology information plugin
olsrd-mod-mdns Multicast DNS plugin
olsrd-mod-watchdog Watchdog plugin
olsrd-mod-arprefresh Kernel ARP cache refresh plugin
olsrd-mod-p2pd Peer to Peer Discovery plugin
olsrd-mod-secure Message signing plugin to secure routing domain
olsrd-mod-pud Position update plugin
olsrd-mod-jsoninfo
olsrd-mod-sgwdynspeed Select dynamic smart gateway based on gw speed
点解enable 按钮, enables WiFi.
ssh连接openwrt, 然后修改/etc/config/wireless文件
config wifi-iface
option device 'radio0'
option encryption 'psk2/aes'
option key 'goodlife'
option ssid 'Sensor-Backhaul'
option mode 'adhoc'
option network 'mesh'
然后进入web设置界面编辑wifi 配置,配置ssid , mode, network