Saturday, April 13, 2024

How to run rtl-sdr over tcp with dsdplus fastlane

step 1 : build your own raspberry pi vpn server

wget https://git.io/vpn -O openvpn-install.sh

chmod +x openvpn-install.sh

sudo apt update && sudo apt upgrade

sudo ./openvpn-install.sh

masukkan hostname anda, cth kulai.duckdns,org 






pilih protokol udp














                      masukkan port 1194, jangan lupa port forwarding port 1194











                           pilih current system resolvers












      namakan file ovpn anda, cth saya namakan testing, nanti testing ovpn ni akan digunakan oleh client













        ovpn tu nanti akan di simpan dlm /root, jadi utk mudah nak ambik ovpn tu, kita pindahkan ke home dan lepas tu boleh hantar ke client ikut mana-mana media spt whatapps, email, telegram, pendrive dan sebagainya.

 sudo mv /root/Testing.ovpn /home/pi

kemudian pada raspi client, perlu install openvpn dahulu supaya boleh upload ovpn yang kita generate tadi.

sudo apt update

sudo apt install openvpn

apabila ovpn tu sudah ada dlm raspi client, maka kita pindah ke OpenVPN directory, 

sudo mv Testing.ovpn /etc/openvpn/

kemudian connectlah ke openvpn tu....

cd /etc/openvpn/
sudo openvpn Testing.ovpn

untuk sahkan yang client dan server bersambung, boleh check ip client dengan di whatismyip, jika ip client sama dengan server maka sukses.

--------------------------------------------------------------------------------------------------------------------

step 2 : set up rtl_tcp server

rtl_tcp -a <server_ip> -p <port_number> ni 

maka untuk jadikan client kita itu sebagai server rtl-sdr server, maka

rtl_tcp -a <ip raspi client> -p <port_number>

katakan kita tidak tahu apakah ip client yg guna vpn tu, kita boleh check dengan cari ini, 
pada raspi client,

pi@raspberrypi:~ $ ifconfig

tengok pada line tun0:  ip raspi client yang guna vpn tu ada di situ, contoh dibawah...

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.8.0.13  netmask 255.255.255.0  destination 10.8.0.13
        inet6 fddd:1195:1195:1195::1001  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::715:d189:7e49:249b  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 500  (UNSPEC)
        RX packets 1652  bytes 479212 (467.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1551  bytes 498379 (486.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

nampak tu, ip dia 10.8.0.13, maka masuklah ke dalam command line tadi, dan saya guna port 4321

rtl_tcp -a 10.8.0.13 -p 4321

dan run lah di terminal...


dan paparan sebegini akan muncul.....


ok sekarang raspi client kita sudah sedia, dan biarkan... jom kita setup dsd  pula.

--------------------------------------------------------------------------------------------------------

step 3 : dsd setup

pada dsd anda, pergi ke file 1R.bat dan gantikan dengan line ini,

dsdplus -iT192.168.0.15:4321

dimana 192.168.0.15 adalah ip pc anda 4321 adalah port yang kita set tadi.

kemudian buka juga perisian sdr# anda di pc dan pilih RTL-TCP, masukkan ip rtl_tcp server tadi dan port 4321 tadi dan halakan audio ke mana-mana  virtual audio port anda.

run dsd dan pada input :

pilih virtual audio, 

pilih FMPx TCP Linking 

masukkan ip pc anda pada FMPx TCP address

masukkan 4321 pada  FMPx TCP port

pergi ke Misc dan klik Download Newest Base Files

hasilnya akan kelihatan sebegini

hasilnya akan kelihatan seperti dibawah...


semoga bermanfaat... 9m2zak 73.;


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



How to run rtl-sdr over tcp with dsdplus fastlane

step 1 : build your own raspberry pi vpn server wget https://git.io/vpn -O openvpn-install.sh chmod +x openvpn-install.sh sudo apt update &a...