There are some great answers here, but many are out of date. Since May 2016, Raspbian has been able to copy wifi details from /boot/wpa_supplicant.conf into /etc/wpa_supplicant/wpa_supplicant.conf to automatically configure wireless network access:
If a wpa_supplicant.conf file is placed into the /boot/ directory, this will be moved to the /etc/...
This no longer works since ssh is not enabled.
Using only the laptop's screen and keyboard (both before and
after installation), install and configuration for headless
operation using SSH is possible using NOOBS (they call it
"silent install"). It does not require a separate screen
or keyboard/mouse. It does require an SD card reader on the
laptop (built in ...
The serial number can be found in /proc/cpuinfo; for example,
pi@raspberrypi:~$ cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS : 697.95
Features : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb76
CPU revision : 7
This depends on the distribution you have downloaded. The default passwords for common distributions are as follows:
Distribution | Username | Password
Debian Squeeze | pi | raspberry
Arch | root | root
QtonPi | root | rootme
Raspbian | pi | raspberry
To enable ssh at startup, backup boot.rc on the boot partition on the SD image and replace it with boot_enable_ssh.rc
I don't know about your router, but you may be able to configure it to reserve a fixed IP address for the MAC address of your Pi.
Copy boot_enable_ssh.rc to boot.rc from /boot in the Raspberry Pi's rootfs (SD card)
Still in the Raspberry Pi's rootfs, edit /etc/network/interfaces in order to have a fixed IP address assigned (so no DHCP server is needed). For example,
auto lo eth0
iface lo inet loopback
iface eth0 inet static
Although Raspbian used to enable ssh by default, from December 2016 it no longer does so. While there is still no boot_enable_ssh.rc file as the OP requested in 2012, ssh can be enabled on first boot by creating a file called “ssh” in /boot. As /boot can be written to by any OS that understands SD cards, this extra step is easily done on first installation. ...
This is only for command-line interface, not for the Graphical UI.
The easiest way would be connecting via SSH with a program called PuTTY (Windows), M-remote (Windows) or using the Terminal application in OS X or any Linux (no installation, already available).
Terminal: enter the command ssh pi@raspberrypi
Putty: select protocol SSH and enter hostname ...
The process is pretty simple.
Download the image
First, go to the Raspberry Pi Foundation's Download page and download the image you want.
The latest image is Raspbian Stretch, which is the official distribution for all Pi models. Alternatively, the Arch Linux image is great if you want a minimal install or if you've had a bit of experience with Linux ...
There are many ways to address vulnerabilities, however the first thing you should know is that Linux isn't as susceptible to intrusion as other Operating Systems. This is mainly due to lack of malware that targets *NIX. Nevertheless, you want to be aware of the ways in which your system can be accessed.
Firstly you should change the default ...
None of the boot_enable_ssh.rc stuff exists in current Raspian builds. You boot, a nice graphical menu gives you some options (including whether SSHD should load at boot) and then dumps you out on a command line.
That's great if... you're a graphical user.
If you're not, you're left in the position where you have to somehow externally run update-rc.d. All ...
No. At this point in time, Windows cannot be installed on the Raspberry Pi.
Windows is designed for the x86 and x86-64 architectures (32 and 64 bit architecture respectively).
The RPi has an ARM architecture, which is incompatible.
Microsoft have announced that Windows 10 will ship a version that supports Raspberry Pi 2.
The answer's always yes, right, just takes a while to work out how!
The Hard Way
I will be running this on a VPS, provided by Brightbox.com. I used a Nano Server (2 CPUs, 512MB RAM, 20GB disk space) and a Ubuntu Precise 12.04 LTS server image. It should work on EC2's or Linode's equivalents, and of course, on your home Linux machine. I have now tested ...
APT is the package manager under Debian, for Raspberry Pi or any other system. The command line tool curl is installed in this example.
You need to be connected to the Internet.
If you haven't done so recently it is worth running,
sudo apt-get update
This updates the list of packages that are available to apt-get.
Then use apt-cache to ...
The short version
You need to prepare a root and export it from the NFS machine
You need to configure the early stage booting to use that
You'll still need a SD card for the early stage booting, but after that nothing except /boot will need the SD card.
I've only done this on a Linux machine. In theory it's possible on any machine that can export ...
Things I've noticed so far about the stock Debian Squeeze image:
/etc/shadow contains a bunch of password hashes for accounts that aren't the pi account (buildbot, etc). Change the password on the pi account, naturally, if you haven't already (or make a new user account for yourself and delete the pi account) but also edit the other entries and replace the ...
The official Debian image ships with at least 2 users, root and pi. You will only be able to login to the pi account.
How do I change pi's password?
At the very least, you should change the password for the pi account, as anybody with a RPi will be able to log onto yours. To do this, run passwd from the command line and follow the prompts.
How do ...
Yes, you do understand correctly - Raspberry Pi does not run OS X. OSX is compiled for Intel chips; the Pi uses ARM chips.
You are confusing OS X and Linux. Both are based on an old operating system called Unix, which is pretty much the mother of all OS's. I may be wrong, but even Windows has a bit of Unix mixed in.
What is OS X?
OS X is a proprietary OS ...
At least nowadays, raspi-config seems to support noninteractive mode:
cat /boot/cmdline.txt # show original cmdline.txt
raspi-config nonint do_serial 1 # disable serial console
cat /boot/cmdline.txt # confirm changes
raspi-config nonint do_serial 0 # enable serial console
cat /boot/cmdline.txt # confirm changes
with this, ...
That's a tough one. The WiFi won't automatically connect. So I would try the following:
Image a micro SD card with the Raspbian OS image using Win32DiskImager.
Manually configure your WiFi from another computer. In another computer running Linux (or PC with Live CD) you could edit the following file:
And add the ...
A fresh Arch install ships with only the root user available. Thus you should definitely be creating a new user, as spending too much time as root is dangerous.
In addition, you should also change the root password, as leaving as default is a major security risk.
Changing the root password
The password can be changed when logged in as root by running ...
Here is quite a simple Arch Arm RPi Guide.
Download the zip file containing the dd image from one of these resources:
Extract the zip file to your hard drive, giving you the dd image archlinuxarm-29-04-2012.img
Write this image to the target SD card
Replacing sdX with the location of the SD card, ...
From the Official FAQ Page:
What Linux distros will be supported at launch?
Fedora, Debian and ArchLinux will be supported from the start. We hope
to see support from other distros later. (Because of issues with newer
releases of Ubuntu and the ARM processor we are using, Ubuntu can’t
commit to support Raspberry Pi at the moment.) You will be ...