I’ve had the PiAware running for two years but the pi has died…
So, I’ve got another Pi2 and a new SD card and ready to go again.
#1. How do I connect the Pi to a desktop? I cannot remember how to connect the Pi to the desktop (HDMI cord or network cable) so I cannot access the pi itself to set the internet wireless password
#2. How do I setup the wireless part? Where do I find the file to edit?
You have to power-off the Pi, remove microSD card from Pi, and using a microSD card adapter/reader (which you used to burn Piaware image), insert it in your desktop or laptop. While the microSD card is in the desktop, enable SSH and WiFi as follows:
To Enable SSH
Now double click in your desktop the drive letter of microSD card (like D, E, F etc) to open the /boot folder. In this folder right click New → text file, and create the text file. Rename this text file to SSH.
To Enable WiFi:
Open file piaware-config.txt by a text editor.
If following three lines are not already in file piaware-config.txt, add these lines at bottom of file piaware-config.txt
YES YES YES
Even if you did not tell, I have already noticed that you seem to use an older version, and was going to tell you to download Piaware 3.5.0 image and write to your microSD card. This is a solution with almost no headaches.
NOTE:
Since you are using a new Pi which has a different mac address than the old Pi, Flightaware will allot it a new station number. If you want to retain old station number, you will have to spoof mac address. it is better to spoof BEFORE FIRST BOOT, while the microSD card is still inserted in desktop. Please see “Bake a Pi”, Option 1, item 5 (c)