Project

General

Profile

Actions

Bug #177

closed

wrong info from batctl if on openwrt BB r38304

Added by Luca Postregna about 11 years ago. Updated almost 8 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/06/2013
Due date:
% Done:

0%

Estimated time:

Description

root@airhp:~# modprobe batman-adv
root@airhp:~# lsmod |grep batman
batman_adv 129470 0
crc16 1015 1 batman_adv
libcrc32c 583 1 batman_adv
root@airhp:~# batctl if add eth0.2
root@airhp:~# batctl if
Error - batman-adv module has not been loaded
root@airhp:~# batctl o
[B.A.T.M.A.N. adv 2013.3.0, MainIF/MAC: eth0.2/de:9f:db:31:c9:c5 (bat0)]
Originator last-seen (#/255) Nexthop [outgoingIF]: Potential nexthops ...
No batman nodes in range ...
root@airhp:~# cat /etc/banner
_ __ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| |__|_|__||________||__| |____| |__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Bleeding Edge, r38304)
----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme de Cacao
-----------------------------------------------------

why batctl if doesn't show eth0.2?

Actions #1

Updated by Antonio Quartulli about 11 years ago

  • Status changed from New to In Progress

OpenWRT introduced an "optimisation" which removed some information from all the kernel modules.
In particular it removed the "version" file in sysfs.

This file is used by "batctl if" to understand if batman-adv is loaded or not and to retrieve its version.

Right now we (together with some openwrt maintainers) are trying to find a workaround to make "batctl if" work in openwrt without touching the code.

Actions #2

Updated by Antonio Quartulli about 11 years ago

  • Status changed from In Progress to Closed

commit 1c0b31528970a181327ff9309e3efd1e8c625ff0 in the openwrt routing feed solves this issue.
Update your feed please.

Actions #3

Updated by Sven Eckelmann almost 8 years ago

  • Status changed from Closed to Rejected
Actions

Also available in: Atom PDF