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

8
votes
2answers
22k views

“Network is unreachable” when attempting to ping google, but internal addresses work

I can get to other PCs in my house on the 192 network, but trying to go outside gives me the "network is unreachable" message. p3p1 is up with a good IP Address. Running Fedora 16. What should I ...
1
vote
1answer
19 views

Computer does not boot after changing hdd and reverting back

1) I have an existing HDD in my computer that dual boots linux and windows using the traditional bios way. 2) I then took out the existing HDD and swap in a new HDD to install linux on it with uefi. ...
0
votes
0answers
22 views
+50

Enable Fn-Brightness Buttons Ubuntu

I am trying to get the Fn+5 and Fn+6 buttons to work on my ASUS laptop running Ubuntu 14.04. I have tried adding all of the following to /etc/default/grub without success: ...
0
votes
1answer
20 views

How can I optimize linux for encoding lots of video or a set of the same cpu intensive tasks?

I have a set of 4-5 machines which almost exclusively encode video all day, and sometimes all night too. I've searched many times to find ways to optimize them for this purpose, but not had any ...
2
votes
3answers
268 views

Disable numlock, preserving mouse button key bindings

I'm having trouble to disable the Numlock key (make the key do nothing, so that the numpad numbers always work) while at the same time mapping extra mouse buttons (at the side of my mouse) to ...
0
votes
1answer
11 views

rsync multiple files with colons in their names

rsync interprets colons in file names as indicators that preceding is a remote machine name. When you try to rsync a file that has a colon in it's name, rsync typically gets confused, producing errors ...
0
votes
1answer
4k views

Can't get 1440x900 resolution with GRUB2 although vbeinfo says it's available

I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800. Word is from googling that long as vbeinfo ...
1
vote
0answers
4 views

udev rule to auto-execute script

I want to create a udev rule to execute when my headset gets plugged in. Therefore I followed this Tutorial, but my rule doesn't seem to work. The output of udevadm monitor --environment | fgrep ...
1
vote
2answers
4k views

SSH error ssh_exchange_identification: read: Connection reset by peer

I am trying to access ssh to a server but got "ssh_exchange_identification: read: Connection reset by peer". The same client works well when I move the computer to home but show the error when the ...
10
votes
10answers
43k views

How can I add additional search domains to the resolv.conf created by dhclient in CentOS

When my CentOS virtual machine boots it uses DHCP to get an IP address. It also overwrites resolv.conf with the DNS settings provided by the DHCP server. The DHCP server doesn't supply any search ...
1
vote
1answer
17 views

Need application to run without root access

i try to build my local services system inhouse, and to thant i need to learn how i can give access to a single user with out type a root access when i do it, or i need to know how i can call the ...
0
votes
0answers
14 views

Difference between running a script locally and remotely

What is the difference between running a script remotely: ssh -t root@$machine -x "sshpass -p 'ubuntu' ssh -t ubuntu@$address -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/nul -x ...
2
votes
0answers
33 views

Allow only one website using iptables in a linux router

I have a Linux server I'm using as a router for my internal network. I need to block all the websites except one or two using iptables. How can I set this up?
-1
votes
0answers
27 views

Why is my Windows 8.1 (new laptop) extremely slow and sluggish when compared with Linux

I recently got this laptop, so it is still new and so is the installation. The laptop is TOSHIBA SATELLITE C55D-A-149. I realise that this is a budget laptop and the processor is fairly weak. I dont ...
2
votes
1answer
3k views

Sharing a Windows 7 wifi connection with a Raspberry PI

I have a Windows 7 PC that is using a Wireless network connection that I want to share on the PI. I have a working CAT 5 cable that I am using to connect the Win 7 PC to the PI. I have configured ...
13
votes
1answer
790 views

What does installation script do in apt-get install?

It seems apt-get install will download a Debian package and try to run installation script for: Create proper directory Create proper account Copy Binary files Copy Data files Copy Conf files Copy ...
0
votes
3answers
23 views

Find *where* the executable is for a currently running process

If I have 2 executables (/path/to/gcc/myapp.exe, and /path/to/intel/myapp.exe) where one is compiled with an intel compiler and one is compiled with standard gcc, running both will show up in top as ...
0
votes
2answers
24 views

