* [B.A.T.M.A.N.] Loading the kernel module
@ 2012-01-04 16:51 Rob Lourens
2012-01-04 16:57 ` Marek Lindner
0 siblings, 1 reply; 3+ messages in thread
From: Rob Lourens @ 2012-01-04 16:51 UTC (permalink / raw)
To: b.a.t.m.a.n
Hi,
I'm having trouble with loading the kernel module. I'm sure it's just
a dumb mistake on my part. I compiled the module, loaded it with
insmod, and I can add interfaces using
/sys/class/net/wlan0/batman_adv, but batctl says that the kernel
module may not be loaded. It's true that there is no folder
/proc/net/batman-adv.
rob@ubuntu:/usr/src/batman-adv-2011.4.0$ sudo insmod batman-adv.ko
[sudo] password for rob:
rob@ubuntu:/usr/src/batman-adv-2011.4.0$ lsmod | grep batman
batman_adv 83597 0
rob@ubuntu:/usr/src/batman-adv-2011.4.0$ sudo batctl if
Error - the folder '/proc/net/batman-adv/' was not found within the
proc filesystem
Please make sure that the batman-adv kernel module is loaded
rob@ubuntu:/usr/src/batman-adv-2011.4.0$ uname --all
Linux ubuntu 2.6.32-33-generic #70-Ubuntu SMP Thu Jul 7 21:09:46 UTC
2011 i686 GNU/Linux
rob@ubuntu:/usr/src/batman-adv-2011.4.0$ modinfo batman-adv
filename: /lib/modules/2.6.32-33-generic/updates/dkms/batman-adv.ko
version: 0.2
description: B.A.T.M.A.N. advanced
author: Marek Lindner <lindner_marek@yahoo.de>, Simon
Wunderlich <siwu@hrz.tu-chemnitz.de>
license: GPL
srcversion: CE6165E01E79C5D87404D6F
depends:
vermagic: 2.6.32-33-generic SMP mod_unload modversions 586
Any idea what I am missing?
Thanks,
Rob Lourens
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] Loading the kernel module
2012-01-04 16:51 [B.A.T.M.A.N.] Loading the kernel module Rob Lourens
@ 2012-01-04 16:57 ` Marek Lindner
2012-01-04 17:06 ` Rob Lourens
0 siblings, 1 reply; 3+ messages in thread
From: Marek Lindner @ 2012-01-04 16:57 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
> I'm having trouble with loading the kernel module. I'm sure it's just
> a dumb mistake on my part. I compiled the module, loaded it with
> insmod, and I can add interfaces using
> /sys/class/net/wlan0/batman_adv, but batctl says that the kernel
> module may not be loaded. It's true that there is no folder
> /proc/net/batman-adv.
seems your batctl is way outdated. What batctl version do you have ? Simply
run "batctl -v". Before the restructuring 2 years ago the interface
configuration happened in /proc/net/batman-adv.
Regards,
Marek
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [B.A.T.M.A.N.] Loading the kernel module
2012-01-04 16:57 ` Marek Lindner
@ 2012-01-04 17:06 ` Rob Lourens
0 siblings, 0 replies; 3+ messages in thread
From: Rob Lourens @ 2012-01-04 17:06 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
You're right, I realized I'm using the version from the Ubuntu
repositories, which is .2, and not the current version.
Thanks!
On Wed, Jan 4, 2012 at 10:57 AM, Marek Lindner <lindner_marek@yahoo.de> wrote:
>
> Hi,
>
>> I'm having trouble with loading the kernel module. I'm sure it's just
>> a dumb mistake on my part. I compiled the module, loaded it with
>> insmod, and I can add interfaces using
>> /sys/class/net/wlan0/batman_adv, but batctl says that the kernel
>> module may not be loaded. It's true that there is no folder
>> /proc/net/batman-adv.
>
> seems your batctl is way outdated. What batctl version do you have ? Simply
> run "batctl -v". Before the restructuring 2 years ago the interface
> configuration happened in /proc/net/batman-adv.
>
> Regards,
> Marek
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-04 17:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-04 16:51 [B.A.T.M.A.N.] Loading the kernel module Rob Lourens
2012-01-04 16:57 ` Marek Lindner
2012-01-04 17:06 ` Rob Lourens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox