These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

4
votes
2answers
750 views

loop-device: is this a Linux entity or a lower-level one?

Here's an Ubuntu How-to about booting from ISO-image on flash. http://ubuntuforums.org/showthread.php?t=1288604 What I don't get is creation of loop-device in GRUB2 prior to booting a kernel: ...
4
votes
2answers
3k views

Missing separate debuginfo for - GDB

I have mentioned -g option along with -Wall in the Makefile. When I run gdb onlineSunday, I get: Missing separate debuginfo for /usr/lib64/kde4/plugins/imageformats/kimg_dds.so Try: zypper install ...
22
votes
8answers
5k views

The most universal scripting language for Linux is?

We are writing scripts for Linux systems, there has been some debate over what would be the most universally Linux present scripting language to use. Bash, SH, Posix? What?
2
votes
2answers
359 views

RPM skipping files on install

I am installing an rpm package and it appears to be skipping certain files without giving me any notice as to what the issue is. When I execute rpm -ivh package_name.rpm the rpm provides me with ...
2
votes
1answer
698 views

What does “kernel-resident” mean?

Quoting from the ifconfig man page: ifconfig is used to configure the kernel-resident network interfaces. It is used at boot time to set up interfaces as necessary. After that, it is ...
3
votes
1answer
461 views

Static IP config no longer persistent in CentOS6

I was messing around with KVM in CentOS 6.3 when I noticed I was having problems with the IP address of my principle network connection (eth0). I backed out my bridge and restored the network-script ...
1
vote
0answers
159 views

Installing Linux distro on PogoplugPro

I have a PogoplugPro and I want to install a Linux distro on it. However, none of the tutorials I have found cover the model I have: Model: POGOPLUG PRO BusyBox v1.16.1 (2010-11-30 12:06:37 PST) ...
6
votes
4answers
5k views

Running “patch” without generating *.orig and *.rej files

Is it possible to tell patch not to generate .orig and .rej files? I find it extremely annoying that patch creates these.
3
votes
2answers
224 views

Shouldn't there be more RAM free than this? [duplicate]

Possible Duplicate: Correctly determining memory usage in Linux I see that almost all my RAM is in use. Is this bad? Strange thing is I don't see what is actually using the RAM.
4
votes
1answer
3k views

How to configure a video4linux loopback device

I am writing an application which is based on Motion. Motion allows me to define a video4linux loopback device: # Output images to a video4linux loopback device # The value '-' means next available ...
1
vote
2answers
4k views

Cannot get Realtek r8168 ethernet card up

I've working on Arch Linux and in 99% of time I connect to internet by WLAN but sometimes I need to use ethernet connection, so today I see something strange. My eth0 device is down, and I can't get ...
25
votes
3answers
84k views

linux + add X days to date and get new virtual date

I have Linux ( RH 5.3) machine I need to add/calculate 10 days plus date so then I will get new date (expiration date)) for example # date Sun Sep 11 07:59:16 IST 2012 So I need to get ...
3
votes
1answer
336 views

Linux mint 13: Error starting MATE

My Linux Mint installation seemed to work fine an hour ago, then I switched into Windows 7 which is installed on the same machine. When I restarted back into Mint, I got the following errors and can't ...
3
votes
1answer
4k views

Hopelessly stuck on making Nvidia Driver work on Debian

Before I posted question here, I'd been hacking around for the solution for my problem, but none of them worked. Here is my situation. I had a Win7 OS before I put a Debian Squeeze on it, now I got a ...
2
votes
1answer
980 views

VNC from host PC to Android phone running Ubuntu

While I know how to do this from my phone itself, where it loads the GUI on Ubuntu and I have a desktop environment, it's not as useful for what I'm trying to accomplish, which is to have a ...
1
vote
0answers
107 views

Change terminal resolution on Whiite (Wii Linux)

Is there a way to change the terminal resolution in Whiite (Linux for Wii)? All the answers I can find suggest editing grub configuration, but Whiite uses a custom bootloader instead of grub.
4
votes
3answers
362 views

Why do I get 3048 MB from a 64 MB flash memory?

