×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Weather radio don't want connect

  • Posts: 50
  • Thank you received: 2
Looks like the Apache configuration file for weather radio hasn't been copied or is in a different place. Try first
sudo cp add-on/weatherradio/weatherradio.conf /etc/apache2/conf-available
and then try the a2enmod command again.

Hi, it's an error,
if you want to use a2enmod, you must to copy the file in mod-available.
Also, you must to use command a2enconf if you want to put in conf-available ;)
3 years 8 months ago #57158

Please Log in or Create an account to join the conversation.

  • Posts: 1185
  • Thank you received: 370
Oops, yes, you are right!
3 years 8 months ago #57159

Please Log in or Create an account to join the conversation.

  • Posts: 294
  • Thank you received: 54
Hello Wolfgang,

Did a "a2enconf" instead of "a2enmod" and things advanced, I got a blank page.

I got things to work locally and I could display weather info on the localhost (http://localhost/weatherradio) but I would only get a blank page if I accessed from another PC (http://weatherradio_server/weatherradio). Maybe some apache2 settings or some permission issues?
3 years 8 months ago #57161

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 2
Hi G_Gagnon,

if you want to see the web page from another client, you must to open the port 80 in your router (internet router) for your server.
for exemple, my server is on a tinkerbaord and his name is nafabox. In my internet box I've open Nat rules 80 on nafabox!!
3 years 8 months ago #57163

Please Log in or Create an account to join the conversation.

  • Posts: 294
  • Thank you received: 54
Bonjour Olivier,

The two machines are on the same network (home) thus I assume that I do not have to do NAT or port forwarding. The weather radio being run on a StellarMate machine, I can access the StellaMate Control Panel without problem, so it's not a port 80 issue. Any other clues?

Merci.
3 years 8 months ago #57166

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 2
Do you can to try the NAT. if Ok you will know ;)
In my tinker, same local, I had must to open port!
3 years 8 months ago #57167

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 2
Explication for my tinker: Apache2 is on the port 80.
if you go on the web and put RL:
http://ip_local
you must to see the apache2 webpage.
if you test from another PC what do you see?
3 years 8 months ago #57168

Please Log in or Create an account to join the conversation.

  • Posts: 294
  • Thank you received: 54
On the weather radio machine, if I put http://localhost in the browser, I get the apache2 webpage, as you mention. On another local machine, http://ipaddress gives me the Stellar Mate Dashboard. I thus assume that Stellar Mate redirects port 80 to another port if accessed from outside. If I can figure out how to disable Dashboard this may solve the issue.

I will try to figure it out.

Merci.
3 years 8 months ago #57173

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 2
OK.... I had have the same pb with the nafabox project!
So, I had must to uninstall ngnix & apache2, then I had reinstalled apache2 and after it was ok!
3 years 8 months ago #57175

Please Log in or Create an account to join the conversation.

  • Posts: 294
  • Thank you received: 54
Uninstalled and re-installed apache2 but no change. I will ask the Stellar Mate forum if there may be conflicts between the Dashboard and apache2.
3 years 8 months ago #57177

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 2
do you have ngnix installed?
3 years 8 months ago #57178

Please Log in or Create an account to join the conversation.

  • Posts: 294
  • Thank you received: 54
No ngnix on Stellarmate, so it is not part of the problem.
3 years 8 months ago #57182

Please Log in or Create an account to join the conversation.

Time to create page: 0.863 seconds