Satellite Tracking with Linux
Looking for something fun to do with your Linux box? One of the most impressive applications I've seen available for Linux is SatTrack 3.1 for Unix by Manfred Bester. SatTrack is a very powerful tool for satellite tracking and orbit prediction. It can tell you when a satellite, the Mir Space Station, or a space shuttle will be overhead, where they are at any time and when you might be able to see them. It can even control some external tracking hardware, such as antenna rotors or telescopes. The program can run from the console or a terminal window, or if launched inside an xterm, it can bring up a world map showing the current position of any satellite or group of satellites. It can do all this, and best of all, SatTrack 3.1 is free for private, non-commercial use.
As an amateur radio operator, I first became interested in using SatTrack to track the many amateur radio satellite in low-earth orbit. These satellites receive an amateur radio signal on one frequency, amplify it, and retransmit it on another frequency. Two stations on opposite sides of a continent or an ocean can communicate through one of these satellites using radios that ordinarily wouldn't be able to reach each other. Since most of these satellites are in low earth orbit, however, they pass overhead infrequently, and then only for several minutes at a time. Knowing when they will appear where is imperative to successful communication. To solve this tracking problem, it's Linux and SatTrack to the rescue!
Figure 2. SatTrack v3.1 Multi-Satellite Line Display
SatTrack was designed to compile and run on most Unix operating systems, and it runs quite nicely under Linux. One really nice feature of the program is that it can operate from a terminal window, such as a VT100 terminal, or from a Linux virtual console, if you can't or don't want to use X. On the other hand, if you do run X, you can pull up a full-color world map that will show you where any satellite or group of satellites is at the moment, where the sun is, where the gray line separating the sunlit side of the planet from the dark side of the planet is, and a graphical projection the path of the next several orbits of a satellite. Tools that come with SatTrack can automate the process of downloading fresh Keplerian two-line elements—the files that describe a satellite's orbit—directly from the Air Force Institute of Technology's FTP server.
Figure 3. SatTrack v3.1 Graphic Tracking Display
SatTrack is widely used in the space community. According to the program's home page:
Users of SatTrack V3.1 include NASA's Jet Propulsion Laboratory (JPL), Johnson Space Center (JSC), Goddard Space Flight Center (GSFC) and Marshall Space Flight Center (MSFC), the European Space Agency (ESA), the German Aerospace Research Establishment (DLR), the National Aerospace Laboratory (NLR) of The Netherlands, the Los Alamos National Laboratory (LANL), the Amundsen-Scott South Pole Station, a large number of universities and other institutions, as well as thousands of private users all over the world.
You can find more information about SatTrack, including its copyright and licensing information and the latest version of the SatTrack 3.1 distribution at http://www.primenet.com/~bester/sattrack.html.
Compiling SatTrack in a Linux system is fairly straightforward. Instructions on how to compile the program are included in the file SatTrack/src/README_MAKE, and I won't repeat all of them here. The most important options to choose, though, are in SatTrack/src/Makefile and SatTrack/src/include/sattrack.h. (These will make sense if you look at the files in question.) In the Makefile, the machine type I chose is (yes, I actually do have a 486)
# i486 (i486 with Linux) # CPU = i486/Linux CC_CMACH = -O2 -m486 CC_LMACH = CC = gcc
The user compile-time options I chose were:
CC_CUSR = -DREVERSEVIDEO -DSUNTRANSITS -DXWINDOW
I used the following options for compiling and linking:
X11 = /usr/include/X11 LX11 = -L/usr/X11R6/lib -lX11 -lXt -lICE -lSM # X11R6
In SatTrack/src/include/sattrack.h, the only changes I made were to define the home directory:
#define SATDIR "/usr/local/bin/X11" /* directory where SatTrack */
and to change the print command (you might choose to use nenscript or some other ascii to postscript utility):
#define PRINTCMD "a2ps" #define PRINTOPT "-nL -nu -c"
After these changes, SatTrack should compile successfully. One final thing to check after compiling is the write privileges on the SatTrack/pred/ directory; if you install SatTrack in a common bin directory, you might want to make that directory world writable or SatTrack may not be able to write an orbit prediction to a file (or print it). For simplicity in calling the program, I've defined a choice in one of my pull-down fvwm menus as follows:
Exec "SatTrack" exec
/usr/bin/X11/color-xterm -sb -sl 500 -j
-ls -fn 7x14 -geometry 132x26 -T 'SatTrack
for Unix 3.1' -n 'SatTrack' -e
/usr/local/bin/X11/SatTrack/run/sattrack &
Using SatTrack is straightforward. After telling the program your location and the satellite you're interested in, you are presented with a list of options. You can compute an orbit projection over several days. SatTrack will succinctly describe every pass over your location including times and durations of each pass, the peak elevation the satellite will reach, and whether it will be visible. Another option is to display the current position of the satellite. You can display one satellite at a time or a whole group of satellites (such as all the amateur radio satellites). SatTrack will tell you which satellites are currently over your horizon and how long it will be until satellites enter or leave your field of view. When appropriate, SatTrack can even tell you the radio frequency uplink and/or downlink of a satellite, and dynamically compensate for the Doppler shift! More advanced users can integrate SatTrack with antenna or telescope pointing hardware to track an object precisely as it passes overhead. SatTrack is on of very few satellite tracking program commonly available for any operating system that can show satellite visibility or actively control tracking hardware.
The following are SatTrack Stellite Icons

