These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

1
vote
0answers
121 views

How to get router info in “dhcp4-change” event in /etc/dhcp/dhclient.d/ script?

Am trying to add a script which will get executed on DHCP ip change for a particular interface. for that I have copied the below script at "/etc/dhcp/dhclient.d/dhcp-hook.sh". I need to get router ...
1
vote
0answers
88 views

Issues with getting a tun0 connection to route any and all connections from eth0 to be made to this interface and if not working drop

So I've been having this issue for a while and the internet has been mixed for a response. Sadly most configurations for setting up a VPN seem to assume you are running both a vpn client and server ...
1
vote
0answers
631 views

receiving error message while trying to register for subscription for rhel6

I am trying to subscribe to redhat from the terminal. I have registered an account at https://access.redhat.com/labs/registrationassistant/ . So I am using those credentials to register my ...
1
vote
0answers
135 views

Easy way to compare BIOS information between two machines?

I have two machines - machineA and machineB running Ubuntu 12.04 Is there any easy way I can compare BIOS settings between those two machine and see the difference instead of doing it manually using ...
1
vote
0answers
59 views

Why my limit on CPU does not validate via cgroups

/etc/cgconfig.conf ... group memlimit { memory { memory.limit_in_bytes = 8589934592; } } group cpulimit { cpu { cpu.shares = 1024; } } /etc/cgrules.conf: @...
1
vote
0answers
198 views

mysql service exiting without error

I have installed mysql-community-server on openSUSE and am having trouble starting it as a service. I can start it using sudo mysqld --user=mysql without a problem and access the database normally. ...
1
vote
0answers
290 views

How to know file name of sockets or pipes in /proc/[pid]/fd

In Android, #ls -l 15843/fd gives following output, lrwx------ u0_a179 u0_a179 2015-05-28 11:58 90 -> socket:[193728] lrwx------ u0_a179 u0_a179 2015-05-28 11:58 91 -> ...
1
vote
0answers
778 views

“avahi-daemon[1540]: server.c: Packet too short or invalid while reading response record. (Maybe a UTF-8 problem?)”

We are developing an application in Java for our internal project. Apache-Tomcat-7.0.57 is running on a Linux machine (Red Hat 4.4.6-4). But it throws an error avahi-daemon[1540]: server.c: Packet ...
1
vote
0answers
342 views

Unable to mount a partition on an SSD over USB

I'm trying to mount a 120GB SSD connected externally via USB to the new server. The SSD is full of data and I can't format it. mount /dev/sdd1 /mnt/sdd1 mount: wrong fs type, bad option, bad ...
1
vote
0answers
95 views

How to get miniature (live thumbnail preview) of open windows on Linux?

Gnome-shell does it in the 'activities' screen, unity/compiz has it in 'Spread','Shift','ALT-Tab'. How do I get those live window previews in C++?
1
vote
0answers
41 views

What can cause GRUB2 to suddenly not be recognized by EFI?

I have two hard drives in my PC. The first one contains an ext4 partition with Debian, a swap partition and the EFI partition for Debian. The second hard drive contains Win8 and it's EFI partition. ...
1
vote
0answers
260 views

