From 0bb0c9ed34eb7353fe1103070af4c591f483b112 Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Sat, 29 Jan 2022 09:40:37 +0000 Subject: Updated rtl_sdr usage notes. Fixed typos. Added note about rtl_433 and r820t2. renamed freenode to libera --- md/writeup/rtlsdr_usage.md | 50 +++++++++++++++++++++++++++++----------------- 1 file changed, 32 insertions(+), 18 deletions(-) (limited to 'md/writeup') diff --git a/md/writeup/rtlsdr_usage.md b/md/writeup/rtlsdr_usage.md index cc43edb..a1440ce 100644 --- a/md/writeup/rtlsdr_usage.md +++ b/md/writeup/rtlsdr_usage.md @@ -10,12 +10,14 @@ can be used for not just recievin DVB-T frequencies but much more and yes price is ~$10 it mean that anyone can just buy and try without "loosing" money. +As of 2022 the cheap that commonly available is r820t2. + ### Get sources Main development repository is on http://sdr.osmocom.org/trac/wiki/rtl-sdr -on github you can find more repos with experminental +on github you can find more repos with experimental features (https://github.com/keenerd/rtl-sdr). Getting sources from git: @@ -53,12 +55,12 @@ Check if rtlsdr related drivers is loaded: ```bash lsmod | grep rtl28 ``` -If there is some drivers then balcklist driver by creating file +If there is some drivers then blacklist driver by creating file in */etc/modprobe.d/* with content: ``` blacklist dvb_usb_rtl28xxu ``` -Next thing that could appear is permissions on rtlsdr usage when its pluged in. +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: ``` SUBSYSTEM=="usb", ATTRS{idVendor}=="0bda", ATTRS{idProduct}=="2838", \ @@ -68,14 +70,17 @@ 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: +``` rtl_test - -I like to run rtl_adsb as you can see there that something is recieved and +``` +I like to run rtl_adsb as you can see there that something is received and you see that everything "works": +``` rtl_adsb +``` -There should be line by line showing up some "hex" lines. If some data is showen -then adsb data from plains is recieved. +There should be line by line showing up some "hex" lines. If some data is shown +then adsb data from plains is received. ## Collection of tools @@ -104,11 +109,11 @@ and then draw image : ### ADSB -ADS-B ( Automatic dependent surveillance broadcast ) in simple words airplain -geoposition, speed, height and flight number broadcasting. You can recieve +ADS-B ( Automatic dependent surveillance broadcast ) in simple words airplane +geoposition, speed, height and flight number broadcasting. You can receive this data and see how many plains is around and sometimes flight number. -rtlsdr have default one rtl_adsb programm but it shows only recieved data, +rtlsdr have default one rtl_adsb programm but it shows only received data, without any decoding. Here is dump1090 specifically for rtlsdr and nothing more: @@ -139,7 +144,7 @@ and in real time search for some transmission. http://gqrx.dk/ -It have builtin AFSK1200 demodulator or in simple words ham radio packets. +It have built-in AFSK1200 demodulator or in simple words ham radio packets. And you could try to see what people sending in tex around the world. ### Multimon-ng @@ -165,18 +170,26 @@ could used for fast prototyping Project that make rtlsdr as entropy source, uses FIPS 140-2 standart to verify that data is random enought to pass test. +### rtl_433 + +Generic data receiver. Can use to track remote sensors, weather stations and alot +other devices. + + https://github.com/merbanan/rtl_433 + + ## Projects where rtlsdr used ### WebSDR -WebSDR probably best site where you can go and click on some radio reciever -and liste what happends in some particular country. WebSDR site contains +WebSDR probably best site where you can go and click on some radio receiver +and listen what happens in some particular country. WebSDR site contains about 80 radio recievers around the world that can be accessed trought web interface. http://websdr.org/ -If you whant setup your own radio reciever read FAQ, prepare mail and send mail -after that you could recieve precompiled websdr software with is easy +If you want setup your own radio reliever read FAQ, prepare mail and send mail +after that you could receive p recompiled websdr software with is easy to setup with rtlsdr stick. ## Problems @@ -189,14 +202,14 @@ To fix that changes for better quality usb cable. ### More then 1 dongle When you run you run usually more then 5 dongles you could get error saying -something about libusb error (-5) you need to decrese buffer as default one +something about libusb error (-5) you need to decrease buffer as default one is (16 * 16384) and it should work ```bash rtl_test -b [NEW_SIZE] ``` -thx goes to freenode/##rtlsdr chan +thx goes to libera.chat/##rtlsdr chan ## Links @@ -207,5 +220,6 @@ thx goes to freenode/##rtlsdr chan 5. https://github.com/antirez/dump1090 6. http://gqrx.dk 7. https://github.com/roger-/pyrtlsdr -8. https://github.com/EliasOenal/multimon-ng +8. https://github.com/EliasOenal/multimon-ng +9. https://github.com/merbanan/rtl_433 -- cgit v1.2.3