Home Wiki > HCL:Raspberry Pi2
Sign up | Login

HCL:Raspberry Pi2

tagline: From openSUSE

Raspberry Pi 2

The Raspberry Pi 2 is a credit-card sized computer that plugs into your TV and a keyboard. It’s a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games. It also plays high-definition video.

Technical Data

Installing the upstream openSUSE Tumbleweed image


Tips for openSUSE Tumbleweed (upstream)

If you don't see any kernel output on serial or HDMI, you can add earlycon=pl011,0x3f201000,115200n8 to the kernel command line (e.g., by editing the GRUB menu item).

Installing the non-upstream openSUSE Tumbleweed image

  1. Download the image you want (Leap is stable, Tumbleweed is rolling) from here:
    JeOS image E20 image XFCE image LXQT image X11 image
    If the direct links above do not work for you (as we are constantly building new images), please check the general download directory for the images.
  2. As root extract the image onto your SD card (replace sdX with the device name of your SD card).
    WARNING: all previous data on the SD card will be lost. Check first if the device you have selected is really your SD card!
     xzcat [image].raw.xz | dd bs=4M of=/dev/sdX iflag=fullblock oflag=direct; sync
  3. Alternatively can download Etcher, an open source tool to flash your image graphically.

  4. Insert the SD card with the openSUSE image into your Raspberry Pi 2.
  5. Connect the Raspberry Pi 2 to your PC via serial port (optional, but helpful for debugging; USB-TTL serial cable needed).
  6. Connect the Raspberry Pi 2 to your monitor (via DVI/HDMI, optional).
  7. Power on the Raspberry Pi 2.
  8. Ethernet is configured to request an IP via DHCP, check your DHCP server for the Raspberry Pi 2 IP if used.
  9. Have a lot of fun...

Default login is root:linux, works on serial console, via ssh, GUI.

First start / Login

The SD card is formatted with GPT (GUID Partition Table). On the first boot with this micro SD card, the card will be repartitioned by the image to have 4 partitions:

  1. a small FAT partition
  2. a small EXT3 partition
  3. a large EXT4 partition (takes whatever the other 3 leave behind)
  4. a SWAP partition.

Additional software for Raspberry Pi 2

Some additional software is available for Raspberry Pi 2. Some are in official openSUSE repositories, others are in Packman repositories.

Packman repos

You should add Essentials and Multimedia repos if you want to get multimedia software.

 zypper ar -f http://pmbs.links2linux.de:82/Essentials/openSUSE_Factory_ARM/Essentials.repo
 zypper ar -f http://pmbs.links2linux.de:82/Multimedia/openSUSE_Factory_ARM/Multimedia.repo


In multimedia software, you may want to install:

  • omxplayer: a command line media player making use of Raspberry Pi 2 video hardware acceleration
  • kodi-noX-raspberry-pi2: a media center (without X server and including Raspberry Pi 2 video hardware acceleration)

Configuring the openSUSE system on the Raspberry Pi 2

Using the system headless

A headless system does not have a display and a keyboard connected. It is only connected to the network using the UTP interface.

  1. After inserting the micro-SD card, connecting to Ethernet and connecting power, the system will start and partition the SD card as shown above. It will also start the ssh daemon. Although the lights on the Ethernet port show an active connection it may take up to 10 minutes before the system can accept an ssh connection.
  2. Connect to the system using ssh and the login information, user: root password: linux and the IP address the system received from your DHCP server in your network. You may need to consult the DHCP server to find the given IP address.
  3. Use zypper to install the necessary services and applications (the system already contains a link to the repository containing this software).
  4. If you are not familiar using config files for services and application, but you are using YaST, you can install a number of YaST modules and use the ncurses interface to YaST to configure your system.


Warning The openSUSE image does not have a firewall installed by default!

To install Firewall and manage it with YaST2, you need to install Yast2 and iptables:

 zypper install yast2-firewall iptables SuSEfirewall2

Configure Boot & System startup parameters /boot/config.txt

Warning You may need to adjust some parameters in the file config.txt (see openSUSE:Raspberry_Pi#Custom_configuration:_config.txt) in the DOS partition to have a proper display on your screen.

Using a keyboard

Warning As default you will get an American keyboard layout. Keep this in mind, when entering the password ...
  1. Manual way of updating keyboard :
 zypper install vim
 vi /etc/sysconfig/keyboard
  1. Change to i.e. ( sample for standard german 105 keytype´s) :

reboot your Pi after changes.

Manual Network Setup for Static IP

Steps to Setup Static Network on Factory OpenSuSE Image below
Assume your network is an Class C 192.168.1.x with Router/gateway/dns a at .1 and your local domain called "local" -- note that a .local domain does break several things. Use f.e. "invalid" instead

echo "default - -" >/etc/sysconfig/network/routes

cp -p /etc/sysconfig/network/ifcfg-eth0_orig
cat << EOF >/etc/sysconfig/network/ifcfg-eth0
cp -p /etc/resolv.conf /etc/resolv.conf.orig
cat << EOF >/etc/resolv.conf
domain local
search local

For permanent DNS / NTP settings edit the /etc/sysconfig/network/config settings instead of /etc/resolv.conf & /etc/ntp.conf upon your own needs.

echo " MyPIHostname.local  MyPIHostname >>/etc/hosts

echo MyPIHostname >/etc/HOSTNAME


and do : 
rcnetwork reload 
rcntp reload "

Disable IPV6

Steps for disabling ipv6:

echo "net.ipv6.conf.all.disable_ipv6=1" >/etc/sysctl.d/disableipv6.conf

The non-systemd way (typically for 12.2 and earlier)
Code:     sysctl -p

The systemd way (12.3 and later although the above should still work indefinitely)
Code:    systemctl restart systemd-sysctl.service

Disable LINKLOCAL / Zeroconf / on headless

The link-local ( zero conf network may not always be required - i.e., at headless to disable it do the following steps:

Change "NOZEROCONF" to yes.

vi /etc/sysconfig/network/config 

save it exec : rcnetwork restart

Troubleshooting RPi

The RPi2 troubleshooting should be similar to the Raspberry Pi (1) troubleshooting here:

Moved to openSUSE:Raspberry_Pi#Troubleshooting_RPi


The RPi2 images are developed in


Open Build Service project, please redirect your changes there so that they can be tested in advance before breaking the stable image.

The image currently (2016/01) contains a downstream kernel built from https://github.com/raspberrypi/linux and is maintained on github here: https://github.com/dirkmueller/kernel-rpi2-source. Please send PRs there instead of editing the package directly.