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
1answer
24 views

Debian installer - customize busybox and live system/environment

I'm trying to reinstall Debian on a netbook and do it without sloppy tricks so that I can repeat the process if necessary. Specifically, I'm trying to customize the installer to include the wifi ...
1
vote
1answer
54 views

How to transfer data “offline” between osx and ubuntu?

I need to transfer around 50gb of data from my Ubuntu to my OSX. scp and samba are both too slow it seems - even with the Ethernet cable connected (14-15 hours!). I have physical access to both ...
6
votes
2answers
287 views

How does stack allocation work in Linux?

Does the OS reserve the fixed amount of valid virtual space for stack or something else? Am I able to produce a stack overflow just by using big local variables? I've wrote a small C program to test ...
0
votes
1answer
2k views

How do I set permissions recursively on a dir (with ACL enabled)?

For example, I want to give my colleagues write access to certain directory. Let's assume that subdirectories in it had access rights 775, files 664, and also there were some executable files in the ...
16
votes
1answer
21k views

How is a message queue implemented in the Linux kernel?

I would like to know how Message Queues are implemented in the Linux Kernel.
1
vote
1answer
462 views

Capture raw image from V4L (webcam) device

I'm using a Raspberry pi to monitor a self-service fridge. When the door opens, a shell script is being executed to capture pictures until the door closes again. The problem, however, is the speed of ...
28
votes
7answers
8k views

A tool for automatically applying RandR configuration when external display is plugged in

is there a tool which enables one to: remember current RandR configuration (position, orientation, resolution etc) on per-monitor basis, automatically apply last known good configuration as soon as ...
2
votes
1answer
337 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
1k views

Ubuntu: wire network is not stable and must restart network-manager periodcally

I don't know why my wire network now is not stable. After a short time of using, maybe 30 minutes, 15 minutes or maybe just 2 minutes, my network is down. When my network is down, I must run this ...
3
votes
1answer
26 views

Linux console: only kernel messages are printed

My Linux system is built by Buildroot and runs on a Raspberry Pi. I use a Usb to TTL Serial cable to get a console. Here comes cmdline.txt dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 ...
1
vote
1answer
24 views

Could I set flag “barrier=0” when using SSD?

I'm using ext4 filesystem in SSD,when mounting SSD,could I use flag "barrier=0"? I knew this flag is safe for BBU(battery backup unit),but is it safe for SSD?
1
vote
1answer
243 views

ixgbe: increase rx performance

I have an Intel 82598EB 10GBE NIC. I need to receive traffic without packet loss. Data rate is 4-5 Gbps, packet size is 1500-9600 bytes. I had already configured smb and irq affinity. I also tried ...
6
votes
1answer
110 views

ssh from linux into mac - permission denied

I'm running a Oracle Linux VM on a Windows 7 host and I'm trying to ssh into my MacBook. I've already created the private/pub keys in my Mac. I have copied the id_rsa.pub contents into the ...
3
votes
1answer
56 views

Spoofing or removing DHCP client hostname in response to DHCP server

In linux, when my machine requests an IP address it also sends the hostname back to the DHCP server. How can I stop my machine from sending back this hostname? I use dhclient, possibly via ...
2
votes
1answer
27 views

Which distributions can have a network installation started from a floppy?

Suppose I have computer with no USB boot option; no CD/DVD drive; an unformatted HDD; and a working connection to the Internet (via a local network segment with a DHCP server etc)... and an FDD. Can ...
0
votes
2answers
30 views

Know which partitions are primary and which logical

I have Windows and Ubuntu installed on the same laptop. How can I know which partitions are logical or primary using the command line?
2
votes
1answer
37 views

What is the use of “magic arguments” in Linux reboot system call?

As I was reading Linux source code, and more specifically the system calls code, I came across sys_reboot implementation: http://lxr.free-electrons.com/source/kernel/reboot.c#L199. 199 ...
0
votes
1answer
3k views

