Tagged: sdr

Hakology Day 43 : Blog Entry

[1714]
Time to get busy NO MATTER WHAT. Had a great weekend spent with my son and family, we even did a little coding using the reddit API. Sunday was cool too, I managed to grab some bargains from a few second hand sales, nothing exciting or tech related, just a few books on survival/bushcraft/scouting. Today im going to attempt to record the SDR# video as the last time I forgot to hit record! (*not quite I forgot to hit record but that’s another story/rant), I’m also ready to go war driving so that might be a thing in a few hours. Had some more breakout / dev boards turn up in the post but not the one I’m waiting for, lol, its always the way.
[/1714]

[2318]
Nothing ever goes as planned, I went for a little war drive earlier after having installed kismet, gpsd-clients and gpsd. Recently I reinstalled debian with lxde and I couldn’t figure out, or seem to kill the gpsd process to set my gps as the default device (/dev/ttyUSB0), no matter what I did couldn’t get kismet to detect the dongle in gpsd or even find the configuration file. I decided to run kismet with the –use–nmea option BUT this was a lot less reliable in kismet than what gpsd usually is. Then my netbook went to sleep as I havent figured out the power saving settings in lxde yet. (I’ve been using lxde less than a week) I pulled over to restart my scan but accidentally chose the wrong wireless device when I restarted kismet, so all in all a complete mess. That said I’m working on a little script to load everything at once correctly so this won’t happen again. I really newb’d out tonight, If at first you don’t succeed try harder.
[/2318]

[0033]
sudo kismet -c wlan1 -use-nmea-gps /dev/ttyUSB0 -gps-reconnect true
DO NOT USE THIS FOR GPS IT SUCKS … I had the most sketchy log files using this syntax to call kismet. Might have been the way I had the dongle positioned but I think its the way netxmltokml process the file when its been generated using that switch.
[/0033]

[0515]

[/0515]

Installing SDR# on windows …

How to install SDR# on windows …

You will need …

PC/Laptop (Recommended dual core, 4gb RAM)
RTLSDR dongle
(Optional antenna / adapter. *Recommended*)
.NET Framework 4.6

DO NOT PLUG IN THE DONGLE
DO NOT INSTALL ANY SOFTWARE IT CAME WITH
If you have uninstall the software, driver and unplug the dongle.

Goto airspy.com and download the ‘SDR Software Package’
Unzip the files somewhere
Run install-rtlsdr.bat
Plug in your dongle
Run zadig.exe (as administrator)
Click options
Make sure ‘show all devices’ is selected.
In the device drop down select ‘Bulk Interface 0’
Ensure WINUSB is selected in the other drop down.
Click install
Click OK to any warnings
Run sdrsharp.exe
Select the RTLUSB dongle
Click the play icon to start capture.
Tune to a known frequency (FM station)
Ensure WFM is selected
Open the options menu
Increase RF gain, but don’t let the signal distort.
If you can hear distortion try adjusting the volume control in SDR#

Give yourself a pat on the back and get scanning!

Moving on to gqrx and linux in the next video.

Recommended SDR shopping list for up coming content …
RTLSDR – RTL2832(u) DVB-T+DAB+FM Dongle (£10-£15)
MCX MALE TO BNC FEMALE (for connecting antennas) (Approx £2)
AIR BAND (or similar) antenna (usually with BNC male connector) (£3-£10)

Hakology Day 12 : Blog Entry

[1521]
Kettle is on. Coffee to be made. So day twelve begins.
[/1521]

[1530]
Tunes turned to 11 … its Friday!
Operation pre-weekend tidy up has begun.
[/1530]

[1653]
Slow start, written up all the notes for the SDR# tutorial, might have a go at recording it later, need to clear some space in the garage for some new equipment arriving soon.
[/1653]

[1913]
Just had a little jam on my drums .. its been way too long. Great warm up for some FPS.
[/1914]

[2044]
Right time to do something productive.
[/2044]

[0103]
Uploading SDR# tutorial, writing up notes in to a new post.
[/0103]

[0200]

Really quick video showing you how to install and setup SDR# under windows.
Moving on to linux and gqrx next.
[/0200]

[0321]

[/0321]

 

Hakology Day 11 : Blog Entry

[1712]
Just doing some RL stuff will be on this evening. SD card for RPi3 has arrived and whiteboard pens. Multimon-ng running on linux logging data. 🙂
[/1712]

[1904]
Munching food just about to get down to business.
[/1904]

[1909]
TODO:
-SDR# notes / audio / video
-POCSAG in PDW
-FLEX in multimon-ng
-Test RPi3 (with retropie of course)
-Check corsair ticket.
-VBLOG
-Audio working on RPi3 HDMI
[/1909]

