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
92 views

Connect a keyboard / IR controller to a command line program running in a screen

I'm trying to have my Raspberry Pi function as a GUIless music player. I've got Arch Linux installed, and use it through ssh. I've got also an IR receiver dongle, and I'm planning to use it to control ...
3
votes
1answer
106 views

Updating kernel versions when booting from rEFInd

I'm booting from EFI using the awesome rEFInd bootloader. I've so far had to configure boot myself by manually copying over my EFI-compatible linux boot image to my EFI partition and writing a ...
3
votes
1answer
183 views

USB keypad (HID) not responding in linux but in grub

An external USB keypad I'd like to use gets recognised as a USB HID device, but it is not functional when Linux is booted. It does work when plugged into a Windows desktop and it does work while in ...
3
votes
1answer
637 views

Kernel booting stops right after “Uncompressing Linux…”

I'm trying to bring up an ARM-based board. I've got U-Boot working but can't seem to get the kernel to load. Most of the time it only goes as far as: Starting kernel ... Uncompressing Linux... A ...
3
votes
1answer
74 views

How does Linux handle 2 identical destinations in its routing table?

I have this is my routing table (in that order): 10.3.68.0/22 via 172.16.100.9 dev vlan4 10.3.68.0/22 dev eth3 proto kernel scope link src 10.3.69.254 eth3 has ip 10.3.69.254/22. Why does ...
3
votes
1answer
112 views

Something like VMware “Changed Block Tracking” (CBT) in linux

I'm wondering if is there any possibility to track changed blocks in linux with an ext3/ext4 filesystem (or a specific one supporting it). I mean a feture like the Changed Block Tracking (CBT) ...
3
votes
1answer
116 views

Limiting download speed based on other LAN traffic

I'm kind of new to Linux (but learning) so bare with me if I say something stupid :P. I'm currently running an Ubuntu fileserver which automates a whole bunch of downloading tasks. At present it is ...
3
votes
1answer
246 views

Turn system on by USB keyboard?

To hibernate my Debian Wheezy system, I run the following command: sudo sh -c 'echo disk > /sys/power/state' To wake up the system, I can press any key on my USB keyboard. My understanding of ...
3
votes
1answer
39 views

Customize Drive Mount Location

I'm running Crunchbang Linux (a variant of Debian) Whenever I plug in a drive, it gets mounted to /media/username/UUID-or-Name. Is there a way to instead mount it to /media/UUID-or-Name? Crunchbang ...
3
votes
1answer
121 views

Is there a way to show all flags in /proc/mounts?

Some filesystem flags seem to be hidden in /proc/mounts, depending on whether they are defined as defaults. Is there a way to show all flags in /proc/mounts, also including the default ones? And if ...
3
votes
1answer
426 views

snmpwalk community results to timeout

My snmpwalk suddenly stopped working, which was working earlier, after restarting the snmp also didn't work out, snmpwalk -v1 -c gives me timeout and it's working for other machines as well. I tried ...
3
votes
1answer
401 views

How to make use of a real PCI modem in a Virtual Machine?

Is there a way where I can use my PCI modem in a virtual machine on an ubuntu 12.04 host box? I have installed Ubuntu 12.04 on the host and I want to use my PCI modem on a guest virtual machine. Can ...
3
votes
1answer
866 views

Arch: Awesome Window Manager won't start

I can't get my awesome running. I installed awesome and all dependecies with pacman and followed the beginning of the following guide to get awesome running: ...
3
votes
1answer
139 views

Can't install any version of Linux

So I was trying to install #! (Crunchbang) and downloaded the 64 bit version and tried installing it. Everything would work until it was time to install grub. The grub installation would fail every ...
3
votes
1answer
418 views

What happened to `vga=ask` in newer kernels?

I used to activate framebuffer mode in the "older" kernels with vga=ask, and later setting it to a value, once I've figured out which one works best for me. Now, this option seems to be gone, the ...
3
votes
1answer
169 views

What would happen if we mounted a file system that e2fsck is already running on?

