Pages

Followers

Powered by Blogger.

Saturday, November 14, 2015

Stratux + Canakit + DVB-T usb dongle = Real-time weather and air-traffic updates in the cockpit.


BOM:
  https://www.amazon.com/gp/product/B008XVAVAW/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

https://www.amazon.com/gp/product/B00C37AZXK/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

Approximate cost: $84

Procedures:
Downloaded stable Stratux release:
https://github.com/cyoung/stratux/releases/download/v0.4r4/stratux-v0.4r4-293d0e74a8-10222015.img.zip

I use Linux, so after downloading, I extracted the image and then wrote it to the 8GB microSD card that came included with the Canakit.

sudo dd -if=\locationofimage\stratux...img of=\dev\mmcxblk0

Next I assembled the kit, inserted microSD, plugged in the WiFi dongle included with the Canakit, the DVB-T usb dongle and powered it up.

No WiFi AP showed up...uh-oh
Turns out the Canakit WiFi dongle isn't compatible with Stratux out of the box.

No Problem...
Connect pi2 to the network via Ethernet and ssh into it. Default username:pi password:raspberry

once logged in, I ran:
sudo aptitude update; sudo aptitude -y upgrade
Then:
sudo cp /etc/hostapd/hostapd.conf /etc/hostapd/hostapdORG.confsudo nano /etc/hostapd/hostapd.confdelete all contents and pasted this in:interface=wlan0ssid=stratuxhw_mode=gchannel=1macaddr_acl=0auth_algs=1ignore_broadcast_ssid=0
then exit (ctrl+x) and save
issued a reboot:
sudo reboot 
and voila! It was alive.