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

0
votes
0answers
5 views

Setup portable linux distrubution on external HDD

I have a 2TB external HDD. All i want to do is choosing a correct Linux distrubution and installing it on my external HDD. Operating system should be portable i want to use it with different ...
1
vote
1answer
8 views

Where in the kernel /dev/kmsg gets initialized?

I'm trying to figure out at which point in the boot up process /dev/kmsg gets initialized and can thus be written. On my system the first line that occurs in dmesg is printk(KERN_INFO "Initializing ...
0
votes
1answer
17 views

Make PyCrust use Python 3

I make successfully python 3.2.3 by opening it through terminal, I make it by alias python="python3" But when I open the PyCrust IDE, it opens up with Python 2.7.3, not 3.2.3. How can I make ...
1
vote
1answer
23 views

Permission denied when trying to access mounted windows NFS

Full disclosure: I'm a complete noob with NFS and have very little idea what I'm doing. After hours of googling, I ended up here. I am trying to mount an NFS folder that I have set up on a WIN08 ...
0
votes
0answers
6 views

ec2 load balancer instance out of service

I have created LoadBalancer with 2 Ubuntu instances. For some reason I see these 2 instances out-of-service. I allowed all inbound and outbound traffic in these 2 instances as these will be backend ...
0
votes
1answer
23 views

Difference between tty and ttyS and pts and vcsa? [on hold]

I can't understand what is difference among tty, ttyS, pts and vcsa? Are they same? when we connect a serial cable to a server which hosts unix-like operating system, which ones of these type of ...
2
votes
1answer
43 views

Things to check after a untrusted USB device was mounted

