A family of Unix-like 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

1
vote
2answers
1k views

ifupdown: interface does not get properly configured

Since some days ago, I'm suffering a traumatic problem with Debian Wheezy. Every time I boot the server, the only up interface is loopback. I have configured a static IP at /etc/network/interfaces ...
5
votes
4answers
12k views

mount.nfs: rpc.statd is not running but is required for remote locking

I am trying to mount a disk from a remote computer but I get this error: root@sidibalkan:~# mount -t nfs rat:/develop /mnt mount.nfs: rpc.statd is not running but is required for remote locking. ...
1
vote
3answers
2k views

Linux Wi-Fi disconnects instantly?

I've gotten NetworkManager installed on Arch, and it seemed to be working. But all of a sudden, when I boot, the Wi-Fi connects for all of 5 seconds, then stops working, then NetworkManager says it's ...
0
votes
1answer
187 views

Cant compile SDL source file with gcc

i downloaded a manual of introduction to graphics programming with SDL, so i tried to compile my first source and it logged the next error the command to compile it was: $ gcc helloWorld.c [-o ...
38
votes
7answers
3k views

How can a Linux OS be “based on” another Linux OS?

I've been looking through quite a number of Linux distros recently to get an idea of what's around, and one phrase that keeps coming up is that "[this OS] is based on [another OS]". For example: ...
6
votes
2answers
6k views

Does Chrome use a different DNS server from the OS?

I'm running Chrome on Linux. I have local DNS to resolve *.myname.com into 127.0.0.2 (I type "host whatever.myname.com" or "host myname.com" and I see the correct address). However in Chrome when I ...
-1
votes
2answers
1k views

Accessing file system outside the chroot jail

We are working on creating a user on a CentOS system who would work in a chrooted environment only. While this works fine in general, we also want this user to be able to access some configuration ...
1
vote
1answer
91 views

Ubuntu 10.04 LTS on a slow computer?

I'm looking at installing Ubuntu on two computers that both have Intel Atom processors and only 1-2GB RAM. My experience is that Windows 7 is horribly bloated for these machines, and even Ubuntu 13.04 ...
0
votes
2answers
315 views

Grid Engine / multithreading / multi-core / multi-cpu: How to decide optimum number of threads?

I am using a program (*) under unix/linux (various flavours) on various servers and clusters, the program supports multithreading. I can specificy how many threads I want via command line option. ...
2
votes
1answer
4k views

How do I run “yum -y update” from Bash Script?

When I try to run "yum -y update" from a Bash script it doesn't work. Here is what the script looks like. #!/usr/bin/ echo "--> Updating CentOS System" yum -y update I run the script with this ...
0
votes
1answer
361 views

Linux group permission not applying correctly with hard link

I have a log file located at /var/log/snort/alerts. I want to grant one of my users access to read this file, however, I don't want to grant that user access to the directory /var/log/snort. My ...
3
votes
3answers
2k views

Connect to Beagle Bone Black by name (from Windows)

I'm new to BBB, and my linux experience is limited. But I kind of thought changing the /etc/hostname file would be all I would need to do to connect to it by name. I set the hostname file to ...
0
votes
1answer
506 views

Linux Save session

I did some work on AWS to install R on Redhat and I want to save what I have done there and hand over to my coworker. I know I can do: history > file.txt But I vaguely remember there is a cool ...
2
votes
3answers
67 views

Having difficulties getting my vhosts to work properly

I have my URL (example.com:8010) pointing to my server, which works and goes to the /var/www directory properly. I created another vhost file to go to the test directory but when I type the URL for ...
1
vote
1answer
991 views

Can't get computer to reboot via script

I need to reboot an embedded system via a local network webpage (a CGI script). I have the page built, and it calls a script on the station (which is the (apache) host of the webpage). This script is ...
3
votes
2answers
1k views

Downmix from 5.1 Surround to two channel stereo using avconv

I have a .wmv with the audio codec of wmapro, which my target video player chokes on. I am generally in the process to "standardise" my collection to x264/aac (as this works fine on all my devices), ...
0
votes
1answer
684 views

Unable get sound from Fedora 19

I just switched from windows to fedora 19 as my distro. It's running fine but I am having issues with my sound card i.e i am unable to hear anything. I Googled for a fix or procedure on how to ...
0
votes
1answer
3k views

Using 'cifs' to connect to windows share

I am working with UBUNTU 12.04, and am trying to connect to a windows share (SBS2008r2). If i use the command: sudo mount -t cifs //domain/share /media/files -o credentials=/home/linux/....
1
vote
2answers
544 views

How to make files created in a directory owned by directory owner?

Is there any method on Linux to effect all new files created in a directory to be owned by the directory's owner instead of the creating user's owner?
3
votes
4answers
4k views

How do I wipe a hard drive using Backtrack 5 RC3?

I need to wipe an entire hard drive and the only tools I have are Backtrack 5 RC3 and the internet. Apparently earlier versions of Backtrack had a tool to wipe the hard drive, called wipe. I need to ...
-1
votes
1answer
5k views

Unable to start Windows - UEFI boot problems with Linux + Win8

I have installed openSUSE (12.2) on a PC that has Win8 installed. At the beginning there were problems and it didn't start, after some "fixes" Linux started but when going in the grub2-efi Windows 8 ...
0
votes
1answer
507 views

Debian raspberry pi crashes when writing to SD-card

So after a day of having my pi crash when doing apt-get upgrade and wget i reinstalled debian only to find that the problem remained on the clean system. i did a badblocks read-only test which showed ...
0
votes
1answer
283 views

I get this error when login to cisco switch

I get this error after enabling ssh in cisco switch. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@...
0
votes
1answer
1k views

I have a Linux swap partition but how do I set it up permanently?

I have a laptop with 2GB RAM and not the funds to buy more RAM. Ever since I installed 64-BIT Mint (MATE desktop), I am using more than 1GB RAM compared to between 170 - 500MB when I was in 32-BIT ...
0
votes
1answer
1k views

Ctrl+C doesn't work in Guake Terminal

Ctrl+C doesn't interrupt the running command, ctrl+shift+c doesn't work either. But in Gnome Terminal everything is ok.
0
votes
1answer
646 views

Finding files on mounted disk with locate

I have a small SSD disk with my linux system, and a large IDE disk with most of my work, that is mounted at system start. For some reason I can't seem to find files on the IDE disk using locate. I don'...
3
votes
1answer
1k views

Is it possible to compile with make.inc and Makefile

I am a newbie to the use of make files. I have added a new module in project using make.inc The structure of project is like:- /Project/build.sh /Project/make.inc /Project/Module1/Makefile /...
1
vote
1answer
1k views

How to call and launch EXE from linux \unix side?

I have a build process that runs on Linux and UNIX hosts. It's script -based, and at the end of the process I'd like to run an EXE file (that can run on Windows only... yes I know it's quite weird but ...
5
votes
3answers
7k views

BASH - merge directories when using mv

I just started using BASH, so I can move all contents of a directory to another. But the issue is, I was expecting it to merge the directories. I am using cron job to run this script. #!/bin/bash ...
1
vote
1answer
170 views

Use desktop as hotspot

I have a windows 7 desktop that is connected to the internet through wi-fi. I have a linux laptop that I want to share the internet with through a LAN able form my desktop to my laptop? HOw do I set ...
1
vote
1answer
156 views

Recursively move files in sub-dirs to new sub-dirs of same name

I have a batch of files all ending with the same string, ie: *_ext.dat located in several sub-dirs along with several other files, in a given main dir. This is the structure: /main_dir/subdir1/...
0
votes
2answers
11k views

How to start a service on startup on Debian headless server (Raspberry Pi)?

I would like to start aria2 as a daemon on startup on Raspberry Pi headless server (no GUI, just SSH access) I created a service aria2cRPC that starts the application (got help from: http://www....
4
votes
1answer
4k views

tar/bz2 compress a file removing uncompressed original

Is there any way to turn a directory called dir1 into dir1.tar.bz2 without keeping the original? I need to save space and want to compress some large files but don't have enough room to keep a ...
3
votes
2answers
8k views

External HDD doesn't show up in /dev on raspberry pi

here's my problem: I have an old 500GB HDD drive from one of my old laptops which I connected to my Pi via USB. First issue: Every time I plug in the device, the Pi reboots. I already read this is due ...
2
votes
1answer
5k views

Show hidden folders and files on Fedora 19

I'm in the middle of a migration from Ubuntu to Fedora. How do I make Nautilis in Fedora show the hidden files and folders (those with a dot)? It's Nautilus 3.8.2, if I go to Preferences and choose "...
1
vote
2answers
2k views

How do I enable auto-logout of Interactive ssh logins after one hour

I have requirement where I want my ssh seesion to target will logout after one hour,but currently leaving an ssh session to target board idle does not get auto logout after one hour. Below is what is ...
2
votes
3answers
303 views

Can Firefox 18+ be compiled on RHEL 5.9?

I tried to compile Firefox 24 on RHEL 5.9 and ran into dependency hell. I have no root privileges and I compiled several of the dependencies (glib, cairo and whatnot) in one of my directories. I ...
1
vote
1answer
257 views

Ubuntu 12.04 delete user and all associated directories

I have already deleted a user on Ubuntu 12.04 Server (userdel userName) however their /home/userName directory still remains. Can I simply rm -rf the users home directory or are there dependencies on ...
1
vote
1answer
159 views

Linux who --process option

I was playing around with who when I noticed that the who -p option does not give any output. Running the command as root also didn't change the output. I tried this on a CentOS, Ubuntu 12.04 and ...
0
votes
1answer
272 views

linux zip command creating temp name

I am creating a python script which will move the fresh zipped files to a hotfolder. But when i am creating a zip file with zip test.zip /opt/test it creates a temp file first, something like xAbCG77, ...
1
vote
2answers
3k views

Which codecs are supported by ffmpeg libraries in system?

I have Linux server/workstation box which had ffmpeg compilled for it some time ago. Now one type of library for internet communication does not seem to work on one of the endpoints. I think that real ...
1
vote
1answer
512 views

Disable SSH remote tunneling

I need to restrict SSH tunnel functions. Users should not be allowed to create remote tunnels but only tunnels to localhost. I tried to setup the whole thing in the SSH configuration but I can only ...
0
votes
0answers
423 views

Instruction to start Varnish as root

I'm having problems with Varnish. Here is the relevant portion of the log 2013/09/29 06:24:54 [warn] 2680#0: the "user" directive makes sense only if the master process runs with super-user ...
1
vote
1answer
293 views

Random freezes on Linux Mint 15 KDE under an UEFI Asus motherboard

I'm running Linux Mint 15 with KDE, fully updated. For some reason, I'm experiencing seemly random lock ups. The GUI doesn't respond to input from mouse & keyboard, plus the interface doesn't ...
5
votes
3answers
4k views

extract single file from huge tgz file

I have a huge tar file (about 500G) and I wan't to extract just a single file from it. However, when I run tar -xvf file.tgz path/to/file it seems like it is still loading the whole contents into ...
2
votes
1answer
328 views

udev rule with bInterfaceNumber doesn't work

I'm trying to use udev to give relevant names a USB-serial device but I'm having now luck. # lsusb -d 04e2:1412 -v Bus 004 Device 028: ID 04e2:1412 Exar Corp. Device Descriptor: ...
1
vote
2answers
1k views

How to set a DNS server (like opennic)

I would like to add a DNS server to my configuration (in order to use opennic). I've searched quite a bit but can't find a satisfactory solution, and I'm lost concerning solutions for ubuntu. I've ...
2
votes
1answer
1k views

Problems getting built-in 3G modem (Ericsson H5321gw – USB ID 0bdb:1926) working on my Lenovo X230 (Debian)

I have Ericsson H5321gw WWAN modem (USB ID 0bdb:1926) on my Lenovo X230 laptop. I've got it working momentarily using NetworkManager GUI on Gnome3. Normally I can make it connect for a few minutes ...
0
votes
1answer
766 views

Ping test for 4 hours

I am trying to perform a ping a test to the servers for 4 hours I tried using ping -t '14400' IP-ADDRESS but i am getting a following error: "ping: ttl 14400 out of range" Is there any other ...
1
vote
0answers
326 views

nc connection refused even on loopback

I'm working on an embedded linux system, which appears to be networked correctly and is running ssh (dropbear) and rpcbind. I'm setting up a server application on it, and every single thing I try ...