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
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
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
b.a.t.m.a.n@lists.open-mesh.org