Suppose you plugged an untrusted usb-stick into your linux machine (as user) and browsed and copied some files, perhaps using a graphical interface. After the usb-stick is removed (and not available ...
0
votes
0answers
9 views

Download AD user certificates using PBIS

I am using PBIS(likewise-open) tool to join to Active Directory domain from my ubuntu machine. I would like to know if there is some command to download user certificates from AD using PBIS. I came ...
-1
votes
3answers
25 views

How do I set systemwide connection over a proxy server

My Internet access is through a proxy, my OS is Debian 8, each application must configure it to use the proxy, but there are some that are a headache to make it work with a proxy, then my question is: ...
0
votes
1answer
33 views

Owners and groups of everything inside /var are changed mistakenly [duplicate]

I have recursively changed owner and group of /var to root:root. I have mistakenly ran following command while standing in /var. I thought I was in /var/www, sudo chown root:root . R Now many ...
0
votes
0answers
8 views

Is there any way to configure fully automated proxyclient for workstations?

My network diagram is similar to above image; pc-router is also acting as firewall & I'm running squid on it. pc-router is running debian Vlan having workstations running fedora, ubuntu and ...
0
votes
1answer
18 views

Import list of IPs into DEVICE=eth0:X

I have a list of IPs I would like to import into my Linux VPS. They are not an IP range. How would I create a bash script that does this for me? 1.1.1.1 2.2.2.2 If they where my IP lists then it ...
1
vote
2answers
62 views

Bash script with data from another file

I have worked on the following script which I want to use to easily add multiple Postfix as well as a few other things. Below is a small sample postmulti -e init postmulti -I postfix-$new -e create ...
1
vote
1answer
46 views

How to name your program to avoid duplicate executable

I am currently developing a piece of software. I am curious of how to avoid a naming duplicate. There could be the same name used by a different manufacturer. e.g. I want to name my program Peter ...
0
votes
0answers
16 views

Huawei E3372s + Linux (Rasbian), Incoming connections problem

I have a Linux-based OS (Rasbian) running on Raspberry Pi 2+ and it is using Huawei E3372s 4G/LTE USB Stick for internet connection. All my outbound connections work perfectly (Huawei USB mode ...
0
votes
1answer
46 views

Merge the duplicated lines and add “N/A” in the end [on hold]

I have the following lines in a text file. I want to Merge the duplicated lines and add "N/A" in the end of the line to have six columns 302C21;tSMe S123C;1.17 302C21;2;346;SM-1-3/SM-1-4 ...
5
votes
1answer
103 views

How to find out the number of network interfaces available in a linux system?

I need to loop over the network interfaces available in Linux. I'm interested in all kinds of interfaces (loopback, ethernet, vlan, bridge) - whatever shows up in ifconfig -a. Is there a way to ...
2
votes
1answer
15 views

Update magic file list and/or submit my own

I love file. I use it multiple times a day. I love it so much that I install Cygwin on my Windows machines just so I can use it. Anyway, in going through older files on my system, I find there are ...
0
votes
0answers
10 views

Installing libssl1.0.0 and openssl 1.0 in debian 6

I am newbie to openssl. we are trying to connect to our server where its configuration requires TLS1.1 protocol for connection. Debian 6 repos does not have direct backports for libssl1.0.0 & ...
0
votes
1answer
17 views

Current X driver

How do I know, by which X driver, the X started. Looking at configuration file or log file is not trustworthy, I guess. These files can be manipulated in one or other way post bootup. Is there any ...
0
votes
0answers
8 views

Slow dragging of windows in Debian 8 LXDE

I did a fresh installation from Debian 8 with LXDE desktop iso. Everything is lightning fast except dragging of windows of programs.
1
vote
1answer
7 views

in i3wm how can I set the default layout for all works spaces

By default when you start i3wm all work spaces start as vertical/horizontal split splith/splitv layout. Is there a way to set the a different default like stacking or tabbed as the default for all ...
-2
votes
2answers
43 views

How to make a password box in linux? [on hold]

I have a script but can't find mistake: #!/bin/bash data=$(tempfile 2>/dev/null) trap "rm -f $data" 0 1 2 5 15 dialog --title "Password" \ --clear \ --passwordbox "Enter your password" 10 30 ...
0
votes
2answers
25 views

Multiple NICs and Gateway CentOS

CentOS 6.6 eth0 IPADDR=10.0.0.100 IPADDR2=10.0.0.101 GATEWAY=10.0.0.250 NETMASK=255.255.0.0 eth1 IPADDR=10.120.0.100 GATEWAY=10.120.0.1 NETMASK=255.255.255.0 Gateway on eth0 has Internet access ...
0
votes
1answer
39 views

Why Gentoo detects no network devices? [on hold]

I've faced the problem installing Gentoo: after the installation is seems to be completed and LiveCD is extracted, network becomes unreachable: gentoo~ # ping 8.8.8.8 connect: Network is unreachable ...
1
vote
1answer
19 views

Printer drivers

I hope this is an appropriate question. (If not, I'll be happy to delete it.) I run Linux exclusively (home and business). I have standardized on HP printers because the HP driver works well. I don't ...
1
vote
1answer
47 views

accidentally moved and fixed /bin/ directory, but now can't su

I accidentally moved my /bin directory to /usr/bin/bin, anyway, I managed to move it back to its place with # /usr/bin/bin/mkdir /bin # /usr/bin/bin/mv /usr/bin/bin / and then I was able to login ...
0
votes
0answers
9 views

aufs root on gentoo/funtoo

I have used an aufs root before on gentoo years ago, but cannot seem to get it going now. I am using genkernel-next, I would imagine I used genkernel before as well. I am using funtoo with ...
0
votes
0answers
18 views

How to update my local repo that i am using to serve local machines?

I have created a local repo with 618 packages and made it available for my local servers.So that they dont fetch updates directly from RHEL repo. Here are some info about my local repo: ...
0
votes
1answer
23 views

How do I dual boot Win7 and Mint17 both on /dev/sdb?

Question: In my setup, where do I specify the device for the boot loader installation and how do I fix the issue of not being prompted to select my OS with GRUB? Bonus Question: Is there an easy way ...
0
votes
1answer
22 views

Wrap all lines with character sequence in vim

So basically I copy/pasted some code, and I need to prepend and append some more code to each line. Each line is a function call, and is getting added to a switch statement as it's own case. Right ...
3
votes
0answers
19 views

Cannot use keyboard within Qt app without sudo

I have an embedded Qt application crosscompiled that runs on BeagleBone Black. It works Ok, but one thing- It doesnt accept keyboard input if i wont run in directly on BeagleBone Black preceeding with ...
0
votes
0answers
42 views

Why do I get “duplicate” local IP addresses on different interfaces?

I have two network interfaces(a wireless and an USB dongle) attached to an Ubuntu server and both get the same local IP address. Is there any reason for this or a way to force it assign distinct IP ...
0
votes
0answers
26 views

Copying files between /shares?

I have this Seagate NAS with SSH enabled, I need to copy all data from shares to one share and then zip it, so let's say it looks like this: Share 1 Share 2 Share 3 -> Share backup Share 5 Share ...
1
vote
0answers
23 views

Apache 2.4.12 Upgrade issue with OpenSSL 1.0.2c

for FREAK vulnerability, I tried to Upgrade Apache 2.4.12 from 2.4.10 and OpenSSL to 1.0.2c using following line ./config --openssldir=/usr/local/openssl make make test make install Once ...
0
votes
1answer
12 views

nvidia graphics card showing incorrect memory GTX 770 linux mint

Have a new secondhand PC, running Linux Mint 17.1 Cinnamon 64 Bit, Linux Kernel: 3.13.0-37-generic. System info recognises two VGA cards - onboard and the GTX 770. However, when I query lscpi -vnn | ...
2
votes
1answer
42 views

Relative path to anything not working (while running from initramfs)

I'm working in an embedded Linux system trying to get it booting its root file system in ram using initramfs. The system comes up for the most part but then has trouble in the init scripts. I've ...
0
votes
2answers
39 views

How do I directly talk through a serial port via the keyboard? [duplicate]

I have a hardware controller that I need to communicate to via serial port. How exactly can I communicate with that port using my keyboard as input. The serial runs on 19200 baudrate, 7 bytesize, and ...
0
votes
1answer
21 views

Problem booting Ubuntu (or any OS), even after doing clean installs

Summary: OS (Ubuntu / Windows) installs fine, but when the time comes to restart and boot, it doesn't boot. (Gets stuck; screen blinks and I am still at boot selector). Can boot to a live ...
1
vote
1answer
31 views

To which device file is particular storage device mapped?

I noticed that I never figured this out completely. Linux maps SATA and USB (and many more kind of) storage devices to /dev/sd[a-z] device files in the order in which they were "found". Now given that ...
2
votes
0answers
14 views

How to check flash memory for ECC errors from the Linux command line

Is there a way to check flash memory for ECC errors from the Linux command line? Note that I do not want to correct ECC errors. I just want to detect errors and list page addresses where they occur.
0
votes
0answers
13 views

Configuring an Email Server

I currently have an email server configured, and I was wondering how to set it up so that my session is protected with an SSL certificate when my email client logs in, and how to get it to sign ...
0
votes
1answer
19 views

looking for a way to download a list of packages with yum

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
0
votes
1answer
42 views

Why does my process take too long to die?

Basically I'm using Linux 2.6.34 on PowerPC (Freescale e500mc). I have a process (a kind of Virtual Machine that was developed in-house) that uses about 2.25 G of mlocked VM. When I kill it, I notice ...
2
votes
1answer
41 views

list processes belonging to a network namespace

I am on Ubuntu 12.04, and the ip utility does not have ip netns identify <pid> option, I tried installing new iproute, but still, the option identify doesn't seem to be working!. If I were to ...
0
votes
0answers
8 views

OpenVPN integration with LinOTP

I try to run OpenVPN with two factor authentication using LinOTP. I can't authenticate my login and password (PIN+OTP) with FreeRadius which is configered with LinOTP using OpenVPN. I get possitive ...
1
vote
1answer
37 views

Installing and compiling log4cpp on Debian

How to install log4cpp framework package stored locally as tar.gz, and which file from that package to use for bulding. I read some articles on internet, but I'm getting stucked at this part: ...
0
votes
1answer
33 views

Equivalent of /etc/sysconfig/clock in redhat 7

I cannot find /etc/sysconfig/clock in redhat 7. Is there any equivalent file in redhat7??
0
votes
0answers
8 views

Humming Board + mPCIe adapter + video card TW6865

We interfaced Humming board with Video card (TW6865) via MiniPCI Express to x1 PCI Express Adapter (Adapter). Now the thing is video card is not getting detected by HB. There is no issue with video ...
-1
votes
0answers
26 views

How to mask IP address in linux Centos 6.6 [on hold]

I have a server IP address and one application is running. Now I am running that application by typing IP address and port number in browser. So that application will running. What do I need? Client ...