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

3
votes
1answer
899 views

How can I update the OS on an Iphone on a Linux machine

As I understand it, the iPhone will pop up some options on a Windows computer to update the system when you plug it into the computer. Honestly, I don't own an iPhone, but my friend wants to use my ...
3
votes
1answer
43 views

how to check health of hard drives?

How do I check the health of my hard drives? I know that you can do it with system rescue, but is there a way to do it from root without booting onto system rescue?
1
vote
0answers
52 views

SNAT / Masquerade with shorewall

I've got a little question about Masquerading and SNAT in combination with shorwall and KVM. The Operating System is Scientific Linux 6.4. Setup is like this at my root server: Virtual Machine IP ...
3
votes
3answers
757 views

slow media - disk cache tuning?

Is there any way to make the system more consistent when using LUKS? (or slow storage in general) as it is everything is snappy until the write buffer is full, then everything grinds to a halt as the ...
3
votes
1answer
24 views

How to update linux “locate” cache

How can i update the cache / index of locate? I installed new packages and the files are clearly not yet indexed. So which command do I have to ommit, in order for the indexer to trigger. I'm ...
2
votes
1answer
406 views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
-2
votes
0answers
9 views

How can I use hostapd and scan the wireless interface at the same time? [on hold]

When I run hostapd in a wireless interface I cannot use the same interface for scanning networks.
0
votes
1answer
32 views

What is a master mode? [on hold]

I want to know what's the difference between "master mode" and "managed mode" and the advantages of each one !
2
votes
1answer
347 views

Gnome + Linux: GUI apps don't inherit PATH from parent console apps

In Gnome, don't GUI applications inherit the PATH of the shell process that launches them? Apparently, GUI applications see only the PATH specified in ~/.profile. No issues with console applications, ...
1
vote
1answer
22 views

HOWTO check if a user account is blocked against /etc/shadow

