These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

2
votes
0answers
64 views

How to properly set up a cross-compiling environment for Windows?

I'm working on an application written in C that's supposed to run on at least Linux and Windows. I usually work on Linux, so I'd like to be able to cross-compile my application for Windows. My ...
2
votes
0answers
74 views

Find a IR transmitter device

I would like to use the IR transmitter included in a cubox. I did not found any documentation to use it, so I would want to learn how to communicate with periphericals on linux. Commands like ...
2
votes
0answers
28 views

how to build kernel-tools-4.2.xx.rpm and kernel-ltools-libs-4.2.xx.rpm

I am trying to upgrade Centos-7 kernel (kernel-3.10) to (Kernel-4.2.6) and for that I downloaded kernel from kernel.org and create rpm for the custom configuration (arch x86_64)using "make rpm". ...
2
votes
0answers
23 views

Make CapsLock switch between text input and navigation

I'd prefer CapsLock to switch between text and navigation modes rather than lowercase and uppercase modes, much like NumLock swaps numbers and navigation, on as low a level as possible. For example, ...
2
votes
0answers
28 views

Assign virtual core number to specific real core

Is there any way to assign ''linux core numbers'' to specific real cores? I'm working with an asymmetric architecture, so not all cores are the same, and I want to assign specific cores number to ...
2
votes
0answers
44 views

Look up documentation on C types?

I'm reading over documentation on concurrency in C and trying to learn how to do things concurrently. As I'm reading, I'm coming across types I've never come across before like tss_t, etc. Is there ...
2
votes
0answers
138 views

Dropbear immediately drops connection on DD-WRT

I have a home wireless router running DD-WRT. I am unable to SSH into the router (Dropbear) even after restoring default settings and reinstalling the DD-WRT firmware. So I tried to SSH into the ...
2
votes
0answers
124 views

Configuring WiFi drive on MacBook Air running Kali Linux

I installed Kali Linux 2.0 recently, and am trying to make the WiFi work. I was following this guide. However, when I get to the 4th step, I get this: root@KaliDark:~# modprobe -r b44 b43 b43legacy ...
2
votes
0answers
57 views

Move versus Copy

I've created a bash script that creates a handful of users then creates a .ssh folder and copies in their authorized_keys file. I've made sure to set the owner group to the specific user with ...
2
votes
0answers
142 views

NFS mounting options rsize and wsize can't be specified in /etc/fstab

As the Title, the options rsize and wsize can not be specified on Centos7(3.10.0-123.el7.x86_64) cat /etc/fstab: 192.168.11.1:/linux_nfs_share /mnt/nfs01 nfs ...
2
votes
0answers
23 views

Certain folders are always missing using Rsync to server

I have tried several different ways using rsync modules and ssh trying to pull my linux desktop from my freenas server and no matter how I do it, certain folders are always missing. I am trying to ...
2
votes
0answers
115 views

KDE - Problem with dark themes

