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

1
vote
2answers
16 views

how to log reboots dates

I'm new to Linux, and I'm always unsecure if I'm doing things the proper way I'm using a Raspbian system that sometimes reboots ( for some non software problems ) and I want to have a log on when each ...
0
votes
1answer
8 views

Some questions regarding linux kernel external module build process

The Linux kernel documentation page for building external modules (https://www.kernel.org/doc/Documentation/kbuild/modules.txt) says this: === 2. How to Build External Modules To ...
0
votes
2answers
19 views

How to obtain the whole disk activities triggered by file systems under linux?

I want to record the disk access activities called by OS. Such data I want to record are received by disk from OS, including disk sector number, request length, arrival time, read or write. To be ...
0
votes
0answers
8 views

Get AMD 8320 CPU temp?

I'm looking to get the CPU temperature of my AMD FX-8320 chip. I have lm-sensors installed and I've run sensors-detect saying yes to all of the prompts. I also have the kmod system service running and ...
1
vote
0answers
20 views

Linux cgroups: limit CPU usage in absolute values which do not depend on CPU speed

I have a server with a 2.4GHz processor. And there are several cgroups, each one allowed to use 25% of CPU. That's equal to 600MHz. Then I replace the CPU with a faster one, let's say 3.0GHz. If I ...
-1
votes
1answer
14 views

Setup portable linux distrubution on external HDD [on hold]

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 ...
2
votes
1answer
158 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...
0
votes
2answers
2k views

Linksys AE3000 install on linux

I bought a Linksys AE3000 wireless adapter hoping I could use it on my Ubuntu 12.04 box. I found a website that walked through using it, but it didn't work. I edited rtusb_dev_id.c to add: and then ...
2
votes
1answer
31 views

Get device's bus port

How can I get a list of device bus ports? For example the parallel port is the 0x378. Is there a command to list each port and its device? On Windows it is possible looking device detail in the ...
0
votes
1answer
19 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
36 views

How can I boot my desktop using Wake-on-LAN?

I am trying to get Wake-on-LAN (WoL) to work on my desktop. It has an Asus P6T Deluxe v2 motherboard and I have successfully enabled the WoL option within the BIOS power management [1]. The desktop is ...
-1
votes
0answers
14 views

Installation of linux and windows xp

I have 80 Gb harddrive, 512 Mb RAM in my pentium 4 pc. Now the Windows XP I had got corrupted and i want to install new xp sp3 but each time I use the bootable USB it says unable to find operating ...
1
vote
1answer
66 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
0answers
20 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
26 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
1answer
1k views

How to disable automatic updates in CentOS 7?

CentOS Linux release 7.0.1406 (Core) / Linux 3.10.0-123.13.2.el7.x86_64 Last week, I noticed that when I tried to restart, there was an option to Install Updates & Restart. I do not recall ...
0
votes
1answer
5k 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 ...
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
11 views

ec2 load balancer instance out of service [on hold]

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 ...
5
votes
3answers
6k views

How to run the terminal using keyboard shortcuts in Gnome 2?

I'm using Gnome 2. I use the terminal several times, and I lose a lot of time going in Applications / Utilities / Terminal to launch the terminal. I am wondering if I can launch the terminal using ...
0
votes
1answer
47 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 ...
0
votes
1answer
24 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 ...
-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: ...
2
votes
2answers
5k views

No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop

I am working on petalinux, a linux port for Xilinx FPGAs called Zynq. The tool that I am using is petalinux-config. This opens a GUI where I can select various options, such as compress kernel, ...
2
votes
1answer
44 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
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 ...
7
votes
7answers
9k views

Faster way to delete large number of files

I have a directory where lots of cached files are getting generated very quickly. Since these are very small files, it is consuming all my inodes very quickly. Currently I am running the following ...
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
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
2answers
560 views

Nested virtualization: run RHEVH inside KVM

I have laptop with 16GB RAM, trying to install Red Hat Enterprise Virtualization Hypervizor 3.3 on Virtual Machine Manager (KVM) based Guest, but it gives error "Virtualization Hardware not found" ? ...
0
votes
1answer
40 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 ...
2
votes
3answers
10k views

How to remount as read-write a specific mount of device?

How to remount as read-write a specific mount of device? (one folder) The file is "Read-only file system", rw-r-r, so it not allow to change permissions. I need to replace that file, then change ...
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 ...
5
votes
1answer
107 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 ...
1
vote
1answer
99 views

GDB up arrow doesn't work

I searched a lot about similar problems but found nothing. When running gdb I couldn't use up arrow for walking through previous commands. Up and down arrows are just ignored. I have started to ...
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 & ...
27
votes
5answers
70k views

Can I set up system mail to use an external SMTP server?

Is it possible to set up system mail on a linux box to be sent via a different smtp server - maybe even with authentication? If so, how do I do this? If that's unclear, let give an example. If I'm at ...
62
votes
4answers
62k views

Why do I need a tty to run sudo if I can sudo without a password?

I have configured sudo to run without a password, but when I try to ssh 'sudo Foo", I still get sudo: sorry, you must have a tty to run sudo. Why does this happen and how can I work around it?
0
votes
1answer
18 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 ...
-2
votes
2answers
44 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 ...
4
votes
4answers
612 views

How to print a range of IP addresses with Linux seq command

How can I print a range of ip addresses on linux command line using the "seq" command? For eg: I need seq to print a range of ip from 10.0.0.1 to 10.0.0.23 . Seems like the period in between the ...
0
votes
0answers
9 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 ...
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 ...
1
vote
2answers
72 views

Which udev rule triggered?

a. Is it possible to find out, which udev rule triggered as soon as some USB/serial device plug-in or plug-out ? b. Is it possible to reload one specific rule out of many rules, without device replug ...
3
votes
1answer
590 views

Turn system on by USB keyboard?

To hibernate my Debian Wheezy system, I run the following command: sudo sh -c 'echo disk > /sys/power/state' To wake up the system, I can press any key on my USB keyboard. My understanding of ...
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
1answer
224 views

Why Linux games are less performanced than Win 7?

I had Windows 7 x64 and now I have Ubuntu 14.04 on notebook HP 4535s. I expected games to be faster in Linux than on Windows because of fewer machine requirements. But it isn't so... E.g., games via ...