<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=OLSR_-_di_OpenWRT_2</id>
	<title>OLSR - di OpenWRT 2 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=OLSR_-_di_OpenWRT_2"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=OLSR_-_di_OpenWRT_2&amp;action=history"/>
	<updated>2026-04-08T06:20:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=OLSR_-_di_OpenWRT_2&amp;diff=52705&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot; I strongly suggest using GL-Inet Routers for all your OpenWRT needs!  If you have any trouble or questions, please email me at justing@justingoetz.net, or message me on irc.a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=OLSR_-_di_OpenWRT_2&amp;diff=52705&amp;oldid=prev"/>
		<updated>2018-11-14T22:03:07Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; I strongly suggest using GL-Inet Routers for all your OpenWRT needs!  If you have any trouble or questions, please email me at justing@justingoetz.net, or message me on irc.a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
I strongly suggest using GL-Inet Routers for all your OpenWRT needs!&lt;br /&gt;
&lt;br /&gt;
If you have any trouble or questions, please email me at justing@justingoetz.net, or message me on irc.aseriesoftubez.com, username &amp;quot;Justin&amp;quot;, I should be available to help!&lt;br /&gt;
&lt;br /&gt;
Start with a clean OpenWRT with only default packages installed. Make sure your router has a connection to the internet, as we'll need to install some packages.&lt;br /&gt;
&lt;br /&gt;
Remove the default wpad-mini package.&lt;br /&gt;
&lt;br /&gt;
opkg remove wpad-mini&lt;br /&gt;
&lt;br /&gt;
Install the required packages. This may seem like alot, but most is for OLSR. wpad and authsae is for WPA2 over Ad-Hoc&lt;br /&gt;
&lt;br /&gt;
opkg update&lt;br /&gt;
&lt;br /&gt;
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&lt;br /&gt;
&lt;br /&gt;
Configure Wifi.&lt;br /&gt;
&lt;br /&gt;
Login to your router's web GUI. In the top navigation bar, select &amp;quot;Network&amp;quot;, then click the &amp;quot;WiFi&amp;quot; option.&lt;br /&gt;
&lt;br /&gt;
You'll see on clean installs that the wifi will show &amp;quot;Disabled&amp;quot;. Click the &amp;quot;Enable&amp;quot; button. This enables the WiFi.&lt;br /&gt;
&lt;br /&gt;
Now, go back to SSH, and open the file /etc/config/wireless.&lt;br /&gt;
&lt;br /&gt;
You will see a section titled &amp;quot;config wifi-iface&amp;quot;. Delete that entire configuration and replace it with the following:&lt;br /&gt;
&lt;br /&gt;
config wifi-iface&lt;br /&gt;
        option device 'radio0'&lt;br /&gt;
        option encryption 'psk2/aes'&lt;br /&gt;
        option key 'goodlife'&lt;br /&gt;
        option ssid 'Sensor-Backhaul'&lt;br /&gt;
        option mode 'adhoc'&lt;br /&gt;
        option network 'mesh'&lt;br /&gt;
