* [B.A.T.M.A.N.] batman-adv 2011.1.0 network interface setup
@ 2011-06-27 7:48 Max Ip
2011-06-27 8:15 ` Sven Eckelmann
0 siblings, 1 reply; 2+ messages in thread
From: Max Ip @ 2011-06-27 7:48 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi all,
I setup the virtual interface bat0 which embeds wlan0 for my system.
As described in the batman-adv README file, I did
# insmod batman-adv.ko and
# echo bat0 > /sys/class/net/wlan0/batman_adv/mesh_iface
I can thus enable bat0 interface and start the batman-adv protocol in
multihop environment.
However, when I restart the computer, I need to again load the kernel
module and start the process from beginning.
I would like to run bat0 interface directly after restarting the
computer (like we have it for wlan0 or eth0)
Could you please help me how do I do this?
Thanks in advance
Max
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [B.A.T.M.A.N.] batman-adv 2011.1.0 network interface setup
2011-06-27 7:48 [B.A.T.M.A.N.] batman-adv 2011.1.0 network interface setup Max Ip
@ 2011-06-27 8:15 ` Sven Eckelmann
0 siblings, 0 replies; 2+ messages in thread
From: Sven Eckelmann @ 2011-06-27 8:15 UTC (permalink / raw)
To: b.a.t.m.a.n; +Cc: Max Ip
[-- Attachment #1: Type: text/plain, Size: 958 bytes --]
On Monday 27 June 2011 09:48:38 Max Ip wrote:
[...]
> I would like to run bat0 interface directly after restarting the
> computer (like we have it for wlan0 or eth0)
>
> Could you please help me how do I do this?
This is a task for your distributions and we cannot help you here. For
example, I think there should be uci support for batman-adv in OpenWRT. There
could be support in other networking scripts of other distributions, but
usually there is some kind of "user init-script" which is called as last init
script so that the user can make his own modifications. (On Debian this would
be /etc/rc.local). You can just add the commands needed for the setup to this
file and it will be automatically done after the system started. Some
networking scripts also allow hooks to be added so that the batman-adv device
can automatically be started/removed when another network interface
appears/disappears or gets/looses a link.
Kind regards,
Sven
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-27 8:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-27 7:48 [B.A.T.M.A.N.] batman-adv 2011.1.0 network interface setup Max Ip
2011-06-27 8:15 ` Sven Eckelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).