[weewx-user] Re: Interceptor setup

2020-07-01 Thread Scott Grayban
I corrected that typo. Sorry about the trouble.

On Tuesday, June 30, 2020 at 12:51:01 AM UTC-7, Zsolt Máté wrote:
>
> There was a typo in the wiki, edited it.
> Instead of domain_name_servers there was domain_name_server.
>
>
>
> On Tuesday, June 30, 2020 at 7:39:11 PM UTC+12, Zsolt Máté wrote:
>>
>> Did anything change with the latest raspberry pi images? I'm trying to do 
>> a clean install, downloaded the last image (based on Debian Buster), 
>> installed and configured hostapd as per wiki.
>> Now the DNS is not resolving any address. I can ping external IP 
>> addresses while I'm connected to the pi via LAN or WLAN.
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/523ca5d1-bc3d-4c2d-acef-7aab2fe8faaco%40googlegroups.com.


[weewx-user] Re: Interceptor setup

2020-06-30 Thread Zsolt Máté
There was a typo in the wiki, edited it.
Instead of domain_name_servers there was domain_name_server.



On Tuesday, June 30, 2020 at 7:39:11 PM UTC+12, Zsolt Máté wrote:
>
> Did anything change with the latest raspberry pi images? I'm trying to do 
> a clean install, downloaded the last image (based on Debian Buster), 
> installed and configured hostapd as per wiki.
> Now the DNS is not resolving any address. I can ping external IP addresses 
> while I'm connected to the pi via LAN or WLAN.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f27fbef2-f041-4617-9654-4c80259fa7d9o%40googlegroups.com.


[weewx-user] Re: Interceptor setup

2020-06-30 Thread Zsolt Máté
Did anything change with the latest raspberry pi images? I'm trying to do a 
clean install, downloaded the last image (based on Debian Buster), 
installed and configured hostapd as per wiki.
Now the DNS is not resolving any address. I can ping external IP addresses 
while I'm connected to the pi via LAN or WLAN.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6908abaa-d068-42da-a291-420581309a05o%40googlegroups.com.


Re: [weewx-user] Re: Interceptor setup

2019-06-06 Thread Zsolt Máté
Reinstalling hostapd solved the issue.

On Thursday, June 6, 2019 at 4:57:26 PM UTC+12, Zsolt Máté wrote:
>
> To be honest, I can't find anything related to hostapd in the logs.
> sudo cat /var/log/syslog | grep hostapd returns nothing.
> If I search my archived logs I can see the handshakes, etc, but nothing in 
> my latest ones.
>
> On Thursday, June 6, 2019 at 4:48:51 PM UTC+12, Scott Grayban wrote:
>>
>> Have you looked at the logs when starting hostapd? 
>> On Jun 5, 2019, at 9:24 PM, "Zsolt Máté"  wrote:
>>>
>>> Anyone having issues with this?
>>> I had a power outage a few days ago and ever since I can't get hostapd 
>>> to work/start.
>>> Somehow my wlan0 is not starting up and not broadcasting it's SSID 
>>> anymore.
>>>
>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bc79d274-9d5d-4b1e-93fc-0c69800bc221%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-06-05 Thread Zsolt Máté
To be honest, I can't find anything related to hostapd in the logs.
sudo cat /var/log/syslog | grep hostapd returns nothing.
If I search my archived logs I can see the handshakes, etc, but nothing in 
my latest ones.

On Thursday, June 6, 2019 at 4:48:51 PM UTC+12, Scott Grayban wrote:
>
> Have you looked at the logs when starting hostapd? 
> On Jun 5, 2019, at 9:24 PM, "Zsolt Máté" > 
> wrote:
>>
>> Anyone having issues with this?
>> I had a power outage a few days ago and ever since I can't get hostapd to 
>> work/start.
>> Somehow my wlan0 is not starting up and not broadcasting it's SSID 
>> anymore.
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/0a4bb20d-b1a2-499a-9351-bd657e0d95a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-06-05 Thread Scott Grayban
Have you looked at the logs when starting hostapd? 