[1920]
Whoot! looks like corsair have updated the ticket. Awaiting RMA confirmation swapping this brown mx for a new spangly red mx keyboard hopefully. That would be most awesome.
[/1920]

[2014]
Distracted by the internet again! … also reluctant to stop logging POCSAG messages … but I need the dongle.
[/2014]

[2102]
Rendering vblog
[/2102]

[2116]
Looking at demodulating FLEX using multimon-ng but IDK if I have the latest version compiled. Time for some updates.
[/2116]

[2124]
RPi3B vs RPiB there is no comparison, first impressions very impressed!
[/2124]

[2148]
RPi3 still updating & uploading vblog.
[/2148]

[2206]

[/2206]

[2224]
Rebuilt and installed latest version of multimon-ng. Now have FLEX messages demodulating whoot!
[/2224]

[2325]
Audio working on RPi3 Whoot!!! 😀
[/2325]

[0034]
Ready to record SDR# tutorial tomorrow.
On mumble with luc, hexon and gir.
Signing off for today, its been fun. 🙂
[/0035]

[0147]
Worth an update thank you gir for offering to send a RPi zero for hakology to have a play with … can’t wait 😀
[/0147]

[0234]
Thanks hexon been after this link for a long time … http://playdosgamesonline.com
Ran by the creator of textfiles.com
[/0234]

Hakology – Introduction to SDR

What is SDR?

S.D.R. stands for Software Defined Radio.

SDR is a combination of hardware and software used to scan/monitor/demodulate/transmit electromagnetic radio signals.

Signals?

Signals can be used to transmit voice or data.
The most common methods of transmission are FM and AM.

FM = Frequency modulation

AM = Amplitude modulation

FM, modulates the frequency of the carrier wave to transmit a signal.
AM, modulates the amplitude of the carrier wave to transmit a signal.

Both can be used to transmit analogue or digital data.

SDR setup?

You will need …
PC / laptop – Laptop preferably for portability, currently running on an i5 2.4ghz 8gb ram pretty smoothly, I did try this on an older atom processor on linux using gqrx but latency was an issue.

SDR dongle  – RTL2832U – If you want to follow along with the next few videos grab an RTL dongle you can always decided if you like the hobby enough to invest in more expensive equipment at a later date.

Antenna – You can use the one provided but its not recommended for the next few videos ill be using a cheap airband antenna I bought from ebay.

Realtek DVB-T+DAB+FM Dongle

RTL2832U – Notes: The dongle was never intended to be used for SDR but two researchers discovered the chip used was able to cover a wide range of frequencies (24 mhz – 1766 mhz) and decided to rewrite the drivers. (Antii Palosaari and Eric Fry of Osmocom) Since then the dongle has proved hugely successful with amateur radio enthusiasts.

So what can you do with SDR?

Voice, ADSB, ACARS, digital voice, AIS, POCSAG, FLEX, consumer devices, weather ballon data, HAM internet, DVB-T, GSM, GPS, spectrum analysis, weather satellites, ISS, radio astronomy, meteor scatter, FM/AM radio, RDS, DAB, RNG … probably much more!

Over the last few years lots of researchers and developers have started producing applications and code for the RTLSDR and hopefully many more projects to come as the community grows.

Keep tuned for more SDR fun stuff!

If you get bored in the meantime try googling some of the stuff I’ve listed above and start your own research / project / experiment / learning / hack / etc.

Useful links:
https://en.wikipedia.org/wiki/Radio
https://en.wikipedia.org/wiki/AM_broadcasting
https://en.wikipedia.org/wiki/FM_broadcasting
https://en.wikipedia.org/wiki/Software-defined_radio
http://www.sigidwiki.com/wiki/Signal_Identification_Guide

 

Hakology Day 10 : Blog Entry

[1600]
Great sleep, late start, wish I’d stayed awake earlier but must have needed the sleep, feeling refreshed time to get busy. Recorded first audio for SDR EP yesterday, needs work but not bad for first try.
[/1602]

[1755]
Rewritten dialogue again reads a lot better now. Looking for other SDR projects and ideas. Still yet to see if I have multimon-ng installed on the netbook. Tasks for the afternoon.
[/1757]

[1808]
Not so random pictures for the day …


[/1828]

[1919]

Just cooking some food and getting ready to record.

Recommended SDR shopping list for up coming content …
RTLSDR – RTL2832(u) DVB-T+DAB+FM Dongle (£10-£15)
MCX MALE TO BNC FEMALE (for connecting antennas) (Approx £2)
AIR BAND (or similar) antenna (usually with BNC male connector) (£3-£10)
PC/LAPTOP – Preferably laptop for portability. (Varies lol 😉 )

[/1927]

[1949]
Recorded introduction to SDR episode but still not entirely happy with the take, have some RL boring stuff I need to do but will be back later this evening.
[/1950]

