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:
"r...@openwrt:~# uci delete wireless.radio0.disabled
r...@openwrt:~# uci delete wirele...@wifi-iface[0].network
r...@openwrt:~# uci set wireless. radio0.channel=1
r...@openwrt:~# uci set wirele...@wifi-iface[0].mode=adhoc
r...@openwrt:~# uci set wirele...@wifi-iface[0].ssid=mesh
r...@openwrt:~# uci set wirele...@wifi-iface[0].bssid=02:12:34:56:78:9A
r...@openwrt:~# uci set network.lan.mtu=1500
r...@openwrt:~# uci set network.lan.ifname="eth0.0 bat0"
r...@openwrt:~# uci set network.wlan0=interface
r...@openwrt:~# uci set network.wlan0.ifname=wlan0
r...@openwrt:~# uci set network.wlan0.proto=none
r...@openwrt:~# uci set network.wlan0.mtu=1524
r...@openwrt:~# uci set network.bat0=interface
r...@openwrt:~# uci set network.bat0.ifname=bat0
r...@openwrt:~# uci set network.bat0.proto=none
r...@openwrt:~# uci set network.bat0.mtu=1500
r...@openwrt:~# uci commit
r...@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