rsh shows “poll: protocol failure in circuit setup”, why?

In the starting rsh worked properly, but after making some changes it shows some error [changes are shown in the end of this question, see that], I am sharing the same. Command $ /usr/bin/rsh ...
2
votes
0answers
27 views

Focusrite Scarlett on Linux input mapping?

Does anyone use these interfaces on Linux? If so, how do the inputs map (e. g. with ALSA/PulseAudio)? E. g. the Scarlett 6i6 has the following connections. Inputs: 2x symmetric XLR inputs (one for ...
0
votes
1answer
501 views

Mint 17 boots to Welcome screen, but desktop is blank

I'm running Mint 17 Qiana MATE on a HP250 G laptop with 4GB of RAM and Intel on-board graphics. The host OS is Mint and Windows XP runs as guest using VirtualBox with 1GB RAM and 20GB reserved hard ...
2
votes
0answers
18 views

Qstat error in Eqw [closed]

can any one help to understand how to solve that problem? 365227 0.50500 towhee jmaia Eqw 07/19/2014 19:22:55 when I do: qstat -j 365228 | grep error that appears: error reason ...
4
votes
2answers
740 views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
1
vote
0answers
61 views

How to boot Linux [closed]

I have a Linux box that I used to write my dissertation. I have used the Linux box for composition and email for a number of years. Unfortunately, for the past couple of years I have been in a ...
2
votes
2answers
375 views

SMB Mount To Windows Server Appears to Lock up. Any Ideas?

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
0
votes
2answers
28 views

Using /proc/stat for the number of processes running on the system

How does one find out the true number of processes that is running on your system. A number of articles mention using ps in order to count the number of processes. But recently I looked at cat ...
6
votes
3answers
700 views

How enable safeguards for CPU temperature

My desktop has a nasty habit. When I have several high intensity applications running and my CPU is at maximum usage for a period of time, the core temperature rises and my computer auto-shuts off. ...
3
votes
1answer
418 views

cleaning /dev/md0 filesystem ( raid)

I have a CentOS server using raid. The /proc/partitions contains: major minor #blocks name 8 0 976762584 sda 8 1 104391 sda1 8 2 921600855 sda2 8 3 55054755 ...
1
vote
0answers
53 views

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [closed]

When I try to start MySQL it says "failed!", so I try using mysqladmin ping and get the following: mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server ...
4
votes
4answers
820 views

Special File that causes I/O error

I want to automatically test if a piece of software reacts as expected if an essential SQLite DB file fails to be read (causing an I/O error). Exactly that happened some days ago at a client. We ...
2
votes
1answer
460 views

Issues with libGL on Fedora 20 - unable to load driver swrast?

Firstly, before I explain my problem, I have referred to the question previously asked on Ask.Fedora about the libGL error, which can be seen here. I have been trying to play the game "FTL - Faster ...
1
vote
1answer
56 views

xfreerdp keeps disconnecting

I'm logging into an rdp environment using Linux. Everything works fine if the session is constantly in use. However, if the user walks away from his/her desk, and comes back say 5 minutes later, the ...
2
votes
1answer
375 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 ...
5
votes
2answers
4k views

changing the names of network interfaces, debian wheezy

I'm trying to set a name for an interface, "ethLan" instead of eth0. Doing so also ensures that the if's name will remain consistent at every reboot and kernel. I did find some articles in the ...
3
votes
1answer
30 views

Openbox pipe-menu script error

This is the weirdest thing. The script works when run from the shell with no problems. When I run it as an Openbox pipe-menu I get the error "Invalid output from pipe-menu". After playing around with ...
2
votes
1answer
353 views

Airdrop compatible

Is there anything in Linux that implements whatever it is that makes Airdrop in OS X work? I'm not really familiar with that program, so I'm not sure what protocol it's using to communicate. update ...
3
votes
1answer
367 views

Having trouble exporting FUSE via NFS

I've got a self-written FUSE file system I mount on my NFS server on mountpoint /export/example/mount. Then I export a parent directory of the FUSE via NFS. The /etc/exports contains the options ...
0
votes
2answers
333 views

Lubuntu display resolution + VirtualBox

Running the most recent Lubuntu 14.04 as a live OS inside virtual box works without any problemes at 1024 x 768 pixels screen resolution. But when I install it, Lubuntu has a low resolution of 620 x ...
5
votes
1answer
517 views

How to confirm/verify WiFi is WPA2?

How do I, from the command line, confirm on the host that the wireless network connection uses WPA2? The wireless router is set to use WPA2 Personal (WPA2 with a pre-shared key) and AES on the ...
16
votes
2answers
1k views

Why is JFS so obscure?

When I first got into using Slackware years ago I quickly learned to love JFS over ext3 or reiserfs given that it was reliable and if there was an unclean shutdown, its disk checking was very very ...
1
vote
0answers
21 views

Recover deleted files on Raspberry Pi? [duplicate]

So I just rm -rf'ed a folder with a few files I need. Yes I know I should've had a backup, but it's just a Pi. It's designed to be played around with! Is there anything I can do to recover that ...
5
votes
1answer
1k views

Eye-FI SD Card not working with inbuilt card reader

I am tring to get my cardreader to work with and eye-fi SD card. My System is as follow: #uname -a Linux computer 3.2.0-0.bpo.2-amd64 #1 SMP Thu Mar 15 20:46:44 UTC 2012 x86_64 GNU/Linux Debian ...
0
votes
1answer
27 views

laptop enery management for improving battery lifetime Linux

I have bought a Lenovo Ideapad that cames with Windows preinstalled. I installed Ubuntu 14.04 to dual boot. There is a tool for Windows called Lenovo Energy Manager that allows to control the charge ...
0
votes
2answers
33 views

Where is the bugtracker for `ifconfig` located?

Is there an official place to file bugs for the package in which ifconfig can be found? Do most major distributions have their own implementation of the library, or does the library come from one ...
-4
votes
2answers
58 views

How to print numbers horizontally? [duplicate]

I would like to print something as 5,4,3,2,1. This is my program, but it prints the numbers vertically. numbers=5 i=1 while [ "$i" -le "$numbers" ] do echo “$i” i=$(( $i + 1 )) done Do you have ...
0
votes
1answer
89 views

Unresponsive desktop after resume from hibernation

After booting up my computer after hibernation (suspend to disk), my desktop is unresponsive for up to 15 minutes. I've found that the slowness is caused by the fact that all running applications seem ...
0
votes
1answer
583 views

Add a new user steps for Oracle Linux 5

It's been over 10 years since I last used RedHat (which I believe that Oracle Linux came from). So I cannot remember the steps to create a new user, add them to the appropriate groups, set up their ...
1
vote
1answer
48 views

Excessively high disk usage freezes my server

I have a laptop converted to a Linux Mint server running a variety of services. Recently, it started being unaccessible at random. The situation seems intermittent. The server is usually blazing ...
1
vote
1answer
206 views

Replace hard drive in ubuntu

I know variants of this question have been asked before, but I couldn't find a specific answer to my situation. So here goes: Running ubuntu server 12.04 with the os on a separate drive and two 1,5 ...
1
vote
1answer
63 views

Is it possible to manually manage a Solid State Hybrid Drive?

I'm about to buy a new laptop which has a SSHD. It stands for Solid State Hybrid Drive, which means it has a big, regular HDD with a small, usually 8GB SSD to cache frequently accessed files. Now ...
2
votes
1answer
50 views

Does pgrep output ever include the parameters supplied to the process?

The snippet below (from an existing script) is used to check the xvfb processes and whether they are listening on a specific port: my_list=`pgrep -u $CurrentUserID -fl Xvfb | grep :${XVFBPORT}` ...