Linux refers to the family of Unix-like computer operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

0
votes
0answers
4 views

IP address appears instead of hostname on LAN to network router

In the CentOS 6 servers the hostname command displays the name, but in the "PC NAME" field in the Actiontech router it displays the IP address. How can I make sure the CentOS servers are communicating ...
1
vote
0answers
12 views

Bash Script for Opening Two Terminals and Executing Three Consecutive Commands

I intend to open two terminals and execute three consecutive commands in bash script. Basically, the first terminal will execute the first command, second terminal will execute second command, and ...
0
votes
0answers
3 views

pacemaker: Restart clone resource when a regular resource moves

I have a resource A that needs to run on both cluster nodes, so it's set up as a clone set. I also have a resource B that should only run on one node. It's set up as a master/slave set. But A runs ...
0
votes
0answers
10 views

shell script finish but doesn't exit

I have 2 shell script a.sh and b.sh which is running under ksh. a.sh does the following action #!/bin/ksh some action check condition and send email if fail or success call b.sh b.sh does the ...
1
vote
1answer
13 views

How to save two IPS in single network card

I am using centos 6.6 and going to configure single network card with two IP address. My configuration look like this /etc/sysconfig/network-scripts ifcfg-eth0 DEVICE="eth0" BOOTPROTO="dhcp" ...
0
votes
0answers
6 views

Linux Redhat account claims locked even after unlocking

The local linux account won't allow the user to login even after unlocking it. The following command provides the following output: [userBar@host]$ sudo usermod -U userFoo [sudo] password for ...
1
vote
0answers
15 views

Bypassing router's DNS settings not working

From researching around the web, I found out how you are able to bypass the DNS settings that are configured on the router by naming the DNS servers you want to use on your PC. Supposedly, the PC DNS ...
0
votes
0answers
6 views

Trying to install PFsense on Proxmox…lost

So I've been bashing my head against my desk for the last couple of hours trying to figure out how to properly set the network interfaces for proxmox. I'm looking to do something really simple where ...
0
votes
0answers
8 views

Prevent KDE from swapping

I've realized that my laptop was overheating as a result of lots of I/O, so I searched for the programs who used swap, and I found the following: $ pgrep kwin 13387 $ pgrep plasma-desktop 13424 $ cat ...
0
votes
0answers
6 views

Compiling & installing tar.bz2 files failing again amd again

I got a new usb wifi device with a driver CD which contains four .tar.bz2 files which are: MT760U_LinuxAP...... RT5572_RT5372........ DPA_MT601U...... DPA_RT5572...... When I'm trying to install ...
0
votes
1answer
24 views

Why are Fedora partitions not listed under the extended partition?

I recently installed Fedora 22 on a desktop PC. I wanted to install it on a logical partition. During installation, in the Anaconda installation wizard, I chose to create a 16 GiB logical partition as ...
0
votes
0answers
13 views

How can I limit internet bandwidth for a daemon in linux?

I can successfully throttle a process using trickle. But how can I limit a daemon, that autostarts on boot?
0
votes
0answers
2 views

What is the default login for Red Hat Enterprise 7.1 KVM guest?

I cannot find this in any Red Hat documentation, but before I call for tech support perhaps someone here knows the answer. Having just installed an evaluation image for RH 7.1, I have my guest VM to ...
0
votes
0answers
10 views

What are the -DPOSIX and -DXWINDOWS flags for in Makefiles?

I see -DPOSIX has something to do with POSIX compliancy...which I can kinda get my head around because my program uses a posix library (pthreads) but I can't dig up anything relevant on what ...
0
votes
0answers
7 views

dns forwarding for specific zone not working - bind

In bind we created specific zone and got set a forward options, but it fails to resolve. Details as follow, For mydomain.com dns working fine. but we use developer site called mydomain.com.dev we ...
0
votes
1answer
7 views

Remove version information from maven generated war file

I am trying to automate the deployment of war files that are generated by our build server using maven. I need to be able to extract the project name from the war filename so I can rename the file ...
0
votes
1answer
32 views

Erase hard drive while booted

So there is this machine which I want to erase, but I can't boot a live environment. It is a physical machine, not a virtual machine. I though about stopping all services and remounting / read-only ...
1
vote
1answer
17 views

