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 12:47:43 +0200 [thread overview]
Message-ID: <4C627FCF.4090303@web.de> (raw)
In-Reply-To: <mailman.1.1281002401.15834.b.a.t.m.a.n@lists.open-mesh.org>
Hello,
first of all I'd like to say thanks for your fast replies.
I'm not very used to using Linux so this is a little tricky to me.
First of all I'm going to show you the way I compiled an image
containing batman-adv (that's the way it used to work before) for WRT54GL:
Step1: Check out the backfire repository:
"svn co svn://svn.openwrt.org/openwrt/branches/backfire"
Step2: Change to backfire-folder
"cd backfire"
Step3: Adding the Batman-Adv module
"./scripts/feeds update"
"./scripts/feeds install kmod-batman-adv"
Step4: Configure the Image using:
"make menuconfig"
Here I select "Broadcom BCM947xx/953xx" with 2.6 kernel as Target System
and add the batman-package in "Image Configuration -
> Kernel Modules -> Network Support"
Step4: Compiling the Image
Step5: Transferring the image, changing the password via telnet and the
connecting via SSH
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
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
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.
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.
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?
Greetings,
Tim
next parent reply other threads:[~2010-08-11 10:47 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 ` Tim [this message]
2010-08-11 11:14 ` [B.A.T.M.A.N.] Problem openWRT "backfire" and "kmod-batman-adv" Marek Lindner
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=4C627FCF.4090303@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.