====== Howto for using Network via OLSRD @ Realraum ======
{{tag>howto network debian OLSRD}}
===== Instructions for Debian/unstable =====
All the relevant packages are available in Debian/unstable (not in testing and stable yet), get them via:
# aptitude install olsrd olsrd-plugin olsrd-gui
Relevant parts of /etc/olsrd/olsrd.conf:
DebugLevel 0
Interface "ipw"
{
HelloInterval 6.0
HelloValidityTime 90.0
TcInterval 3.0
TcValidityTime 300.0
MidInterval 15.0
MidValidityTime 300.0
HnaInterval 15.0
HnaValidityTime 90.0
}
LinkQualityFishEye 1
LinkQualityDijkstraLimit 0 9.0
IpVersion 4
ClearScreen yes
Hna4
{
}
Hna6
{
}
AllowNoInt yes
Willingness 6
IpcConnect
{
MaxConnections 0
Host 127.0.0.1
}
UseHysteresis no
LinkQualityLevel 2
LinkQualityWinSize 100
Pollrate 0.1
TcRedundancy 2
MprCoverage 5
Do not forget to set START_OLSRD="yes" in /etc/default/olsrd. Then configure your wireless device, assuming its name is ipw use something like:
iwconfig ipw essid graz.funkfeuer.at
iwconfig ipw ap 02:CA:FF:EE:BA:BE
iwconfig ipw mode Ad-Hoc
ifconfig ipw 10.12.23.$RANDOM_WERT
ifconfig ipw netmask 255.255.0.0 broadcast 10.12.255.255
route add default gw 10.12.0.10
Starting olsrd via '/etc/init.d/olsrd start' should work then.