All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Wunderlich <sw@simonwunderlich.de>
To: b.a.t.m.a.n@lists.open-mesh.org
Cc: Corey Combs <combsca90@gmail.com>
Subject: Re: [B.A.T.M.A.N.] Additional Assistance
Date: Tue, 23 Oct 2018 16:30:08 +0200	[thread overview]
Message-ID: <1899616.l5F9IoS4bi@prime> (raw)
In-Reply-To: <CAPzaX0gNh3g6wUmZJLuJnixYNVEkYjdiL3E=06acrSDw2amtvw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2592 bytes --]

Hi Corey,

On Tuesday, October 23, 2018 10:22:29 AM CEST Corey Combs wrote:
> All, thank you for the replies yesterday.  Would you be able to offer
> some more insight into updating the 2 packages?  I have had some
> successes, but not all the beagle bones have
> recognized the new version of batman-adv when I run batctl -v.
> 
> The general method I've been using is the script here
> https://gist.github.com/marvin/186a609d1e88f7426747 with version 2016.4.
> The starting version on the Beagle Bones is batctl debian-2012.1.0-1 >

Could you get even higher than 2016.4, like 2018.x? Or is your kernel too old?

> [batman-adv 2012.5.0] as mentioned previously.
> After running this script and doing a
> $ modprobe batman-adv
> followed by
> $ batctl -v
> I get $ batctl 2016.4 [batman-adv 2012.5.0].

That looks like you still have the old kernel module loaded, or the new one 
not installed properly.

> 
> I have also attempted to uninstall batctl and batman-adv with
> $ apt-get --purge remove batctl
>  and
> $ apt-get --purge remove batman-adv
> and reinstall using the script, but that hasn't worked across all devices.

Not sure if that is right, as batman-adv (at least nowadays) comes as part of 
the Linux kernel, and not as a Debian package. You can install/deinstall 
batctl using apt-get though.


> 
> The laptop I have is running Debian 9.5 with batctl debian-2016.5-1
> [batman-adv 2016.4] and the Beagles are running Debian 7.9.  I would
> like to avoid reimaging the Beagles at this point in time.
> Please pardon my lack of knowledge on the topic, as I'm still
> relatively new to Linux and have been learning a great deal in the
> past few months.
> I greatly appreciate your help on the topic.

You can check the selected kernel module using modinfo. Like that:

# modinfo batman-adv
filename:       /lib/modules/4.17.0-0.bpo.3-amd64/kernel/net/batman-adv/
batman-adv.ko
alias:          net-pf-16-proto-16-family-batadv
alias:          rtnl-link-batadv
version:        2018.1
description:    B.A.T.M.A.N. advanced
author:         Marek Lindner <mareklindner@neomailbox.ch>, Simon Wunderlich 
<sw@simonwunderlich.de>
license:        GPL
srcversion:     A1221167C25642EB4E48AE0
depends:        libcrc32c,bridge,crc16
retpoline:      Y
intree:         Y
name:           batman_adv
vermagic:       4.17.0-0.bpo.3-amd64 SMP mod_unload modversions 

Here you can also see the position where the kernel module is loaded from. 
This should show 2016.4 (or whatever version you wanted to install), if it 
doesn't, something went wrong in your installation.

Cheers,
      Simon

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  reply	other threads:[~2018-10-23 14:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-23 14:22 [B.A.T.M.A.N.] Additional Assistance Corey Combs
2018-10-23 14:30 ` Simon Wunderlich [this message]
2018-10-23 14:35 ` Sven Eckelmann

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=1899616.l5F9IoS4bi@prime \
    --to=sw@simonwunderlich.de \
    --cc=b.a.t.m.a.n@lists.open-mesh.org \
    --cc=combsca90@gmail.com \
    /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.