Announcement

Collapse
No announcement yet.

Pi24 Fails on startup.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Oblivian
    replied
    Stop confusing things. Leave internal config files as is/as 80. Make the EXTERNAL whatever you please or router allows and point it to INTERNAL port 80

    Let the router do the work.

    Btw this should be in its own thread. Not continuing a not starting discussion

    Sent from my XT1092 using Tapatalk

    Leave a comment:


  • wx4tcc
    replied
    As usual and expected this didnt go as planned lol
    I have tried opening lots of different ports and the only one I could get to open is 3389 for Remote Desktop. The last one I tried was actually the one I randomly selected above 8036 which im able to open for tcp only apparently.
    I change the port in the config file and neither the local address works as well as the internet IP address after that.
    I know for sure 3389 works because I use RDP but even trying that with this it still wouldnt load. The errors im getting are Connection_TimedOut
    For the record I am only using one router and have used port forwarding before. Either I have to have a very specific port number or something isnt set right in the Pi.

    After editing the file and restarting the Pi is there some type of command I can perform for the Pi to check the new port?

    Leave a comment:


  • abcd567
    replied
    wx4tcc

    Edit file lighttpd.conf, and change port number from default 80 to whatever number you want.

    STEP-1 of 4
    Open file in nano
    Code:
    sudo nano /etc/lighttpd/lighttpd.conf
    STEP-2 of 4
    Scroll down to line "server.port =80"
    Change port number as you want

    Code:
    server.modules = (
            "mod_access",
            "mod_alias",
            "mod_compress",
            "mod_redirect",
    )
    
    server.document-root        = "/var/www/html"
    server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
    server.errorlog             = "/var/log/lighttpd/error.log"
    server.pid-file             = "/var/run/lighttpd.pid"
    server.username             = "www-data"
    server.groupname            = "www-data"
    server.port                 = 80
    
    
    index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
    url.access-deny             = ( "~", ".inc" )
    static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
    
    ....
    ....
    ....
    STEP-3 of 4
    Save file (Ctrl+o) and close it (Crtl+x)

    STEP-4 of 4
    RESTART lighttpd to implement changes
    Code:
    sudo systemctl restart lighttpd

    EDIT:
    After changing port number from default 80 to 8036 in file lighttpd.conf, the address will be as follows:

    http://46.72.156.2:8036/dump1090/gmap.html

    Above is an example for following case:
    (1) Port # 8036 is opened in router for your Pi and Application "HTTP" or "WEBSERVER"
    (2) In file lighttpd.conf, item server.port is changed from default 80 to 8036
    (3) Your Internet IP is 46.72.156.2
    Last edited by abcd567; 2018-09-11, 18:11.

    Leave a comment:


  • wx4tcc
    replied
    Originally posted by abcd567 View Post
    The webserver serving the map is lighttpd. Its default port is 80.

    In your router, for your Pi, you have to open "web server" or "HTTP" and specify port 80.

    Once you do that, following address will show the map
    http://46.72.156.2/dump1090/gmap.html
    (46.72.156.2 is example IP)


    In the example below, the port forwarding page of router setup.

    Application is HTTP
    Port is 80
    Local IP of Pi is 192.168.0.21

    [ATTACH=CONFIG]9750[/ATTACH]
    My ISP (cox cable in the united states) has blocked port 80 from being opened.
    https://www.cox.com/residential/support/internet-ports-blocked-or-restricted-by-cox.html
    I am also using a router rented from my ISP. I need to open another port that is not blocked by my ISP however it looks like I will need to edit a file in lighttpd. Can you let me know the file I need to edit to change the port?

    Leave a comment:


  • abcd567
    replied
    The webserver serving the map is lighttpd. Its default port is 80.

    In your router, for your Pi, you have to open "web server" or "HTTP" and specify port 80.

    Once you do that, following address will show the map
    http://46.72.156.2/dump1090/gmap.html
    (46.72.156.2 is example IP)


    In the example below, the port forwarding page of router setup.

    Application is HTTP
    Port is 80
    Local IP of Pi is 192.168.0.21

    2018-09-11 02.04.55.jpg
    Last edited by abcd567; 2018-09-11, 06:09.

    Leave a comment:


  • wx4tcc
    replied
    Originally posted by abcd567 View Post
    No, you dont have to do anything in your Pi. Once you have port forwad / open port in your ROUTER, simply type in browser on remote computer:

    ip-of-home-network/dump1090/gmap.html
    How does dump1090 know to use that port that I opened tho?
    Shouldnt I have to use something like this, utilizing the port I opened?
    http://46.72.156.2:8036/dump1090/gmap.html (not a real address just an example)

    Leave a comment:


  • abcd567
    replied
    No, you dont have to do anything in your Pi. Once you have port forwad / open port in your ROUTER, simply type in browser on remote computer:

    ip-of-home-network/dump1090/gmap.html
    Last edited by abcd567; 2018-09-11, 03:36.

    Leave a comment:


  • wx4tcc
    replied
    Originally posted by abcd567 View Post
    wx4tcc

    1) Open a port in your home router (also known as port forwarding)
    2) VPN (virtual private network)
    3) Free services like noip.com

    Yeah I have all of that done because other web services I use. I wasnt sure if there is a config file I need to edit and change the ports in the Pi or what.

    Leave a comment:


  • abcd567
    replied
    wx4tcc

    1) Open a port in your home router (also known as port forwarding)
    2) VPN (virtual private network)
    3) Free services like noip.com

    Leave a comment:


  • wx4tcc
    replied
    I recently saw some post about remote access on here but cannot find that thread anymore. Since my Pi is connected to my home Wifi that has a static IP is there a way I can pull up my dump1090/978 pages while im away from home i.e. at work?

    Leave a comment:


  • wx4tcc
    replied
    I figured there would be a map issue. If only we could download certain states or areas to the computer or the sd card.

    Leave a comment:


  • abcd567
    replied
    If there is no internet connection, the map in dump1090 and dump978 displays a white (blank)page with aeroplanes.

    Map_without_internet_690x481.png

    Leave a comment:


  • wx4tcc
    replied
    This might be off topic for for this thread but any chance I can take dump1090/978 mobile with me i.e. while flying like stratux allows? Since im not a pilot but I fly with my best friend who got me back into aviation I would like to take this with me when we go flying. It appears the Stratux system will only work with actual paid flight apps like foreflight ect.

    Leave a comment:


  • wx4tcc
    replied
    I had to install 1090 manually and actually enjoyed doing it but of course I will try the installer first.

    Leave a comment:


  • abcd567
    replied
    Originally posted by wx4tcc View Post
    EDIT: After looking at that page it seems the script will shutdown if I say no to dump1090
    The script will shutdown ONLY if it does not detect any dump1090 already installed, and then you say NO.

    If the script detects a version is existing, it will offer to upgrade it like this:

    "dump1090-mutability (upgrade)"

    In this case if you dont say OK, script will not stop. It will move to feeder options.


    Originally posted by wx4tcc View Post
    and im hoping that auto install will work on my 3 B+.
    Yes, sure.


    Originally posted by wx4tcc View Post
    Is there a manual way of installing dump978?
    If script can install it, then it can also be manually installed.
    Unfortunately I dont know it.

    Why not you try the script, and if it fails then think of manual method.

    NOTE
    Do ŅOT select any option except dump978, otherwise the script will install unnecessary apps.
    Last edited by abcd567; 2018-09-03, 21:42.

    Leave a comment:

Working...
X