It is generally a bad idea to e2fsck a file system while the file system is mounted (the man page mentions one specific situation where it is safe: -n given, and -c, -l or -L not given, and even then ...
3
votes
1answer
171 views

What is ionice `none: prio 0` equivalent to?

The ionice manual states that: Note that before kernel 2.6.26 a process that has not asked for an io priority formally uses "none" as scheduling class, but the io scheduler will treat such ...
3
votes
1answer
312 views

Is there any DLP solution for linux?

I'm looking for a DLP (Data Leak Prevention) solution for linux environments. I know OpenDLP, but it's only a way to Prevent Clear-text file, and source codes from malicious access. There are lots of ...
3
votes
1answer
126 views

Linux signals logger

I'm looking for a signals logger for the Linux kernel, without patching of kernel. I found many articles with patching, but I am not interested in that. I'm running default Ubuntu 13.04. # uname -a ...
3
votes
1answer
126 views

Why my SSDs are in /dev/hdx instead of /dev/sdx on CentOS 5.9?

I have two SSDs Kingston SH103S3240G plugged on SATA ports of my Intel Server Board S3000AH. The SSDs apear like a PATA device (hdx instead of sdx) on my CentOS 5.9. I'm having problems related to ...
3
votes
1answer
121 views

Using tcpdump to log blacklisted IPs

I am using tcpdump to log traffic outbound on a network. I would like to be able to log traffic on a host or IP-only basis but then I would like to be able to log large numbers of potentially ...
3
votes
1answer
447 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
3
votes
1answer
491 views

BCache and disk encryption

I recently bought a new laptop with a 16Gb mSATA SSD cache drive. I haven't used that one yet. I have, however, opted for Ubuntu 13.04 with "Full Disk Encryption" for the main partition (is that ...
3
votes
1answer
406 views

Change ip addr label in Linux

How can I change the eth0 zero to eth0:1 using ip addr without deleting. When I run ip addr show eth0 Here is the output 2: eth0: mtu 1500 qdisc mq state UP qlen 1000 link/ether ...
3
votes
1answer
475 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 ...
3
votes
1answer
315 views

How to create rootfs for user mode Linux on Fedora 18?

I want to create a rootfs to be used with an UML kernel and be able to use the internet. I was using febootstrap with packages: bash, coreutils, net-tools, iputils. After using ...
3
votes
1answer
359 views

Laptop keyboard occasionally stops working

I have a dirty solution that is to plug a USB keyboard in and execute the following command: setxkbmap -rules evdev -layout us -model evdev Afterward my keyboard will work. This solution only ...
3
votes
1answer
407 views

GDM will not start on boot, unable to login into graphical interface

I am running RHEL 5.8 . SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot. kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
3
votes
1answer
592 views

CentOS network connection breaks every 5 min

I installed CentOS 6.2 about a month ago and it worked fine. Two days ago I saw that the internet connection is broken, so I reconfigured it. I was able to use it but after a few minutes it broke ...
3
votes
1answer
1k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't arround anymore so i want to downgrade it again. The stupid thing is a lot of programms rely on glibc at the moment. I still have the 2.4 version on the system ...
2
votes
1answer
4 views

resetting keys changed by xmodmap

I am playing around with xmodmap filename to assign among others, the Euro sign to the number five key on my US keyboard. I have done some wrong assignments and want to reset them, and I don't want ...
2
votes
1answer
21 views

Bash script for logging in ftp

I have seen this question: link I have similar, if not the same request. I'd like to create a script that will log me in ftp server. I do not want to automate the whole exchange, I just want to speed ...
2
votes
1answer
28 views

RHEL Error message mounting luks crypted filesystem at boot

I am configuring a luks crypted file system to be mounted at boot time using RHEL 6.5 I did all the configuration from command line and tt worked but printed an error message after asking for ...
2
votes
1answer
22 views

Understanding passwd --keep-tokens

On GNU/Linux, I do have trouble understanding the meaning of the --keep-tokens option for passwd. As it doesn't seem to be much used as I am not able to find any examples and only online copies of man ...
2
votes
1answer
45 views

load module via /etc/modules

I want to load my kernel module hello.ko on boot in Ubuntu 12.04. I placed it in /lib/modules/3.8.0-31-generic/kernel/ubuntu/hello.ko, ran depmod -a, and added "hello" to /etc/modules. However, when ...
2
votes
1answer
77 views

How to enable/disable a serial port?

I need to disable and then enable a serial port for testing purposes on a Java program. Since the man page of setserial is stating: "Using UART type none will disable the port.", I use sudo setserial ...
2
votes
1answer
32 views

Pernicious USB-stick stall problem. Reverting workaround fix?

There's an issue with Ubuntu that hasn't been fixed yet, where the PC freezes or gets really slow whenever it is copying to an USB stick (see Why is my PC freezing while I'm copying a file to a ...
2
votes
1answer
60 views

Fetching Remote Windows System Information From Linux Server

I need a script/command that would fetch Windows System Information (Host Name,User Name, Domain, OS Info, Hardware Info, Memory Info, processor Info, etc) by running it on a Linux Server (RHEL 6.5 ...
2
votes
1answer
35 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 ...
2
votes
1answer
67 views

Use two NICs for different subnets

In my office I have use a system with two network cards. I want to use both at same time. I have four subnets in my LAN. I want to route two subnets (192.168.2.0 and 192.168.4.0) through eth0 and ...
2
votes
1answer
43 views

Traffic segmentation for a particular subnet

Two questions is it possible to segment traffic for a particular subnet to use an interface and at the same time receive traffic from a different subnet via the same interface? This is the scenario. ...
2
votes
1answer
109 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
2
votes
1answer
81 views

Accumulate Filename in a Log file using shell script

I have files with their names as ABC_-_123321.20140505_-_161500.CSV ABC_-_654145.20140506_-_135020.CSV String_-_SerialID.Date_-_Time.CSV StartDate, StartTime, EndDate and EndTime are given as ...
2
votes
1answer
44 views

Checking Boot Volume

Programmatically, how can I check whether the lun node is a boot volume or not (the lun node is created under /dev/ on Linux systems (such as RHEL or Ubuntu or any other linux flavour). To my ...
2
votes
1answer
284 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
2
votes
1answer
450 views

Debian stable dual monitor problem

I installed Debian wheezy with XFCE 4.8 on my new laptop, updated the kernel to 3.13 from backports. When I connect the laptop to my monitor, I can see only a part of the screen on the monitor with a ...
2
votes
1answer
80 views

I no longer see the output of rc scripts

My current problem After cloning the root filesystem of my debian system to an SSD (cp -ax) I no longer see the output of my rc scripts during boot from the SSD. I do see them during shutdown or when ...
2
votes
1answer
117 views

VPN client for linux machine + support checkpoint gateway

Since Checkpoint Company does not have a VPN client for Linux (checkpoint VPN SNX R71 is not fit for us because this VPN required changes on the gateway side ). I'm trying to find if there is a VPN ...
2
votes
1answer
914 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 ...
2
votes
1answer
295 views

CHROOT: Unable to copy files to jailed users directory from local machine using WINSCP

I've setup a chroot environment for one of my users called client on my system. I'm using WINSCP to connect to my server from my machine using public key authentication. Everything works fine, I can ...