On Jun 5, 2019, 9:24 PM, at 9:24 PM, "Zsolt Máté"  wrote:
>Anyone having issues with this?
>I had a power outage a few days ago and ever since I can't get hostapd
>to 
>work/start.
>Somehow my wlan0 is not starting up and not broadcasting it's SSID
>anymore.
>
>-- 
>You received this message because you are subscribed to a topic in the
>Google Groups "weewx-user" group.
>To unsubscribe from this topic, visit
>https://groups.google.com/d/topic/weewx-user/bks8RhOINP4/unsubscribe.
>To unsubscribe from this group and all its topics, send an email to
>weewx-user+unsubscr...@googlegroups.com.
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/weewx-user/ee380b93-3f09-4a0c-8385-aa34a483%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5282f457-9cbc-4910-b3a0-ac9d7c0fe706%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Interceptor setup

2019-06-05 Thread Zsolt Máté
Anyone having issues with this?
I had a power outage a few days ago and ever since I can't get hostapd to 
work/start.
Somehow my wlan0 is not starting up and not broadcasting it's SSID anymore.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/ee380b93-3f09-4a0c-8385-aa34a483%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-04-05 Thread mwall
On Thursday, April 4, 2019 at 6:48:06 AM UTC-4, bthoven wrote:
>
> That was what I have been trying to do, the sniff, without success. Could 
> you suggest how should I set the sniff thing.
>
> Now my ObserverIP has local ip 192.168.2.122. It directs the data to my 
> live weewx 192.168.2.3 port 55 which runs Interceptor in listening mode.
>

try running a second instance of weewx with the interceptor driver on 
192.168.2.3.  it should have a configuration something like this:

[Interceptor]
driver = user.interceptor
device_type = observer
mode = sniff
iface = eth1
pcap_filter = src 192.168.2.122 and dst port 55

you will have to change eth1 to match whatever interface the first 
interceptor is listening on

save yourself some time and frustration by first getting it to work with a 
direct invocation.  assuming that weewx is installed in /home/weewx, cd to 
that directory then enter something like this:

PYTHONPATH=bin python bin/user/interceptor.py --device=observer 
--mode=sniff --iface=eth1 --filter="src 192.168.2.122 and dst port 55"

experiment with that until you see some data.  once you see data, then put 
the parameters into the config file and run weewx.

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-04-04 Thread Chotechai Piyavongsiri
 My 'live' weewx server ip is 192.168.2.3 (via wifi), my ObserverIP is 
192.168.2.122 (wired connect to router) and its destination server is 
192.168.2.3 port 55. Interceptor setting in weewx.conf:[Interceptor]
    # This section is for the network traffic interceptor driver.
    
    # The driver to use:
    driver = user.interceptor
    
    # Specify the hardware device to capture.  Options include:
    #   acurite-bridge - acurite internet bridge
    #   observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
    #   lw30x - oregon scientific LW301/LW302
    #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
    device_type = observer
    port = 55
It has been working flawlessly.
My test weewx server ip is 192.168.2.11, wifi to router. I'm not sure with this 
kind of setup, how can I use Interceptor to sniff data from my ObserverIP (or 
from my live weewx server?).
Thanks
On ‎Friday‎, ‎5‎ ‎April‎ ‎2019‎ ‎02‎:‎51‎:‎57‎ ‎AM‎ ‎+07, Scott Grayban 
 wrote:  
 
 Post your settings.

On Thursday, April 4, 2019 at 3:48:06 AM UTC-7, bthoven wrote:
Hi m,That was what I have been trying to do, the sniff, without success. Could 
you suggest how should I set the sniff thing.
Now my ObserverIP has local ip 192.168.2.122. It directs the data to my live 
weewx 192.168.2.3 port 55 which runs Interceptor in listening mode.
Thanks
On Thu, 4 Apr 2019, 16:54 mwall,  wrote:

On Thursday, April 4, 2019 at 1:12:22 AM UTC-4, Chotechai Piyavongsiri wrote:
As I'm setting up and testing another weewx server and would like to receive 
live data from the same IP Observer without changing the destination IP/port, 
do you think your approach would allow two weewx servers to receive same live 
data transmitted from the same IP Observer?






you cannot have two instances of the interceptor in listen mode to the same 
station - the station can only talk to one server, whether it is wu or 
weewx-interceptor
however, you could have one weewx-interceptor instance in listen mode, then a 
second weewx-interceptor in sniff mode
the station communications with the first instance as it would to any server, 
and the second instance eavesdrops on the conversation
m 


-- 
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/ 
topic/weewx-user/bks8RhOINP4/ unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx...@ 
googlegroups.com.
For more options, visit https://groups.google.com/d/ optout.




-- 
You received this message because you are subscribed to a topic in the Google 
Groups "weewx-user" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/weewx-user/bks8RhOINP4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-04-04 Thread Scott Grayban
Post your settings.

On Thursday, April 4, 2019 at 3:48:06 AM UTC-7, bthoven wrote:
>
> Hi m,
> That was what I have been trying to do, the sniff, without success. Could 
> you suggest how should I set the sniff thing.
>
> Now my ObserverIP has local ip 192.168.2.122. It directs the data to my 
> live weewx 192.168.2.3 port 55 which runs Interceptor in listening mode.
>
> Thanks
>
> On Thu, 4 Apr 2019, 16:54 mwall, > 
> wrote:
>
>> On Thursday, April 4, 2019 at 1:12:22 AM UTC-4, Chotechai Piyavongsiri 
>> wrote:
>>>
>>> As I'm setting up and testing another weewx server and would like to 
>>> receive live data from the same IP Observer without changing the 
>>> destination IP/port, do you think your approach would allow two weewx 
>>> servers to receive same live data transmitted from the same IP Observer?
>>>

>> you cannot have two instances of the interceptor in listen mode to the 
>> same station - the station can only talk to one server, whether it is wu or 
>> weewx-interceptor
>>
>> however, you could have one weewx-interceptor instance in listen mode, 
>> then a second weewx-interceptor in sniff mode
>>
>> the station communications with the first instance as it would to any 
>> server, and the second instance eavesdrops on the conversation
>>
>> m 
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/bks8RhOINP4/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> weewx...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-04-04 Thread bthoven
Hi m,
That was what I have been trying to do, the sniff, without success. Could
you suggest how should I set the sniff thing.

Now my ObserverIP has local ip 192.168.2.122. It directs the data to my
live weewx 192.168.2.3 port 55 which runs Interceptor in listening mode.

Thanks

On Thu, 4 Apr 2019, 16:54 mwall,  wrote:

> On Thursday, April 4, 2019 at 1:12:22 AM UTC-4, Chotechai Piyavongsiri
> wrote:
>>
>> As I'm setting up and testing another weewx server and would like to
>> receive live data from the same IP Observer without changing the
>> destination IP/port, do you think your approach would allow two weewx
>> servers to receive same live data transmitted from the same IP Observer?
>>
>>>
> you cannot have two instances of the interceptor in listen mode to the
> same station - the station can only talk to one server, whether it is wu or
> weewx-interceptor
>
> however, you could have one weewx-interceptor instance in listen mode,
> then a second weewx-interceptor in sniff mode
>
> the station communications with the first instance as it would to any
> server, and the second instance eavesdrops on the conversation
>
> m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/bks8RhOINP4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-04-04 Thread mwall
On Thursday, April 4, 2019 at 1:12:22 AM UTC-4, Chotechai Piyavongsiri 
wrote:
>
> As I'm setting up and testing another weewx server and would like to 
> receive live data from the same IP Observer without changing the 
> destination IP/port, do you think your approach would allow two weewx 
> servers to receive same live data transmitted from the same IP Observer?
>
>>
you cannot have two instances of the interceptor in listen mode to the same 
station - the station can only talk to one server, whether it is wu or 
weewx-interceptor

however, you could have one weewx-interceptor instance in listen mode, then 
a second weewx-interceptor in sniff mode

the station communications with the first instance as it would to any 
server, and the second instance eavesdrops on the conversation

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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-04-03 Thread Chotechai Piyavongsiri
Hi Scott,

I've been running weewx on ubuntu for a few years using Interceptor 
(listening mode) to receive data direct from my IP Observer (the firmware 
still allows me to specify the destination server IP and Port).

As I'm setting up and testing another weewx server and would like to 
receive live data from the same IP Observer without changing the 
destination IP/port, do you think your approach would allow two weewx 
servers to receive same live data transmitted from the same IP Observer?

Could you also explain me in layman term the concept of your 
'hostpapd-wifi…." approach.

Thank you.

On Friday, 4 January 2019 03:39:06 UTC+7, Scott Grayban wrote:
>
> Created 
> https://github.com/weewx/weewx/wiki/hostapd-WiFi-setup-for-Interceptor-driver
>
> On Thursday, January 3, 2019 at 10:10:53 AM UTC-8, G Hammer wrote:
>>
>> The wiki
>>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread G Hammer
Look in the config file for the DHCP server.
You should find something like this:
# Fixed IP addresses can also be specified for hosts.

Then, you can use the MAC address of the console and whatever IP you wish 
it to have.
Just be aware that the fixed IP has to be outside the DHCP range, so you'd 
have to edit the range when you assign the IP.

For me, I didn't do that as I've never seen a device get a completely 
different IP through normal expire/renew.
Especially if it the the only device on the network.

On Saturday, January 5, 2019 at 8:34:57 PM UTC-5, Zsolt Máté wrote:
>
> The issue is not the eth0, that I've reserved in my router.
> The problem could be the indoor unit, that connects to wlan0 and receives 
> the 10.*.*.* IP address.
>
> On Sunday, January 6, 2019 at 12:24:48 PM UTC+13, Scott Grayban wrote:
>>
>> Glad you got it working !!
>>
>> Most routers have reserve DHCP settings. So I'm sure yours does also.
>>
>> On Saturday, January 5, 2019 at 3:18:33 PM UTC-8, Zsolt Máté wrote:
>>>
>>> That's what I'm researching right now.
>>>
>>> On Sunday, January 6, 2019 at 12:11:31 PM UTC+13, Scott Grayban wrote:

 Use reserved DHCP then.

 On Saturday, January 5, 2019 at 3:09:42 PM UTC-8, Zsolt Máté wrote:
>
> If you're asking me, yes, I did. After reading your reply, I switched 
> to su and ran the command as root. Tanks for the tutorial.
>
> The only thing I don't like (but I can live with it) is the DHCP. In 
> case the indoor unit looses DC power for any reason, it may receive a new 
> IP address. Then someone has to either sniff the network for the new IP 
> or 
> log into the Pi to find it out.
>
> On Sunday, January 6, 2019 at 9:15:31 AM UTC+13, Scott Grayban wrote:
>>
>> Did you get it working ?
>>
>> On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>>>
>>> Thanks, I was running it with sudo.
>>>
>>> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban 
>>> wrote:

 Run that as root
 On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:
>
> I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
> It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread Scott Grayban
BTW that's only if your WS is the only one that's connecting to the hostapd 
!!

I can't say if it will change if another device connects and *non should 
because it will cause to much interference with port 80*.

On Saturday, January 5, 2019 at 5:45:26 PM UTC-8, Zsolt Máté wrote:
>
> Good to know. Thanks for the information.
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread Scott Grayban
Oh that IP for the LAN with hotsapd won't change. So your weather 
station won't get a new IP on the 10.x network.


On Saturday, January 5, 2019 at 5:34:57 PM UTC-8, Zsolt Máté wrote:
>
> The issue is not the eth0, that I've reserved in my router.
> The problem could be the indoor unit, that connects to wlan0 and receives 
> the 10.*.*.* IP address.
>
> On Sunday, January 6, 2019 at 12:24:48 PM UTC+13, Scott Grayban wrote:
>>
>> Glad you got it working !!
>>
>> Most routers have reserve DHCP settings. So I'm sure yours does also.
>>
>> On Saturday, January 5, 2019 at 3:18:33 PM UTC-8, Zsolt Máté wrote:
>>>
>>> That's what I'm researching right now.
>>>
>>> On Sunday, January 6, 2019 at 12:11:31 PM UTC+13, Scott Grayban wrote:

 Use reserved DHCP then.

 On Saturday, January 5, 2019 at 3:09:42 PM UTC-8, Zsolt Máté wrote:
>
> If you're asking me, yes, I did. After reading your reply, I switched 
> to su and ran the command as root. Tanks for the tutorial.
>
> The only thing I don't like (but I can live with it) is the DHCP. In 
> case the indoor unit looses DC power for any reason, it may receive a new 
> IP address. Then someone has to either sniff the network for the new IP 
> or 
> log into the Pi to find it out.
>
> On Sunday, January 6, 2019 at 9:15:31 AM UTC+13, Scott Grayban wrote:
>>
>> Did you get it working ?
>>
>> On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>>>
>>> Thanks, I was running it with sudo.
>>>
>>> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban 
>>> wrote:

 Run that as root
 On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:
>
> I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
> It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread Zsolt Máté
Good to know. Thanks for the information.

On Sunday, January 6, 2019 at 2:38:32 PM UTC+13, Scott Grayban wrote:
>
> Oh that IP for the LAN with hotsapd won't change. So your weather 
> station won't get a new IP on the 10.x network.
>
>
> On Saturday, January 5, 2019 at 5:34:57 PM UTC-8, Zsolt Máté wrote:
>>
>> The issue is not the eth0, that I've reserved in my router.
>> The problem could be the indoor unit, that connects to wlan0 and receives 
>> the 10.*.*.* IP address.
>>
>> On Sunday, January 6, 2019 at 12:24:48 PM UTC+13, Scott Grayban wrote:
>>>
>>> Glad you got it working !!
>>>
>>> Most routers have reserve DHCP settings. So I'm sure yours does also.
>>>
>>> On Saturday, January 5, 2019 at 3:18:33 PM UTC-8, Zsolt Máté wrote:

 That's what I'm researching right now.

 On Sunday, January 6, 2019 at 12:11:31 PM UTC+13, Scott Grayban wrote:
>
> Use reserved DHCP then.
>
> On Saturday, January 5, 2019 at 3:09:42 PM UTC-8, Zsolt Máté wrote:
>>
>> If you're asking me, yes, I did. After reading your reply, I switched 
>> to su and ran the command as root. Tanks for the tutorial.
>>
>> The only thing I don't like (but I can live with it) is the DHCP. In 
>> case the indoor unit looses DC power for any reason, it may receive a 
>> new 
>> IP address. Then someone has to either sniff the network for the new IP 
>> or 
>> log into the Pi to find it out.
>>
>> On Sunday, January 6, 2019 at 9:15:31 AM UTC+13, Scott Grayban wrote:
>>>
>>> Did you get it working ?
>>>
>>> On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:

 Thanks, I was running it with sudo.

 On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban 
 wrote:
>
> Run that as root
> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:
>>
>> I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
>> It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread Zsolt Máté
The issue is not the eth0, that I've reserved in my router.
The problem could be the indoor unit, that connects to wlan0 and receives 
the 10.*.*.* IP address.

On Sunday, January 6, 2019 at 12:24:48 PM UTC+13, Scott Grayban wrote:
>
> Glad you got it working !!
>
> Most routers have reserve DHCP settings. So I'm sure yours does also.
>
> On Saturday, January 5, 2019 at 3:18:33 PM UTC-8, Zsolt Máté wrote:
>>
>> That's what I'm researching right now.
>>
>> On Sunday, January 6, 2019 at 12:11:31 PM UTC+13, Scott Grayban wrote:
>>>
>>> Use reserved DHCP then.
>>>
>>> On Saturday, January 5, 2019 at 3:09:42 PM UTC-8, Zsolt Máté wrote:

 If you're asking me, yes, I did. After reading your reply, I switched 
 to su and ran the command as root. Tanks for the tutorial.

 The only thing I don't like (but I can live with it) is the DHCP. In 
 case the indoor unit looses DC power for any reason, it may receive a new 
 IP address. Then someone has to either sniff the network for the new IP or 
 log into the Pi to find it out.

 On Sunday, January 6, 2019 at 9:15:31 AM UTC+13, Scott Grayban wrote:
>
> Did you get it working ?
>
> On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>>
>> Thanks, I was running it with sudo.
>>
>> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban 
>> wrote:
>>>
>>> Run that as root
>>> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:

 I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
 It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied



-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread Scott Grayban
Glad you got it working !!

Most routers have reserve DHCP settings. So I'm sure yours does also.

On Saturday, January 5, 2019 at 3:18:33 PM UTC-8, Zsolt Máté wrote:
>
> That's what I'm researching right now.
>
> On Sunday, January 6, 2019 at 12:11:31 PM UTC+13, Scott Grayban wrote:
>>
>> Use reserved DHCP then.
>>
>> On Saturday, January 5, 2019 at 3:09:42 PM UTC-8, Zsolt Máté wrote:
>>>
>>> If you're asking me, yes, I did. After reading your reply, I switched to 
>>> su and ran the command as root. Tanks for the tutorial.
>>>
>>> The only thing I don't like (but I can live with it) is the DHCP. In 
>>> case the indoor unit looses DC power for any reason, it may receive a new 
>>> IP address. Then someone has to either sniff the network for the new IP or 
>>> log into the Pi to find it out.
>>>
>>> On Sunday, January 6, 2019 at 9:15:31 AM UTC+13, Scott Grayban wrote:

 Did you get it working ?

 On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>
> Thanks, I was running it with sudo.
>
> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban wrote:
>>
>> Run that as root
>> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:
>>>
>>> I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
>>> It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>>>
>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread Zsolt Máté
If you're asking me, yes, I did. After reading your reply, I switched to su 
and ran the command as root. Tanks for the tutorial.

The only thing I don't like (but I can live with it) is the DHCP. In case 
the indoor unit looses DC power for any reason, it may receive a new IP 
address. Then someone has to either sniff the network for the new IP or log 
into the Pi to find it out.

On Sunday, January 6, 2019 at 9:15:31 AM UTC+13, Scott Grayban wrote:
>
> Did you get it working ?
>
> On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>>
>> Thanks, I was running it with sudo.
>>
>> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban wrote:
>>>
>>> Run that as root
>>> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:

 I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
 It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied



-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-05 Thread Scott Grayban
Did you get it working ?

On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>
> Thanks, I was running it with sudo.
>
> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban wrote:
>>
>> Run that as root
>> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:
>>>
>>> I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
>>> It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>>>
>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-04 Thread gjr80
Think this might not be a raspbian issue as such. iptables-save is run with 
privileges but the redirection to the file is run by your existing shell 
which does not (necessarily) have sufficient privileges. Try using the same 
command and redirecting to /var/tmp/iptables.ipv4.nat (or some other widely 
writable directory), it will work just fine. Solution remains the same, run 
it as root with su.

Gary

On Saturday, 5 January 2019 13:28:38 UTC+10, Scott Grayban wrote:
>
> sudo won't work correctly for some reason for certain commands in raspbian.
>
> On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>>
>> Thanks, I was running it with sudo.
>>
>> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban wrote:
>>>
>>> Run that as root
>>> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:

 I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
 It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied



-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-04 Thread Scott Grayban
sudo won't work correctly for some reason for certain commands in raspbian.

On Friday, January 4, 2019 at 7:21:17 PM UTC-8, Zsolt Máté wrote:
>
> Thanks, I was running it with sudo.
>
> On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban wrote:
>>
>> Run that as root
>> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté"  wrote:
>>>
>>> I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
>>> It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>>>
>>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-04 Thread Zsolt Máté
Thanks, I was running it with sudo.

On Saturday, January 5, 2019 at 4:17:32 PM UTC+13, Scott Grayban wrote:
>
> Run that as root
> On Jan 4, 2019, at 7:15 PM, "Zsolt Máté" > 
> wrote:
>>
>> I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
>> It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-04 Thread Scott Grayban
Run that as root

On Jan 4, 2019, 7:15 PM, at 7:15 PM, "Zsolt Máté"  wrote:
>I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
>It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied
>
>-- 
>You received this message because you are subscribed to a topic in the
>Google Groups "weewx-user" group.
>To unsubscribe from this topic, visit
>https://groups.google.com/d/topic/weewx-user/bks8RhOINP4/unsubscribe.
>To unsubscribe from this group and all its topics, send an email to
>weewx-user+unsubscr...@googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Interceptor setup