Hello there Linux super users, I have a slight problem with my KDE Plasma 5.4 setup running on Kubuntu 15.10. Whenever I select a dark theme (in this case: KArc, the problem is the same for ...
2
votes
0answers
62 views

How do you find out why a GlusterFS peer was rejected?

I tried adding a new peer to my gluster cluster, but it's saying the peer is rejected. I've poured through all of my logs but cannot find any hints. Magnum-pi and Apple-pi are running gluster 3.7.3 ...
2
votes
0answers
278 views

Why can't Fedora start my (hard wired) network?

FYI: I've asked this on Superuser but not luck so I'm trying here. I'm not sure which it is more relevant to. I have a hard-wired Ethernet card/cable to my hub. I start Fedora 23 but there's no ...
2
votes
0answers
22 views

Why is there no kernel for the armhf architecture available in the Debian repositories?

I tried searching packages.debian.org for "linux-image" in the stable distribution for the armhf architecture. See here for my exact query. There are no results. Is Linux not included in Debian for ...
2
votes
0answers
93 views

how to use grub-uboot

On an ARM-based device, I'd like to chain-load uboot->GRUB->Linux I see there is a Debian package that seems to be made for that, however I can't find no documentation whatsoever how to use it (ie. ...
2
votes
0answers
24 views

Any way to perform failsafe upgrade without having two images?

I'm figuring out a failsafe upgrade scheme for my embedded Linux device. I want to be able to upgrade the kernel and RFS, and have the system revert to an older image if the new image fails for some ...
2
votes
0answers
102 views

what is kbuildsycoca4 used for?

Could someone explain to me what this command kbuildsycoca4 does? According to the manual page it is said that it constructs a binary database, is it used for system backups or collecting the user ...
2
votes
0answers
53 views

Remmina troubles

Installed remmina and now trying to run it with sudo remmina. But getting this: No protocol specified ** (remmina:9005): WARNING **: Could not open X display No protocol specified Unable to init ...
2
votes
0answers
31 views

Debian image build from Ubuntu launchpad

I downloaded the building scripts and some needed files to build debian cd image from the following link Debian_CD In the README, it mentions I should edit the PATHs for the mirror at CONF.sh # ...
2
votes
0answers
57 views

Xpra server error (error accepting new connection)

I'm having trouble connecting to my xpra server. I've installed Xpra version v0.14.10, on my raspberry pi 2 which running on Raspbian Jessie Distro. I connect to my RPi through putty with X11 ...
2
votes
0answers
26 views

Which subsystem caches file reads?

I am trying to understand how exactly file reads are served from Page Cache. This will be useful when I will be implementing my own filesystem in the kernel. Is file content cached by VFS or ...
2
votes
0answers
90 views

How to boot Linux Mint from USB drive via Grub2

I am trying to install Linux Mint Cinnamon 64 bit on a USB drive so I have a portable desktop wit persistence. I am trying to do this manually because I haven't fount a program that does this ...
2
votes
0answers
46 views

Are multiple signals given to a process served sequentially or their signal handler can cascade?

I was developing my own signal handling mechanism in User space. when browsing the kernel code and executing some c-code. I realized, Scenario 1 : When my code is executing a signal handler on ...
2
votes
0answers
29 views

Load Linux from GRUB menu

My OS is CentOS 6.6. I am trying to practice with loading Linux from GRUB menu using copy of main kernel. I made directory /boot/boot2. Then I put there the copy of ...
2
votes
0answers
41 views

Finding the Process which resulted in Kernel Panic

I have setup my linux system to generate Kernel Core Dump using KDump and kexec packages. I am using the crash tool to analyze the core dump. How do I find the call stack of the process which ...
2
votes
0answers
101 views

Triggering Linux shutdown on power failure

I have an embedded Linux system (currently running Angstrom) with supercapacitor hardware to provide time for writes to complete and avoid corrupted filesystems when external power is removed. ...
2
votes
0answers
53 views

How to remove a broken installation of glibc

I just attempted to install glibc version 2.19 to my computer as follows: 1) I cloned the glibc git repo with $ cd ~ $ git clone git://sourceware.org/git/glibc.git 2) I checked out version 2.19 ...
2
votes
0answers
54 views

What does it mean when a private VM page is none of `rwx`?

UPDATE: It's a padding: every such non-rwx area is preceded with a readable and/or writable area and together they constitute a 64Mb segment (for 64bit architecture). A relevant question on SO: ...
2
votes
0answers
239 views

No candidate version found for sudo

When I tried to install sudo in Debian 8.2 via aptitude install sudo I got an error: No candidate version found for sudo. The source list is standart. Here is the Source list: deb ...
2
votes
0answers
115 views

Can I add iptables rule from the inside of a C Linux program only with capabilities or do I need necessarily root?

I need to add an iptables rule from the inside of a C Linux program. How should I do? Do I need root privilege or can I just grant some capabilities? I tried granting CAP_NET_RAW+iep and using ...
2
votes
0answers
45 views

Changed username - Could not update ICE authority file

I tried to change my username by creating another admin account, restarting, then logging into that new account. Then, I entered the following command: sudo usermod -l NewUserName -d ...
2
votes
0answers
34 views

iptables not working on mobile broadband

I access the internet using a VPN. With the help of iptables rules all out-going traffic from my machine to the internet is dropped instantly when my VPN connection is abruptly terminated. The ...
2
votes
0answers
306 views

Nginx on Debian 8 dev setup. PHP via PHP FPM not working

UPDATE: Ok, I can now happily say that what you see below is the recipe for a happily working automated PHP and Nginx dev setup (with automatic domains) and all problems I had are now solved. I ...
2
votes
0answers
72 views

Prevent large file write from freezing the system

So on my Linux desktop, I'm writing some large file either to a local disk or an NFS mount. There is some kind of system buffer that the to-be-written data is cached in. (Something in the range of ...
2
votes
0answers
113 views

How to restore casper-rw file to a casper-rw partition

New to Linux and using Mint 17.2. Started with persistent Live USB that ran out of space after a week. So made a backup of everything (entire filesystem) including the casper-rw file, created new Live ...
2
votes
0answers
105 views

How to restrict openvpn clients to communicate with other vpn clients

I have this Openvpn scenario.. I have Lot of openvpn clients connected to my server, All i want is to restrict client to client communication. for eg. i have ...
2
votes
0answers
66 views

What is the effect of ACLs/umask on the permissions of the executable file generated by gcc?

I have been wondering how gcc determines the resulting file permissions of the executable file being generated. To gain some insight, I considered a minimalistic program test.c #include ...
2
votes
0answers
224 views

Portable way to parse /proc/meminfo

I'm having trouble finding a generic code that work, here, for both CentOS 5/6 and CentOS 7 versions pc the /proc/meminfo file. I Want to compute the "Real Used memory" like free does. (amounts ...
2
votes
0answers
47 views

Why is my traffic not encrypted when using pam_radius_auth?

I'm experimenting with Freeradius and have configured an ssh gateway to use pam_radius_auth to my ldap servers. In /etc/pam_radius_auth.conf I have: 10.1.1.21 ny3fa4bu7my6ku7 3 10.1.1.22 ...
2
votes
0answers
45 views

Detect which program is blocked by firewall

The linux firewall can show a lot of information in the LOG target, for example via --log-uid. How can the executable doing the network call be logged, too? I did not find anything in the FAQ, the ...
2
votes
0answers
36 views

Random pieces of ancient hardware not working together (Mac G5, Sun network adapter)

This is probably some kind of weird esoteric hardware combination but it's not why I did it. It's just what I had lying around. I have a 2x 2ghz Mac G5 and I can't really bring myself to part with it ...
2
votes
0answers
839 views

root filesystem on nvme device

I have an Intel 750 nvme drive. Works fine. Well.. sort of. I would like to use this device as my root file system. I have no bios support for nvme devices. I have the nvme driver enabled in the ...
2
votes
0answers
243 views

Cannot boot into Linux off live USB

I am trying to dual boot Linux on my laptop (Dell XPS 15) which is running Windows 10 Pro. I did not have any problem dual booting the two operating systems on my desktop. I cannot boot up ANY Linux ...
2
votes
0answers
47 views

What is “state-object” in cgroups

I am gathering some idea about lxc, kernel name spaces and cgroups. While reading man lxc-cgroup, i find : lxc-cgroup gets or sets the value of a state-object (e.g., 'cpuset.cpus') in the ...
2
votes
0answers
632 views

Login/logout loop on Ubuntu 14.04

I am running Ubuntu 14.04 inside VMware workstation 11.1. I testing changing the color depth and now I am hitting a login/logout loop. When the login screen comes up I select my account, type in the ...
2
votes
0answers
101 views

running cron on a chroot

For my web development I use a debootstrap'ped Debian with sysvinit, I start apache2/mysql manually only when I need to work. Now for a new project I require to run some scheduled task for which I ...
2
votes
0answers
43 views

How to trap spam sent from certain top-level domains?

I'm getting a lot of spam from eu TLD Maybe I could have put a rule set giving a score of say 2.5 or 3 for any mail originating from the .eu TLD; then this score + other factors could have made it ...
2
votes
0answers
270 views

Disk I/O latency using /proc/vmstat file

How do I calculate disk read and write latency in Linux? Is it possible to do the calculation using /proc file system? I am using iostat and vmstat command. But I do not understand how the ...
2
votes
0answers
84 views

Freeradius server for multiple vendor network

We have been using network switches from Enterasys and for logging in to these switches, with AD credentials, we have setup a freeradius server on RHEL 6.5 server, that is working absolutely fine. ...