Is there any limit on number of file name we can pass in tar

I am creating a tar and untar it at other location using: $ tar -C sourcedir -cf - . | tar -C targetdir -xpf - but it fails like thisError I am getting is :Argument list too long - tar, when I am ...
0
votes
0answers
9 views

What is the page replacement policy in KVM?

I found this picture explaining how Disk I/O is done in KVM. A the image is on http://i.stack.imgur.com/ijd8m.png So, does it use shadow page table or makes two copies of the page when a page ...
0
votes
0answers
17 views

Accessing shell variables inside 'sudo' block : export doesn't work

I am writing a script to fix a missing 'F' letter in a mail log file. The mail log file is continuously updating. I am getting a file name, after that I am doing 'sudo su' to get superuser access. ...
3
votes
1answer
25 views

How does systemctl schedule system shutdown?

When I type shutdown -h +30, Linux somehow schedules runlevel's change within 30 minutes. On Debian, /sbin/shutdown is symbolic link to /bin/systemctl. My tests indicate that shutdown does not use ...
0
votes
0answers
9 views

How can I install upwork time tracker in CentOS release 6.6 (Final)

I didn't find good docs about how I can install upwork on Centos6.6 Is it possible ? I didn't find yum-plugin-copr for centos (I have find only documentation for Fedora)
-1
votes
1answer
19 views

Can we install Other Linux softwares in Kali Linux

I am a networking Student and just moved to Kali Linux. For my University work I need some software like ns2/ns3. I know we can install them in Ubuntu. My Question is Can we install ns3 and ns2 in ...
0
votes
2answers
19 views

DNS with OpenVPN on a linux server with routing enabled

I am running a Ubuntu 14.04.1 LTS headless server. Before I enabled routing, my AirPort Extreme was the router. At that point, DNS was not an issue. Ever since I stopped using the AirPort Extreme, and ...
1
vote
2answers
24 views

Controlling output in a Linux shell script

When I run a shell script in bash, I push everything to a file as follows: ./script.sh >results.txt Some of the commands in my script output to the terminal, rather than the text file. For example, ...
1
vote
1answer
55 views

How to find what is pegging CPU in linux kernel

The node of our hadoop cluster is running redhat5.3 2.6.18-194.17.4. (a old kernel version). We found some hosts are under 100% CPU utilization and specially all the CPU cores are on 100% sy% top ...
3
votes
4answers
45 views

fdisk - do i need it or can i make a filesystem directly?

i read about fdisk being able to creation partition / which is to break down a physical disk into several logical partitions. If i intend to utilize the whole disk as a whole, is it still necessary ...
0
votes
0answers
17 views

How to bring a process to background and foreground programatically? [migrated]

I am working on a project which involves creating two processes using fork. And the task was to put the child process in background on demand basis. I handled signal handler (CTRL+Z) in parent. And I ...
0
votes
0answers
29 views

Can not write to serial port on boot

I am writing a script that sends a configuration message over serial port. It is supposed to configure an external device and runs on boot. Main part of the script is the echo command that sends a ...
-2
votes
0answers
27 views

How to develop a software for folder locking in both Windows and Linux? [on hold]

I know for folder locking we can ecrypt a folder using winzip or winrar and it will work for both windows and linux. It is slightly tedious task. I want to make a software which will work for both ...
0
votes
0answers
7 views

How to make use of mschapv2 authentication in freeradius setup?

Can anyone suggest, what are all the configuration changes, i need to do to make use of mschapv2 authentication for password?
1
vote
3answers
58 views

Why is router IP not listed in ifconfig?

I am looking for the address that I type into my browser to get to the router configuration file. It ended up being 192.168.1.1, as usual. But when I enter ifconfig into the command line, this IP ...
0
votes
2answers
33 views

Symbolic link on a USB stick automatically adding extra characters upon opening

I'm trying to create a relative symbolic link to an html file. Both the symbolic link and the file are to be stored on a USB stick (i want it to open on any computer). I successfully created the ...
0
votes
0answers
19 views

Why tcmalloc don't print function name, which provided via dlopen

I have next some project: main.cpp #include <iostream> #include <cstddef> #include <dlfcn.h> int main() { void* handle = dlopen("./shared_libs/libshared.so", RTLD_LAZY); if ...
1
vote
0answers
21 views

