The easiest solution is to use Yaourt (Yet AnOther User Repository Tool).
You can install with:
pacman -S yaourt
And then sync with the AUR:
You can then search AUR packages:
Which will provide interactive prompts for installation.
Or if you know the package name exactly:
yaourt -S package-name
Most pacman commands ...
The deprecated netcfg used /etc/network.d/ to store profiles. The successor of netcfg is netctl.
In order to setup a wireless network, install netctl using sudo pacman -S netctl. Next, you have to create a network profile. /etc/netctl/examples/ contains some examples. Let's assume you want to setup a WPA2-PSK network. Simply copy over the example file and ...
The official instructions for creating a "direct connection" on a network hopefully just work for most people, but it seems pulseaudio and I do not get along that well: it took me hours. [Besides "direct connection", you can also use a "tunnel" method described further down, but I recommend reading this first.]
I now have a (...
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, ...
Instructions for cross-compiling
Downloaded the driver sources from the Edimax website.
Clone the kernel sources from GitHub.
cd into your kernel source and cd into include/linux. Run
ln -s smp.h smp_lock.h`.
unzip the Edimax download and tar -xzf the driver package. cd into the driver/rtl... subdirectory.
Edit include/rtw_xmit.h and add #include <...
Certain things can be disabled that improve boot up speed - swap for instance (my Pi takes ages to activate it.)
However, SD card reads are comparatively slow, and the device itself isn't all that fast - I don't think there's a magic bullet to make it boot up that much faster than by default.
I know it's something you've considered already, but personally ...
These instructions assume you have a working cross-compiler on the slave. Please read How to build a GCC 4.7 toolchain for cross-compiling? if you haven't. It is also useful to have make installed on the master.
First, we must install distcc. We shall use the prebuilt packages supplied by the operating systems' package management systems, but ...
I've never used Arch, so this list of advantages is based on reading their documentation, and summarising it as follows:
Whilst Debian has a bigger repository of software, the Arch repositories include packages that wouldn't qualify as 'free' according to GNU (and therefore wouldn't be included in Debian repositories).
Arch packages tend to be current, more ...
Quoting from ntpd documentation:
In case there is no TOY chip or for some reason its time is more than
1000s from the server time, ntpd assumes something must be terribly
wrong and the only reliable action is for the operator to intervene
and set the clock by hand.
Again, quoting from the ntpd man page:
-s Set the time immediately at startup if ...
I just ran into this issue myself. I found two ways to create the SD card using the .tar.gz images provided by ArchLinuxARM, provided you have a USB SD card reader.
Method 1: Raspberry Pi + USB card reader + 1 additional SD card
This method requires an additional SD card and a USB card reader. It uses Linux on your Raspberry Pi to build an new SD card that ...
All of the above answers are outdated. My answer is not very good, but hopefully avoids the issue of becoming outdated.
The official wiki explains, in detail, how one goes about installing/building a package that is not part of pacman (packer and yaourt as of this date).
Both packer and yaourt are flagged as out of date in AUR. (this may change in the ...
To get the best speed out of your MacBook's SD slot, you need to use a 'raw disk' device.
This is a SanDisk Ultra Class 10 card:
~/Desktop/rpi $ sudo dd if=2012-12-16-wheezy-raspbian.img of=/dev/disk1 bs=8m
231+1 records in
231+1 records out
1939865600 bytes transferred in 1076.078932 secs (1802717 bytes/sec)
Compare this to using /dev/rdisk1 instead of /...
On your Raspberry Pi, all you would need to do is install the dhcp package.
sudo pacman -S dhcp
apt-get install isc-dhcp-server
You then edit the configuration file at /etc/conf.d/dhcp which tells the dhcp server which interface on which to listen with this line:
You then start the server daemon with:
I'm posting this as an answer as there is not enough space in comments. So from all the information gathered so far it seems that the problem is only related to /boot/ partition contents. Now the problem can be caused by two things:
1. /boot/ filesystem corruption which makes it impossible for bootloader to load firmware files
2. New version of firmware has ...
It's shutting down just fine. If you check the schematic, you'll see there is no power management. From USB in to the SoC is just copper (and a fuse), so the chip stays powered up even when it's shut down.
What do I do once I have run shutdown -h now?
Just remove the USB from the socket.
As mentioned in another question, the fake-hwclock package can help make sure that time keeps ticking forward and not resetting to 1970.
Edit: if you are not using Debian or Raspbian, but are playing with Arch Linux (Or anything with systemd), this site has a service that will work essentially the same as the package mentioned above
UPDATE: Arch Linux ARM now natively supports armv6h so will run optimised on the Pi. The rest of this answer still applies to other architectures.
Yes it would be possible, but you would have to recompile every piece of software for ARMv6-hard. Arch have build systems and infrastructure to do this automatically for their supported platforms (ARMv5-soft ...
I use packer for this purpose which in my opinion is a faster alternative to yaourt.
Just add these two lines to your /etc/pacman.conf:
Server = http://repo.archlinux.fr/$arch
Then you can install/update packer via pacman:
# pacman -Sy packer
And use packer in pretty much the same way you use pacman:
$ packer -S some_aur_package
Also if ...
Jivings answer holds true if you happen to have an image of Arch Linux around. As of now however such images are no longer issued by Arch Linux. Instead the full file system is provided as a .tar.gz and has to be installed to the SD card from scratch.
After preparation of the partition table using fdisk and creation of the file systems mkfs the root and ...
Change directories to access the network settings:
# cd /etc/netctl
# cp examples/ethernet-static ./eth0
We need to edit the configuration file, etch0, and add in the settings we need. Before you proceed, you will need the following:
Static IP address – I’m using 192.168.1.36. The netmask I’m using
is 255.255.255.0 which is defined as "/24" or the first ...
e4rat eliminates seek times and rotational delays through physical file realloction. It's meant for hard disks with rotating platters and moving heads, no use for solid state devices. SD card is essentially a SSD. From archlinux wiki:
Users of SSD drives do not benefit because there are no moving parts and thus (almost) no disk latency.
Archlinux wiki ...
SD card speed class rating specifies minimal read/write performance the card should have while recording video. Class number is the lower speed limit in MB/s you should get when using the card.
Keep in mind, however, that reading from card is usually much simpler (and thus faster) than writing. This is why usual class 6 card will have 6MB/s write speed by ...
You could find the IP address using arp-scan or nmap's ping scan), but could also use the default /etc/hostname alarmpi in place of the IP address if DNS is working in your network.
If your DNS is not working, then do
nmap -T5 -sP 192.168.0.0-255 replacing the network id part of the address accordingly.
to get a list of IP addresses ...
I fixed the issue by manually adding the i2c group and setting the group for i2c-* devices in udev. Thanks @ikku for the hints.
# groupadd i2c
# usermod -aG i2c myusername
# echo 'KERNEL=="i2c-[0-9]*", GROUP="i2c"' >> /etc/udev/rules.d/10-local_i2c_group.rules
There is no need to install i2c-tools to access the I2C bus for users in the group i2c (but ...