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

2
votes
2answers
1k views

Debian won't boot: udevd fails to load device sda and sdb

I can't boot my Debian system, I got this error during boot up: Driver 'pcspkr' is already registered, aborting. I have solved this by adding blacklist snd-pscp to /etc/modprobe.d/blacklist.conf ...
1
vote
0answers
29 views

External Fragmentation in FreeBSD due to unmovable Kernel pages

Is external fragmentation an issue in FreeBSD due to unmovable Kernel pages similar to what Linux (1) (2) faces?
0
votes
0answers
15 views

Linux cluster file system issues [closed]

Redhat linux cluster GFS 2 mount is of size 1 TB but winscp is showing size of the directory as 101 TB. what could be the reason? RHEL 6.6, 4 node cluster
1
vote
2answers
28 views

Getting the original command invocation from /proc/self

I'm trying to run some startup code in all procesess via the dynamic linker. The code should do stuff based on the zeroth argument of the process. I'm getting the arguments from /proc/self/cmdline ...
4
votes
1answer
66 views

Why can't I execute Android x86 executables on Linux

I am trying to port Android apps to Linux (don't laugh :) and I have come across a problem. When trying to execute an Android executable (app_process) after adding the executable permission with ...
0
votes
1answer
2k views

Mint 15 on Lenovo G700: wired internet not working (Atheros QCA8172)

Mint 15 doesn't see internet after installing it in dualboot with windows 8 (in Windows internet works well). My network card is Qualcomm Atheros QCA8172 Fast Ethernet (rev 10). What I did: Install ...
0
votes
1answer
362 views

Porting Binder IPC to Linux

Android provides a device driver based IPC mechanism called Binder. I see it as one of the staging drivers in Linux. Although I can have a linux kernel running with this device driver, if I want to ...
0
votes
1answer
36 views

Build Linux for a Raspberry Pi without /opt/vc?

Now that the vc4 DRM/GBM driver has been making progress, is it possible to build Linux (not just the kernel but the entire operating system eg. Linux From Scratch) without libraries and programs from ...
1
vote
1answer
24 views

How to obtain counters for swap-in/swap-out on Linux?

I'm trying to obtain counters for swap-in/swap-out activity on CentOS 6. The intention is to feed raw data into RRDtool to generate graphs, and use it to generate alerts. I've had a look at common ...
4
votes
2answers
2k views

change tty login timeout - ArchLinux

By default when I login to my Arch linux box in a tty, there is a timeout after I type my username but before I type my password. So it goes like this Login: mylogin <enter> Password: (+ 60 ...
1
vote
1answer
7k 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
1answer
27 views

Can I install Kali linux with out Ethernet card

I want to install Kali linux on my Laptop, but I don't have a Ethernet card. It is possible to install Kali with out Ethernet or with wifi interface ??
1
vote
2answers
5k views

Kali Linux wifi issue

I've just installed a linux Distro (Kali) and this is the only place I know to come for help with it. I installed Kali on my Compaq laptop, as it's the only laptop I have and won't use my windows ...
1
vote
0answers
31 views

Different mount output with and without initramfs

I need to create an initramfs to load a driver to access EMMC which contains the root filesystem. In my current kernel build, the EMMC driver is modular (sorry, can't change this). After the ...
2
votes
1answer
912 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
0
votes
0answers
11 views

Performance problem Fedora 23 32-bit @ Dell D630 4GB/Nvidia

I have installed Fedora 23 32-bit at Dell D630 4GB with NVidia Quattro NVS 135M (nvidia.ko, not nouveau.ko). And I have permanent performance problem as X-Windows (Gnome) are very slow and laggy. I ...
1
vote
2answers
28 views

Search tool with file content indices

Are there any file search tools like gnome-search-tool (gui where I can select several options, like age of file, file-size, owner, etc) that uses DB indices for not only the file name but the file ...
0
votes
0answers
23 views

Ubuntu 16 stop lightdm and start xinit/xterm

I am working with Ubuntu 16. I have been able to stop the desktop environment using: sudo service lightdm stop Now I would like to start, from another terminal in a console environment, the X ...
3
votes
1answer
4k 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 ...
2
votes
0answers
13 views

WiFi card disappears after reboot, but not after cold boot

I have an Arch-based server (Zotac Nano, AMD Kabini-based) which doubles as WiFi access point using a miniPCI Atheros WiFi card. If I start it form cold boot (as in “it was off”), then everything ...
0
votes
0answers
10 views

Puppet Agent certificate issue

When iam trying to connect to master server from client this is what iam getting:- puppet agent -t Error: Could not request certificate: Error 400 on SERVER: The environment must be purely ...
3
votes
1answer
60 views

What is the overhead of using subshells?

Hopefully this question is not too generic. I am very new to shell scripting and I come from a computer architecture/non-scripting programming background. I have noticed on the scripts at my work that ...
-2
votes
2answers
47 views

find all jpg images from specific directory and copy it to other directory

How do I copy all the jpg images [files whose names end with .jpg] that exist in the directory /usr/share/backgrounds into to the jpg directory in /week/pictures/final/jpg then redirect any error ...
-4
votes
0answers
33 views

Do you really need antivirus software for Linux desktops? [closed]

Recently i got free antivirus for Linux from Comodo. But right now i don't install my desktop & laptop. Really antivirus software required for Linux desktops / Laptop.
-1
votes
0answers
20 views

Using specific driver version for the device jointly defaul driver [duplicate]

I have dongle USB-RS85 like this, based on CH340G. There is linux kernel driver ch341 that support this device (and create device /dev/ttyUSB0). But this driver does not support parity modes ...
-1
votes
0answers
20 views

I like to create a command line database search tool.. [closed]

My aim is to create search tool in command line. I have a number of KB articles and default fixes for some issue maintained in my kjots. I want to create a command line search tool.. That will search ...
0
votes
1answer
18 views

How to use guillemets with us altgr-intl layout?

I've set up my keymap as US international with the following command: $ localectl set-x11-keymap us apple_laptop altgr-intl which I think is equivalent to the following setxkbmap command: $ ...
7
votes
3answers
2k views

Git based package manager/installer for Linux

Is there any linux distro that has a git based package manager/installer. I want something similar to FreeBSD Ports (which is CVS based, I think) or Mac OS X Homebrew (git based).
12
votes
3answers
42k views

iptables: allow certain ips and block all other connection

How do I allow certain ips and block all other connection in iptables?
0
votes
0answers
12 views

How to automatically generate the device file in linux [closed]

i have written an PCI Driver and inside probe function of it i have block register using register_blkdev(major, "expt"); But i cannot see any device file it has created in /dev directory. The vendor ...
1
vote
0answers
18 views

How to rename boot options with dual boot

I have Ubuntu and Windows 10 installed side-by-side, and the BIOS tool that's installed on the computer is called "Aptio Setup Utility". How can I rename the boot options, not just for the OS I'm ...
1
vote
1answer
184 views

What are the “cpu” and “memory” options on the mount command?

I found some mount commands in a shell script: mount -t cgroup -o memory none /path/XXX mount -t cgroup -o cpu none /path/XXX The question is what does the cpu/memory option mean? I search the ...
0
votes
1answer
1k views

PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mysql.so'

I am running PHP 5.6 on Linux. When I try to load a PHP page, I'm getting the following PHP error. PHP Startup: Unable to load dynamic library /usr/lib64/php/modules/php_mysql.so' When I look ...
1
vote
0answers
25 views

How to have systemd-resolved correctly come alive after hot plug?

Setup I am playing with a small embedded board running Debian Jessie. I am using as much systemd stuff as I can, including the networking stuff. I have added the file: ...
0
votes
0answers
21 views

Install PostgreSQL 9.5 CentOS 7

I'm trying to install PostgreSQL 9.5 on CentOS 7. I've searched online and to get access to the 9.5 RPMs it requires installation of pgdg95 via the following command: sudo rpm -ivh ...
2
votes
1answer
773 views

How to audit access to any file or folder within a given path for specific user

I've been reading some information about configuration of auditd and I just can't figure this out, what I know how to do Log specific system calls by a user Log access to a specific file by all ...
1
vote
1answer
19 views

Nostalgia: Linux 2.0.x and PCI sound

Nostalgic as I am, I've put together some old hardware and installed a S.u.S.E Linux 4.3 from 1996 with kernel 2.0.18 from the original CDs. It runs great including network and decent graphics. Just ...
0
votes
1answer
12 views

Cache not filling error when using mplayer to read from stdin

I have a program that's generating audio and I can't get mplayer to play it. I'm doing ./myprogram | mplayer - -cache 1024 -cache-min 30 -noconsolecontrols And I get the message Cache fill: X% (Y ...
2
votes
0answers
47 views

Sort mount points by mount time

With no command line arguments mount displays all mounted file systems, e.g.: /dev/sdy8 on /bar type ext4 (rw,relatime,lazytime,data=ordered) /dev/sdx6 on /baz type ext4 ...
1
vote
1answer
19 views

mkswap complains that partition is misalilgned (LVM on RAID-0)

I have a RAID-0 setup on two identical hard disks (same brand and model). The partition table is identical on both (I have cloned it). However, /dev/md0 occupies only part of the disks, because I had ...
0
votes
0answers
30 views

Make debian use dual network ports for a gaming server

I have a server that has 2 LAN ports (or internet ports or whatever you call them) and i was wondering if its possible to make Debian Linux to use both ports? I will need maybe a link or somthing. I ...
1
vote
1answer
758 views

Is there any way to get Intel i915 graphics without ACPI?

I've got an old tablet PC that panics on boot with ACPI GPE storms. It boots just fine with acpi=off in the kernel arguments, however I've never been able to get the Intel i915 accelerated graphics ...
2
votes
1answer
9k views

minicom showing offline

I am trying to use minicom in Ubuntu. To do this I first connect my USB to DB9 converter, then I type this command on terminal dmesg | grep tty to check if my USB to DB9 converter is connected ...
-1
votes
3answers
26 views

Get compilate date [duplicate]

I am trying to extract the compilation date from a linux command (or cpp would be fine too). I am using: stat -c %z ./myProgram.bin However, if I copy myProgram.bin to an another place via ssh for ...
0
votes
1answer
33 views

Full system backup with dd include symlinks

I'm really new in unix and Linux and just tried to learn something. My question is how can I make full system image/backup with dd include symlinks? Is dd good or I should use another approach? Can ...
0
votes
0answers
32 views

FreeBSD or simply Docker for my old Linux server?

I have an old obsolete server running a Linux Red Hat server 5.9 and inside a special software for a power plant control and I've been asked to replace this server as not so much spare parts are in ...
0
votes
1answer
19 views

rc.local can't launch my program (raspbian linux)

I have a c++ program that is running perfectly fine if I run it by executing, sudo /Morreels/./launcher Sadly the same line (without sudo) won't work in the rc.local file on startup... When trying ...
3
votes
1answer
27 views

What are semi-files?

I'm reading a paper about Android/Linux. It contains a line I'm not able to understand. I tried searching about "semi-files" but nothing relative came up. Can someone please rephrase it or explain it ...
0
votes
0answers
14 views

Keep all jars in a folder running on jvm's as services [migrated]

On a remote server I'm having a folder which contains serveral jars. Each of it will represent an application, which will open up a port, on which a web-application is served. It might look like ...
1
vote
1answer
40 views

Strange lines in /var/log/message folder of Centos machine

Below are lines from my /var/log/messages. Can someone help me to understand what these lines mean? I am running a syslog server on this machine. I want to know if these messages would stop the ...