&lt;br /&gt;
Change Option SSID to your desired Ad-Hoc SSID. Note, this MUST be identical on all devices attempting to join the network.&lt;br /&gt;
&lt;br /&gt;
Change option key to your password. Again, this value MUST be the same on all the devices or they will not mesh.&lt;br /&gt;
&lt;br /&gt;
Now in terminal run the &amp;quot;wifi&amp;quot; command. Refresh the Web GUI page to make sure it looks like this:&lt;br /&gt;
&lt;br /&gt;
Now we need to configure OLSR.&lt;br /&gt;
&lt;br /&gt;
First we need to create an OLSR interface. Go back to Network &amp;gt; Wifi. Click the &amp;quot;Edit&amp;quot; button next to the SSID information.&lt;br /&gt;
&lt;br /&gt;
Under &amp;quot;Device Configuration&amp;quot;, click the &amp;quot;Advanced&amp;quot; tab.&lt;br /&gt;
Scroll down to &amp;quot;Interface Configuration&amp;quot;.&lt;br /&gt;
Look for the &amp;quot;Network&amp;quot; options. Put a checkbox in the option next to &amp;quot;create&amp;quot;, and enter a new interface name. For simplicity sake, I reccomed leaving it named &amp;quot;mesh&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Click Save &amp;amp; Apply.&lt;br /&gt;
&lt;br /&gt;
Now we need to setup a static IP for the device. Go to the &amp;quot;Network&amp;quot; tab, and click &amp;quot;Interfaces&amp;quot;. You'll now see a &amp;quot;MESH&amp;quot; Interface. Click the edit button next to it.&lt;br /&gt;
&lt;br /&gt;
On the next page, change the &amp;quot;Protocol&amp;quot; dropdown menu from &amp;quot;Unmanaged&amp;quot; to &amp;quot;Static Address&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Now click the &amp;quot;Switch Protocol&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
You'll be brough to a new page. Enter an IPv4 address. Note: this IP should be in the range that your other nodes will be on. For simplicity sake, I will be using 192.168.10.0/24. So in this field, I will put 192.168.10.2.&lt;br /&gt;
&lt;br /&gt;
If using a /24 (standard), set the IPv4 netmask to 255.255.255.0.&lt;br /&gt;
&lt;br /&gt;
Leave the IPv4 Gateway blank.&lt;br /&gt;
Leave all other options blank.&lt;br /&gt;
Click save and apply.&lt;br /&gt;
&lt;br /&gt;
Now we need to configure OLSR to listen for other nodes on this interface.&lt;br /&gt;
&lt;br /&gt;
Go to Services &amp;gt; OLSR IPv4.&lt;br /&gt;
&lt;br /&gt;
The first thing we need to do is enable the &amp;quot;jsoninfo&amp;quot; plugin so we can manage OLSR via the web interface. Go to the &amp;quot;Plugins&amp;quot; tab, and click the checkmark next to &amp;quot;olsrd_jsoninfo.so.0.0&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Click save and apply.&lt;br /&gt;
&lt;br /&gt;
Return to Services &amp;gt; OLSR IPv4 from the navbar. Scroll to the bottom of the page.&lt;br /&gt;
&lt;br /&gt;
You will see an &amp;quot;Interfaces&amp;quot; section. There will be one entry. Click the &amp;quot;Edit&amp;quot; button on this entry.&lt;br /&gt;
&lt;br /&gt;
You will be brought to a page. Locate the &amp;quot;Network&amp;quot; option. Click the &amp;quot;mesh&amp;quot; interface for the network option.&lt;br /&gt;
&lt;br /&gt;
Leave all other options as is, and click save and apply.&lt;br /&gt;
&lt;br /&gt;
Now we need to allow OLSR through the firewall. Go to The Network option &amp;gt; Firewall.&lt;br /&gt;
&lt;br /&gt;
Under general settings, change Forward from &amp;quot;Reject&amp;quot; to &amp;quot;Accept&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
We should be done at this point. Go to the &amp;quot;Status&amp;quot; &amp;gt; &amp;quot;OLSR&amp;quot; Tab to view more info.&lt;br /&gt;
&lt;br /&gt;
If all is done right, we should see a number next to &amp;quot;Neighbors&amp;quot;.&lt;br /&gt;
NOTE: For routers with internet access, we need to change one other option to allow that router to broadcast to the network that it has internet access. Go back to &amp;quot;Services&amp;quot; &amp;gt; &amp;quot;OLSR IPv4&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Click the HNA Announcements tab.&lt;br /&gt;
&lt;br /&gt;
You will be brought to a new page. Click the &amp;quot;Add&amp;quot; button.&lt;br /&gt;
&lt;br /&gt;
In both boxes, put the value &amp;quot;0.0.0.0&amp;quot;. Only do this on the router with internet access or the other routers will cease to route.&lt;br /&gt;
&lt;br /&gt;
  Click save and apply. Test on a different router that it can access the internet.&lt;br /&gt;
Notes&lt;br /&gt;
&lt;br /&gt;
I have only successfully configured this setup on Atheros/Qualcomm chips. I have been unsuccessful with any form of MediaTek chips regarding WPA2 and Ad-Hoc.&lt;br /&gt;
&lt;br /&gt;
I reccomend using Gl-Inet routers for best performance with OpenWRT&lt;br /&gt;
&lt;br /&gt;
Some of us have found that using a router that is currently connected as a client to another access point causes this configuration to fail. It is advised to not have the router connected as a WiFi client to another access point with this configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* https://justingoetz.net/docs/docs_openwrt/olsr/adhoc-wpa.html&lt;br /&gt;
&lt;br /&gt;
==Pranala Menarik==&lt;br /&gt;
&lt;br /&gt;
* [[OLSR]]&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>