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

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 ...
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 ...
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 ...
3
votes
3answers
276 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 ...
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 | ...
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
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 ...
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 ...
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 ...
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.
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 ...
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
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 ...
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
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 ...
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: ...
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
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 ...
1
vote
0answers
20 views

Limit cpu usage to one core [duplicate]

I want to run a server with user-written scripts. But these scripts should only use one core (which should be the one with the lowest usage because there will be many concurrent scripts). Also I need ...
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 ...
-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 ?
-1
votes
0answers
29 views

Possible to read contents of an .iso without extracting or using isoinfo?

Is there a nicer way than than using isoinfo to see the contents of an iso without extracting it ? I did see What is the fastest way to extract an ISO? as well as few questions ...
0
votes
0answers
13 views

When connecting my Wifi, open browser automatically. How?

I made my linux computer providing a wifi access. This is only to browse its local website. As one does for captive portal, i aim to force the browser display and direct to my homepage : - you choose ...
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 ...
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?
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 ...
1
vote
2answers
49 views

How do I program Python so that it outputs to all terminals in Linux

I am programming a python program for the raspberry pi. Is there a way for me so that when the raspberry pi outputs text, it will show up on all terminals that are currently remotely logged in via ...
0
votes
0answers
6 views

purge jboss log files using its instance path

I am using centOS server with two instances of JBOSS running in it. So i need a shell script to delete log files older than x days in each instance. for example: ps -ef | grep jboss i get two ...
2
votes
0answers
26 views

On what level is touch screen support implemented in Linux?

I'm trying to use a Linux OS on my tablet PC (Lenovo Thinkpad Helix 15). I tried Ubuntu, but except for switching and moving windows and bringing up the launcher, there doesn't seem to be a lot of ...
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 ...
0
votes
0answers
13 views

64bit Linux Mint on Dual Core Pentium 4 machine

I have a HP 530 desktop with a 3200Mhz Dual Core P4 processor, 4GB RAM and 1TB Sata HDD. I'm setup with Dual Boot Windows 7 and Linux Mint 17. Although Windows 7 64 bit loaded fine, Linux Mint 17 64 ...
1
vote
1answer
17 views

How to show a notification a la Growl to all Linux consoles

I'm building a textmode only linux netbook. I'd like to show information (like battery status) when pressing a hotkey, that would appear on top of whatever running program and disappear in a few ...
1
vote
0answers
11 views

Unable to login into Spark using static IP after port forwarding

I installed openfire in CentOS 6.4 server (IP address: 192.168.1.118) and I was able to login into spark using the server as 192.168.1.118. We want to use spark from outside, so I did port forwarding ...
-2
votes
0answers
26 views

excepted network issue, what type of system's problem reports by var/log/message? [on hold]

excepted network issue, what type of system's problems reports in var/log/message? if the system has shared memory problem or Queue problems f.g., is it reports in var/log/message ?
-3
votes
1answer
39 views

sed/awk - replace first occurance of a string with array of strings [on hold]

I want to find the first occurrence of a word and replace it by 3 strings using sed/awk. for example , I have the below entry in my /etc/hosts file 10.4.16.11 dispatch1 10.4.16.12 dispatch2 ...
0
votes
0answers
30 views

I installed linux. And it doesn't recognize usb keyboard and mouse

When I boot computer with kernel 2.6, I can use usb keyboard and mouse. But If I use kernel 3.10, It doesn't work. / / kernel 2.6 $ lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 ...
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, ...
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 ...
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 ...
2
votes
1answer
24 views

Linux - check IPC stats

What is the best way of checking current status of different types of IPC in Linux (including uids) ? I want to inspect named pipes, half duplex pipes, unix domain sockets, signals. I know for sys V ...
0
votes
1answer
19 views

Sound is gone after booting system in text mode

I started using GRUB_CMDLINE_LINUX_DEFAULT="text" grub argument for my boots, and recently noticed that the sound is missing. I start GUI from terminal using startx command, here's my .xinitrc ...
1
vote
1answer
41 views

Is it possible to tell what source loaded a Linux kernel module?

In my Linux distribution there are a number of modules loaded during boot up and I'm trying to find where they're loaded from. [root /proc]# lsmod Module Size Used by ...
0
votes
1answer
27 views

Export mysql to remote server using one SSH session

I've come across a situation where I had to create a utilitary shell script that would be executed in many servers from different regions. The objective is to dump the local mysql database, copy it to ...
0
votes
1answer
32 views

Is it good to install linux on external hard drive?

I have an external hard drive and I would like to install linux on it (I choose Fedora KDE). I made a bootable dvd and I will choose the external hard drive to install on it the os. Is it good to ...
1
vote
0answers
8 views

Getting “No DEFAULT or UI configuration directive found” when booting from USB

I made a bootable Freya-OS USB. It works fine in my laptop. But, when I am trying to boot my desktop from the USB, it shows this error: "No DEFAULT or UI configuration directive found". Syslinux ...
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 ...