Syslog flooded with “pci 0000:00:14.4: PCI bridge to [bus 04” messages, what's going on here?

I operate an HP Microserver N54L for offsite backups operated by Ubuntu 14.04 LTS (running Linux 3.16), which I recently equipped with an HP MicroServer Remote Access Card 615095-B21. Since plugging ...
1
vote
0answers
60 views

Change Partion Drive Space

Okay I am having some trouble here - pretty new to the Linux environment and need some help. I have a 2.7 TB RAID array, and someone configured a partition at around 200 GB but it really needs to be ...
1
vote
0answers
40 views

Remove orphaned rados block device

I'm testing ceph at the moment. Today I decided to start over with my cluster and deleted the old one to setup a new one. I forgot to unmap and delete a mapped rbd device from another host. Now I see ...
1
vote
0answers
35 views

Configure the network interface to send frames with 802.3 format on freebsd

Is it possible to configure my Freebsd (or Linux) so that all frames are sent in the 802.3 frame format (with the LLC part of 802.2) rather than Ethernet 2 frame format ? Thank you
1
vote
0answers
49 views

Caldera Debian Keyboard Output Chinese Characters

So, I'm an involuntary IT guy at my current position, and we have come across an issue with Caldera's flavor of Debian Linux. For some reason, with no real prompting, our keyboard starting typing ...
1
vote
0answers
63 views

Windows file shares dissapear erratically in Linux file browser

My network consists of a router which acts as a dhcp server. Connected to one of its ethernet ports is a unmanaged switch which in turn has all my machines connected to it via ethernet. On this ...
1
vote
0answers
38 views

equivalent of iptables rule in ip6tables

I m newbie in the iptables. I have the following iptables rules in the source code of a project iptables -t mangle -I PREROUTING ! -i br0 -p TCP --dport 45 -j MARK --set-mark 0x1000 iptables -t nat -...
1
vote
0answers
36 views

Is it secure to mount with defaults my /chroot partition?

I run debian with GRSECURITY patched kernel. Apache is chrooted with mod_chroot under /chroot For now I have mounted /chroot partition with defaults,nodev. However, Apache need to access /dev/...
1
vote
0answers
36 views

Is the perfmon2 tool obsolete due to the same functionality being included in the current Linux kernel?

I was having some issues with the PAPI tool and multiplex and this answer by the PAPI creator led me to check out perfmon2: http://lists.eecs.utk.edu/pipermail/ptools-perfapi/2008-April/000900.html ...
1
vote
0answers
110 views

Backup using rsnapshot not working

I have a server web based Linux and i want to make backup every hour using rsnapshot. this is my rsnapshot file configuration : config_version 1.2 snapshot_root /var/Majjane-Save/ cmd_cp /...
1
vote
0answers
61 views

Allowing sudo kill for remote user for recovery purpose. Security implications?

I'm planning to create user allowed to SSH in and with right to sudo kill in case something disables local terminal/keyboard/display etc. Would probably add ps and/or htop to the list, as well. I ...
1
vote
0answers
437 views

What is the difference between Local timer interrupts and the timer?

When I do cat /proc/interrupts on my multicore x86_64 desktop PC (kernel 3.16) I see this: 0: 16 0 IO-APIC-edge timer LOC: 529283 401319 Local timer interrupts ...
1
vote
0answers
253 views

How to get the mouse/keyboard raw events?

I want to intercept the raw events from the keyboard (or the mouse, eventually). I tried to use the /dev/input/[...] files, they are very practical and I can read the events of any key even caps lock ...
1
vote
0answers
204 views

How to corrupt rpmdb?

Yes, You read it right i actually want to corrupt RPMDB for testing purpose. I tried Googling it but all i got was to, how to rebuild it. So at last i tried rpm --rebuilddb and killed the process ...
1
vote
0answers
166 views

RHEL6 Idle Thread Behavior

I am doing some cpu performance profiling with the perf tool on a RHEL6 box running weblogic12g. It looks like the idle threads are presented as native_safe_halt in the stack profile but ...
1
vote
0answers
124 views

Notetaking app that can sync between Android and Linux on wireless and NOT using any online services?

I don't mind if it needs some hacking. I am using, on Linux, elementary OS's Footnote, which I like very much. If I could use it's database file somehow in Android, that would be great. Is there a ...
1
vote
0answers
2k views

Debian 8 Jessie and NVIDIA drivers

I am in the process of installing Debian 8.0 on a laptop with NVIDIA graphics cards. After a successful installation and reboot I use this guide to install the proprietary NVIDIA drivers; essentially ...
1
vote
0answers
817 views

“Error uncleared PCH FIFO underrun on transcoder A” during boot centos 7 on toshiba

I have toshiba Satelite model (C50 1001C model number) laptop. When I start it is giving 1.643361 [drm:cpt_serr_int_handler] *ERROR* uncleared PCH FIFO underrun on transcoder A 1.643363 [drm ...
1
vote
0answers
155 views

GNOME 3: bottom panel window order

I have centos 7.1. At bottom panel opened windows (running applications) are represented (ex: openoffice, thunrderbird, terminal). Question one - How can I change the order of these opened windows (ex:...
1
vote
0answers
223 views

NFS stale mountpoint error

How to check nfs stale mount error on linux , Do I need to cd to the mountpoint and do ls to check output as ?--------- ? ? ? ? ? Is there any file where it gets ...
1
vote
0answers
19 views

What would be the *right* way to use netctl on a read-only root filesystem

I am attempting to use a read-only root filesystem, but am having issues with netctl, since it creates and manages systemd service files as a part of its normal operation. I have a separate partition ...
1
vote
0answers
52 views

make_tape_recovery: is possible to do the same on linux?

On hpux,i use a fantastic tool from ignite-ux make_tape_recovery -x inc_entire=vg00 -A -v -m pax -E With this i make and image on tape,and even if VG00 is corrupted and or unavaliable,or something ...
1
vote
0answers
417 views

Map a Linux VM's block device to its vmdk file on the vmware datastore

For development and staging purposes, I must frequently create clones of individual virtual harddisks (vmdk container) and move/deploy them into some other system. While I have been able to hack a ...
1
vote
0answers
48 views

Diagonal touchpad movement results in wobbly line

I'm using a ThinkPad L440 with a Synaptics touchpad. A while ago (~1-2 months) the touchpad started acting strange when trying to move the mouse pointer diagonally. The picture shows the first line ...
1
vote
0answers
504 views

USB bar code scanner not working on Raspbian

My USB bar code scanner (SYMBOL LS2208) is recognized as a HID. hid-generic 0003:05E0:0600.000F: hiddev0,hidraw0: USB HID v1.10 Device [\xffffffef\xffffffbe\xffffffa9\xffffffbe\xffffffa9Symbol ...
1
vote
0answers
709 views

Issues while eMMC partitioned using sfdisk

I am writing firmware(MLO,u-boot.img, uImage(ver 3.12), dtb, rootfs.tar.gz) programming script for am335x based custom board. Rootfile system is to be put onto the eMMC. Firmware programming script ...
1
vote
0answers
141 views

Switch gateways on failure (WRT)

I have two WRT routers each connected to their own wireless gateway (cell phone and hotspot across the street). The routers lans are bridged with WDS and on the same subnet, so clients can connect to ...
1
vote
0answers
84 views

Can I create a buffer file with arecord?

I need to record some sounds from my audiocard to make a stream(Nothing special in this just trying new things), but I can't make the arecord play direct on it, so can I create a buffer file where the ...
1
vote
0answers
119 views

Setting custom baud rate on console

Just for aesthetics I would like to have my text on my console be displayed at a lower speed. I've tried using things like screen with custom baud rates of /dev/tty1 but it wouldn't work, input from ...
1
vote
0answers
150 views

Can't see boot options or log with GRUB through serial-over-lan

I have a Debian system that is unable to boot a configuration I want. I don't have physical access to it, but I have serial-over-LAN access via Dell's BMC (so very limited), IPMI 1.5/isol. When I boot ...
1
vote
0answers
178 views

Change screen resolution without monitor under Linux?

I got a GUI program which will be executed along the OS (CentOS 6.6) boots. The resolution configuration is programmed in the init part of the GUI program, my solution right now is get the resolution ...
1
vote
0answers
125 views

Linux - iptables - get YouTube streaming bytes usage

How do I get bytes usage using iptables for a particular IP, including YouTube streaming videos? Currently, I am using the following IP tables rules to get data usage by IP address: sudo iptables -I ...
1
vote
0answers
90 views

How to diagnose display issues in linux?

I have recently upgraded my system to Debian Jessie (testing) and everything went smoothly, except the occasional distortion when the screen is updating. When a part of the screen needs to update, ...
1
vote
0answers
155 views

ext4 formatted sd card with rootfs.squashfs

I have an embedded system with an sd card that has an ext4 filesystem on it. I have a rootfs.squasfs that is placed in the ext4 filesystem and I am trying to boot to it. I built an initramfs where I ...
1
vote
0answers
91 views

redirect all wifi user to specific page in debian

How can I forward all incoming traffic (http request on port 80 & 443) to a fixed IP address? I am using raspberry Pi B+ model, tp-link WiFi adapter. I have tried, among others, these two commands:...
1
vote
0answers
491 views

Linux Mint 17.1 shutdown option doesn't work

Sometimes when I use the shutdown option in cinnamon the system closes some of the running programs and then just sits on the desktop until I tell it to shutdown again. The shutdown and poweroff ...
1
vote
0answers
210 views

error: cant't find command linux when booting system

I need some help with a problem when booting. Recently I've installed CentOS 7 on my pc, previously I had debian 7 and manjaro installed. When I installed manjaro I overwrote the bootloader of debian ...
1
vote
0answers
150 views

Absolute path in rsync dry-run statistics

I have executed following command in order to get the list of files that would be transferred to remote server if rsync is executed: rsync -avzm --stats --safe-links --ignore-existing --dry-run --...
1
vote
0answers
17 views

What does ipq_ctl do?

I'm in the process of writing some rust bindings to libipq, and I came across an undocumented function in libipq.h: int ipq_ctl(const struct ipq_handle *h, int request, ...);. However, this doesn't ...