I have a Linux based STB (set-top-box) and it features a 64 MB flash memory and 256 MB of RAM. I wanted to take a backup of some of my settings before I flash it with another image, but I wasn't sure ...
2
votes
1answer
1k views

Setup PPTP VPN connection with no GUI [closed]

I want to configure a remote linux (Ubuntu Precise) to use a PPTP VPN. I can only access to it using ssh, so I don't have a graphical interface (neither do I want it). Some hours googling: Guides ...
8
votes
1answer
697 views

Is it possible to automatically wake from suspend?

Here's my problem: I have a laptop running Arch that I just keep on at home. It's got a good 4 hour battery life, but sometimes my daughter is playing near where it's kept and ends out pulling the ...
0
votes
1answer
1k views

How do I install drjava in linux from terminal?

I've downloaded drjava-stable-20100816-r5366.jar file which is the drjava version for Linux. How do I install it on my machine? I'm running Ubuntu 11.10. I have OpenJDK Java 6 runtime and Sun Java 6 ...
2
votes
3answers
2k views

How to check a Fedora system if IPv6 is disabled or not?

I remember that some distribution installers asked in the past if IPv6 should be enabled or not. Perhaps the Fedora installer did (or does) it as well. How do I easily check a Fedora system (>= 17) ...
0
votes
0answers
3k views

ADDRCONF(NETDEV_UP): eth0: link is not ready

my OS (Ubuntu 12.04) started to load slowly. After I choose OS from GRUB, it takes like 50 seconds of loading to get to login screen. I google'd, that command dmesg can provide some useful output. ...
1
vote
3answers
262 views

How do I get non-anemic colours? [closed]

I've searched high and low for an answer to this. What I find odd is that the only person on the internet who seems to have had a similar issue (or even recognised this as an issue) was one ...
2
votes
1answer
2k views

I/O error but no bad block is reported in syslog

I got errors like this in my syslog, but there's no bad block or sector defined in kernel report, I can't just replace the HDD right now and I prefer to reallocate the bad blocks for now, so I need ...
2
votes
2answers
2k views

Install Linux on two hard drives

I am new to Linux. I have a machine with two hard drives, the first one has 80GB and the second has 120GB. I am about to format this machine and install Linux. I want to install all the main ...
1
vote
2answers
120 views

adding a site to Apache2 Ubuntu Linux

I am a newbie to Linux. I am trying to add a webiste on Ubunutu Linux server and following this tutorial http://www.hostly.com/hosting-info/build-website-using-apache-1658.html Created a ...
4
votes
3answers
14k views

GSM modem does not create /dev/ttyUSB file

I installed Kannel in a server, and I want to use a GSM 3G USB modem to send/receive SMS messages, as described in section SMS Centers > GSM Modem of the Kannel User Guide. I have already installed, ...
2
votes
1answer
538 views

Book or online article on analysis and tuning Linux system performance [closed]

I am looking for a good book or online article on analysis and tuning Linux system performance. So far I've found openSUSE 12.2 System Analysis and Tuning Guide which looks promising. Any other ...
4
votes
1answer
278 views

Linux mutex spins [closed]

On Solaris I can use mpstat to see the smtx (i.e., spins on mutex or in other words locks not acquired on the first try) value. This value increasing indicates that swap is being hit too frequently ...
3
votes
4answers
5k views

Given vmlinuz and initrd.gz, how do I find out, where the kernel is going to load / (root) file system from?

I'm trying various ways of Linux installation (from iso, flash, iso on flash, kernel on flash, root FS in iso-file on flash...) and want to understand what's going on. My question is: is it possible, ...
5
votes
3answers
6k views

How can I ensure my cronjob will run at specified time?

I'd like to know how I can check to see if my cronjob will run at the specified time I set it at. Is there anyway I can test this without having to wait for that time? Here are my crontab -l results: ...
6
votes
2answers
9k views

How to adjust charging thresholds of laptop battery?

My laptop is Lenovo T400, and OS is Ubuntu 12.04. I have not been able to adjust the thresholds for battery starting charging and stopping charging. I observed that its current starting charging ...
4
votes
2answers
2k views

Does Linux have support for network interfaces over an AT-Command serial modem?