Interacting with VirtualBox using phpVirtualBox

I have VirtualBox up and running on my Linux machine. I've installed Apache and PHP, and have http://sourceforge.net/projects/phpvirtualbox/ up and running. I created a new virtual machine using ...
0
votes
1answer
26 views

Installing Hadoop on Linux

I just edited this question based on an experienced user's advice. My question is, how do I install Hadoop on Linux Ubuntu 3.13.0-53-generic (Koding)? I have tried multiple tutorials (example is the ...
3
votes
1answer
56 views

In/out-error, lost document

I had a document in a folder on a flash drive, and when I went to open it, it was nowhere to be found. Initially I thought it was something wrong with the USB stick where the folder was located, but ...
4
votes
4answers
1k views

Display corruption when switching virtual terminals in Linux

I run Fedora (currently version 16, but this problem has been around a while) and occasionally when I switch virtual terminals (VTs) the new VT shows a corrupted version of some data that was ...
0
votes
1answer
19 views

Rsync - resending all files, because files have different timestamp (off by 1 second!)

I am using rsync to backup files from my Mac laptop to a usb drive (exFAT) on my Windows laptop. The usb drive is shared within my home network, and mounted on my Mac. I noticed a weird problem when ...
1
vote
3answers
32 views

Backing up linux server on ntfs harddrive

I'm looking for a way to backup my debian server. For the data partition I have a solution using rsync, the backup goes to an encrypted ntfs-drive. NTFS because I often take the drive with me to watch ...
0
votes
1answer
12 views

Where does device mode and state output come from, and how do I disable it?

Whenever I change my wlan broadcasting details with hostapd I get some output like this: [ 6706.929857 ] device wlan0 entered promiscuous mode [ 6707.986991 ] br0: port 2(wlan0) entered forwarding ...
0
votes
1answer
8 views

Change Key Bindings Individually for Each Layout on Linux

I am on Debian Jessie with GNOME. I prefer to program with the () bound to what is regularly [ and ] because I do a lot of lisp. I was able to do this with xmodmap, but it ruins my other (Portuguese) ...
1
vote
2answers
31 views

Passing through a firewall with a “reverse” proxy

I have to do a workshop in a firewalled environment which is preventing me to show everything I would like and I'm looking for a workaround. I'll be demoing a software which runs on Windows. During ...
1
vote
2answers
29 views

When typing in a command, my terminal will often times wrap around

So I'm having a really weird terminal problem that affects both physical login sessions as well as sessions over SSH. Basically, the terminal size is some number of columns. When printing stuff out, ...
0
votes
1answer
16 views

Destination host unreachable

An user reports issues with wwan0 interface. 4: wwan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether 02:fa:a8:34:86:69 brd ff:ff:ff:ff:ff:ff ...
0
votes
1answer
24 views

Google Chrome on Kali Linux will not launch

I'm using Kali Linux amd64 and installed Google Chrome stable release from the official Google Chrome site but it is not launching nor showing any errors i have tried launching it from the command ...
0
votes
0answers
9 views

Make OpenVPN Accessible from outside the network

I'm trying to get openvpn working on my centos machine but I'm having some issues and I don't really know much about openvpn. I've managed to get it working and I can connect to it with another ...
1
vote
0answers
19 views

How to make cron perform task every hour during business hours?

I'm trying to make a script run twice every hour during business hours on weekdays, and i have the following in my cron setup: # m h dom mon dow command 8,48 8-17 * ...
0
votes
1answer
9 views

Redirecting marked packets to Tun device

I have a small program that needs to do various things with a selection of packets, based on various iptable rules. The packets are MARKed this way: iptables -t mangle -d 10.10.0.0/16 -j MARK ...
1
vote
1answer
37 views

Telnet: How do I un-escape?

I know that when connected via Telnet, I can hit Ctrl+] to escape. This brings me to the telnet command line interface. How do I get back to my telnet session? I occasionally hit Ctrl+] by accident ...
1
vote
1answer
12 views

How to execute sudo NOPASSWD command on other server via SSH

I have read all the post related to the issue. But If you can see mine as well and give suggestion. I am trying to do passwordless SSH and run a script on remote server. But Sudo access ask for ...
0
votes
1answer
15 views

