Remote Dashboard Login with 2x Pi-star repeaters

Post Reply
LA4AMA
Posts: 9
Joined: Fri Jun 05, 2020 1:00 pm

Remote Dashboard Login with 2x Pi-star repeaters

Post by LA4AMA »

Hello,

We have two separate Pi-Star repeaters at the same location (remote mountain top) on the same network.

We have a static IP at the network up there (84.xxx.xxx..xxx)
The Router is a Linksys WRT54GL with DD-WRT V.3.0 software. It has lots of options with ports and forwarding etc.

I did set Static Lease in the Linksys with MAC-address for each unit and separate IP's (of course).
1. 192.168.1.102
2. 192.168.1.103

What is the easiest way to get Remote Pi-Star Dashboard login to each of the repeaters ?

My Linksys is set up to remote Access on port 8080, so if i type in: 84.xxx.xxx.xxx:8080 I get straight into the Linksys config.
(just typing username and password, and then enter).

I was at the impression that I could set up this (below in the Linksys under Port Forwarding, but so far I have not got it working:

Image

If I type in 84.xxx.xxx.xxx:8082 in my browser, it tries for a while but it ends up saying: connection timed out....

If there could be an easy way to implement a port in Pi-Star Configuration Panel to choose an optional port (8082-8085 or similar) to display the Dashboard.

Something like this:

Image

Any ideas ?

Best regards
LA4AMA
Roar Dehli
Norway
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: Remote Dashboard Login with 2x Pi-star repeaters

Post by M1DNS »

LA4AMA wrote: If there could be an easy way to implement a port in Pi-Star Configuration.

Best regards
LA4AMA

There is...

run 'rpi-rw' to make the disk writable
run 'sudo nano /etc/nginx/sites-available/pi-star'
change 'listen 80 default_server;' to
'listen 8082 default_server;'
Save the file 'Ctrl-x'
Reboot the Pi and the dashboard should now be on port 8082
http://pi-star:8082


You'll prob. need to open the ports in the pistar firewall...
http://wiki.pistar.uk/Adding_custom_fir ... to_Pi-Star

Sent from my SM-G935F using Tapatalk






Andrew M1DNS.
Pi-star Admin Team.
LA4AMA
Posts: 9
Joined: Fri Jun 05, 2020 1:00 pm

Re: Remote Dashboard Login with 2x Pi-star repeaters

Post by LA4AMA »

Thanks a lot Andrew !

i will try that, but have to walk the 2 kilometers up to the mountain top one day to do it.
The Linksys is not accessable anymore via remote, I think it did hang up because my port configuration made it do so.
Actually it responded the first time I accessed it, then it froze...

I will come back on how this works out after I have been up to the repeater site later this week.

Best regards
LA4AMA
Roar
Norway
LA4AMA
Posts: 9
Joined: Fri Jun 05, 2020 1:00 pm

Re: Remote Dashboard Login with 2x Pi-star repeaters

Post by LA4AMA »

Well, I did try the procedure today, but it was unsuccessful.

First, after I did the procedure and restarted pi-star, I could no longer get access to the pi-star dashboard locally on 192.168.1.102
It just immidieately says "no connection" after restart.....
I look in the router info panel, and the pi-star is connected at 192.168.1.102
I tried 192.168.1.102:8082 also, but connection timed out.....

So, I can no longer access pi-star dashboard or change anything locally on the repeater-site.
I guess I have to rewrite the micro-SD card to v. 4.1.2 and reload the repeater config.

I did try to access the dashboard from the internet (remote access, from the outside). Nothing happens, it just tries for a while but connection times out....

I also found this regarding hostnames:

Image

I must look into it more, to see if I can get it working.

I think it would be a great thing if the pi-star configuration panel had a remote dashhboard port one could set, when you have two pi-star repeaters on the same site. Also, if that port setting did open the firewall for that port in the same procedure, it would be great. That would make things a lot easier.


Best regards
LA4AMA
Roar
Norway
M1DNS
Pi-Star Team
Posts: 1388
Joined: Thu Apr 05, 2018 5:30 am

Re: Remote Dashboard Login with 2x Pi-star repeaters

Post by M1DNS »

Did you edit the ip table for allow access through the pistar firewall, as I also said in the reply. If you didn't that most prob. ur issue.

Sent from my SM-G935F using Tapatalk

Andrew M1DNS.
Pi-star Admin Team.
LA4AMA
Posts: 9
Joined: Fri Jun 05, 2020 1:00 pm

Re: Remote Dashboard Login with 2x Pi-star repeaters

Post by LA4AMA »

Hello,

I tried again today, and was sure to do all the steps in the description. I could not make it work.

First of all, if you do this:
run 'rpi-rw' to make the disk writable
run 'sudo nano /etc/nginx/sites-available/pi-star'
change 'listen 80 default_server;' to
'listen 8082 default_server;'
Save the file 'Ctrl-x'
Reboot the Pi and the dashboard should now be on port 8082
http://pi-star:8082
After restart you can not access the dashboard anymore. http://pi-star:8082 does not work. I am on the same LAN as the repeater, so the only thing that blocks me is pi-star firewall probably... If you do NOT restart at this point, but in stead continue with the firewall update procedure (port 8082) and complete that with: sudo pistar-firewall , Then it rewrites a lot of lines, and port 8082 is in deed in the list.

But I can still not access the dashboard after restart, neither http://pi-star:8082 or 192.168.1.102:8082 works.

So I gave up and will be using TeamWiever to login to the computer at the repeater site. Only problem with that is that there are really many thunderstorms in this area in the summer. It easily kills the computer up there, I had to replace it one month ago after a storm. But it works for now.

South-east Norway is really plagued with lightning-strikes during summer.

https://www.nrk.no/norge/kraftig-lyn-og ... 1.14679002
More than 20.000 lightning-strikes during one night in august 2019 in Oslo .

Anyway, thanks for the help Andrew !

Best regards and 73
LA4AMA
Roar
Norway
Post Reply