Wednesday, November 11, 2015
A fun project I wanted to try out was to start sending aircraft ADS-B data to an online service.
This post will outline what hardware you will need and how to load RTL-SDR drivers, Install ModeSMixer2 and ModeSDeco2 and configure the software to feed the ADSB Exchange.
I ended up using the following commands:
./modesdeco2 –gain 49.5 -–web 8000 –sbs10001 10001
./modesmixer2 –inConnect 127.0.0.1:10001 –outServer sbs10001:10002 –outConnect avr:feed.adsbexchange.com:30005
For more commands – visit the source site at: xdeco.org
Friday, October 23, 2015
The first place you need to look is: Orange Pi Forums - Thread on Installing .img files
This thread will answer 90% of your questions because forum moderator Loboris knows his stuff.
He has good instructions but I am not the most proficient Linux user in the world, so I needed a little extra help. I hope this helps someone else like me that is not proficient at the command line.
I am going to assume you have a Linux computer with a GUI like Gnome or KDE, LXDE, Etc.
Create a folder on your PC where you can store some files that you will download. I just put my folder on the desktop. I created a folder called opi
Download any of the available distro images (xz archive) from the Mega or GoogleDrive sites Loboris has listed.
You have lots of options: Debian, Arch, OpenSuse, Ubuntu, Fedora, Etc. I downloaded
scriptbin_kernel.tar.gz, it contains the latest Linux kernel (uImage) and script.bin.
Navigate to the folder you created and unpack, unzip, uncompressed, extract or whatever you want to call it BOTH files you just downloaded. Most modern versions of Linux let you right click on a file and extract it. I used the Engrandpa archive manger that come with the Mate desktop but yours may be called Ark, File Roller, Etc.
Open a terminal program like Xterm so we can get to the command line. The first command we need to run is
df -hto see what devices are currently mounted.
If your computer has a slot for SD cards, insert the card. If not, insert the card into an SD card reader, then connect the reader to your computer
df -hagain. The new device that has appeared is your SD card. The left column gives the device name of your SD card; it will be listed as something like
/dev/sdd1. The last part (
1respectively) is the partition number but you want to write to the whole SD card, not just one partition. Therefore you need to remove that part from the name (getting, for example,
/dev/sdd) as the device for the whole SD card. This will be important in step 10.
Now that you've noted what the device name is, you need to unmount the SD card so that files can't be read or written to the SD card while you are copying over the SD image. Run
umount /dev/sdd1, replacing
sdd1with whatever your SD card's device name is (including the partition number).
Step 9. - The hard part
In the terminal, write the image to the SD card with the command below, making sure you replace the input file
if=argument with the path to your
.imgfile, and the
/dev/sddin the output file
of=argument with the right device name. This is very important, as you will lose all data on the hard drive if you provide the wrong device name. Make sure the device name is the name of the whole SD card as described above, not just a partition of it; for example
Now for the command:
sudo dd if=
of=/dev/sdd bs=1M oflag=direct
I ended up using this based on where my files were located and the name of my SD card:
sudo dd if=/home/john/Desktop/opi/OrangePI_Lubuntu_Vivid.img of=/dev/mmcblk0 bs=1M oflag=direct
Go get a cup of tea / coffee and a snack. This could take several minutes.
Step 10. - downhill from here
syncin the terminal, this will ensure the write cache is flushed and that it is safe to unmount your SD card. You can close the terminal program now.
I used a graphical file manger for the rest of the steps. Open up your graphical file manager and then physically remove the SD card from the computer and then reinstall it in the SD slot. You should see the SD card appear in the graphical file manager. Right click it and mount the SD card. You should see two items now. One partition called BOOT and the other partition called Linux. If you do not see this you may want to remove the SD card and try again.
In the graphical file manger double click on the BOOT partition. When you do, you should see a bunch of files. We are only interested in two files: script.bin and ulmage. Rename both files. I renamed them script.bin.default and ulmage.default
Remember that folder you created on your computer at the beginning of this little project and downloaded the two files to which you extracted? Navigate to that folder.
Find the file uImage_OPI-2 or uImage_OPI-PLUS (depending on the type of Orange Pi you have ) and rename it to uImage (The Orange Pi-PC use uImage_OPI-2)
Determine the resolution and refresh rate of the monitor you will connect your Orange Pi to. You may also want to figure out how you will supply the video feed to the monitor. I am using a TV with a resolution of 1080p with a 60Hz refresh rate. I also wanted to use the HDMI cable.
In the folder you created on your PC, find a script.bin.OPI-XXXX file that best matches your version of Orange Pi and monitor setup. For my Orange Pi PC and the TV I was going to use as a monitor, the best file was script.bin.OPI-PC_1080p60_hdmi. After you find the best file rename it to script.bin
Copy the the two files you just renamed to ulmage and script.bin and paste them into the BOOT partition. Unmount and safely remove the SD card from your computer.
Step 18. Install the SD Card into the Orange Pi and boot into your new system! The username and password are: orangepi
Resize the Orange Pi partition to fit your SD Card size by using the following command in a terminal:
sudo fs_resizeAfter running this command you will be prompted to reboot.
After rebooting it is a good idea to update all system package with the package manger
Monday, February 15, 2010
Wednesday, October 7, 2009
The latest server specs are:
HP DL360 G3
Dual Xeon 2.8 GHz processors
Dual 36GB Ultra 320 SCSI Drives
Dual Power Supplies
Dual 1 GB Ethernet
HP 5i on board RAID Controller
HP iLo management
2 GB of RAM
CD-ROM and Floppy Drive
On board Video and Legacy Ports
And how much for all of this technology? A hefty $99 USD on eBay. The last DL360 I pickup I was able to purchase for $51 USD!
What is truly funny is replacement rack rails end up cosing 40% of the total cost of the server!
Sunday, October 4, 2009
I did a search on DistroWatch under the category of old computers and it come up with about 20 recommendations. The usual suspects came up; Puppy, DSL, Slitaz, Tiny-Core. The rest fell into two broad categories, the first being Ubuntu based distros using lightweight window managers. The second group were based on Slackware. I have a soft spot in my heart for Slackware. Wolvix was the first distro I could get my wireless card at the time (three years ago) working properly. Because of this Wolvix paved the way towards full time Linux usage breaking my Windows fix. I haven't looked back.
Absolute, AUSTRUMI, SaxenOS and Vector were the Slackware based distros that caught my eye. A quick review narrowed my interest to Absolute or Vector. I decided to install Vector on a 700mhz test machine with 512meg of RAM because they had just released their 6.0 Lite Version.
After the install I was greeted with a very usable system even on the 700mhz test rig. I was able to configure OpenSSH and VNC without any major issues. At boot, running JWM as the window managers, I was using only 50meg of RAM and CPU utilization was in single digits. I am very impressed with Vector so far!
Tuesday, September 15, 2009
I have also started to looking for a distro that I can use on an administration server at my brother-in-laws practice. This a very old Penguin Computing server that has a 700MhZ processor with 512Mb of ram. I have been using Puppy Linux for a few months but I am looking for a lightweight distro that has a little better out of the box support for OpenSSH. I favor rolling release distros so it will be interesting if I can find something light enough to server my purpose. I could always and should install Arch Linux but I want to see if anything different is out there.
Friday, September 4, 2009
The big question now is do I go with S*M*S and deal with the steep learning curve of relearning Webmin or should I just use SME Server to save time knowing it will do most of what my brother-in-law wants.