From: Marek Lindner <lindner_marek@yahoo.de>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<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 13:14:08 +0200 [thread overview]
Message-ID: <201008111314.09249.lindner_marek@yahoo.de> (raw)
In-Reply-To: <4C627FCF.4090303@web.de>
Hi,
> Step6: Editing the config files using uci:
> "root@OpenWrt:~# uci delete wireless.radio0.disabled
> root@OpenWrt:~# uci delete wireless.@wifi-iface[0].network
> root@OpenWrt:~# uci set wireless. radio0.channel=1
> root@OpenWrt:~# uci set wireless.@wifi-iface[0].mode=adhoc
> root@OpenWrt:~# uci set wireless.@wifi-iface[0].ssid=mesh
> root@OpenWrt:~# uci set wireless.@wifi-iface[0].bssid=02:12:34:56:78:9A
> root@OpenWrt:~# uci set network.lan.mtu=1500
> root@OpenWrt:~# uci set network.lan.ifname="eth0.0 bat0"
> root@OpenWrt:~# uci set network.wlan0=interface
> root@OpenWrt:~# uci set network.wlan0.ifname=wlan0
> root@OpenWrt:~# uci set network.wlan0.proto=none
> root@OpenWrt:~# uci set network.wlan0.mtu=1524
You don't seem to modify the batman-adv settings. Could you post the batman-
adv config file, so that we can see whether it fits the rest of your uci
configuration ?
> root@OpenWrt:~# uci set network.bat0=interface
> root@OpenWrt:~# uci set network.bat0.ifname=bat0
> root@OpenWrt:~# uci set network.bat0.proto=none
> root@OpenWrt:~# uci set network.bat0.mtu=1500
I'm not sure what this will do. Any reason to set these values ?
> root@OpenWrt:~# uci commit
> root@OpenWrt:~# /etc/init.d/network restart"
>
> After restarting the network the console says: "segmentation fault" and
> freezes. When doing "reboot" instead the device also freezes and the
> power-led keeps flashing.
> I also tried only changing the config in /etc/config/wireless and
> restarted the device, with the same effect.
With "uci commit" you save these settings permanently which then get loaded at
boot time. If these settings crash your device it is save to assume that this
happens with each boot attempt. :-)
> In order to make sure the error isn't related to any errors while
> compiling the image, I compiled an Image without the batman-adv package.
> After that I was able to configure the router as usual without any freezes.
Before you try the next "/etc/init.d/network restart" could you please check
whether the batman-adv module is loaded (using 'lsmod') and whether any
interfaces are active (using 'batctl if'). The batman-adv version would be
also interesting to know (can be found in the system log -> 'logread').
At this point I don't see how a "network restart" is related to batman.
> As I already mentioned I'm not very used to Linux, so I have not yet
> found a way to connect to the router with serial console without
> building an JTAG-Cable. Is that right?
Yes, you will need a corresponding cable and pins on the board to connect it
to. A WRT54GL probably does not have the pins which means you would need to
solder it yourself.
Regards,
Marek
next prev parent reply other threads:[~2010-08-11 11:14 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 [this message]
2010-08-11 11:20 ` Sven Eckelmann
2010-08-11 14:23 ` Tim
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=201008111314.09249.lindner_marek@yahoo.de \
--to=lindner_marek@yahoo.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