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

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
16 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
1answer
33 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
29 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
11 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 ...
1
vote
1answer
35 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
96 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
0answers
11 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
16 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
5 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
42 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
24 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
34 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
18 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
46 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
17 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
17 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
38 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
20 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
12 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
32 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
25 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 ...
0
votes
0answers
21 views

Dual booting Ubuntu and windows 7

I am trying to dual boot windows and linux on a machine at work. While I haven't used windows in a while, Its a process that used to work most of the time.But I haven't been that lucky with this ...
2
votes
2answers
20 views

Creating a shutdown only script with update-rc.d

I have a Raspberry PI running the standard Raspbian distribution. I have this little C program that I need to run at the very end of the shutdown sequence. All it does is send a couple of logical high ...
1
vote
0answers
21 views

Limit cpu usage to one core [duplicate]

I want to run a server with user-written scripts. But these scripts should only use one core (which should be the one with the lowest usage because there will be many concurrent scripts). Also I need ...
0
votes
0answers
17 views

OpenLDAP - ACL control - Full access to user

I need to create a ACL that give to user a full write to rootdn. I tried that: access to * by dn="cn=replicator,o=rootdomain" write But I get the some message. error 50 "Insufficient ...
-2
votes
0answers
22 views

Captive portal splash/login page, what is the norm? [on hold]

Ok, let s plan a captive portal. Allright, my Wifi point is done. My popup should appear, e.g. on iPad. But but but... Where should I place this page? how to name it ? What are the guidelines ?
-1
votes
0answers
30 views

Possible to read contents of an .iso without extracting or using isoinfo?

Is there a nicer way than than using isoinfo to see the contents of an iso without extracting it ? I did see What is the fastest way to extract an ISO? as well as few questions ...
0
votes
0answers
14 views

When connecting my Wifi, open browser automatically. How?

I made my linux computer providing a wifi access. This is only to browse its local website. As one does for captive portal, i aim to force the browser display and direct to my homepage : - you choose ...
1
vote
0answers
12 views

Captive portal detection, popup implementation?

Based on hostapd, I m building a captive portal. - My Linux Machine provides a Wifi access. - iPad's and Android clients-tablets connect this Wifi. Generally, any client OS check if a url is ...
1
vote
1answer
50 views

What does blkid stand for?

What does the command blkid stand for? I want a way to remember it. Also, what is it often used for?
1
vote
2answers
59 views

How do I get the output of a program already running?

I have a python program that outputs to stdout and a log file. However, the person I am making this for wants to know if I can set it up so that he can see the output of the file, while it is ...