[2039]
Back, quick wash and shave and time to record the final take. *Fingers crossed.*
[/2040]

[2256]
Editing done, rendering video.
[/2256]

[2301]
mmmm coffee!
[/2301]

[0006]
Uploading.
[/0006]

[0100]

[/0100]

[0239]
Time to relax!
[/0239]

[0451]
Sleep required.
[/0451]

Hakology Day 9 : Blog Entry

[1124]
So it begins, late night last night, got the SDR working under windows. Todays goals, get the SDR working under linux and gqrx, look at what I managed to capture in the log and start a video showing how to setup SDR#.
[/1124]

[1215]
Really don’t want to stop logging messages lol, but I suppose its time to start making notes. Once I can get this running on the RPi ill leave it logging 24/7 for a while so I can analyse the data. Still lots of data being sent that shouldn’t be, names, phone numbers, address information, IP addresses, email addresses, URLs … and I’m sure if I log for long enough the obligatory username and password.
[/1215]

[1306]
So I can’t show or share any of the data I’m collecting. Hibby just pointed me to (Legal stuff) … even though I can’t share the data I can show you how to demodulate the signals yourself.
[/1306]

[1415]
Written up notes for SDR# installation.
[/1415]

[1513]
Executing operation tidy up for recording later also doing a few other chores.
[/1513]

[1606]
Still tidying 🙁 b/c I’m a messy bugger.
[/1606]

[1613]
Random picture for today …
Since I’m working on radio stuff here’s my baofeng handset its the uv-5r, a great starting handset for people looking to get in to HAM radio and start learning. I bought one relatively cheap on ebay around £20, before I got my licence so I could scan and listen a little. I’ve some other scanners and sets but ill save those for another day.
baofeng
[/1613]

[1713]
meh RL … need to script my house work or hack together some sort of roomba capable of washing up and making tea/coffee on demand.
[/1715]

[1824]
Chilling out time for a coffee and some food. BBL
[/1825]

[21.41]
A few pages of notes written and a rough idea for an introduction to SDR. Time for a brew and to record / talk through the audio. Will report back in a while.

Useful links:
https://en.wikipedia.org/wiki/Radio
https://en.wikipedia.org/wiki/AM_broadcasting
https://en.wikipedia.org/wiki/FM_broadcasting
https://en.wikipedia.org/wiki/Software-defined_radio
http://www.sigidwiki.com/wiki/Signal_Identification_Guide

Captured a little extra audio for the hakology introduction too.
[/2147]

[2344]
Sleep required.
[/2344]

[0448]
Woke up after a few hours sleep been doing a little radio research, too early to start the next blog entry, too late to be editing this one hmmm.
No vblog for day nine either will have to make up for it later.
[/0450]

Hakology Day 3 : Blog Entry

[12.33]
Good morning hakologists, mental note go to bed earlier. Coffee time then on with some research think I’ve decided on doing a really boring video tonight we’ll see. I need more time to compile a decent SDR episode but may well do a little v-blogging today, need to get the garage sorted out. So glad to be back computering.
[/12.33]


[13.01]
Now I’m more awake I’m going to have a look at setting up my SDR rig the question is under linux on an old dual core atom or under windows on an i5 …. urgh windows.
[/13.01]


[13.37]
Major panic over located my SDR, time to get the environment setup and working … oh fun 🙂 will post some bonus twitter / WP content when I can get a decent picture of what I’m working on.
[/13.37]


[14.27]
Tea break, have some defcon vids on in the background, looking for a little inspiration and mental refreshment, realised I wasnt following Balint Seeber @spenchdotnot … well I am now.

[/14.27]


[15.13]

Well I’ve got the sdr working! Progress.
[/15.13]


[15.44]
Taking a breather for a while, need to start noting frequencies and gathering some stock footage. So far my refresher today has taught my its gqrx for linux, sdr# for windows and rtl-sdr gets installed with gqrx, need to also sort out a ‘better’ antenna so much noise in my flat. Anyway …. break time.
[/15.44]


[16.41]
Spent the last hour or so taking a ‘break’ scanning with the SDR made me remember how critical height and position are when transmitting / receiving RF. Also have the ALFA sitting next to my rig might do a little war driving for shits and giggles.
[/16.41]


[18.00]
Social, doom4 and insurgency time.
[/18.00]


[23.26]
So my social time over ran, lol, back to the grindstone.

As promised random bonus content for the blog. Here’s a picture of an old swiss army knife and yes its seen better days and is missing a few parts/utilities its a very special one. This was my dads, dads, pen knife who I never got to meet but my dad gave me this a few years ago, dug it out tidying the other day. Will try and keep posting one original picture every so often.
[/23.26]

[1.31] [06/10/2016]

[/1.31]

[4.47]
Really gone to town on the rpi retropie tutorial, signing off.
[/4.47]