Hardware Reference
In-Depth Information
Once you boot the Raspberry Pi with this headless file, the IP address will first flash
through the speakers two minutes after powering on. Thirty seconds later, it will flash
the IP address through the green OK/ACT LED. These functions are provided through
ip-info , a package that contains the aptly named ip-read and ip-flash . The flashes
indicate numbers in the following way:
• Digits 1-9 are indicated with short flashes (e.g., three short flashes is a 3).
• 0 is indicated with 10 short flashes.
• Digits are separated by a pause.
• Dot (.) is indicated with a long flash.
You can read more about the ip-info package and download it at https://github.com/
ctyler/ip-info/ .
As mentioned earlier, Pidora would usually run through the first boot process and have
you set up a root password and another user. But that script will run only if input
devices are found. Otherwise, the system configures the ethernet interface via IPv4
DHCP and assumes you'll set up any other preferences you would have made at first
boot on your own.
Connect with SSH
HACK 12
For any headless project, as well as a matter of convenience when you're
away from your project or just too lazy to walk across the room, you'll
need to know how to SSH to your Raspberry Pi.
OpenSSH, the open source set of tools for secure communcation created by the
OpenBSD project, is likely available in any distro you choose.
If you're going a little retro, note that “Squeeze,” the version of Raspbian before
“Wheezy,” didn't have SSH running by default.
If you aren't certain, all you have to do is attempt to SSH to your Pi, and you'll find out
pretty quickly. Attach a monitor and keyboard, and then run:
$ service sshd status
'Redirecting to /bin/systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Wed 2013-02-13 13:06:40 EST; 28min
ago
 
Search WWH ::




Custom Search