On Thursday, April 25, 2019 at 6:50:12 PM UTC-4, oriol.garrote wrote:
>
>
> But I'm getting this error:
>
>
> Exception: wlan0: You don't have permission to capture on that device 
> (socket: Operation not permitted)
>
> Does this mean that I should use eth0 always?
>

most pcap operations require administrative privileges, so preface the 
command with 'sudo'

 

> Should I always try sniff? In listen mode won't it work? What port should 
> I use?
>

in listen mode you should use port 80 - that is the port that the weather 
station will send to

but to listen on any port less than 1000 (including port 80), you must have 
admin rights.  so use sudo.

m

-- 
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