Montag, 7. Januar 2013

Raspberry Basic Configs Archlinux

Static ip on Network (Archlinux)


# pacman -S netcfg
# nano /etc/network.d/ethernet

CONNECTION='ethernet'
DESCRIPTION='Static ip config'
INTERFACE='eth0'
IP='static'
ADDR='10.168.10.30'
GATEWAY='10.168.10.1'
DNS=('10.168.10.1')


-----------------------------------------------------------------------
#  nano /etc/conf.d/netcfg


# Enable these netcfg profiles at boot time.
#   - prefix an entry with a '@' to background its startup
#   - set to 'last' to restore the profiles running at the last shutdown
#   - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(ethernet)         Change the name to the profil-file you created

-----------------------------------------------------------------------



#  systemctl enable netcfg.service        Start the service
-----------------------------------------------------------------------


Set Timezone (Archlinux)


Copy the file with your country to localtime and reboot.
You will find your Timezone under /usr/share/zoneinfo/

Example for my Timzone Luxemburg.
# ln -s /usr/share/zoneinfo/Europe/Luxembourg /etc/localtime
# reboot

-----------------------------------------------------------------------


Init the analog soundcard (Archlinux)



# modprob snd-bcm2835


To make it permanent create this file:

nano /etc/modules-load.d/soundload.conf

Write this lines:

# Load Sound at boot
snd-bcm2835

and save.
-----------------------------------------------------------------------

For Mplayer install
pacman -S gsm ffmpeg libvpx libx264 openjpeg