2019-01-04 Thread Zsolt Máté
I can't execute sudo iptables-save > /etc/iptables.ipv4.nat
It returns:  -bash: /etc/iptables.ipv4.nat: Permission denied

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-03 Thread Scott Grayban
Created 
https://github.com/weewx/weewx/wiki/hostapd-WiFi-setup-for-Interceptor-driver

On Thursday, January 3, 2019 at 10:10:53 AM UTC-8, G Hammer wrote:
>
> The wiki
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: Interceptor setup

2019-01-03 Thread G Hammer
The wiki

On Thu, Jan 3, 2019 at 12:43 PM Scott Grayban  wrote:

> I got the hostapd how-to written. Where should I post it at ?
>
> On Wednesday, January 2, 2019 at 6:29:38 AM UTC-8, G Hammer wrote:
>>
>> That would be great. You had a shorter route than I did. Not a Pi, but
>> same idea.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/bks8RhOINP4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Interceptor setup

2019-01-03 Thread Scott Grayban
I got the hostapd how-to written. Where should I post it at ?

On Wednesday, January 2, 2019 at 6:29:38 AM UTC-8, G Hammer wrote:
>
> That would be great. You had a shorter route than I did. Not a Pi, but 
> same idea.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Interceptor setup

2019-01-02 Thread Scott Grayban
wow I didn't go through that much at all !!

On Wednesday, January 2, 2019 at 6:29:38 AM UTC-8, G Hammer wrote:
>
> That would be great. You had a shorter route than I did. Not a Pi, but 
> same idea.
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Interceptor setup

2019-01-02 Thread G Hammer
Glad it was hardware, else the error made little sense.
Yep, the Pi and SD cards are always something to look at. And have a backup 
for!

Good you're up and running.

On Wednesday, January 2, 2019 at 9:11:23 AM UTC-5, Scott Grayban wrote:
>
> Ok I got hostapd working on the same PI as weeWX and the WS is connected 
> to the hotspot.
>
> I edit weemx.conf and made the changes and restarted weewx.
>
> Logs show no errors when startedFINALLY . :)
>
> After 12 hours or maybe more. because my sdcard that weemx was on 
> decided to take a dump on me while getting this to work.
>
> 2 lesson learnt here. no amount of coffee would have helped make a 
> image of the new sdcard setup so I don't have to manually copy settings 
> from a crappy sdcard.
>
> Oh and buy a A1 32GB card of Amazon.. DONE.. bought 2 !!!
>
>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Interceptor setup

2019-01-02 Thread Scott Grayban
Very happy and tired !!!

Jan  2 06:06:10 raspberrypi weewx[1845]: restx: MQTT: Published record 
2019-01-02 06:05:04 PST (1546437904)
Jan  2 06:07:10 raspberrypi weewx[1845]: interceptor: MainThread: 
unrecognized parameter hourlyrainin=0.00
Jan  2 06:07:10 raspberrypi weewx[1845]: interceptor: MainThread: 
unrecognized parameter eventrainin=0.00
Jan  2 06:07:10 raspberrypi weewx[1845]: interceptor: MainThread: 
unrecognized parameter totalrainin=0.00
Jan  2 06:07:10 raspberrypi weewx[1845]: interceptor: MainThread: 
unrecognized parameter stationtype=AMBWeatherV4.0.7
Jan  2 06:07:10 raspberrypi weewx[1845]: interceptor: MainThread: 
unrecognized parameter maxdailygust=1.1
Jan  2 06:07:10 raspberrypi weewx[1845]: interceptor: MainThread: 
unrecognized parameter baromrelin=29.91
Jan  2 06:07:10 raspberrypi weewx[1845]: restx: MQTT: Published record 
2019-01-02 06:06:08 PST (1546437968)
Jan  2 06:07:10 raspberrypi weewx[1845]: manager: Added record 2019-01-02 
06:05:00 PST (1546437900) to database 'weewx.sdb'
Jan  2 06:07:10 raspberrypi weewx[1845]: manager: Added record 2019-01-02 
06:05:00 PST (1546437900) to daily summary in 'weewx.sdb'

-- 
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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.