used chmod wrongly to mess up copy rights. How to correct

I ran a chmod command like chmod 644 dir/* It seems to have worked for files in this directory, but files in all other sub-directories are now in some limbo state. ls -l dir/sub-dir shows: ...
4
votes
2answers
455 views

Installing Windows Update 3033929

I am using grub as default boot loader for my dual boot laptop (DELL Vostro 3750). My system is currently undergoing a reboot loop (infinite) because of Windows Update 3033929. As described here: ...
4
votes
3answers
4k views

How append a string at the end of all lines?

I'm trying to add a string at the end of all lines in a text file, but I have a mistake somewhere. Example: I've this in a text file: begin--fr.a2dfp.net begin--m.fr.a2dfp.net begin--mfr.a2dfp.net ...
1
vote
1answer
2k views

Write file permissions for root user

I have a file called myfile that I would like to move using: sudo mv myfile deep-dark-directory/ I need to use sudo to move the file as deep-dark-directory needs root privileges to write and I ...
0
votes
0answers
14 views

centos7 not installing mysql

I've installed centos7 recently, but, when I am trying to install Mysql using the command: yum install mysql-community-server I keep getting Exiting on user cancel while I am not hitting any ...
0
votes
1answer
22 views

ssh connection error “Permission denied (publickey)”

So I have been trying to build ssh connections between google cluster container containing 1 master node and 2 worker nodes. I have used ssh-keygen to generate key pairs for all three nodes, send the ...
46
votes
3answers
14k views

What's like OSX's pbcopy for Linux

In a terminal in OSX I can pipe output to pbcopy and then go into a web browser and paste it. I tried this in Linux with xcopy but when I switch to the browser it just overwrites the clipboard with ...
0
votes
1answer
23 views

Matching () with a Unix/Linux regex

I have a couple files with the name (a).1 (a).2 ... (a).100 Since a lot of processing tools don't really like ( and ) in the filename I thought it best to rename them to a different name. I googled ...
0
votes
1answer
2 views

How can i detect if the virtual CD ROM is attached or detached?

I have a requirement where i need to check if a virtual CD ROM is attached if yes then read the values and apply it on to the application. But couldn't find a way to detect if a CD ROM is attached or ...
0
votes
1answer
22 views

what the “!” means in the iptable rule

what the "!" means in the following iptable rule iptables -I inacc ! -i br0 -p UDP --dport 69 -j ACCEPT I think is related to the interface br0. I think it mean any interface except the br0 Am I ...
6
votes
3answers
2k views

Is it safe to put harddisks of a md-software-raid to standby?

I have a home-fileserver with 6 desktop harddisks in a md-raid. The server isn't accessed a lot, so I think it would be good for the harddrives to go in standby-mode after some idle time (e.g. with ...
0
votes
1answer
2k views

How to fix Ubuntu 10.10 black screen from terminal?

I'm trying to install Ubuntu Desktop 10.10 on an Intel Atom mainboard (Intel D945GCLF2) with CRT that has been running Ubuntu 9.x previously. Both, Desktop live CD / installer and alternate install CD ...
1
vote
2answers
31 views

What was the SquashFS compression method?

I've got some SquashFS files, and I'd like to know how they were compressed so that I can have a rough idea of how they would perform when mounted. The only binaries provided by the squashfs-tools ...
0
votes
0answers
11 views

Arch Linux chroot cannot mount sysfs

I am running in a chroot with Arch Linux. It is good. I can start it and also did pacman -Syu. My problem is, I cannot do any pacman activities. It says I should do pacman-db-upgrade, but pacman is ...
0
votes
1answer
15 views

How do I fix McAfee for Linux Error: “vsel-installer: No supported build for your platform”?

How do I fix this McAfee for Linux error "vsel-installer: No supported build for your platform"? I can't install McAfee VirusScan for Linux (McAfeeVSEForLinux-2.0.2.29099.zip) on the latest ...
1
vote
2answers
22 views

How to set a time length of ssh and redirect the error message

I have a hostlist and there are several hosts. I want to use ssh to connect to them. I want to see whether the host is available or not by the time length of ssh takes. If it take long than 5s (which ...