Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

2
votes
0answers
23 views

Relative path to anything not working

I'm working in an embedded Linux system trying to get it booting its root file system in ram using tmpfs. The system comes up for the most part but then has trouble in the init scripts. I've narrowed ...
0
votes
0answers
26 views

Why do I get “duplicate” local IP addresses on different interfaces?

I have two network interfaces(a wireless and an USB dongle) attached to an Ubuntu server and both get the same local IP address. Is there any reason for this or a way to force it assign distinct IP ...
1
vote
0answers
6 views

Cannot use keyboard within Qt app without sudo

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesnt accept keyboard input if i wont run in directly on BeagleBone Black preceeding with ...
1
vote
1answer
31 views

Installing and compiling log4cpp on Debian

How to install log4cpp framework package stored locally as tar.gz, and which file from that package to use for bulding. I read some articles on internet, but I'm getting stucked at this part: ...
1
vote
1answer
30 views

How can I boot my desktop using Wake-on-LAN?

I am trying to get Wake-on-LAN (WoL) to work on my desktop. It has an Asus P6T Deluxe v2 motherboard and I have successfully enabled the WoL option within the BIOS power management [1]. The desktop is ...
3
votes
3answers
274 views

Why is the manual for 'where' command not available

I recently came across the command where, which provides the actual path of executables in Linux. I was aware of which, whereis, locate and find, but not where. I want to know when this command got ...
1
vote
0answers
11 views

Apache 2.4.12 Upgrade issue with OpenSSL 1.0.2c

for FREAK vulnerability, I tried to Upgrade Apache 2.4.12 from 2.4.10 and OpenSSL to 1.0.2c using following line ./config --openssldir=/usr/local/openssl make make test make install Once ...
3
votes
3answers
1k views

How to enable wifi using keyboard (Dell Inspiron 14r) in suse Linux 11.4

I have installed both Windows and SUSE Linux (11.4) on my Dell Inspiron 14r laptop. Both are working properly. I am facing one strange problem. I went to my Linux OS wifi was working fine and I ...
0
votes
0answers
21 views

Copying files between /shares?

I have this Seagate NAS with SSH enabled, I need to copy all data from shares to one share and then zip it, so let's say it looks like this: Share 1 Share 2 Share 3 -> Share backup Share 5 Share ...
6
votes
2answers
5k views

How does copy-on-write in fork() handle multiple fork?

According to Wikipedia (which could be wrong) When a fork() system call is issued, a copy of all the pages corresponding to the parent process is created, loaded into a separate memory location by ...
0
votes
1answer
27 views

Equivalent of /etc/sysconfig/clock in redhat 7

I cannot find /etc/sysconfig/clock in redhat 7. Is there any equivalent file in redhat7??
0
votes
1answer
9 views

nvidia graphics card showing incorrect memory GTX 770 linux mint

Have a new secondhand PC, running Linux Mint 17.1 Cinnamon 64 Bit, Linux Kernel: 3.13.0-37-generic. System info recognises two VGA cards - onboard and the GTX 770. However, when I query lscpi -vnn | ...
1
vote
1answer
520 views

OpenVPN CLI for killswitch or connection fallback prevention

I'm using OpenVPN via command line to connect to my VPN on my current Linux distro since there is no GUI available (which had a killswitch checkbox). My problem is, I can't find any way to add a ...
32
votes
7answers
22k views

Linux Kernel: Good beginners' tutorial [closed]

I'm interested in modifying the kernel internals, applying patches, handling device drivers and modules, for my own personal fun. Is there a comprehensive resource for kernel hacking, intended for ...
0
votes
2answers
37 views

How do I directly talk through a serial port via the keyboard? [duplicate]

I have a hardware controller that I need to communicate to via serial port. How exactly can I communicate with that port using my keyboard as input. The serial runs on 19200 baudrate, 7 bytesize, and ...
2
votes
2answers
95 views

Is possible to remote mount an image, that can boot and install itself?

I have a remote server, which runs Linux. I would like to install remotely the OS image, in case that it gets corrupted (this has already happened twice while I am experimenting with the OS). So far, ...
1
vote
1answer
28 views

