public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
From: Tim <Timbo2001@web.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Subject: Re: [B.A.T.M.A.N.] Problem openWRT "backfire" and "kmod-batman-adv"
Date: Wed, 11 Aug 2010 16:23:22 +0200	[thread overview]
Message-ID: <4C62B25A.3030206@web.de> (raw)
In-Reply-To: <201008111320.14389.sven.eckelmann@gmx.de>

On 11.08.2010 13:20, Sven Eckelmann wrote:
[...]

> what you could try is to setup the stuff by yourself using
>   http://open-mesh.net/wiki/batman-adv-quick-start-guide  and test which command
> may cause the problem (when it is batman-adv related).
>    
I tried to configure it as described in the guide and I think I some 
kind of found the problem:

Before being able to add wlan0 to the batman interfaces, I need to 
create the interface wlan0 and to remove "option disabled 1" from 
/etc/config/wireless, because otherwise wlan will be disabled by default.

Way1: When removing "option disabled 1" first and then doing 
"/etc/init.d/network restart" I get the following message:
"root@OpenWrt:/# /etc/init.d/network restart
udhcpc (v1.15.3) started
Sending discover...
Configuration file: /var/run/hostapd-phy0.conf
Segmentation fault
Failed to start hostapd for phy0
root@OpenWrt:/# Sending discover...
Sending discover..."

When rebooting the whole device it freezes as already described.

Way 2: When adding the interface wlan0 before enableing radio0 and then 
doing "/etc/init.d/network restart" the following output appears:
"config interface wlan0
         option type     interface
         option ifname   "wlan0"
         option proto    none

root@OpenWrt:/# /etc/init.d/network restart
udhcpc (v1.15.3) started
'radio0' is disabled
'radio0' is disabled
root@OpenWrt:/# Sending discover...
Sending discover...
Sending discover..."

That's clear, enabeling the interface without radio0 running is impossible.
After that the devices reboots as it should.
Enableing radio0 after that and then doing "etc/init.d/network restart" 
the output changes a little bit:

"root@OpenWrt:~# /etc/init.d/network restart
Received SIGTERM
Entering released state
udhcpc (v1.15.3) started
Sending discover...
Configuration file: /var/run/hostapd-phy0.conf
Segmentation fault
Failed to start hostapd for phy0
root@OpenWrt:~# Sending discover...
Sending discover..."

So for me the problem seems to be related to radio0. Trying that with 
the image I compiled without adding batman-adv, enabeling radio0 is 
working fine.

With best regards,
Tim

  reply	other threads:[~2010-08-11 14:23 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1281002401.15834.b.a.t.m.a.n@lists.open-mesh.org>
2010-08-11 10:47 ` [B.A.T.M.A.N.] Problem openWRT "backfire" and "kmod-batman-adv" Tim
2010-08-11 11:14   ` Marek Lindner
2010-08-11 11:20   ` Sven Eckelmann
2010-08-11 14:23     ` Tim [this message]
2010-08-11 14:52       ` Sven Eckelmann
     [not found] <mailman.33.1282337388.934.b.a.t.m.a.n@lists.open-mesh.org>
2010-08-21  8:09 ` Tim
2010-08-21  8:15   ` Sven Eckelmann
2010-08-18  6:42 Tim
     [not found] ` <201008201211.51847.sven.eckelmann@gmx.de>
     [not found]   ` <4C6E8B79.7040801@web.de>
2010-08-20 14:44     ` Sven Eckelmann
2010-08-20 15:38       ` Sven Eckelmann
     [not found]       ` <4C6F5950.8070204@bb.banban.jp>
2010-08-21  6:19         ` Sven Eckelmann
  -- strict thread matches above, loose matches on Subject: below --
2010-08-17  9:20 Tim
2010-08-17  9:27 ` Sven Eckelmann
2010-08-17  9:45   ` Tim
2010-08-17  9:51     ` Sven Eckelmann
2010-08-12 18:04 Tim Glaremin
2010-08-13  3:24 ` Sven Eckelmann
2010-08-14 17:26 ` Marek Lindner
2010-08-16 16:51   ` Marek Lindner
2010-08-12 10:14 Tim Glaremin
2010-08-12 10:30 ` Marek Lindner
2010-08-12 10:32 ` Sven Eckelmann
2010-08-04  9:21 Tim
2010-08-04  9:34 ` Sven Eckelmann
2010-08-04 22:03 ` Marek Lindner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C62B25A.3030206@web.de \
    --to=timbo2001@web.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox