Ambient Weather PWS-2902

So far what I'm doing to get this done is the following.

I open a shell and run the following:
sudo tcpdump --immediate-mode -l -vvv -i en0 dst 
ec2-52-25-111-41.us-west-2.compute.amazonaws.com and port 80 > 
~/Desktop/test
and then open another shell and run the following:
a shell script that contains that

#!/bin/bash


for i in `seq 1 100000`; do

  echo Message $i | nc -w 20 10.0.1.120 9999 < /Users/oscar/Desktop/PWS.temp

  sleep 20

done


Now need to do this as a deamon, so it starts when the computer boots.


On Thursday, April 26, 2018 at 5:09:14 AM UTC-4, Ian Millard wrote:
>
>
>
> On Wednesday, 25 April 2018 04:48:00 UTC+1, Lorin Tremblay wrote:
>>
>> I'm trying to get router to send the intercepted data to the raspberry pi 
>> and I continuously hitting a wall because of my lack of competence...
>>  here is what I've got so far:
>>
>> if i run this
>>
>> sudo tcpdump --immediate-mode -l -vvv -i en0 dst 
>> ec2-52-25-111-41.us-west-2.compute.amazonaws.com and port 80 > 
>> ~/Desktop/test
>>
>> and then run
>>
>> nc 10.0.1.120 9999 < ~/Desktop/test
>>
>>
>>  it works but it manually done....
>>
>>
>> now if i try this
>>
>> sudo tcpdump --immediate-mode -l -vvv -i en0 dst 
>> ec2-52-25-111-41.us-west-2.compute.amazonaws.com and port 80 | nc 
>> 10.0.1.120 9999
>>
>> i get stuck in a buffering issue even with immediate mode nothing ever 
>> gets send
>>
>>
>>
>> also just started to try play with ngrep
>>
>> sudo ngrep -l -q -d en0 'ether src host 10.0.1.144 && dst port 80' | nc 
>> 10.0.1.120 9999
>>
>> doesn't work either
>>
>>
>> Here are some env detail
>>
>> Router is Mac os X 10.13.4 (freeBSD) is as pf on it which can be a way 
>> but unfortunately know nothing about
>>
>> Raspberry PI 3 10.0.1.120
>>
>> Ambient Weather PWS WS-2902 10.0.1.144
>>
>>
>> Help would be greatly appreciated.... Got everything else working except 
>> that.
>>
>>
>> Thanks ;)
>>
>
> Can you confirm your weather station model as it might be appropriate to 
> use a different driver for this purpose.
>
> Ian 
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to