OpenWrt Forum Archive

Topic: OLSR + WPA,2,PSK,PSK2... Is it possible...?

The content of this topic has been archived on 16 Feb 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Please forgive me if this question has already been addressed.

I have Kamikaze 7.07 and OLSRd running on seven WRT54GL's. Unencrypted they run beautifully, no problems at all.

I would really like to encrypt the network though... How can I do this...?

Would I create a VPN, or use PSK,2,WPA,2...?

I have tried to set the encryption options in the wireless config files with no luck...

I am using adhoc mode obviously and OLSR runs over the wl0 if, nas is installed, etc.

Thanks in advance...

Hi !

I played with olsr on WRT54GL with FreiFunk firmware but got strange network/packets  losses.
Now I am trying with Kamikaze 7.07 but no much success so far ...

Could you please write step by step how did you configure olsr
(starting from setting up ad-hoc wireless ) ?

( Then I would probably help you with security wink )

Thanks

Hi Alex,

A step by step ay...

I also had a few issues getting OLSR working on Kamikaze 7.07... After many hours of hair pulling, I finally cracked it...

1) Edit the wireless conf file

option channel <needs to be the same across all olsrd routers>
option ssid <needs to be the same across all olsrd routers>
option network wifi  // the tag I gave in the wireless config file
option mode adhoc

// and currently,

option encryption none

2) Edit the network conf file

// Add a wifi section

#### WIFI configuration
config interface wifi
         option proto static
         option ipaddr <your chosen IP address for the wifi if>
         option netmask <your netmask for wifi if>

3) Now to install OLSRD...
// For the life of me, I could not get OLSRD V 0.5.0-2 to work... So, install version 0.5.0-1 - it works for me...

4) Edit the /etc/olsrd.conf file
// uncomment the following lines, change the config values as you see fit

Hna4
{
}

Hna6
{
}

AllowNoInt    yes
TosValue    16
Willingness        4
UseHysteresis    no
LinkQualityLevel    2
LinkQualityWinSize    10
Pollrate    2.00
NicChgsPollInt  3.0
TcRedundancy    0
MprCoverage    1
LoadPlugin "olsrd_dyn_gw.so.0.3"
{
}
Interface "wl0"

5) create the link to the /etc/init.d/olsrd file for startup on boot
ln -s /etc/init.d/olsrd /etc/rc.dS50olsrd

6) Reboot router... Should see lots of activity on your wifi link led, assuming you have one yikes)

if you type in 'route', and assuming you have more than one olsrd enabled router, you should see the other routers listed in the routing table...

Hope this helps,
James

--------------------------------------------------------------------------------------------------------------------------
Like all things, when you know how to do it, it's easy... If only I knew everything, or at least something...!

Hi again Alex,

Sorry, I just reread your message...

Not sure if you know already where the config files are kept...
So, the network and wireless config files are under the /etc/config directory

Let me know if you'd like more info...

Thanks , looks like I've got olsr working . I've installed ver 0.5.2-1 . Now looking for missed olsrd_txtinfo plugin...

The discussion might have continued from here.