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

Annoying Issues With Window Manager (dwm)

So at work one of the allowed WMs is dwm 6.0, which is great! I've been using it as an alternative to KDE to keep on top of the many windows that can be generated in my line of work. I'm noticing ...
1
vote
0answers
57 views

perf_events over ssh (osx -> linux) freezing and unresponsive

I'm using linux perf_events and sometimes am having trouble with the perf report (which is a terminal application) view freezing up. I'm interacting with a remote linux server which is running perf ...
0
votes
0answers
14 views

Any pc with arch or standard linux(umodified) preinstalled?

I want a pc with one of those for linux without the hassles of installing other systems. Im okay if its not the most powerful.
1
vote
1answer
17 views

How to put initramfs and kernel on two separate partition?

I'd like to put the initramfs on a USB device will keeping the linux kernel on the SSD, so I get the fast boot while protecting my encryption settings on the USB device. Any idea how to do that ?
0
votes
0answers
4 views

How to configure pure IPv6 hotspot on Debian Linux?

Due to testing purpose I would like to create a pure IPv6 wifi hotspot on my Debian Linux 64 machine. Therefore I do (see screenshot): Open the Network tool Click "Als Hotspot verwenden ..." ("...
0
votes
0answers
2 views

How do I route Internet from wlan0 to local network on wlan1 and eth0 in Linux?

I want to connect eth0 and wlan1 as one local network plus route the Internet from wlan0 to the local network. Linux (Debian, Raspbian, Linux Mint) easily bridges Ethernet to Ethernet but I run into ...
0
votes
0answers
3 views

Connect as client to Ipsec with OpenSuse Linux

A former co-worker established an set of AWS instances. One of these is an IPSec VSetup a IPSec/L2TP VPN server. I can SSH into this server and I have a username and password setup on this opensuse ...
0
votes
0answers
18 views

Can I reclaim “unrecoverable partition” on storage device (RAID set) - no data recovery required

I would like to know if I can reclaim all of my storage. I do not need to recover data, I am free to be as invasive as I need to be. Situation: two controllers, each with eight disks, two RAID sets (...
-2
votes
2answers
40 views

has a file changed of value [on hold]

im trying to use pyinotify to detect if a file has changed. managed to do it this way def status(argument): global email_alarm_status global new_email_alarm if not email_alarm_status: ...
2
votes
1answer
13 views

Connect as client to Ipsec with OpenSuse Linux

A former co-worker established a set of AWS instances. One of these is an IPSec VSetup a IPSec/L2TP VPN server. I can SSH into this ec2 instance, and on this machine. I do have a username and ...
0
votes
1answer
22 views

Linux USART Serial Port

I'm trying to set up a USART serial port on a custom board with a SAMA5D36 processor, but I am unable to read in data from a connected device. When I run setserial -g /dev/ttyS1 I get the following ...
4
votes
2answers
1k views

Run script every 30 min with systemd

I would like to execute a script every 30 min after booting into the system. I know you can use cron, but I don't plan to use this feature often therefore I'd like to try it with systemd. So far I ...
1
vote
0answers
21 views

AppArmor is causing Firefox segfaults

I realise this is probably a bad question but I'm stuck. After a lot of googling I'm struggling to fix the problem. I've been trying to get AppArmor to work on Debian. I've been following the ...
6
votes
3answers
233 views
+50

How to Allocate More Space to Swap and Increase its Size Greater than Ram?

Situation: increase swap size (/dev/sda3) greater than Ram (8 GB) when HD 128 GB Motivation: 8 GB RAM is too little; 30 GB free space in my SSD; I want to turn 20 GB to SSD swap Characteristics of ...
0
votes
2answers
11k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
1
vote
2answers
47 views

Script to remove files based on threshold value [duplicate]

I have some old file in my Linux server and I need to remove those files which are older than 5 days based on the threshold value. log_space_checker() { Use=$(df -kh /logs | awk 'END{gsub("%",...
0
votes
1answer
12 views

Why is fdisk not returning anything inside LXD container

I am little confused , i have a lxc container and if i do lsusb inside the conatiner i get the following output root@blunt01:/dev/bus/usb/002# lsusb Bus 002 Device 004: ID 0424:2512 Standard ...
5
votes
1answer
2k 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 ...
1
vote
1answer
22 views

perl + uniq characters before variable

Please advise What is the meaning of the characters "%%" before the variable EOF ? $LINE =`tail -1 $FILE `; chomp($LINE); if ($LINE eq "%%EOF") { . . .
0
votes
0answers
24 views

Turn off camera driver in Android programmatically?

How can I turn off camera driver in Android programmatically? According to this website, and the image below, there's a camera driver inside the linux kernel. Is there a way to disable it temporarily?...
3
votes
3answers
55 views

`sed` regexp error

I'm trying to write an alias to get the ip of a docker container. The command is the following: docker inspect redis | grep IPAddress | awk 'NR==3{ print $2 }' | sed 's/[^"]*"\([^"]*\)".*/\1/' If I ...
1
vote
0answers
644 views

Creating ISO Bootable Image from a CentOS (Linux) system

I have a Linux machine (CentOS 5.8) on which I have installed multiple applications and tools (with yum and few others after compiling the source code) on it. As I have spent considerable time in ...
1
vote
4answers
2k views

Installed Linux, now Windows doesn't boot anymore

I had a working Windows 8.1 which I used regularly. Today I needed Linux, so I chose Ubuntu and installed it from a bootable flash drive alongside Windows. Everything worked well, I could choose which ...
0
votes
0answers
14 views

How to set my own ipaddress for centos 7 via virtual machine [on hold]

Guys i am new to linux i have installed centos 7 via virtual machine in my laptop. But laptop changes one place to another for working. can set my own ipaddress for not change from place to place. I ...
3
votes
1answer
4k views

Why does startx give a black screen, with no errors?

I recently wanted to solve a problem with using a second monitor from my laptop that is running debian (jessie) but because I lack knowledge things didn't go as planned. Now I am getting booted into ...
3
votes
1answer
1k 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 ...
0
votes
1answer
38 views

why linux reuse 'time_wait' port?

As I know, tcp port in 'time_wait' stat cann't be used. However, in my experiment, server reuses the 'time_wait' port? Why? Firstly, in client machine, type command ehco 40000 40001 > /proc/sys/...
0
votes
0answers
13 views

USB 3.0 camera recognized under the live boot (try Ubuntu) but not from HDD

Note: I asked the same question on Ask ubuntu USB 3.0 camera recognized under the live boot (try Ubuntu) but not from HDD if any one think that it should be only in one site please let me know. I ...
3
votes
4answers
72 views

How can I make atomic incremental backups of a running linux system using freeware?

I'm looking for an incremental backup tool to use on a running, disk based linux system, such as ubuntu or the like, and a tool which is freeware. Clonezilla can do accurate backups but only when ...
1
vote
1answer
16 views

Failing to create /dev entry from sysfs, No such device or address

I've got some sort of home entertainment system running an old version of Linux 2.6. It has a SATA > USB bridge system and a couple of USB ports. What I want to do is use it as Network Attached ...
1
vote
1answer
18 views

Keep a live clone of a machine into another

I am trying to find the easiest and most elegant solution to keep two desktops running that are clones of each other. I have a machine running cobbler. Every once in a while a few delicate changes are ...
0
votes
0answers
28 views

Exactly what aplications and tools are not installed in a GNU/Linux base-system installation [on hold]

They are a lot type of installations like netinstall, the distro with a DE or without one. My question is what are the excluded or ingnored packages and aplications in a base-system installation. E.g. ...
11
votes
1answer
1k views

Why are there two different values for the size of a drive and how to reconcile them with device-mapper and LVM?

I have a 1 TB drive attached via USB. It contains an LVM physical volume filling the entire device (without any partition table). When I tried to extend a logical volume by using the entire PV, the ...
2
votes
2answers
28 views

Systemd - how service can determine first run from restart run?

I would like to have a service which diffrent behave on first run and on restart of service. Is this possbile with systemd? (I use systemd in my embedded os). I tried with ExecReload and ExecStart, ...
10
votes
1answer
71k views

read only root filesystem

Somehow my Debian went to read only in root file system. I have no idea how this could have happened. For example when I am in /root folder and type command nano and after that press Tab to list ...
113
votes
4answers
63k views

What do the flags in /proc/cpuinfo mean?

How can I tell whether my processor has a particular feature? (64-bit instruction set, hardware-assisted virtualization, cryptographic accelerators, etc.) I know that the file /proc/cpuinfo contains ...
0
votes
0answers
16 views

“yum repolist ” showing “repo A” but it is not configured in /etc/yum.repos.d, also not in /etc/yum.conf and /etc/yum/plugin.conf

Folks, Help me out on this, "yum repolist " showing "repo A" but it is not configured in /etc/yum.repos.d, also not in /etc/yum.conf and /etc/yum/plugin.conf. problem is repo A is showing 0 ...
3
votes
2answers
517 views

Current umask of a process with <pid>

Is it possible to get current umask of a process? From /proc/<pid>/... for example?
1
vote
1answer
29 views

Linux core file not created

I want to investigate why my machine suddenly rebooted but I am not finding the core file. My machine has RH 7 and kdump installed: rpm -qa | grep kexec-tools kexec-tools-2.0.7-19.el7_1.2.x86_64 ...
6
votes
2answers
4k views

Which Gentoo should I download?

I am looking for the most compatibility in a Gentoo download. When I go to the download page, I am greeted by this: install-x86-minimal-20120306.iso 07-Mar-2012 08:50 135M ...
1
vote
0answers
1k views

Install Linux Mint 14 from CLI

I'm trying to install Linux Mint 14 from a live cd on a HP Pavilion laptop. I got some problem with X and the nvidia card, which prevents X from starting (and therefore prevents the live installer ...
14
votes
5answers
25k views

How to find power draw in watts? [duplicate]

I've been asked to estimate the power consumption of the servers I run for my laboratory. I thought and I'd ask if there was some handy linux commandline to get the power consumption of the server. It ...
-3
votes
0answers
27 views

Good Software center for linux? [on hold]

I need a good software center for linux that a I can install/update/remove apps from it I have used ubuntu software center and deepin.. this one https://www.sendspace.com/file/f1ihki is good also but ...
2
votes
1answer
57 views

linux + yum + how to print the yum variables by yum command

I just Wondering if we can print the yum parameters without to view the yum configuration files ( by more or cat or vi ... etc) for example I configured the variable , in /etc/yum.conf ...
0
votes
1answer
42 views

linux + dose each security kernel rpm will install the relevant initrd and vmlinuz files under /boot

I just print the kernel rpms that need to install on my redhat machine (version 6.5) # yum list-security --security | grep kernel-[0-9] RHSA-2014:1143 security kernel-2.6.18-371.12.1.el5.x86_64 ...
0
votes
0answers
34 views

Linux fails at creating a backup tar file

So I want to make a backup of git. I am using this script to do this (here:https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/raketasks/backup_restore.md). But creating the tar file always fails ...
2
votes
2answers
45 views

Find kernel name for a partition when only the label is known

Condition: find reliably device name where disk label (MasiWeek) and disk size (2 TB) are known Motivation: trying to determine what Ubuntu's GUI button mount does Characteristics of the system Disk ...
1
vote
0answers
13 views

removing spare from array using hpacucli

Whilst configuring a new array I have somehow accidentally added the same disk to 2 arrays: => ctrl all show config Smart Array P400 in Slot 1 (sn: PAFGK0P9SX036K) array A (SAS,...
4
votes
0answers
105 views

Simulate a network cable unplugged without losing all routes

I want to simulate unplugging a cable from a Linux instance. My initial response was ip link set eth0 down. However, this command has impact on higher-level networking functions, e.g. routes (...
0
votes
0answers
10 views

Pam_tally2 onerr value

I Have gone through Pam_tally2 but didn't find enough on Google that what exactly onerr value of Pam_tally2 does? Description is in man page as below onerr=[fail|succeed] If something weird ...