New raspberry pi

Discussion in 'Feeding' started by vtec23, Jan 31, 2019.

  1. vtec23

    vtec23 Moderator

    if I get a new pi will it connect to WiFi as mine at the moment is connected with cable to internet.
     
  2. MDA

    MDA Administrator Staff Member

    On boot partition of SD card create file wpa_supplicant.conf
    Content of this file:
    Code:
    country=XX
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    
    network={
        ssid="your SSID"
        scan_ssid=1
        psk="WiFi password"
        key_mgmt=WPA-PSK
    }
    Where XX is your country code.
     
    Last edited: Mar 2, 2019
  3. Hi I was looking at my Pi output and comparing it to the adsb exchange display. I think my data (south east Wales) could compliment this site.
    I read the above reply with interest and have a couple of questions re the config above.

    after network={ is that all do I have to add anything after or instead of "{"

    As I use a wired network do I omit line psk=etc and line key_mgtetc

    If I place the SD card into a holder is it just a matter of editing and creating it in linux pc?
    Probably a very basic question to most but it is new to me.

    Any feedback/comments appreciated.
     
    Last edited: Mar 2, 2019
  4. MDA

    MDA Administrator Staff Member

    You should edit only highlited items
     
  5. MDA

    MDA Administrator Staff Member

    upload_2019-3-2_22-17-6.png
     

    Attached Files:

  6. MDA - many thanks.
     
  7. Is the country the ICAO prefix, ie for UK it being G?
     
  8. James

    James Guest

    uhh .. only needed for 5Ghz wifi ...
     
  9. James - I was hoping to share my data from my wired PiAware setup. So I guess this isn't what I require?
     
  10. MDA

    MDA Administrator Staff Member

    Last edited: Mar 5, 2019
  11. Thanks again for the reply.
    I can see I have a lot to learn about linux.
    Have only used windows and although I have studied some of the tutorials
    I am not really understanding what I am reading!
    I shall have to see if I can get an SD card set up to feed this site which I am willing
    to pay for or donation to here.
     
  12. James

    James Guest

  13. Thanks James I will give it a go!
     
  14. I have installed putty.
    Entered the IP address which I have double checked but the Raspberry cannot be found.
    The raspberry is on and churning out data.
    Tried to login as pi but there doesn't seem any indication of password being typed on screen when I enter it
    I get a reply that it is wrong. I haven't changed it.
     
  15. MDA

    MDA Administrator Staff Member

    Which image?
     
  16. James

    James Guest

    pi
    flightaware

    port 22

    you may need to enable ssh on FA image


    place a blank file called ssh on /boot partition

    same place as piaware-config.txt
     
  17. Created a blank file in same place as piaware-config.txt but I am still getting connection refused.
     
  18. MDA

    MDA Administrator Staff Member

    Can you connect keybord and screen?
     
  19. Yes I can.