unable to resolve host address

Discussion in 'Feeding' started by Bob Randolph, Aug 15, 2020.

  1. Bob Randolph

    Bob Randolph Member

  2. wiedehopf

    wiedehopf Administrator Staff Member

  3. Bob Randolph

    Bob Randolph Member

    I didn't mistype because I copied and pasted.
    I'm having a hard time getting commands in because it doesn't ssh nicely. Keeps stopping as I am typing and resetting. Sometimes I put in the log in and password and it just sits there.
    and 5 minutes later it gives the login message but no prompt.

    when I tried your command I got this reply.
    upload_2020-8-16_7-28-21.png

    It's not playing nice....
     
  4. wiedehopf

    wiedehopf Administrator Staff Member

  5. Bob Randolph

    Bob Randolph Member

    It is a piaware sd-card image.
     
  6. wiedehopf

    wiedehopf Administrator Staff Member

    Well i know that.

    Either something is wrong with the image or something is wrong with your local network.

    (could also be that there is an issue with the sd-card dying .... or the wireless on the pi could be bad ....)

    So i'm sorry but i can't help you troubleshoot your local network, that's just beyond the scope of this forum.
    That's why i told you what you could try, if you don't want to try that, sorry can't help you.
     
  7. Bob Randolph

    Bob Randolph Member

    Maybe I should give you some background,
    I was feeding ADSBX, Flightaware, FlightRadar24, Radar Box and Planefinder for a year, when about 9 months ago my Flightaware MLAT indicator started showing Red(No MLAT) So I asked James what to do and he messed with it but we couldn't get the MLAT to quit dropping. I bought a new power supply and burned a SD card with the ADSBx image and then added piaware to it and that worked but I still had MLAT dropping out intermittently, I made a python script to restart my piaware service every 20 minutes and that kept me going until earlier this week when my pi stopped wth "Kernel Panic"
    Thursday I bought a new SD card and burned Piaware on it and it feeds Flightaware ok, but I wanted to add ADSBx feeder to it. That's where I was when I started this thread.
     
  8. wiedehopf

    wiedehopf Administrator Staff Member

    Ok, let's check the network settings then, please show the output for:

    sudo piaware-config

    Please replace your wifi password with password
    (let's see where we get, i wouldn't rule out your RPi just being broken :/)
     
  9. Bob Randolph

    Bob Randolph Member

  10. Bob Randolph

    Bob Randolph Member

    I have never used the Raspberry Pi 3B+ for anything but feeding
     
  11. Bob Randolph

    Bob Randolph Member

    I could swap the SD card with my Pi 2A+??
     
  12. wiedehopf

    wiedehopf Administrator Staff Member

    Well this is an easy one, i didn't expect a bad static network config (i maybe should have).

    sudo piaware-config wireless-nameservers "8.8.8.8 4.4.4.4"
    sudo reboot

    This should fix the issues, you had a dot between the two IPs.
     
  13. Bob Randolph

    Bob Randolph Member

    that was stopping me from accessing github???
     
  14. Bob Randolph

    Bob Randolph Member

    Ok it installed something and I rebooted...
     
  15. wiedehopf

    wiedehopf Administrator Staff Member

    Well you configured the DNS servers wrong, those are responsible for converting the URL to an IP. (resolving)

    Also i don't think you should set netmask and broadcast, one of the two should be sufficient.
    So if you're still having issues:
    sudo piaware-config wireless-broadcast ""

    Generally best to just go with DHCP and see if you can tell the router to always give the device the same IP address.
     
  16. Bob Randolph

    Bob Randolph Member

    Now how do I tell if it worked...
     
  17. Bob Randolph

    Bob Randolph Member

    Flightaware is showing my MLAT 'green'
     
  18. wiedehopf

    wiedehopf Administrator Staff Member

  19. Bob Randolph

    Bob Randolph Member

    How do i tell if I am feeding adsbx?
     
  20. wiedehopf

    wiedehopf Administrator Staff Member

    Read the post above, the /myip page shows if you're feeding.