* [B.A.T.M.A.N.] problem with batman test
@ 2009-01-25 22:25 SoukoussMan
2009-01-26 6:11 ` Marek Lindner
0 siblings, 1 reply; 8+ messages in thread
From: SoukoussMan @ 2009-01-25 22:25 UTC (permalink / raw)
To: b.a.t.m.a.n
[-- Attachment #1: Type: text/plain, Size: 4799 bytes --]
Hi,
I've make a test today with Batman and La Fonera2.
I've a problem with the 169.254.0.0/16 routing. In fact, when i launch
batman, the 169.254.0.0/16 route with gate0 dev don't add correctly.
With this, i can't have reply on my request.
If i add manually the route with "ip route add table 254 to
169.254.0.0/16 dev gate0" this work.
How can i debug this problem.
I've use "-d 4" but i don't have see problem in log. I past you a quick
start without node connected :
root@Fonera:~# /tmp/batmand -o 2000 -g 5000 ath2 -d 4
Interface activated: ath2
Using interface ath2 with address 5.0.0.1 and broadcast address
5.255.255.255
B.A.T.M.A.N. 0.3.1 rv1203 (compatibility version 5)
[ 30] Warning - batgat kernel modul interface (/dev/batgat)
not usable: No such file or directory
This may decrease the performance of batman!
[ 30] Warning - batgat kernel modul interface (/dev/batgat)
not usable: No such file or directory
This may decrease the performance of batman!
debug level: 4
originator interval: 2000
gateway class: 49 -> propagating: 4MBit/1024KBit
[ 70] schedule_own_packet(): ath2
[ 80]
[ 100] Adding route to 169.254.0.0/16 via 0.0.0.0 (table 254 -
gate0)
[ 2050]
[ 2060] Sending own packet (originator 5.0.0.1, seqno 1, TTL
50, IDF off) on interface ath2
[ 2060] schedule_own_packet(): ath2
[ 2060] ------------------ DEBUG ------------------
[ 2060] Forward list
[ 2060] 5.0.0.1 at 4151
[ 2060] Originator list
[ 2060] Originator (#/255) Nexthop [outgoingIF]:
Potential nexthops
[ 2060] No batman nodes in range ...
[ 2060] ---------------------------------------------- END DEBUG
[ 2060]
[ 2060] Received BATMAN packet via NB: 5.0.0.1, IF: ath2
5.0.0.1 (from OG: 5.0.0.1, via old OG: 5.0.0.1, seqno 1, tq 255, TTL
50, V 5, IDF 0)
[ 2060] Is an internet gateway (class 49)
[ 2070] Drop packet: received my own broadcast (sender: 5.0.0.1)
[ 2070]
[ 4160]
[ 4170] Sending own packet (originator 5.0.0.1, seqno 2, TTL
50, IDF off) on interface ath2
[ 4170] schedule_own_packet(): ath2
[ 4170] ------------------ DEBUG ------------------
[ 4170] Forward list
[ 4170] 5.0.0.1 at 6088
[ 4170] Originator list
[ 4170] Originator (#/255) Nexthop [outgoingIF]:
Potential nexthops
[ 4170] No batman nodes in range ...
[ 4170] ---------------------------------------------- END DEBUG
[ 4170]
[ 4170] Received BATMAN packet via NB: 5.0.0.1, IF: ath2
5.0.0.1 (from OG: 5.0.0.1, via old OG: 5.0.0.1, seqno 2, tq 255, TTL
50, V 5, IDF 0)
[ 4170] Is an internet gateway (class 49)
[ 4180] Drop packet: received my own broadcast (sender: 5.0.0.1)
[ 4180]
[ 6090]
[ 6100] Sending own packet (originator 5.0.0.1, seqno 3, TTL
50, IDF off) on interface ath2
[ 6100] schedule_own_packet(): ath2
[ 6100] ------------------ DEBUG ------------------
[ 6100] Forward list
[ 6100] 5.0.0.1 at 8109
[ 6100] Originator list
[ 6100] Originator (#/255) Nexthop [outgoingIF]:
Potential nexthops
[ 6100] No batman nodes in range ...
[ 6100] ---------------------------------------------- END DEBUG
[ 6100]
[ 6100] Received BATMAN packet via NB: 5.0.0.1, IF: ath2
5.0.0.1 (from OG: 5.0.0.1, via old OG: 5.0.0.1, seqno 3, tq 255, TTL
50, V 5, IDF 0)
[ 6100] Is an internet gateway (class 49)
[ 6100] Drop packet: received my own broadcast (sender: 5.0.0.1)
[ 6110]
^C[ 6610] Deleting route to 169.254.0.0/16 via 0.0.0.0 (table
254 - gate0)
[ 6610] Error - can't delete route to 169.254.0.0/16 via
0.0.0.0 (table 254): No such process
[ 6610] Error - can't delete route to 169.254.0.0/16 via
0.0.0.0 (table 254): No such process
Deleting all BATMAN routes
root@Fonera:~#
In this log, a see "Adding route to 169.254.0.0/16 via 0.0.0.0 (table
254 - gate0)" but in the table 254, i don't have this route.
And when i stop BATMAN, the route can't be deleted because don't exist (
"Error - can't delete route to 169.254.0.0/16 via 0.0.0.0 (table 254):
No such process")
Someone can help me please ?
--
-----
FrancoFON CEO and Founder
Président de l'association FrancoFON
Communauté des foneros francophones - http://www.francofon.fr
[-- Attachment #2: Type: text/html, Size: 11053 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: [B.A.T.M.A.N.] problem with batman test
2009-01-25 22:25 [B.A.T.M.A.N.] problem with batman test SoukoussMan
@ 2009-01-26 6:11 ` Marek Lindner
2009-01-26 9:16 ` SoukoussMan
0 siblings, 1 reply; 8+ messages in thread
From: Marek Lindner @ 2009-01-26 6:11 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
> How can i debug this problem.
> I've use "-d 4" but i don't have see problem in log.
please use log level 3 to get more information on gateway and routing issues.
Level 4 is for the routing protocol.
> root@Fonera:~# /tmp/batmand -o 2000 -g 5000 ath2 -d 4
> Interface activated: ath2
Note: "-g 5000" is the batman 0.2 syntax for gatewaying. This is not a problem
because batman tries to guess what it could mean:
> gateway class: 49 -> propagating: 4MBit/1024KBit
but may lead to wrong values. Use "batmand -H" to see the correct syntax.
I'm pretty sure its unrelated to your current issue.
Regards,
Marek
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [B.A.T.M.A.N.] problem with batman test
2009-01-26 6:11 ` Marek Lindner
@ 2009-01-26 9:16 ` SoukoussMan
2009-01-26 10:08 ` Marek Lindner
0 siblings, 1 reply; 8+ messages in thread
From: SoukoussMan @ 2009-01-26 9:16 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1948 bytes --]
Hi,
I've make a new test with the right syntax :
root@Fonera:~# /usr/bin/batmand -g 1mbit/1024 -o 2000 -d 3 ath2
Interface activated: ath2
Using interface ath2 with address 5.0.0.1 and broadcast address
5.255.255.255
B.A.T.M.A.N. 0.3.1 rv1203 (compatibility version 5)
Warning - batgat kernel modul interface (/dev/batgat) not usable: No
such file or directory
This may decrease the performance of batman!
debug level: 3
originator interval: 2000
gateway class: 39 -> propagating: 1024KBit/1024KBit
Adding route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
^CDeleting route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
Error - can't delete route to 169.254.0.0/16 via 0.0.0.0 (table 254): No
such process
Deleting all BATMAN routes
Interface deactivated: ath2
The route isn't add when batmand is launch.
Someone have a idea ?
Marek Lindner a écrit :
> Hi,
>
>
>> How can i debug this problem.
>> I've use "-d 4" but i don't have see problem in log.
>>
>
> please use log level 3 to get more information on gateway and routing issues.
> Level 4 is for the routing protocol.
>
>
>
>> root@Fonera:~# /tmp/batmand -o 2000 -g 5000 ath2 -d 4
>> Interface activated: ath2
>>
>
> Note: "-g 5000" is the batman 0.2 syntax for gatewaying. This is not a problem
> because batman tries to guess what it could mean:
>
>
>> gateway class: 49 -> propagating: 4MBit/1024KBit
>>
>
> but may lead to wrong values. Use "batmand -H" to see the correct syntax.
> I'm pretty sure its unrelated to your current issue.
>
> Regards,
> Marek
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
--
-----
FrancoFON CEO and Founder
Président de l'association FrancoFON
Communauté des foneros francophones - http://www.francofon.fr
[-- Attachment #2: Type: text/html, Size: 2972 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [B.A.T.M.A.N.] problem with batman test
2009-01-26 9:16 ` SoukoussMan
@ 2009-01-26 10:08 ` Marek Lindner
2009-01-26 11:25 ` SoukoussMan - FrancoFON CEO
0 siblings, 1 reply; 8+ messages in thread
From: Marek Lindner @ 2009-01-26 10:08 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
Hi,
> Adding route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
> ^CDeleting route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
> Error - can't delete route to 169.254.0.0/16 via 0.0.0.0 (table 254): No
> such process
> Deleting all BATMAN routes
> Interface deactivated: ath2
>
> The route isn't add when batmand is launch.
I just ran the same command as you and it works as expected. Why are you so
sure that the route is not added ? Batman would throw an error message
(similar to the delete error). But it does not happen. May be something else
deletes the route ?
Could you check whether the command "logread" reveals more clues ?
Regards,
Marek
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [B.A.T.M.A.N.] problem with batman test
2009-01-26 10:08 ` Marek Lindner
@ 2009-01-26 11:25 ` SoukoussMan - FrancoFON CEO
2009-01-27 8:14 ` SoukoussMan
0 siblings, 1 reply; 8+ messages in thread
From: SoukoussMan - FrancoFON CEO @ 2009-01-26 11:25 UTC (permalink / raw)
To: 'The list for a Better Approach To Mobile Ad-hoc Networking'
Hi,
When batmand is launch and show this :
root@Fonera:~# /usr/bin/batmand -g 1mbit/1024 -o 2000 -d 3 ath2
Interface activated: ath2
Using interface ath2 with address 5.0.0.1 and broadcast address
5.255.255.255
B.A.T.M.A.N. 0.3.1 rv1203 (compatibility version 5)
Warning - batgat kernel modul interface (/dev/batgat) not usable: No such
file or directory
This may decrease the performance of batman!
debug level: 3
originator interval: 2000
gateway class: 39 -> propagating: 1024KBit/1024KBit
Adding route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
I do this command :
root@Fonera:~# ip route ls table 254
192.168.182.0/24 dev tun0 proto kernel scope link src 192.168.182.1
192.168.18.0/24 dev eth0.1 proto kernel scope link src 192.168.18.3
192.168.10.0/24 dev br-lan proto kernel scope link src 192.168.10.1
5.0.0.0/8 dev ath2 proto kernel scope link src 5.0.0.1
default via 192.168.18.1 dev eth0.1
root@Fonera:~#
The route isn't present in the table 254.
Cordialement,
--
FrancoFON CEO and Founder
SoukoussMan@FrancoFON.fr
Communauté des foneros francophones - www.francofon.fr
-----Message d'origine-----
De : b.a.t.m.a.n-bounces@open-mesh.net
[mailto:b.a.t.m.a.n-bounces@open-mesh.net] De la part de Marek Lindner
Envoyé : lundi 26 janvier 2009 11:08
À : The list for a Better Approach To Mobile Ad-hoc Networking
Objet : Re: [B.A.T.M.A.N.] problem with batman test
Hi,
> Adding route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
> ^CDeleting route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
> Error - can't delete route to 169.254.0.0/16 via 0.0.0.0 (table 254): No
> such process
> Deleting all BATMAN routes
> Interface deactivated: ath2
>
> The route isn't add when batmand is launch.
I just ran the same command as you and it works as expected. Why are you so
sure that the route is not added ? Batman would throw an error message
(similar to the delete error). But it does not happen. May be something else
deletes the route ?
Could you check whether the command "logread" reveals more clues ?
Regards,
Marek
_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@open-mesh.net
https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [B.A.T.M.A.N.] problem with batman test
2009-01-26 11:25 ` SoukoussMan - FrancoFON CEO
@ 2009-01-27 8:14 ` SoukoussMan
2009-01-27 10:06 ` Marek Lindner
0 siblings, 1 reply; 8+ messages in thread
From: SoukoussMan @ 2009-01-27 8:14 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
[-- Attachment #1: Type: text/plain, Size: 1431 bytes --]
Hi,
Someone can help me to find which command is executed to add the
169.254.0.0/16 route to try to execute manually and look if i've a error ?
SoukoussMan - FrancoFON CEO a écrit :
> Hi,
>
> When batmand is launch and show this :
> root@Fonera:~# /usr/bin/batmand -g 1mbit/1024 -o 2000 -d 3 ath2
> Interface activated: ath2
> Using interface ath2 with address 5.0.0.1 and broadcast address
> 5.255.255.255
> B.A.T.M.A.N. 0.3.1 rv1203 (compatibility version 5)
> Warning - batgat kernel modul interface (/dev/batgat) not usable: No such
> file or directory
> This may decrease the performance of batman!
> debug level: 3
> originator interval: 2000
> gateway class: 39 -> propagating: 1024KBit/1024KBit
> Adding route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
>
> I do this command :
> root@Fonera:~# ip route ls table 254
> 192.168.182.0/24 dev tun0 proto kernel scope link src 192.168.182.1
> 192.168.18.0/24 dev eth0.1 proto kernel scope link src 192.168.18.3
> 192.168.10.0/24 dev br-lan proto kernel scope link src 192.168.10.1
> 5.0.0.0/8 dev ath2 proto kernel scope link src 5.0.0.1
> default via 192.168.18.1 dev eth0.1
> root@Fonera:~#
>
> The route isn't present in the table 254.
>
>
> Cordialement,
>
>
--
-----
FrancoFON CEO and Founder
Président de l'association FrancoFON
Communauté des foneros francophones - http://www.francofon.fr
[-- Attachment #2: Type: text/html, Size: 1912 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [B.A.T.M.A.N.] problem with batman test
2009-01-27 8:14 ` SoukoussMan
@ 2009-01-27 10:06 ` Marek Lindner
2009-01-27 10:51 ` SoukoussMan - FrancoFON CEO
0 siblings, 1 reply; 8+ messages in thread
From: Marek Lindner @ 2009-01-27 10:06 UTC (permalink / raw)
To: The list for a Better Approach To Mobile Ad-hoc Networking
On Tuesday 27 January 2009 16:14:23 SoukoussMan wrote:
> Someone can help me to find which command is executed to add the
> 169.254.0.0/16 route to try to execute manually and look if i've a error ?
The command line would look like this:
ip route add 169.254.0.0/16 dev eth0
You can use logread to see the systems log messages.
Regards,
Marek
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [B.A.T.M.A.N.] problem with batman test
2009-01-27 10:06 ` Marek Lindner
@ 2009-01-27 10:51 ` SoukoussMan - FrancoFON CEO
0 siblings, 0 replies; 8+ messages in thread
From: SoukoussMan - FrancoFON CEO @ 2009-01-27 10:51 UTC (permalink / raw)
To: 'The list for a Better Approach To Mobile Ad-hoc Networking'
Ok thanks i test this
Cordialement,
--
FrancoFON CEO and Founder
SoukoussMan@FrancoFON.fr
Communauté des foneros francophones - www.francofon.fr
-----Message d'origine-----
De : b.a.t.m.a.n-bounces@open-mesh.net
[mailto:b.a.t.m.a.n-bounces@open-mesh.net] De la part de Marek Lindner
Envoyé : mardi 27 janvier 2009 11:07
À : The list for a Better Approach To Mobile Ad-hoc Networking
Objet : Re: [B.A.T.M.A.N.] problem with batman test
On Tuesday 27 January 2009 16:14:23 SoukoussMan wrote:
> Someone can help me to find which command is executed to add the
> 169.254.0.0/16 route to try to execute manually and look if i've a error ?
The command line would look like this:
ip route add 169.254.0.0/16 dev eth0
You can use logread to see the systems log messages.
Regards,
Marek
_______________________________________________
B.A.T.M.A.N mailing list
B.A.T.M.A.N@open-mesh.net
https://lists.open-mesh.net/mm/listinfo/b.a.t.m.a.n
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-01-27 10:51 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-25 22:25 [B.A.T.M.A.N.] problem with batman test SoukoussMan
2009-01-26 6:11 ` Marek Lindner
2009-01-26 9:16 ` SoukoussMan
2009-01-26 10:08 ` Marek Lindner
2009-01-26 11:25 ` SoukoussMan - FrancoFON CEO
2009-01-27 8:14 ` SoukoussMan
2009-01-27 10:06 ` Marek Lindner
2009-01-27 10:51 ` SoukoussMan - FrancoFON CEO
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox