diff options
author | FreeArtMan <dos21h@gmail.com> | 2023-02-04 14:10:26 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2023-02-04 14:10:26 +0000 |
commit | 380f0fe40b1ab20790e75dac779e73667cc5ac72 (patch) | |
tree | 9fa3b9c93b58c966daa22f955282bc3c181d909a /md/writeup/rtlsdr_usage.md | |
parent | df881efab146ca3ee61bf8936f948dd976fc4740 (diff) | |
download | md-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.tar.gz md-content-380f0fe40b1ab20790e75dac779e73667cc5ac72.zip |
Update all content to new pygmentize
Diffstat (limited to 'md/writeup/rtlsdr_usage.md')
-rw-r--r-- | md/writeup/rtlsdr_usage.md | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/md/writeup/rtlsdr_usage.md b/md/writeup/rtlsdr_usage.md index b6e0eed..70f00f7 100644 --- a/md/writeup/rtlsdr_usage.md +++ b/md/writeup/rtlsdr_usage.md @@ -2,6 +2,7 @@ title:Using RTLSDR keywords:linux,rtlsdr,gqrx # RTLSDR usage + ## Setup rtlsdr @@ -9,10 +10,10 @@ By rtlsdr usually call RTL2832U chip based tv-tunners which can be used for not just receiving DVB-T frequencies but much more and yes price is ~$10 it mean that anyone can just buy and try without "loosing" money. None of examples below requires any modifications -or extra hardware to run. +or extra hardware to run. -As of 2022 the version r820t2 that is commonly available. +As of 2022 the version r820t2 that is commonly available. ### Get sources @@ -22,27 +23,27 @@ on github you can find more repos with experimental features (https://github.com/keenerd/rtl-sdr). Getting sources from git: -``` +```sh git clone git://git.osmocom.org/rtl-sdr.git ``` I prefer using plain binaries without any kind of installation. Just compile and use binary without any troubles. Build: ```bash - cmake . - make +cmake . +make ``` All binaries is in src dir. -Util | Desc ---- | --- -_rtl_adsb_ | recieve plain ADSB plain packets -_rtl_eeprom_ | read | -_rtl_power_ | log power over frequency range -_rtl_fm_ | demodulate signals -_rtl_sdr_ | output raw rtlsdr data -_rtl_tcp_ | remote rtlsdr server -_rtl_test_ | test rtlsdr +| Util | Desc | +| --- | --- | +| _rtl_adsb_ | recieve plain ADSB plain packets | +| _rtl_eeprom_ | read | +| _rtl_power_ | log power over frequency range | +| _rtl_fm_ | demodulate signals | +| _rtl_sdr_ | output raw rtlsdr data | +| _rtl_tcp_ | remote rtlsdr server | +| _rtl_test_ | test rtlsdr | ### Drivers @@ -58,12 +59,12 @@ Check if rtlsdr related drivers is loaded: ``` If there is some drivers then blacklist driver by creating file in */etc/modprobe.d/* with content: -``` +```bash blacklist dvb_usb_rtl28xxu ``` Next thing that could appear is permissions on rtlsdr usage when its plugged in. To allow everyone to use create file in */etc/udev/rules.d/* with content: -``` +```bash SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", \ GROUP="adm", MODE="0666", SYMLINK+="rtl_sdr" ``` @@ -71,12 +72,12 @@ To allow everyone to use create file in */etc/udev/rules.d/* with content: ### Check if works How to test if rtlsdr works? Run one of commands: -``` +```sh rtl_test ``` I like to run rtl_adsb as you can see there that something is received and you see that everything "works": -``` +```sh rtl_adsb ``` @@ -135,7 +136,7 @@ Using in interactive mode with height in meters: ``` Output: -``` +```text Hex Flight Altitude Speed Lat Lon Track Messages Seen . ------------------------------------------------------------------------------ 71be01 10052 1009 36.434 33.544 45 9 1 sec @@ -185,7 +186,7 @@ other devices. https://github.com/merbanan/rtl_433 -``` +```sh rtl_433 ``` |