[arm-allstar] Node on 44. Space and Weather Scripts
Fredric Moses
fred at moses.bz
Wed Oct 22 21:34:25 EST 2014
Hello and thanks again for all the hard work you guys put into this image and it’s scripts. Tonight I went and made some fresh cards and ran up to the hill and swapped the cards out in my two test repeaters. All went well till I made it to the weather script part. All parts worked expect the getWxRpt_ug script would hang when I ran it from command line. I had wondered if it was a DNS issue or what so looking at the code I found which URL it was trying to wget and tried to curl that from the command promote. It was hanging and needed to be forced stopped.. I tried to curl the URL from my MBP and it worked perfectly. Now my nodes have native 44. IP address’s assigned to them and my MBP was using one of my commercial IP address’s so I figured api.weatherunderground was not allowing requests from 44.0 IP space. I added “ -e use_proxy=yes -e http_proxy=127.0.0.1:8080 “ to the wget line in the getWxRpt_ug script and put in a proxy server that was on my commercial IP space and the script ran like it should.
Just an FYI that if your node is running directly on ham ip space that it might have issues talking with weather underground. NOAA for the alerts seemed to work fine with out proxying..
--
Fredric Moses - W8FSM - WQOG498
fred at moses.bz
More information about the arm-allstar
mailing list