From: Sven Eckelmann <sven.eckelmann@gmx.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Tim <Timbo2001@web.de>
Subject: Re: [B.A.T.M.A.N.] Problem openWRT "backfire" and "kmod-batman-adv"
Date: Wed, 11 Aug 2010 16:52:57 +0200 [thread overview]
Message-ID: <201008111653.05417.sven.eckelmann@gmx.de> (raw)
In-Reply-To: <4C62B25A.3030206@web.de>
[-- Attachment #1: Type: Text/Plain, Size: 2146 bytes --]
On Wednesday 11 August 2010 16:23:22 Tim wrote:
> 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..."
So you mean that the device has radio0 and wlan0, but not bat0 configured? And
still it crashes? Is batman-adv loaded or unloaded completely in that
situation (check `lsmod` output)?
It is not clear to me how batman-adv is involved when it is not loaded. But it
is somewhat active when it is only loaded, but bat0 is not configured...
because it has netdev notification enabled - which means that it gets informed
about added and removed (and some other things) devices. It is maybe related
to that.
If it is loaded, but doesn't get configured when it crashes then please onload
batman-adv using `rmmod batman-adv` and try to restart the network (without
the batman-adv stuff loaded or configured).
By the way, you seem to have shell access after that segfault. Could you
please post the `dmesg` output after that segfault - thanks.
And please don't forget to write the complete version number of batman-adv
which you are using (I can guess it using the backfire branch, but it is safer
to get that information from you).
Best regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2010-08-11 14:52 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
2010-08-11 14:52 ` Sven Eckelmann [this message]
[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=201008111653.05417.sven.eckelmann@gmx.de \
--to=sven.eckelmann@gmx.de \
--cc=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