Wednesday, October 18, 2023

HOW TO SSH TO RPI

 In Windows 10:

Press Win+R
Enter ssh pi@ your piaware local IP


FlightAware / PiAware running log

 To follow a file while it is being updated, you can use:

tail -f /var/log/piaware.log


Tuesday, October 17, 2023

Disable MLAT (Multilateration) on Flightradar24 (FR24) feed on your Raspberry Pi

 Important! If you are sharing to other networks alongside Flightradar24, please disable MLAT.

When the installation is complete, please make the change in either the Raspberry Pi’s Web UI or edit the fr24feed.ini config file.

MLAT=“no”
MLAT-without-gps=“no”

Apabila mendapat mesej ini semasa selesai combine feed flightaware dan fr24. apa yang perlu di lakukan ialah :

sudo nano /etc/fr24feed.ini

cari line yang berkaitan MLAT dan akan kelihatan seperti di bawah...

MLAT="yes"
MLAT-without-gps="yes"

dan ubah menjadi seperti dibawah....

MLAT="no"
MLAT-without-gps="no"

kemudian save dan restart Flightradar24 

sudo systemctl restart fr24feed

jumpa lagi 73 de 9m2zak.

Saturday, September 16, 2023

How to get grant execute permissions

The "Permission denied" error you're encountering indicates that you don't have 
execute permissions for the build.sh script. To fix this, you'll need to grant execute 
permissions to the script before running it. Here's how you can do that:

Check Current Permissions:
Run the following command to view the current permissions for the build.sh script:


                                        ls -l build.sh

This will show you the permissions in the format -rwxr-xr-x where the 'x' indicates 
execute permissions.

Grant Execute Permissions:
If the script doesn't have execute permissions (lacking 'x'), you can grant them using 
the chmod command:


                                      chmod +x build.sh

This command adds execute permissions to the script.

Verify Permissions:
Run ls -l build.sh again to confirm that execute permissions have been granted.

Run the Script:
Now you should be able to run the script:


                                    ./build.sh

If successful, this will execute the script.

Friday, August 18, 2023

How to Install 3.5 inch TFT LCD Display on Raspberry Pi Zero

 ikut step ini.

sudo rm -rf LCD-show 

git clone https://github.com/goodtft/LCD-show.git 

chmod -R 755 LCD-show 

cd LCD-show/

sudo ./LCD35-show

sudo mkdir -p /etc/X11/xorg.conf.d

sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/

sudo cp ./usr/tft35a-overlay.dtb /boot/overlays/tft35a.dtbo

sudo cp -rf ./usr/99-calibration.conf-35  /etc/X11/xorg.conf.d/99-calibration.conf

sudo cp -rf ./usr/99-fbturbo.conf  /usr/share/X11/xorg.conf.d/

sudo cp ./usr/cmdline.txt /boot/

sudo cp ./usr/inittab /etc/

sudo cp ./boot/config-35.txt /boot/config.txt

sudo reboot


jika nak patah balik ke hdmi....


chmod -R 755 LCD-show 

cd LCD-show/ 

sudo ./LCD-hdmi

ini hasilnya



Sunday, August 13, 2023

Update weathex : versi ada serial number

 bagi yg mengikuti post, di bawah ini. 

https://9m2zak.blogspot.com/2023/07/how-to-decode-radiosonde-weathex-wxr.html

https://9m2zak.blogspot.com/2023/07/how-to-decode-radiosonde-weathex-wxr_28.html

https://9m2zak.blogspot.com/2023/08/run-automatik-weathex-on-startup.html 

kalian semua jangan risau pasal update ini. apa yang perlu dilakukan ialah :

  $  mv RS RS.old

  $  git clone -b test https://github.com/rs1729/RS

  $  cd RS/weathex/

  $  gcc weathex301d.c -lm -o weathex

dan nanti akan keluar seperti ini. Kali ini siap dengan serial number.



terima kasih diucapkan kepada Wak Mit 9M2TPT di atas info berkenaan update ini dan juga resepi command line yang diberikan. Ianya berjalan umpama juara. Jumpa lagi pada post-post mendatang. 73




Warning from apt-key: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg)

  This worked for me... Code:  Select all sudo cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d