I've got a Telit GM862-GPS module, which is a GPRS modem with a serial interface and uses the standard Hayes AT command set (with some extensions). What I'd like to do is to be able to connect this up ...
5
votes
1answer
751 views

How to decrypt an encrypted container via ssh without entering a passphrase while requiring some client authentication?

I log in to a server via public key authentication and then mount a container (using e.g. LUKS/dm-crypt or truecrypt). At the moment, I have to enter the container password manually. Is there a way to ...
9
votes
1answer
1k views

Negatives of running processes with real-time priority?

The question is as the title says, are there any downsides of running processes with real-time priority (chrt -f 99)? My hypothesis is that this combined with an affinity will ensure that any ...
6
votes
1answer
575 views

HDD allocation fstab

In my PC running Ubuntu 12.04 LTS I have installed three SATA hard drives. Two of them are installed near a cooler. I want to physically switch two drives (one that is not near the fan should be moved ...
10
votes
5answers
7k views

How to make sure only one instance of a bash script runs?

A solution that does not require additional tools would be prefered.
4
votes
2answers
8k views

How to limit ftp speed

I have multiple users on a server. They upload and download their files through FTP. Sometimes some heavy transfer causes high load on the server. I am wondering, if there is any way to limit the ftp ...
0
votes
1answer
372 views

Where can I see the processes running at startup?

I'm using backtrack5 R2 and sometimes when I log in the information showed says that There is 1 zombie process, where can I see what process is running?
5
votes
7answers
678 views

Very basic Linux for educational purposes

I want to play with Linux to better understand how it works. Thus, I am looking for a very basic and small Linux to play with. I tried small Linux distributions (which copy themselves to RAM), but ...
2
votes
2answers
554 views

SMB Mount To Windows Server Appears to Lock up. Any Ideas?

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
3
votes
2answers
572 views

Linux: Is there a IPv6 equivalent to the IPv4 kernel option accept_local?

Since linux kernel >= 2.6.33 the kernel option "accept_local" can be modified: /proc/sys/net/ipv4/conf/${interfaceID}/ accept_local - BOOLEAN Accept packets with local source addresses. ...
0
votes
1answer
5k views

Kernel upgrade 2.6 to 3.5.3 on CentOS 5.8 -> switchroot: mount failed: No such file or directory

I upgraded kernel on my CentOS 5.8 from 2.6.18 to 3.5.3 and now it is unable to mount the root filesystem: I could not find any explanation through Google. Can you point me in the right direction? ...
0
votes
0answers
326 views

A Reboot() command with failover

I'm implementing a Reboot() call in my application. It's an embedded application, so no console, keyboard or power switch. The Reboot() must eventually restart the system no matter what. Ideally, I ...
1
vote
2answers
1k views

Ubuntu Linux and SCO UNIX OpenServer

Can Ubuntu Linux run SCO UNIX OpenServer 5.0.7 applications like filePro? Can I use CTAR to copy application directories from a CTAR backup tape to Linux Ubuntu?
1
vote
1answer
2k views

iptables forwarding and routing

In fact, this question is about openwrt and CoovaAP, but I guess it's the same in other linux distributions. I've two interfaces, a "wan" and a "wlan" interface. Is there by default any filter, ...
5
votes
1answer
2k views

Running bzImage in QEMU: Unable to mount root fs on unknown-block(0.0)

I compiled the kernel by doing make menuconfig and make. I was trying to run the bzImage in qemu, by doing qemu -kernel bzImage but it didn't work out with the error message: Unable to mount root fs ...
3
votes
2answers
557 views

Modifying TG3 Broadcom driver

I was wondering whether it's possible to modify the said driver in order to prevent adapter from using embedded SRAM, and use system RAM instead. And if so, how to do it. I have a laptop with ...
9
votes
1answer
890 views

What happens when I do “cat debian.iso > /dev/sdX”?

I'm creating a live-USB and don't understand precisely: what happens when I copy a file (or even a file system) directly to a device node (as opposed to a file system)?
3
votes
2answers
4k views

Bridge not working

We want to create bridge (mybridge) on our board over eth0 and eth1 interface. The board runs Linux 2.6.34.9. Following are the commands: brctl addbr mybridge ifconfig eth1 0.0.0.0 ifconfig eth0 ...