PCI passthrough KVM

I am trying to passthrough my Tesla K40m GPU accelerator to a qemu-kvm virtual machine via the VFIO driver on Ubuntu 14.04.2. I downloaded all drivers and CUDA libraries, and I compiled all sample ...
0
votes
0answers
8 views

LenovoT440 Debian f1-f12 keys not functioning LXDE

Hello I am running Debian 8.1 Jessie on a LenovoT440 Thinkpad, everything seems to be working fine except the f1-f12 keys, which serve functions like mute, adjust volume, mic off, dim screen wifi off, ...
2
votes
1answer
19 views

How to debug old init.d script under systemd?

I can't get any output from the script. systemd just prints: sinopia.service: control process exited, code=exited status=203 Failed to start LSB: starts the sinopia web server. I can't even launch ...
0
votes
2answers
17 views

Accessing file in home directory from apache

After searching a lot I am asking my question here. I have an image file in my /home/uploads/images/filename.jpg which I am tryin to access in browser like ...
0
votes
1answer
25 views

In CentOS 6.6 yum update show some dependency error

When I update centos package it (sudo yum update). It shows following error like. Error: Package: 1:control-center-2.28.1-39.el6.x86_64 (@server1) Requires: libgnome-desktop-2.so.11()(64bit) ...
0
votes
0answers
7 views

How to apply a snapshot of root filesystem which is BTRFS?

I have a snapshot of the root filesystem. The following is the output of my btrfs subvolume list / command : ID 257 gen 90 top level 5 path root ID 258 gen 91 top level 5 path home ID 263 gen 44 top ...
0
votes
0answers
17 views

how to make Samba Windows client cache file contents?

I am using a Samba server on a recent Red Hat, and a client from Windows 7 Pro. The oplocks = yes options is turned on by default from the server. I want the Windows client to cache its file ...
0
votes
0answers
13 views

hdparm and wrong serial number for disk drive

On my Ubuntu 12 system when I execute: sudo hdparm -I /dev/sdc | grep Serial I get: Serial Number: W4J04797 But the actual drive serial number is different. Using this command: sudo ...
1
vote
1answer
62 views

How to redirect LAN traffic to a L2TP/IPsec client connection on a gateway?

I established a L2TP/IPsec client connection on the gateway, and I'm trying to redirect my host on LAN to use this connection when accessing the Internet. Here is the network topology. This is my ...
0
votes
1answer
32 views

Making Org-Mode to remember folding?

I am a recent convert to Org-Mode. I like it a lot but I am having an issue with reopening files. When I open a org file, Org-Mode does not remember the folding which sux, because I have to resetup ...
0
votes
0answers
8 views

Dual boot Win8/Linux on Asus Zenbook UX301 keeping intel imsm RAID0

I have Asus Zenbook UX301 with Win8 preinstalled. I would like to have a Linux installed in dual-boot configuration. However, Windows is using the notebook 2 SSDs as intel RAID0 (rom-based RAID, ...
1
vote
2answers
68 views

How to passthrough Wifi DNS and interenet access to DHCP client

I have a laptop that connects to wifi for internet access. This computer is running Linux (Fedora), and it is acting as a DHCP server for another (ubuntu linaro) computer that does not have a wifi ...
1
vote
0answers
24 views

Bluetooth over IP?

It seems to be possible to run USB over IP, e.g. using usbip which is part of some Linux distros e.g. https://www.archlinux.org/packages/?q=usbip Is there something similar for Bluetooth over IP? ...
0
votes
1answer
38 views

What does this bash script?

In theory, this snippet from pentoo-installer finds all partitions on the selected disc, but it doesn't find my sda1 partition, so I would love to understand it and modify so it does. ...
0
votes
1answer
24 views

How to use linux to not get crazy with root privileges

I've got a question for you today my dear Linux friends. I'm a windows user primarily. I use it for my work, watching movies, listening to music, playing games, browsing the net and everything else ...
0
votes
0answers
22 views

Mirror with backup of changed files

we have some largeish storage requirements (genomic data) for which we need to buy some archival space (write once, read rarely, files remain easily accessible, each user should have access to their ...