Welcome to the CSIR Meraka Institute's "COIN" Blog

Saturday, October 01, 2005

Getting an OpenWRT Freifunk mesh stable

After a lot of tweaking OLSR running on Linksys has had no "ping down" messages for about 5 days now. Some of the tips to getting OLSR on OpenWRT stable.

1. Lock all the nodes to 802.11B don't let it auto sense
2. If there are any v2.2 hardware devices, change the clock speed to 216MHz with the following commands1

# nvram set clkfreq=216
# nvram commit
# reboot

3. Lock the RX and TX antenna to the one you connected your external antenna too, don't use AUTO. TAKE NOTE!!! On Version 2.0 hardware Antenna A is on the left looking from the front of the linksys and and on Version 2.,2 hardware Antenna A is on the right looking from the fron of the linksys. This caught me out a few times.

2 comments:

IP Everywhere Inc said...

Hi,

Just got the start of an OLSR Mesh up and running with this config:

German_Vilage_1

OLSR
OLSR DHCP: 10.0.60.0/26,255.255.255.192
HNA: 10.0.60.1 255.255.255.0


Wireless
WLAN Protocol: Static
IP Address: 10.0.60.1
Netmask: 255.255.255.0
WLAN Mode: Ad Hoc (Peer to Peer)
ESSID: German Village
TX Power: 251
Channel: 1
Radio Mode: B&G Only
Transmission Rate: auto

LAN
LAN Protocol: Static
LAN IP:192.168.1.1
Netmask: 255.255.255.0
Disable Firewall: Checked
NAT: Enable
No of Leases: 4
DHCP start IP: 10

WAN
WAN Protocol: DHCP
Hostname: German_Village_1

Note the TX power set to 251 which blasts the signal out.

I have two other nodes up and they are all talking pefectly.

If anyone out there is configuring and the LAN side is not pinging out. Looks like the IF is flapping. Just do either a shut/no shut of the interface (bring it down then up from your SSH session) or release/renew your adapter and it should work okay. If you test at the same time with the WLAN that is usually more stable so you have a baseline for connectivity to the outside. Have patience, the LAN will come up after some cajoling.

Email me at wifiguru@ip-everywhere.com if you get stuck.

Good luck,

Tony

whip said...

You have a great blog here! I will be sure to book mark you. I have a horse related site. It pretty much covers horse related stuff. Check it out if you get time :-)
whip