To which device file is particular storage device mapped?

I noticed that I never figured this out completely. Linux maps SATA and USB (and many more kind of) storage devices to /dev/sd[a-z] device files in the order in which they were "found". Now given that ...
1
vote
1answer
2k views

mod-mono-server 4 is not working, while 2 does

I need to deploy an ASP.NET MVC4 (MVC3 at least) application on Centos 6 server. I've installed Mono 3.2.1, XSP4, mod_mono (for use with apache web server) and succesfully ran the test application ...
2
votes
0answers
12 views

How to check flash memory for ECC errors from the Linux command line

Is there a way to check flash memory for ECC errors from the Linux command line? Note that I do not want to correct ECC errors. I just want to detect errors and list page addresses where they occur.
2
votes
1answer
30 views

list processes belonging to a network namespace

I am on Ubuntu 12.04, and the ip utility does not have ip netns identify <pid> option, I tried installing new iproute, but still, the option identify doesn't seem to be working!. If I were to ...
0
votes
1answer
16 views

Problem booting Ubuntu (or any OS), even after doing clean installs

Summary: OS (Ubuntu / Windows) installs fine, but when the time comes to restart and boot, it doesn't boot. (Gets stuck; screen blinks and I am still at boot selector). Can boot to a live ...
0
votes
1answer
60 views

Cloned server will only boot read-only

I have cloned one of my servers that is about the to be shut down into a virtualbox machine. I used rsync for that, remembering to keep the relevant attributes etc. I also modified fstab. I have ...
0
votes
1answer
32 views

SSH Connect to hosts by using tunnel

I want to ssh connect from host A to host C directly with one ssh command. +---+ +---+ +---+ | A | -> | B | -> | C | +---+ +---+ +---+ Host A already have keys ...
1
vote
1answer
45 views

net scripts try to up old physical removed network interface

Situation: Gentoo with kernel 3.8.4 amd64 udev 218 no systemd, no initram, no old network udev rules Previously 3 network interfaces (2 x onboard, 1 pci , all r8189 module ones) After an short ...
0
votes
1answer
15 views

looking for a way to find the size of certain packages that we want to download

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
0
votes
2answers
41 views

expect: does “” (spawn_id exp70) match glob pattern

I have written an expect script that works perfect for testing passwords on our network until it has looped through my list quite a bit, then the debug output shows that there is nothing to match. ...
0
votes
0answers
11 views

Configuring an Email Server

I currently have an email server configured, and I was wondering how to set it up so that my session is protected with an SSL certificate when my email client logs in, and how to get it to sign ...
1
vote
3answers
54 views

Impossible to have two network interfaces wifi and ethernet (as a backup) working together

I have a raspberry 2 with a wifi interface and an ethernet interface. wifi is my main connection with the ability to just plug in the ethernet as a backup method. I want to assign different static ...
0
votes
0answers
16 views

OpenLDAP - ACL control - Full access to user

I need to create a ACL that give to user a full write to rootdn. I tried that: access to * by dn="cn=replicator,o=rootdomain" write But I get the some message. error 50 "Insufficient ...
1
vote
2answers
712 views

Command/scripts to check the Reverse DNS Lookup time

I am working on a project in which one master communicates with numbers of slaves. For that it has to make connection with hosts in network. But sometimes it hangs. I think that the reason behind is ...
1
vote
1answer
48 views

What does blkid stand for?

What does the command blkid stand for? I want a way to remember it. Also, what is it often used for?
14
votes
4answers
12k views

How to check that AES-NI is supported by my CPU?

Howcan I check if my CPU supports the AES-NI instruction set under Linux/UNIX.
0
votes
1answer
41 views

Why does my process take too long to die?

Basically I'm using Linux 2.6.34 on PowerPC (Freescale e500mc). I have a process (a kind of Virtual Machine that was developed in-house) that uses about 2.25 G of mlocked VM. When I kill it, I notice ...
0
votes
1answer
517 views

Grub2 lost in new Linux distro install

