Thursday, January 24, 2013

First boot

If everything works, the raspberry pi should boot and you have a picture on your HDMI Screen. On the first start, the "raspi-config" script should start automatically:

Her you can edit basic settings. If you want to run the script again later, just type in your command line:
sudo raspi-config
 My settings:
  • expand_rootfs - to use the full sd card size (otherwise the full size is not recognized)
  • Set time/date, keyboard layout & change default password (Username: pi Password: raspberry)
  • SSH server starts automatically
  • Do not start the Desktop
  • memory_split - 64MB for graphics is enough, since I won´t use the desktop/games etc.
You can start the desktop later by simply typing:
As you can see there are already some programs pre-installed. The desktop environment is LXDE: which looks pretty nice, but as I said before it does not matter since I am nit going to use the desktop.
For webbrowsing you have midori, but it is pretty slow. You can install other browsers if you want to but firefox won´t run fast. Chromium might run better.

The main programming language for the raspberry pi is python. Since I am new to Python, I am looking forward to use it & learn!

Now it is time to update our system and remove all not needed programs:
sudo apt-get update
sudo apt-get upgrade
This will update the package list and install new versions of our packages.At least if you have already a working internet connection. I simply connected the raspberry pi with an ethernet cable to my router. Since I am using static IPs, I have to manually configure an IP adresse.

Configure static IP, Subnet mask, gateway:

You can use some tools or ifconfig to configure the network options, but the fastest way is to directly change the config file:
sudo nano /etc/network/interfaces
Here you have to set the specific interface to static (disable dhcp). Then you enter the following lines right underneath (remove the "<>" signs):
iface eth0 inet static
address <your IP here>
netmask <SubnetMask>
gateway <Standard gateway>
Afterwards reboot the pi and test your internet connection:

No comments: