21

In /boot/cmdline.txt, add rw just before rootwait


19

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 (...


11

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 ...


10

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 ...


10

The driver you need is in the repositories. pacman -Sy dkms-8192cu If you could get internet access temporarily, you could simply download and install it.


8

I had the same problem. Then I found that a wpa_supplicant process was already started at boot time to connect to public WIFI. This is why there is the "resource busy" error message. I did a sudo killall wpa_supplicant and retried my wpa_supplicant command, and it worked. Hope this helps.


7

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: [archlinuxfr] 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 ...


7

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 ...


7

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 ...


7

root/root See here: "The default root password is 'root'."


7

That is nothing unusual. RAM discs are commonly used for temporary file systems. My Debian laptop Filesystem Size Used Avail Use% Mounted on udev 1.5G 0 1.5G 0% /dev tmpfs 301M 32M 269M 11% /run /dev/sda2 47G 31G 14G 71% / tmpfs 1.5G 1.7M 1.5G 1% /dev/shm tmpfs 5.0M 8.0K 5.0M 1% ...


6

This didn't work for me at first. After following the above instructions, I had to run systemctl enable netctl-auto@wlan0 to make it work. I found the answer at the ArchLInux Arm Forum


6

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. OR arp-scan --localnet to get a list of IP addresses ...


6

This helped for me: update-rc.d dhcpcd disable service dhcpcd stop ip addr del %YOURS-SECOND-IP% dev ethX And when you start raspberry pi again, scope global secondary will disappear.


5

The preferred way to do this on Archlinux is to use systemd. systemd is the default init framework, replacing initscripts. The services which are started by systemd can be found in the subfolders of /etc/systemd/system/. Services can be enabled using the systemctl command. For more information about systemd and how to write autostart scripts for ...


5

No, it is not possible to enable/disable or power down any single USB port. The hub providing the different ports is connected to one root USB port, thus it's none or all. Ok, but is it possible to disable root USB port? For the B-type it should be possible to disable the USB-Hub (see http://babaawesam.com/2014/01/24/power-saving-tips-for-raspberry-pi/ ) ...


5

No, this is not how any of this works. (Currently) VMware only works on x86 based instruction sets, which the RPI is not. VMware can manage clusters, but that doesn't imply one VM can span across multiple nodes. An active VM is always on exactly one host ... except for a few seconds when migrating, but even then it cannot use the combined resources of ...


5

If you have space for an empty partition, this is fairly simple -- but first, to clarify, run sudo fdisk /dev/mmcblk0 Then hit p (to print the partition table). You'll get a table like this: Disk /dev/mmcblk0: 7.4 GiB, 7892631552 bytes, 15415296 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (...


5

You can use your Raspberry Pi with different SD cards and thus different Operating Systems in turns. Obviously you will have to power down the Pi and physically change the SD card first but other than that there is no problem with this approach. The only possible issue is the wear of the contacts of the SD card and the card slot on the Pi, i.e. the number ...


4

IMPORTANT! yaourt is insecure and deprecated according to the wiki: https://wiki.archlinux.org/index.php/AUR_helpers While @Jivings answer was best back in `12, I would recommend installing one of the more secure and feature rich arch package managers (and I suggest someone update @Jivings answer as it has the most visibility). I am using aurman and dig it....


4

While trying to re-distribute a customized Raspbian OS, I had the same question with respect to making the image as small as possible. To make this process easy I wrote mkimg.sh and outline what it does at: https://raspberrypi.stackexchange.com/a/37899/32585


4

Write a script #!/bin/sh ifconfig eth0 down hw ether 00:00:00:00:00:00 ifconfig eth0 up where "00:00:00:00:00:00" - your mac address Let's say you called it mac.sh. Put it in the /etc/init.d/ directory. And make this file executable using # chmod +x mac.sh Then run: # update-rc.d mac.sh defaults That's make your script bootable. After rebooting mac ...


4

As gurcanozturk pointed out in the comments, you're writing the SD card incorrectly. The SD card images for Arch (as well as Raspbian etc) are a whole-disk image. This means they contain the partition table at the start of the disk, then all the partitions. The need to be written over the whole disk. On linux, SD cards show up as /dev/mmcblk# , and the ...


4

I'm not sure exactly how you performed the installation process, but take a look at this tutorial (for both Raspbian and Arch Linux): Start the graphical interface: $ startx Download Minecraft: $ wget -c https://s3.amazonaws.com/assets.minecraft.net/pi/minecraft-pi-0.1.1.tar.gz Extract the archive and cd into the extracted directory: $ tar -...


4

To disable power saving mode, you have to add "wireless-power off" in your "interfaces" file 1/ Type sudo nano /etc/network/interfaces 2/ Add at the end of file wireless-power off 3/ Reboot by typing : sudo reboot


4

You would be better to set your router to serve a static IP to the Pi. This way you can easily use the Pi on other networks, and avoid problems with duplicate IP


4

You have to add AutoWired=yes to your static config in order to get it to work. Here's a tutorial: http://blog.pixxis.be/post/77298179924/setting-up-a-static-ip-on-arch-linux


4

Edit /etc/dhcpcd.conf This happened to me too (albiet on Raspbian). If you'd rather not totally disable the dhcpcd service, you can add this to /etc/dhcpcd.conf to inform it of your static interface: interface eth0 static ip_address=192.168.0.10/24 static routers=192.168.0.1 static domain_name_servers=192.168.0.1 8.8.8.8 This will stop it from ...


4

Can you post the exact command you are trying to use? Also, I assume you know for a fact that you are using a Rev.1 board, not a Rev.2. For reference, to be sure, here is the page that describes the pin mapping from GPIO numbers to wiringPi numbers. http://wiringpi.com/pins/ Another way to test this is to export the pin and write straight to it from the ...


4

Find a good overview as how to autostart scripts or services at the Archlinux Wiki. A convenient way for simple testing is the use of cron. Edit crontab by crontab -e and use the alias @reboot to schedule a task to be started after reboot. Use full paths for you executables though. Another typical way is to utilize the systemd default init framework that ...


Only top voted, non community-wiki answers of a minimum length are eligible