I`m using whiterussian, and the contents of the file S53olsrd is<br><br><span style="font-family: courier new,monospace;">#!/bin/sh</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">date >> /etc/log_olsr</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">DEFAULT=/etc/default/olsrd</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">[ -f $DEFAULT ] && . $DEFAULT</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">case $1 in</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> start)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> olsrd $OPTIONS</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ;;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> *)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> echo "usage: $0 (start)"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> exit 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">esac</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">exit $?</span><br><br>And the contents of the file s60olsrd is:<br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">#!/bin/sh</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">DEFAULT=/etc/default/olsrd</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">OPTIONS="-f /tmp/olsrd.conf"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">[ -f $DEFAULT ] && . $DEFAULT</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">case $1 in</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> start)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> lanip="$(nvram get lan_ipaddr)"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> case "${lanip%\.*}" in</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> 192.168.1|192.168.0)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> HNA_IP=</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> HNA_MASK=</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ;;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> *)</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> HNA_IP="$lanip"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> HNA_MASK="$(nvram get lan_netmask)"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ;;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> esac</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> wifi_ifname="$(nvram get wifi_ifname)"</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> [ -z "$wifi_ifname" ] && grep '@INTERFACE@' /etc/olsrd.conf && {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> echo No interface...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> exit 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> (</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> cat <<EOF</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">@define HNA_IP $HNA_IP</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">@define HNA_MASK $HNA_MASK</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">@define INTERFACE "$wifi_ifname"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">EOF</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> cat /etc/olsrd.conf</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ) | awk -f /usr/lib/parse-config.awk > /tmp/olsrd.conf</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> iptables -D forwarding_rule -i "$wifi_ifname" -j ACCEPT 2>/dev/null >/dev/null # no duplicates please</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> iptables -D forwarding_rule -o "$wifi_ifname" -j ACCEPT 2>/dev/null >/dev/null </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> iptables -A forwarding_rule -i "$wifi_ifname" -j ACCEPT</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> iptables -A forwarding_rule -o "$wifi_ifname" -j ACCEPT</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> [ -z "$HNA_IP" ] && {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> iptables -t nat -D POSTROUTING -o "$wifi_ifname" -j MASQUERADE 2>/dev/null >/dev/null</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> iptables -t nat -A POSTROUTING -o "$wifi_ifname" -j MASQUERADE</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> }</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> olsrd $OPTIONS</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> ;;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> *)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> echo "usage: $0 (start)"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> exit 1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">esac</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">exit $?</span><br><br>
<br><br><div class="gmail_quote">On Thu, Mar 11, 2010 at 12:55, Henning Rogge <span dir="ltr"><<a href="mailto:hrogge@googlemail.com">hrogge@googlemail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Am Donnerstag 11 März 2010 16:45:37 schrieb Airton Ishimori:<br>
<div class="im">> Parsing file: "/etc/olsrd.conf"<br>
> An error occured somwhere between your keyboard and your chair!<br>
> usage: olsrd [-f <configfile>] [ -i interface1 interface2 ... ]<br>
> [-d <debug_level>] [-ipv6] [-multi <IPv6 multicast address>]<br>
> [-lql <LQ level>] [-lqw <LQ winsize>] [-lqnt <nat threshold>]<br>
> [-bcast <broadcastaddr>] [-ipc] [-dispin] [-dispout] [-delgw]<br>
> [-hint <hello interval (secs)>] [-tcint <tc interval (secs)>]<br>
> [-midint <mid interval (secs)>] [-hnaint <hna interval (secs)>]<br>
> [-T <Polling Rate (secs)>] [-nofork] [-hemu <ip_address>]<br>
> [-lql <LQ level>] [-lqa <LQ aging factor>]<br>
> Terminated<br>
><br>
> Into of the /etc/init.d/ has:<br>
><br>
</div>> -rwxr-xr-x 1 root root 185 Jan 1 00:08 S53olsrd<br>
<br>
Maybe you can send us the content of this file ?<br>
<font color="#888888"><br>
Henning<br>
</font></blockquote></div><br>