U.S. Space Shuttle Icon

Space Shuttle Icon

MIR Icon

International Space Station Icon
SatTrack is an absolute wonder for tracking satellites. With the help of SatTrack, I've made my first two-way communication with another ham radio operator over 1000 miles away using the Russian amateur radio satellite RS-15, and I look forward to making many more. Those who are not ham radio operators can find fun uses for SatTrack as well. Weather satellites, geological survey satellites, and others are constantly sending image and telemetry data to the earth. SatTrack can also tell you when satellites might be visible. Ever seen a space shuttle fly overhead? The Mir Space Station? The Hubble Space Telescope? With binoculars or a telescope, you might even see smaller satellites, once SatTrack has told you where and when to look. Doing a presentation on the Global Positioning System? Show your audience exactly where the GPS satellites are in orbit. Need a compelling computer display for that sci-fi epic you're producing for Film Studies 101? SatTrack can provide ever-changing graphic disply windows.
Today’s modular x86 servers are compute-centric, designed as a least common denominator to support a wide range of IT workloads. Those generic, virtualized IT workloads have much different resource optimization requirements than hyperscale and cloud applications. They have resulted in a “one size fits all” enterprise IT architecture that is not optimized for a specific set of IT workloads, and especially not emerging hyperscale workloads, such as web applications, big data, and object storage. In this report, you will learn how shifting the focus from traditional compute-centric IT architectures to an innovative disaggregated fabric-based architecture can optimize and scale your data center.
Sponsored by AMD
Built-in forensics, incident response, and security with Red Hat Enterprise Linux 6
Every security policy provides guidance and requirements for ensuring adequate protection of information and data, as well as high-level technical and administrative security requirements for a system in a given environment. Traditionally, providing security for a system focuses on the confidentiality of the information on it. However, protecting the data integrity and system and data availability is just as important. For example, when processing United States intelligence information, there are three attributes that require protection: confidentiality, integrity, and availability.
Learn more about catching the bad guy in this free white paper.
Sponsored by DLT Solutions
| Making Linux and Android Get Along (It's Not as Hard as It Sounds) | May 16, 2013 |
| Drupal Is a Framework: Why Everyone Needs to Understand This | May 15, 2013 |
| Home, My Backup Data Center | May 13, 2013 |
| Non-Linux FOSS: Seashore | May 10, 2013 |
| Trying to Tame the Tablet | May 08, 2013 |
| Dart: a New Web Programming Experience | May 07, 2013 |
- RSS Feeds
- New Products
- Making Linux and Android Get Along (It's Not as Hard as It Sounds)
- A Topic for Discussion - Open Source Feature-Richness?
- Drupal Is a Framework: Why Everyone Needs to Understand This
- Home, My Backup Data Center
- New Products
- Paranoid Penguin - Building a Secure Squid Web Proxy, Part IV
- Developer Poll
- Trying to Tame the Tablet
Enter to Win an Adafruit Prototyping Pi Plate Kit for Raspberry Pi

It's Raspberry Pi month at Linux Journal. Each week in May, Adafruit will be giving away a Pi-related prize to a lucky, randomly drawn LJ reader. Winners will be announced weekly.
Fill out the fields below to enter to win this week's prize-- a Prototyping Pi Plate Kit for Raspberry Pi.
Congratulations to our winners so far:
- 5-8-13, Pi Starter Pack: Jack Davis
- 5-15-13, Pi Model B 512MB RAM: Patrick Dunn
- Next winner announced on 5-21-13!
Free Webinar: Linux Backup and Recovery
Most companies incorporate backup procedures for critical data, which can be restored quickly if a loss occurs. However, fewer companies are prepared for catastrophic system failures, in which they lose all data, the entire operating system, applications, settings, patches and more, reducing their system(s) to “bare metal.” After all, before data can be restored to a system, there must be a system to restore it to.
In this one hour webinar, learn how to enhance your existing backup strategies for better disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible bare-metal recovery solution for UNIX and Linux systems.




20 min 51 sec ago
4 hours 34 min ago
7 hours 7 min ago
11 hours 46 min ago
14 hours 8 min ago
1 day 6 hours ago
1 day 9 hours ago
1 day 10 hours ago
1 day 11 hours ago
1 day 11 hours ago