Check your network interfaces and if they’re connected to any network by running:
The latter two settings will allow your Pi to be accessed from different machines and allow for the rest of the electronic components to be controlled through the Pi, respectively.įollowing this, you should now make sure you can connect to the Internet, to download and install needed software. This will bring up a configuration interface from which you should first of all expand the filesystem (note: if you used NOOBS to install Raspbian, your system is already expanded) and then enable SSH and I2C (from the “Advanced Options”). Once you’re in and have a terminal open, use the command: You can also use a VNC application such as the Remote Desktop Viewer in Ubuntu to access the Pi’s graphical interface remotely. In the latter case, you’ll want to make sure your ssh computer is on the same network as the Pi and use a tool such as nmap to discover the Pi’s IP address. Configuring SSH and Connection to a Wireless NetworkĪt this stage, you may want to equip the Pi with some peripherals and configure it directly (via mouse, monitor and keyboard) or – if the Pi is Ethernet-connected or otherwise can connect to a wireless network on boot and has SSH enabled by default – ssh into it from another machine and configure it “headlessly”. My Pis use Raspbian Jessie, the latest Raspbian version at the time of this post.Īfter the installation, the Pi will boot into Raspbian and log you in automatically as user “ pi“, logged into the host “ raspberrypi“, with password “ raspberry“. I personally could not get Raspbian Wheezy working on the Pi 3, so do be mindful of the age difference between your hardware and the OS. A word of caution here is that not all Raspbian versions seem to work on all Pis. This option gives more flexibility in case you want to install a specific Raspbian version for compatibility reasons.
Downloading a Raspbian image directly and writing it to your SD card using software like Win32 Disk Imager (Windows) or the dd command (Linux).It will get you the latest stable Raspbian version. This option is quick and best for beginners. Downloading the NOOBS install manager and choosing Raspbian as OS to be installed.You can choose to install Raspbian either by : Indeed, its popularity and optimization for the Raspberry Pi make it a very good OS choice, with ample support and application compatibility. Most sources you’ll find on the Internet (and also the car’s manufacturer, Sunfounder) will recommend Raspbian, a Pi-specific distribution of Linux, based on Debian. Installing Raspbianįirst, we need to get an OS up and running on the Raspberry Pi. In order to remedy that, this post will detail the setup of the Pi’s SD card, covering OS installation, some network configuration tips and the installation of a light version of the Robot Operating System.
If you followed the guide in my last post on how to assemble and get the Sunfounder Video Car running, you should at this stage have a fully-built Raspberry Pi-powered robot, but no means to program it as of yet.