After set the Account Expire parameter on /etc/shadow (field #7) to 90 days,I need to know where to look around if an user account is locked down or not after those amount of days. Right now, the ...
7
votes
4answers
238 views

How to list all the files used during Linux boot

I would like to get the list of files that are used during the process of Linux boot. We are developing the protected enterprise system based on the RHEL 6.4. The integrity of specified files will be ...
1
vote
2answers
51 views

mount error 13 = Permission denied

One of my servers is set up to automatically mount a Windows directory using fstab. However, after my last reboot it stopped working. The line in fstab is: //myserver/myfolder /mnt/backup cifs ...
1
vote
0answers
349 views

alsa and 5.1 surround through three front stereo jacks on the Dell Studio XPS 13

I know this is not a tech support forum, but I am not etting an answer from alsa people and have tried much, if not everything. I can upload the alsa-info output if needed, but here is the info ...
1
vote
1answer
36 views

Uninstall Linux on an embedded board

I am using an embedded board, a FOX G20 V with an ATMEL AT91SAM9G20 processor. I would like to know first of all, which specific linux version I am using on this board, but also, how to remove it. ...
25
votes
3answers
2k views

Does grep use a cache to speed up the searches?

I have noticed that subsequent runs of grep on the same query (and also a different query, but on the same file) are much faster than the first run (the effect is easily noticeable when searching ...
5
votes
2answers
570 views

OpenLDAP Password Policy overlay error while loading

I'm trying to load the password policy overlay but i'm having the following error ldapadd -Wx -D "cn=Manager,cn=config" -f overlay.ldif Enter LDAP Password: adding new entry ...
5
votes
3answers
1k views

Filter a .CSV file based on the 5th column values of a file and print those records into a new file

I have a .CSV file with the below format: "column 1","column 2","column 3","column 4","column 5","column 6","column 7","column 8","column 9","column 10 "12310","42324564756","a simple string with a , ...
1
vote
1answer
231 views

Memory management - how memblock_reserve works

I am new to Linux kernel and I am studying the Linux memory management framework. I have few doubts on this. I am working on Marvel PXA986 boards and in board file I can see few memory reservation ...
0
votes
0answers
9 views

Unable to link with shared object file

I am trying to generate traces of GPGPU benchmarks on X86 cpu using GPUocelot. For this reason, I am compiling the benchmarks with -locelot and -locelotTrace linker flags. My benchmarks compile and ...
0
votes
0answers
11 views

Convert rgba color value to a Terminal supported color

Randomly I will take the following example: rgba(122, 143, 186, 0.54) How can I convert this color to the closest Terminal supported color?
0
votes
0answers
14 views

Can I use KDevelop + GCC + KGDB to develop Linux modules at source level? [on hold]

Though I've been programming Windows NT kernel device drivers for 10+ years; I'm brand new to Linux module development. Under Windows NT, I can use WinDBG to visually debug my device drivers at ...
4
votes
2answers
469 views

What is the need of the struct thread_info in locating struct task_struct?

While reading through the Linux Device Drivers, I could understand that the Process Descriptor (of type struct task_struct) has all the info regarding a particular task. The process descriptors are ...
0
votes
0answers
14 views

What's the difference between LPIC-1 version 3.5 with version 4.0.0?

Can someone please explain to me what's difference in chapter headings on LPIC-1 version 3.5 and LPIC-1 version 4.0.0 ? May introduce me some good and comprehensive book relate to LPIC-1 version 4.0.0 ...
2
votes
6answers
120 views

When does a shell get executed during the linux startup process

I do not understand when does a shell, lets say bash, get executed, which program runs bash initially first.
0
votes
1answer
240 views

No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop

I am working on petalinux, a linux port for Xilinx FPGAs called Zynq. the tool that I am using is `petalinux-config this opens a GUI where I can select various options, such as compress kernel, ...
3
votes
2answers
369 views

Linux: Is there a IPv6 equivalent to the IPv4 kernel option accept_local?

Since linux kernel >= 2.6.33 the kernel option "accept_local" can be modified: /proc/sys/net/ipv4/conf/${interfaceID}/ accept_local - BOOLEAN Accept packets with local source addresses. ...
4
votes
1answer
32 views

Writing a suspend-aware program in linux

Programs that depend on physical time, such as jackd and its clients, do not play well with software suspend of a laptop in linux. I would like to fix a client that starts issuing plenty of "timing ...
1
vote
2answers
31 views

How do I resolve an apparent hanging update process

I am trying to update an instance on AWS. I have little familiarity with linux in general. However, I did run the command on my Ras. Pi first and had no problems. However this is the second time ...
1
vote
1answer
492 views

Can I use a parallel port as a CUPS input device?

I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect ...
6
votes
2answers
425 views

Detection of USB Modem is unstable - how can I correct this?

I am using Huawei 3G USB Modem in Ubuntu 12.04 LTS on DELL Inspiron NS5520. I tried every possible solution but had no luck. Whenever my USB Modem disconnects, I can not re-connect it and then I have ...
-1
votes
1answer
48 views

How to create a custom Linux distribution? [on hold]

Can any one tell me the easiest way to create a system with live cd with installing function. Which can install backtrack all tools?? I need to create a custom boot animation and everything!
1
vote
1answer
283 views

Kernel headers for VMware tools

I tried to compile VMware tools on my server. I compiled the kernel myself, I didn't use RPM. As VMware tools needs the kernel header files, I executed the following command in my kernel folder ...
1
vote
0answers
9 views

A Way Around: Host Accessing Guest in Internal Network?

folks. I have installed a Linux virtual machine in VirtualBox with 2 adapters: vnet0 is a host-only network and vnet1 is an internal network. I am able to get the IP address given by vnet0. ...
0
votes
2answers
625 views

Unknown hard disk partition?

I want to mount my 2nd hard disk from my Linux vmware guest but I try mount -t ext3 /dev/sdb2 to no avail. fdisk -l /dev/sdb gives me unknown format: /dev/sdb1 2048 4208639 ...
2
votes
1answer
23 views

Reboot when there is a hardware failure without physical access to machine?

I'm getting this error message whathever I do: $ sudo reboot bash: /usr/bin/sudo: Input/output error $ reboot bash: /sbin/reboot: Input/output error It's a hardware failure according to this ...
-1
votes
0answers
22 views

Good book for tuning/optimizing Linux? [on hold]

I am looking for a good book to learn how to optimize/tune Linux, which also explains how/why the recommendations makes the kernel perform faster. I did find this book, Optimizing Linux Performance: ...
7
votes
5answers
312 views

How to extract logs between two time stamps

I want to extract all logs between two timestamps. Some lines may not have the timestamp, but I want those lines also. In short, I want every line that falls under two time stamps. My log structure ...
2
votes
1answer
41 views

Why I sometimes see “INIT: version 2.88 reloading” in the console?

As far as I understand, the init should automatically restart when I update the package with init or some dependency like libc6. Why I see INIT: version 2.88 reloading in console without having ...
3
votes
3answers
123 views

File goes missing for a short period of time after saving it using VIM

I am having a strange problem that seams to be caused by VIM, the Linux VFS cache, ecryptfs and/or something file system related: I open a file in VIM, modify it and save it. I try to access the ...
0
votes
0answers
33 views

How do I start studying The Linux Programming Interface book [on hold]

I bought myself "The Linux Programming Interface" book from Michael Kerrisk. I am a .NET developer who wants to broaden his horizon. But how do I start with it? Reading cover to cover will not stick ...
6
votes
1answer
225 views

How to make linux 'perf record' work for libc and libstdc++ symbols?

I'm using perf record -g on x86-64 Linux to profile a program. Several symbols in libc or libstdc++ have 0 as a parent: __GI___strcmp_ssse3 (libc) and strcmp@plt (libstdc++) for example. (I can ...
3
votes
0answers
11 views

Can I limit total cputime used by a cgroup?

Although cgroups seemingly allow to control the CFS bandwidth of a cgroup, I don't see a way of enforcing a cpu time limit on a cgroup. The use case is that I would like to catch student programs that ...
3
votes
2answers
932 views

How can I check which terminal definitions are available?

The bulk of the question is in title, but to elaborate a little: On most Linuxes I can find /usr/share/terminfo -type f. But on Solaris machine I have nearby - this directory doesn't even exist. I ...
1
vote
1answer
415 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
218 views

Movie Player requires additional plugins to decode this file

I'm using RHEL 6 .Newbie to Linux. I'm unable to play the video using Movie Player. It shows an error, Movie Player requires additional plugins to decode this file. The following plugins are required ...
0
votes
1answer
73 views

Are there any academic sources on why people should use Linux? [closed]

So, I have to write a persuasive speech for college. I've decided on persuading people to switch to Linux. The problem is, I should have five academic sources for my arguments. Are there academic ...
0
votes
2answers
64 views

How to determine eth0 gateway address when it is not the default gateway?

In my system I have eth0 (which may or may not be connected) and a modem on ppp0 (which always may be up or down). The the case where both interfaces are up and ppp0 is the default route, I'd like to ...
2
votes
1answer
293 views

cpufreqd does not control temperature plus shows no output

Since my laptop (an Acer Aspire 5750G running a Gentoo Linux with a not-quite-up-to-date kernel 2.6.39-r3 (a weird wLan hardware makes the update difficult)) tends to run rather hot I am trying to ...
1
vote
1answer
60 views

How to check for a folder inside a particular folder in shell script?

I am working on a shell script and python script as well. Python script is passing certain parameters to my shell script and then I am using those parameters in my shell script. Below is my shell ...
0
votes
0answers
47 views

Ping IP works, nslookup fails. New Kernel

I am compiling my own 3.14 kernel. I fear I may have left out some important networking feature to get DNS working. I can't resolve domain names. I can ping my DNS server. I can resolve using that ...