From: marco tozzini <lists@java-system.com>
To: The list for a Better Approach To Mobile Ad-hoc Networking
<b.a.t.m.a.n@open-mesh.net>
Subject: Re: [B.A.T.M.A.N.] Unable to connect to internet
Date: Sat, 14 Mar 2009 09:04:05 +0100 [thread overview]
Message-ID: <49BB64F5.8020201@java-system.com> (raw)
In-Reply-To: <49B98151.2010906@java-system.com>
marco tozzini wrote:
> elektra wrote:
>> Hi .
>>
>>
>>> Any Hints?
>>>
>>
>> sure: You are not announcing a default route.
>>
>> On mesh router connected to ADSL:
>>
>> batmand -g 1000 ath0
>>
>> On other mesh router:
>>
>> batmand -r 1 ath0
>>
>> You have to NAT towards the internet on the gateway.
>>
>> Cheers,
>> elektra
>
> Thank you for your help
> It still doesn't work
> But something I can't understand happened
>
> root@OpenWrt:~# batmand -a 192.168.0.1/24 -g 1000 -d 3 ath0
> WARNING: You are using the unstable batman branch. If you are
> interested in *using* batman get the latest stable release !
> Interface activated: ath0
> Using interface ath0 with address 192.168.2.200 and broadcast address
> 192.168.2.255
> B.A.T.M.A.N. 0.3-beta (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
> gateway class: 33 -> propagating: 1024KBit/256KBit
> Adding throw route to 192.168.0.0/24 via 0.0.0.0 (table 65 - unknown)
> Adding throw route to 192.168.0.0/24 via 0.0.0.0 (table 66 - unknown)
> Adding throw route to 192.168.0.0/24 via 0.0.0.0 (table 67 - unknown)
> Adding throw route to 192.168.0.0/24 via 0.0.0.0 (table 68 - unknown)
> Adding route to 169.254.0.0/16 via 0.0.0.0 (table 254 - gate0)
> Adding route to 192.168.2.203 via 0.0.0.0 (table 66 - ath0)
>
> root@OpenWrt:~# route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref
> Use Iface
> 192.168.2.0 * 255.255.255.0 U 0 0
> 0 ath0
> 192.168.0.0 * 255.255.255.0 U 0 0
> 0 br-lan
> 169.254.0.0 * 255.255.0.0 U 0 0
> 0 gate0
> default www.routerlogin 0.0.0.0 UG 0 0
> 0 br-lan
> root@OpenWrt:~#
>
> It seems batman set a gate0 interface with 169.254.x.x IP address
> How can I use this one with my 192.168.0.1 ADSL router?
>
> Thanks
>
> Ciao
> Marco
>
Sorry my fault here
I swapped the 2 routers since my first post
so the dump above is related to:
192.168.0.200 connected to ADSL modem
192.168.0.203 is not just a batman node
Ciao
Marco
next prev parent reply other threads:[~2009-03-14 8:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-11 20:57 [B.A.T.M.A.N.] Unable to connect to internet marco tozzini
2009-03-11 21:14 ` elektra
2009-03-12 21:40 ` marco tozzini
2009-03-13 2:11 ` Marek Lindner
2009-03-14 8:13 ` marco tozzini
2009-03-14 11:01 ` Marek Lindner
2009-03-14 8:04 ` marco tozzini [this message]
2009-03-14 8:52 ` marco tozzini
2009-03-14 9:14 ` elektra
2009-03-16 22:54 ` Sven Eckelmann
-- strict thread matches above, loose matches on Subject: below --
2009-03-17 9:39 Marco Tozzini
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=49BB64F5.8020201@java-system.com \
--to=lists@java-system.com \
--cc=b.a.t.m.a.n@open-mesh.net \
/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.