So, I really need some help. Recently I was using a dual boot machine on the same hard drive. I had Windows 8.1 and Ubuntu GNOME 14.04. When I installed Ubuntu on top of my Windows install, I didn't ...
0
votes
1answer
18 views

Old file deletion script

I used this script: #!/bin/sh for file in "$( find /var/backup/web2 -type f -mtime +1 -maxdepth 1 -exec rm -f {} \; )" do rm -f $file done exit 0 to delete files older than 24h from fixed ...
-2
votes
0answers
21 views

Captive portal splash/login page, what is the norm? [on hold]

Ok, let s plan a captive portal. Allright, my Wifi point is done. My popup should appear, e.g. on iPad. But but but... Where should I place this page? how to name it ? What are the guidelines ?
0
votes
0answers
7 views

OpenVPN integration with LinOTP

I try to run OpenVPN with two factor authentication using LinOTP. I can't authenticate my login and password (PIN+OTP) with FreeRadius which is configered with LinOTP using OpenVPN. I get possitive ...
4
votes
2answers
1k views

CentOS can't use new extented space on system disc

I have CentOS installed in my VirtualBox and there was small HDD for the system itself(about 8-9GB). After some time of using this, this virtual disc got full and I couldn't install updates so I ...
0
votes
1answer
514 views

Kali linux network connection icon missing

I was trying to setup a vpn connection in Kali linux but i don't know what did i do that network connection icon (screen top right) is missing and i can't connect to internet! How do i fix it?
1
vote
0answers
10 views

Captive portal detection, popup implementation?

Based on hostapd, I m building a captive portal. - My Linux Machine provides a Wifi access. - iPad's and Android clients-tablets connect this Wifi. Generally, any client OS check if a url is ...
0
votes
0answers
8 views

Humming Board + mPCIe adapter + video card TW6865

We interfaced Humming board with Video card (TW6865) via MiniPCI Express to x1 PCI Express Adapter (Adapter). Now the thing is video card is not getting detected by HB. There is no issue with video ...
-1
votes
0answers
25 views

How to mask IP address in linux Centos 6.6 [on hold]

I have a server IP address and one application is running. Now I am running that application by typing IP address and port number in browser. So that application will running. What do I need? Client ...
0
votes
0answers
21 views

Dual booting Ubuntu and windows 7

I am trying to dual boot windows and linux on a machine at work. While I haven't used windows in a while, Its a process that used to work most of the time.But I haven't been that lucky with this ...
2
votes
2answers
18 views

Creating a shutdown only script with update-rc.d

I have a Raspberry PI running the standard Raspbian distribution. I have this little C program that I need to run at the very end of the shutdown sequence. All it does is send a couple of logical high ...
0
votes
0answers
31 views

LARGE_INTEGER and BYTE types in Linux? [migrated]

I am studying one Windows code which converting to Linux and this answer here. It is possible that there are no injective datatypes between LARGE_INTEGER and BYTE in Linux so special situations may ...
5
votes
4answers
3k views

Volume on Linux much lower than on Windows

I dualboot Slackware64 and Windows 7. The volume under Linux when maxed seems a lot lower than when it is maxed on Windows. My soundcard chip is Realtek ALC662. Volume is set to 100% for PCM and ...
1
vote
2answers
59 views

How do I get the output of a program already running?

I have a python program that outputs to stdout and a log file. However, the person I am making this for wants to know if I can set it up so that he can see the output of the file, while it is ...
4
votes
4answers
166 views

How can I convert two-valued text data to binary (bit-representation)

I have a text file with two (2) only possible characters (and maybe new lines \n). Example: ABBBAAAABBBBBABBABBBABBB (Size 24 bytes) How can I convert this to a binary file, meaning a bit ...
0
votes
1answer
2k views

how to install arch linux on 32 bit system

I would like to install arch Linux on my netbook, which is not 64 bit compatible. I searched through the downloads on the arch Linux download page and everything there pertains to 64 bit ...
0
votes
1answer
12 views

Multiple environments in Chef?

I am looking for some ideas/guidance to use environments in chef to specify attributes that are specific to each environments like Dev, QA & PROD. As a result we would like to be able to use same ...