ts-7000
[Top] [All Lists]

[ts-7000] Re: ip forwarding wlan0 to eth0

To:
Subject: [ts-7000] Re: ip forwarding wlan0 to eth0
From: "" <>
Date: Wed, 07 Jan 2009 13:45:12 -0000
Update:

After I raised the power to the TS7260 board from 9 to 15V and 
lowered the camera resolution before calling the camera via an 
webrowser, the HTTP connection works fine and the "NETDEV 
WATCHDOG:wlan0..."  warning doesn't come up again. Hence I see two 
reasons why the warning could come: 

1) Too low power 
2) To high dataflow from eth0 to wlan0

Now I've to figure out why rtsp streaming doesn't work and then I'm 
happy :-)

Thanks for your help!

Tobi

---  In  "" 
<> wrote:
>
> Thanks Jim, finally it seems to work (almost :-) )
> 
> What I did: 
> 
> I added routes at the GW TS7260
> 
> route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1 
metric 1
> 
> route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1 
> metric 1
> 
> Then I added routes on my Laptop
> 
> route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.2.1 
> 
> And visa verca on the cam:
> 
> route add -net 192.167.2.0 netmask 255.255.255.0 gw 192.168.1.1 
> 
> Ipforwarding active, and icmp_ignores to off, all firewalls down, 
and
> ping,...works 
> 
> Still a little problem: When I call now from my laptop the webcam 
over
> 192.168.1.2 I get on the TS 7260 Kernel following contiously 
repating
> message:
> 
> ...
> 
BCN                                                                  
>           
> NETDEV WATCHDOG: wlan0: transmit timed 
out                           
>           
> wlan0: Tx timed out, trying 
reset                                    
>           
> BCN
> ...     
> 
> Only shutting down works...any idea?
> 
> Tobi
> 
> 
> 
> 
> 
> 
> 
> --- In  Jim Jackson <jj@> wrote:
> >
> > 
> > 
> > 
> > On Tue, 6 Jan 2009, tobiaskrieger@ wrote:
> > 
> > > ...still doesn' work.
> > >
> > > I tried brctl - but it seems that someone did not install some
> > > packages (same as with ip_tables):
> > >
> > > modprobe -v bridge
> > > /sbin/insmod /lib/modules/2.4.26-ts11/kernel/net/bridge.o
> > > Using /lib/modules/2.4.26-ts11/kernel/net/bridge.o
> > > Symbol version prefix ''
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o:
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o: unresolved symbol
> > > br_ioctl_hook
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o:
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o: unresolved symbol
> > > br_handle_frame_hook
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o: insmod
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o failed
> > > /lib/modules/2.4.26-ts11/kernel/net/bridge.o: insmod bridge 
failed
> > >
> > > So I thought some static routing could solve the problem - it 
does
> not:
> > >
> > > That's my current set up
> > >
> > > TS7260:
> > > eth0: 192.168.1.1, netmask 255.255.255.0
> > > wlan0: 192.168.2.1, netmask 255.255.255.0
> > >
> > > Net 1:
> > > Webcam: 192.168.1.2
> > > netmask 255.255.255.0
> > >
> > > Net 2:
> > > Laptop: 192.168.2.2
> > > netmask 255.255.255.0
> > >
> > > My routing table on the TS7260:
> > >
> > > Destination     Gateway         Genmask         Flags Metric Ref
> > > Use Iface
> > > 192.168.1.2     *               255.255.255.255 UH    0      0
> > > 0 eth0
> > > 192.168.2.2     *               255.255.255.255 UH    0      0
> > > 0 wlan0
> > > 192.168.2.0     192.168.2.1     255.255.255.0   UG    0      0
> > > 0 wlan0
> > > 192.168.2.0     *               255.255.255.0   U     0      0
> > > 0 wlan0
> > > 192.168.1.0     192.168.1.1     255.255.255.0   UG    0      0
> > > 0 eth0
> > > 192.168.1.0     *               255.255.255.0   U     0      0
> > > 0 eth0
> > > 127.0.0.0       *               255.0.0.0       U     0      
0   
>     0 lo
> > >
> > >
> > > I can ping now from my Laptop to both IP address (eth0 and 
wlan0) of
> > > the TS7260 and so I can from the Cam to TS7260 - but I still 
can't
> > > ping straight through from Laptop to Camera.
> > >
> > > Do you have an idea how to solve this problem? Thank you!
> > 
> > you don't say what the routing tables are on your laptop and cam.
> > Remember each host on a subnet needs to know where (which IP add)
> > to send any packets that are NOT on it's own subnet.
> > 
> > I suspect that your laptop will only need a default route - 
anything
> not on 
> > the wireless subnet goes to the ts7260 wlan0
> > 
> > The cam maybe be more problematic, it will need a route to the 
network
> > 192.168.2.0/24 (mask 255.255.255.0) that points to the eth0
> interface of 
> > the ts7260. The default route might point somewhere else - e.g. 
to a 
> > broadband router. You'll still need that too.
> > 
> > >
> > > -tobi
> > >
> > >
> > > --- In  "tobiaskrieger@"
> > > <tobiaskrieger@> wrote:
> > >>
> > >>
> > >> Thanks a lot , I will read me through these articles!
> > >>
> > >> tobi
> > >>
> > >>
> > >> --- In  Jim Jackson <jj@> wrote:
> > >>>
> > >>>
> > >>> Hi you need an IP networking primer.
> > >>>
> > >>> Your set up  needs bridging on the ts7260, to join wlan0 to 
eth0
> > >>> check out this article for more info...
> > >>>
> > >>> http://www.linuxjournal.com/article/8172
> > >>>
> > >>> or just google for similar articles.
> > >>>
> > >>> An alternative would be to seperate your eth0 and wlan0 
networks
> into
> > >>> different subnets - by setting the netmask to 255.255.255.0 
on all
> > >> devices.
> > >>> Then you will have to configure appropriate default routes. 
You'd
> > >> probably
> > >>> need some extra routing info as well to achieve full 
connectivity.
> > >>>
> > >>> You might find this site useful
> > >>>
> > >>> http://www.linuxhomenetworking.com/
> > >>>
> > >>> Jim
> > >>>
> > >>> On Sun, 4 Jan 2009, tobiaskrieger@ wrote:
> > >>>
> > >>>> Hallo!
> > >>>>
> > >>>> I'm working since a few days on the following problem:
> > >>>>
> > >>>> I have on my TS7260 - original kernel - two networks running 
(all
> > >> static)
> > >>>>
> > >>>> eth0: 192.168.0.2
> > >>>> wlan0: 192.168.1.2
> > >>>>
> > >>>> netmask for both 255.255.0.0
> > >>>> gateway by default to 192.168.0.1 eth0 and wlan0
> > >>>>
> > >>>> Then I've a network camera connected to eth0 with ip 
192.168.0.9,
> > >>>> netmask 255.255.0.0. Since a web/ftp/telnet/ server is 
running
> > > on the
> > >>>> cam, a default gateway to 192.168.0.15 is set.
> > >>>>
> > >>>> My Laptop uses the wlan0 interface and has the ip 
192.168.1.100,
> > >>>> network 255.255.0.0
> > >>>>
> > >>>> Communication works fine between CAM and TS7260 and between
> > > Laptop and
> > >>>> TS7260 in either direction. But I can't ping,http,... 
straight
> > > from my
> > >>>> Laptop to the Camera. IP_forward is set to 1. Since this 
setup will
> > >>>> run completly independend and is not connected to www, I 
don't need
> > >>>> any firewall.
> > >>>>
> > >>>> Does anyone has a hint for me how to configure? Do I really 
need
> > >>>> ip_tables (which is installed in the Debian USB Stick, but 
all
> > > modules
> > >>>> (ip_filter,...)aren't!)? If I need IP tables, is there 
somewhere a
> > >>>> compiled Kernel with ip_tables (does
> > > linux-2.6.24.4-ts7200_matt-10.zip
> > >>>> has the required modules). I'm working on Leopard so, I don't
> > > know if
> > >>>> crosstools for compiling will work.
> > >>>>
> > >>>> Thanks in advance - I appreciate your time and input,
> > >>>>
> > >>>> tobias
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>>
> > >>>
> > >>
> > >
> > >
> > >
> >
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU