FAQ Database Discussion Community


can't switch to different target (runlevel) from rescue shell

linux,archlinux,systemd
I had a working Arch Linux install, at some point it crashed, I had to reboot it, now it will not boot past: Starting Switch Root... Welcome to Arch Linux! Nothing is logged. With systemd.unit=rescue.target appended to the kernel command line it boots into a rescue shell. Then, I try...

If getaddrinfo fails once it fails forever (even after network is ready)

c,linux,networking,archlinux,getaddrinfo
I am writing a C application which is run as a systemd service on boot (distro: Arch Linux) and which shall connect to a server. Because the application is run on boot it eventually happens that the network connection is not yet established. This naturally leads to a failure of...

wifi issue with archl linux

linux,wifi,driver,archlinux
I am facing a problem with the wifi in arch linux, have looked in the wiki and found it's supported https://wiki.archlinux.org/index.php/Wireless_network_configuration#rtl8723be but couldn't fiigure out why it is not working tried this driver https://github.com/lwfinger/rtlwifi_new got a prolem when running the make cmd make -C /lib/modules/3.14.42-1-lts/build M=/home/ebadawy/rtlwifi_new-master modules make[1]: Entering directory...

GLib.Error: gst_parse_error: no element “zbar”

python,gstreamer,archlinux,python-gstreamer
from gi.repository import GdkX11, GstVideo p = 'v4l2src ! tee name=t ! queue ! videoconvert ! zbar ! fakesink t. ! queue ! videoconvert ! xvimagesink' self.a = a = Gst.parse_launch(p) Error: self.a = a = Gst.parse_launch(p) GLib.Error: gst_parse_error: no element "zbar" (1) Following the answer to python gstreamer script...

How to enable HTML5 videos in qutebrowser?

html5,browser,plugins,archlinux
qutebrowser is not that popular, so I couldn't google an answer to my question, I want to be able to watch youtube etc... Please help this is the only thing stopping me from using a great browser

No default route after returning from PPP connection

routing,archlinux,pppd
I'm here on a Arch Linux box with a working ETH0 (fixed IP) and PPP connection via 3G USB stick (ttyUSB0). After rebooting, ETH0 works fine. Establishing a PPP connection works fine, too. But after using 'poff' to cancel the PPP connection, I don't get a default route again. I...

Automatic building and installing Packages from AUR for Arch Linux inside Docker with yaourt and >makepkg-4.2.0

docker,archlinux
I'm using Docker and Arch Linux inside the Docker-Container. Introducing makepkg-4.2.0 my Installation Command with yaourt were broken like described here: https://github.com/archlinuxfr/yaourt/issues/67 The Problem is, that yaourt should be run as non-root user. But as yaourt wants also to install the Package in every Case, after it has built it,...

how to enable audit framework in arch linux 3.12 kernel?

linux,linux-kernel,monitoring,audit,archlinux
I want to use audit framework on my latest arch linux, but running sudo auditctl -w /home/ in console gives me Error - audit support not in kernel Cannot open netlink audit socket I tried to enable of course audit via kernel boot params setting audit flag: GRUB_CMDLINE_LINUX_DEFAULT="quiet audit=1" but...

Can't delete nignx's temporary files without sudo

nginx,archlinux
I've installed nginx the regular way on Arch Linux. Anytime my website (ie nginx) creates temporary files, it's created by the http:http user and they have 755 permission. I need to clear the cache time to time and I am logged as a regular user. That means anytime I need...

Code::Blocks - Linux - prints “Hello World” even though it isn't in the “main.cpp” file

c++,linux,codeblocks,archlinux
I have recently started a few projects to help me learn C++, I am creating a program that allows the user to enter a grade score /100, the code is as follows: #include <iostream> #include <cstdio> #include <cstdlib> using namespace std; int main (gradeScore) { int gradeScore cout << "Enter...

Where is the LANGUAGE environment variable set?

linux,environment-variables,locale,configuration-files,archlinux
I'm using zsh on my archlinux. My LANGUAGE environment variable was set to fr but I wanted to set it back to en_US.UTF-8 so I did it in my ~/.zshrc file. But was it the best place to set it? Isn't it dirty? This works but only for my user's...

migrating from postgresql 9.3 to 9.4, postgis

linux,postgresql,postgis,archlinux
I upgraded from postgresql 9.3 to 9.4 and now I want to migrate my data. So this is what I tried to do. First I ran the old postgresql like so /opt/pgsql-9.3/bin/pg_ctl -D /var/lib/postgres/data/ start Then, I tried to dump the old database to a file: /opt/pgsql-9.3/bin/pg_dumpall >> old_backup.sql And...

Read a randomly generated number?

bash,archlinux
Im trying to use the read command to read a randomly generated number and then reuse it. Im using, read "$RANDOM" randomnumber echo "$randomnumber" When I run it I get, read: 'numbers': not a valid identifier and the echo spits out $randomnumber...

How to get “python http.server” to work in Arch Linux

python,linux,python-3.x,archlinux
When I enter "python http.server" I expect to get the simple webserver, instead I get: $ python http.server python: can't open file 'http.server': [Errno 2] No such file or directory While on my server, also an Arch box (has been running for some time so unclear what packages are installed)...

Where to go from Sourcery CodeBench **LITE** [closed]

linux,arm,cross-compiling,archlinux
I have been using Sourcery CodeBench LITE for ARM targets until today when I realized that it is no longer available for ARM targets. Instead Mentor graphics wants us to pay the nonfree Sourcery CodeBench. I wonder. Isn't Sourcery CodeBench LITE derived from GNU GCC? Then why don't they make...