public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] b.a.t.m.a.n. + wrt54gl + OpenWrt Kamikaze + X-wrt
@ 2008-03-09 20:31 Donald Davis
  2008-03-09 21:07 ` elektra
  0 siblings, 1 reply; 4+ messages in thread
From: Donald Davis @ 2008-03-09 20:31 UTC (permalink / raw)
  To: b.a.t.m.a.n

I've been trying to get batman running on a a few wrt54gl's with openwrt
kamikaze + x=wrt.

Has anyone on the list had success with this?

I am unsure about the wireless mode.  I thought ad-hoc, but I've also
tried client and ap mode.

I tried
batmand br-lan
batmand eth0:1

I've tried running several all on channel 1.  And they reported there
were no batman nodes in range.  What have I left out?






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [B.A.T.M.A.N.] b.a.t.m.a.n. + wrt54gl + OpenWrt Kamikaze + X-wrt
  2008-03-09 20:31 [B.A.T.M.A.N.] b.a.t.m.a.n. + wrt54gl + OpenWrt Kamikaze + X-wrt Donald Davis
@ 2008-03-09 21:07 ` elektra
  0 siblings, 0 replies; 4+ messages in thread
From: elektra @ 2008-03-09 21:07 UTC (permalink / raw)
  To: dondavis,
	The list for a Better Approach To Mobile Ad-hoc Networking

1. You have to use ad-hoc - multipoint to multipoint networking is what 
mesh networking is all about.
2. Did you check your firewall settings - in doubt try disabling it for 
a test (iptables -F)
3. The hints that you are giving are very sparse - which version are you 
using, your ip-settings etc.
4. Starting with a high debug level may provide more information.

cheers,

cu elektra
> I've been trying to get batman running on a a few wrt54gl's with openwrt
> kamikaze + x=wrt.
>
> Has anyone on the list had success with this?
>
> I am unsure about the wireless mode.  I thought ad-hoc, but I've also
> tried client and ap mode.
>
> I tried
> batmand br-lan
> batmand eth0:1
>
> I've tried running several all on channel 1.  And they reported there
> were no batman nodes in range.  What have I left out?
>
>
>
>
>
> _______________________________________________
> B.A.T.M.A.N mailing list
> B.A.T.M.A.N@open-mesh.net
> https://list.open-mesh.net/mm/listinfo/b.a.t.m.a.n
>
>   


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [B.A.T.M.A.N.] b.a.t.m.a.n. + wrt54gl + OpenWrt Kamikaze + X-wrt
@ 2008-03-09 22:49 Donald Davis
  2008-03-10  5:17 ` dondavis
  0 siblings, 1 reply; 4+ messages in thread
From: Donald Davis @ 2008-03-09 22:49 UTC (permalink / raw)
  To: b.a.t.m.a.n

I guess I should start with:
        1. How should I set up the preferred gateway?
        2. what do I need to do besides batmand interface?  
        3.  Thoughts on how to setup a second nic on a computer in order
        to
        allow it to work as a visualization server?  
        
        
        
        
        On Sun, 2008-03-09 at 22:07 +0100, elektra wrote:
        > 1. You have to use ad-hoc - multipoint to multipoint
        networking is what 
        > mesh networking is all about.
        I kind of figured.  But the fact it wasn't working led me to
        question a
        lot... 
        
        > 2. Did you check your firewall settings - in doubt try
        disabling it for 
        > a test (iptables -F)  
        
        Okay.  I'll try that.  I was looking at some routing some of the
        udp
        packages batman needs.  well iptables -F killed the router (that
        would
        make sense, flushing the iptables on a router)...
        
        I'll try 
        
        iptables -t filter -I INPUT 2 -p udp --dport 1966 --sport 1966
        -j
        ACCEPT;
        
        iptables -t filter -I OUTPUT 2 -p udp --dport 1966 --sport 1966
        -j
        ACCEPT;
        
        iptables -t filter -I ipfilter 5 -s 103.0.0.0/8 -d 103.0.0.0/8
        -j
        ACCEPT;
        
        > 3. The hints that you are giving are very sparse - which
        version are you 
        > using, your ip-settings etc.
        
        Sorry.  I didn't want to type a a lot of info  without knowing
        what
        would be useful.  
        
        It's Batman 0.2 compatibility  version 3. 
        
        I'm very unsure about a few things.  when I type ifconfig on the
        wrt54gl
        I have following devices 
        br-lan
        eth0
        eth0.0
        eth0.1
        lo
        wl0 
        
        the web interface on x-wrt offers me br-lan and eth0.1 by
        default and
        eth0.0 once I bring it up on the cli.   
        so I use ssh and start batmand br-lan eth0.0 eth0.1
        
         
        at one point I had vlan0 but it disappeared without my
        (consciously)
        disabling it.   
        
        I chose eth0.0 as the primary interface and routing class 1.  
        
        ifconfig eth0.0 103.0.0.(number of router) netmask 255.0.0.0
        broadcast
        103.255.255.255
        
        I'll try ifconfig br-lan 103.0.0.* and use it as the primary
        interface.
        
        


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [B.A.T.M.A.N.] b.a.t.m.a.n. + wrt54gl + OpenWrt Kamikaze + X-wrt
  2008-03-09 22:49 Donald Davis
@ 2008-03-10  5:17 ` dondavis
  0 siblings, 0 replies; 4+ messages in thread
From: dondavis @ 2008-03-10  5:17 UTC (permalink / raw)
  To: dondavis,
	The list for a Better Approach To Mobile Ad-hoc Networking

I have 8 wrt54gl's running openwrt + batman.  I set all to auto channel +
ad-hoc.


I'm trying this startup script.
ifconfig eth0.0 103.0.0.* netmask 255.0.0.0 broadcast 103.255.255.255 &
ifconfig wl0 103.0.0.* netmask 255.0.0.0 broadcast 103.255.255.255 &
batmand eth0.0 eth0.1 wl0 &
iptables -t filter -I INPUT 2 -p udp --dport 1966 --sport 1966 -j ACCEPT &
iptables -t filter -I OUTPUT 2 -p udp --dport 1966 --sport 1966 -j ACCEPT
&


I did a kismet scan and only 4 are showing up.  All 8 have wlan lights
blinking in sync.

Should I manually set the channel?

Do the essids matter?

Should the lan ip be the same as the ip I give the batman device?

do I need to use wan ips?




One shows up- Channel 10 ap-
 Name    : mobileWRT                                            │
│|│                                                           
    │
│|│ SSID    : mobileWRT                                       
    │
│|│ Server  : localhost:2501                                  
    │
│ │ BSSID   : 00:1C:10:BC:AC:68                               
    │
│ │ Carrier : IEEE 802.11g                                    
    │
│ │ Manuf   : Unknown                                         
    │
│ │ Max Rate: 54.0                                            
    │
│ │ BSS Time: 2b688188                                        
    │
│ │ Max Seen: 1000 kbps                                       
    │
│ │ First   : Sun Mar  9 19:34:06 2008                        
    │
│ │ Latest  : Sun Mar  9 19:40:38 2008                        
    │
│ │ Clients : 0                                               
    │
│ │ Type    : Access Point (infrastructure)                   
    │
└─│ Info    :                                           
          │
┌─│ Channel : 10                                        
          │
│ │

3 ad-hocs
│-│ Name    : Adhoc networks                                  
  │ │
│|│ Networks: 3                                               
  │ │
│|│ Min Loc : N/A                                             
  │ │
│|│ Max Loc : N/A                                             
  │ │
│ │ Range   : N/A                                             
  │ │
│ │ Carrier : IEEE 802.11g                                    
  │ │
│ │                                                           
  │ │
│ │ Network 1                                                 
  │ │
│ │ SSID    : OpenWrt                                         
  │ │
│ │ Server  : localhost:2501                                  
  │ │
│ │ BSSID   : 42:19:24:94:DF:5E                               
  │ │
│ │ Carrier : IEEE 802.11g                                    
  │ │
│ │ Manuf   : Unknown                                         
  │ │
│ │ Max Rate: 11.0
 Clients : 15                                                 │ │
│ │ Type    : Ad-hoc                                          
  │ │
│ │ Info    :                                                 
  │ │
│ │ Channel : 1                                               
  │ │
│ │ Privacy : No                                              
  │ │
│ │ Encrypt : None


 Network 2                                                    │ │
│|│ SSID    : project5                                        
  │ │
│|│ Server  : localhost:2501                                  
  │ │
│ │ BSSID   : 4E:FC:E3:89:31:9E                               
  │ │
│ │ Carrier : IEEE 802.11g                                    
  │ │
│ │ Manuf   : Unknown                                         
  │ │
│ │ Max Rate: 54.0                                            
  │ │
│ │ BSS Time: e480e183                                        
  │ │
│ │ Max Seen: 1000 kbps                                       
  │ │
│ │ First   : Sun Mar  9 19:34:06 2008                        
  │ │
│ │ Latest  : Sun Mar  9 20:35:55 2008                        
  │ │
│ │ Clients : 5                                               
  │ │
│ │ Type    : Ad-hoc                                          
  │ │
│ │ Info    :                                                 
  │ │
│ │ Channel : 11                                              
  │ │
│ │ Privacy : No                                              
  │ │
│+│ Encrypt : None


 Network 3                                                    │ │
│ │ SSID    : mobileWRT                                       
  │ │
│ │ Server  : localhost:2501                                  
  │ │
│ │ BSSID   : D6:4E:A1:DA:E5:55                               
  │ │
│ │ Carrier : IEEE 802.11g                                    
  │ │
│ │ Manuf   : Unknown                                         
  │ │
│+│ Max Rate: 11.0
 Type    : Ad-hoc                                             │ │
│ │ Info    :                                                 
  │ │
│ │ Channel : 11                                              
  │ │
│ │ Privacy : No                                              
  │ │
│ │ Encrypt : None






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-10  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-09 20:31 [B.A.T.M.A.N.] b.a.t.m.a.n. + wrt54gl + OpenWrt Kamikaze + X-wrt Donald Davis
2008-03-09 21:07 ` elektra
  -- strict thread matches above, loose matches on Subject: below --
2008-03-09 22:49 Donald Davis
2008-03-10  5:17 ` dondavis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox