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

2
votes
3answers
462 views

How can I find out what happened to my Debian box?

I have an old PC lying around which I've installed Debian 6.0 on. Last night I was trying to SSH in and it wouldn't respond so I pressed the reset button. How can I find out what happened to it? It ...
9
votes
5answers
9k views

Why are PATH variables different when running via sudo and su?

On my fedora VM, when running with my user account I have /usr/local/bin in my path: [justin@justin-fedora12 ~]$ env | grep PATH ...
5
votes
2answers
1k views

How to tweak Linux to run reliably on flash memory?

Since flash memory only has a limited number of writes, what tweaks are necessary for installing a Linux system onto flash media so that the OS can run reliably for a long period of time? Some ...
0
votes
2answers
146 views

Where to handle packets between clients?

"Server": 192.168.1.1 I want to "theoretically" disable that the clients can "ping" each other. Can i use an iptables rule for it? e.g.: iptables -A FORWARD -m iprange --src-range ...
5
votes
5answers
916 views

debian security /etc permissions

I'm setting up a debian box with shared webhhosts. These users don't have ssh permissions, just ftp. The users are allowed to use PHP and I setup suphp for that so the php processes runs under their ...
3
votes
2answers
612 views

How to test file system correction done by fsck

How to make sure that fsck is correcting corruptions while keeping the integrity of file system? Suppose clients are writing lots of files through NFS to server, and there happens something that ...
1
vote
1answer
1k views

IPTABLES rule for separating users

I have an OpenWrt 10.03 router [ IP: 192.168.1.1 ], and it has a DHCP server pool: 192.168.1.0/24 - clients are using it through wireless/wired connection. Ok! Here's the catch: I need to separate ...
0
votes
4answers
2k views

Installing mplayer in Linux

I don't know if this is the right forum to ask, I have started to use Linux (OpenSUSE). I need to install mplayer on it. I unpacked the mplayer archive. Then in the command screen I navigated to the ...
2
votes
1answer
1k views

All my superblocks are corrupt!

I am having a problem with my ubuntu ext3 filesystem. I can't boot from it or mount the volume when running live CD. When I try e2fsck I get: "Bad magic number in super-block while trying to open ...
3
votes
1answer
289 views

Sharing Linux Printer to windows

I want to share the printer connected to Linux with Windows machine, so that windows-user can print to this Linux printer. How can I do this ? P.S. I followed the ...
7
votes
1answer
3k views

mdadm Raid5 gives spares missing events

I succesfully builded up a raid5 array on debian testing (Wheezy). As the manpages and further tell, the array would be created as an out of sync array with just a new spare injected to be repaired. ...
5
votes
2answers
560 views

Is there an analog of apt-pinning in Fedora?

Apt pinning is a feature that allows to set install priority for a group of packages, determined by a number of attributes, such as package version, repository, distro version, etc. See man ...
9
votes
2answers
4k views

Advantages of using a RTOS such as QNX or VxWorks instead of Linux?

When developing a solution that requires a real-time operating system, what advantages would an operating system such an QNX or VxWorks have over Linux? Or to put it another way, since these ...
4
votes
2answers
450 views

Linux package manager architecture

I am looking for a guide on one of Linux Package manager architectures. For example apt-get (dpkg), or yum (rpm). I want to know how they manage the package list, file list, package versions and so ...
1
vote
2answers
682 views

What is the Firefox repository with all dependencies solved?

I'm using Fedora Core 3, and Firefox needs to be upgraded from version 2.0 to some advanced version, such as 3.0 or 3.6. I used the remi repository for yum command, but that repository doesn't contain ...
7
votes
4answers
15k views

How to create a dupe of a KVM/libvirt/virt-manager VM?

I'm a bit lost with virt-manager / libvirt / KVM. I've got a working KVM VM (Windows XP) which works nicely. The VM is backed by a 4GB file or so (a .img). Now I want to do something very simple: I ...
5
votes
2answers
824 views

What is the state of open-source Poulsbo/GMA 500 drivers?

Currently, a causal browse through a number of Linux distros show spotty Poulsbo drivers at best. Has any headway been made recently towards either convincing Intel to coax the driver source out of ...
6
votes
3answers
413 views

SpamAssassin Under Linux VPS

I am getting bald with this guys: On a Linux VPS (CentOS), I have setup a mail server (Exim+Dovecot+Clamav+SpamAssassin) but scanning mail for spam using SpamAssassin is proving to be a challenge. I ...
4
votes
4answers
3k views

Understand error codes in Linux

I am working on Linux (Kernel Version 2.6.32.28) laptop. After I inserted/did file io/removed a SD combo card, I got following errors: mmcblk0: error -123 sending status command mmcblk0: error ...
6
votes
2answers
780 views

Xen/KVM/LXC for testing packages

On Debian Stable, I would like to be able to create a new instance of the OS, use apt-get to install some Unstable packages with dependencies, then cleanly delete the whole thing when I'm done. ...
4
votes
1answer
636 views

How to disable certain system calls for a given user?

I am creating a web app similar to codepad and for each run-action my app copies a directory (/home/radeks/voidptr/private/chroot-root) to /tmp/voidptr/[random-id]/chroot-root. This chroot directory ...
2
votes
1answer
616 views

How to make system automatically mount encrypted device in Linux

When I plug my external storage in , I need to automatically mount it as an encrypted device. How do I make this happen ?
1
vote
2answers
675 views

How can I disable /proc pseudo-filesystem on a shared Linux environment?

Is it possible to disable the /proc pseudo-filesystem to prevent w, ps, top, etc, from showing what other users are doing? Of course, I still want "everything else" to work correctly. Is there a ...
4
votes
2answers
1k views

Need Advice: What Linux distro should I install on an old PowerPC Mac

I'm trying to set up my brother (who has a PPC Mac, with 1 ghz processor and 256 ram) with a Linux distro that would allow him to surf the web on the device. Support has faded for the new browsers, ...
12
votes
4answers
11k views

Mounting USB disks automatically (How it works)

Background: I am trying to mount a usb disk as read only but my ubuntu install is mounting it rw when I plug the disk in. I can unmount the disk manually and remount it manually as read only with ...
2
votes
1answer
181 views

Add latency when accessing certain websites under linux

I've been playing with tc on my local machine. sudo tc qdisc add dev eth0 root netem delay 2000ms adds a 2-second latency to all traffic going through eth0. What I want is to be able to limit this ...
4
votes
2answers
3k views

Iso booting with grub2

I am using Linux Mint 10, and it is installed on sda8. I edited /etc/grub.d/40_custom: #!/bin/sh echo "Adding 40_custom.">&2 exec tail -n +3 $0 # This file provides an easy way to add custom ...
5
votes
3answers
218 views

How to check why the cdrom cannot be open exclusively

Sometimes when I try to burn an ISO image, the message that "/dev/sr0" cannot be open exclusively appears. lsof does not shows any program that opens "/dev/sr0" (I checked for aliases too).
24
votes
7answers
23k views

Disable screen blanking on text console

I'm running linux clusters, mostly on SLES10. The servers are mostly blades, accessed via remote console. There is a real console in the server room, but switched off. I would like to disable the ...
8
votes
2answers
391 views

Connect alauda driver to an mtd device

I have a USB card reader, an Olympus MAUSB-10. It provides direct flash access to SmartMedia or xD cards, using the Linux alauda driver. This is different from a typical card reader which just ...
3
votes
2answers
2k views

How to get vodafone mobile connect (or equivalent) working reliably on debian squeeze

I got a Vodafone K3760 at some point in Debian/Lenny's lifetime, for use with a Lenovo S10e. I installed (from the Vodafone BetaVine site) usb-modeswitch 0.97 and vodafone-mobile-connect (VMC) ...
2
votes
2answers
325 views

Video Watermarking

I am looking for a solution in which I can add watermark to the given video at given frame. Is there any utility/tool to do so ?
16
votes
5answers
2k views

How is the linux graphics stack organised?

Can anybody explain(hopefully with a picture), how is the linux graphics stack organised? I hear all the time about X/GTK/GNOME/KDE etc., but I really don't have any idea what they actually do and how ...
8
votes
1answer
2k views

Difference between /usr/include/sys and /usr/include/linux?

Well, obviously there is a difference, but I'm curious about the rational behind why some things go under /usr/include/sys and others go under /usr/include/linux, and have the same header file name? ...
3
votes
1answer
201 views

A short tutorial on how a linux distro is organized and supposed to work

I need a tutorial , preferably with pics/diagrams to get oriented to how a typical Linux distro. is organized and used (including the basic software installation work flow). It shouldn't be a 500 ...
7
votes
4answers
2k views

Debugging Linux machine freezes

I have 15 identical Linux RH 4.7 64-bit severs. They run cluster database (cluster is application level). On occasion (every month or so) a random box (never the same though) freezes. I can ping the ...
15
votes
4answers
7k views

Binary compatibility between Mac OS X and Linux

Brace yourselves, this question will likely appear naive and/or foolish, seeing as I am relatively new to the inner workings of unix like systems, and programming in general. Ready? Ok! I will go ...
2
votes
1answer
2k views

Customized XDM-based login screen

I am in the process of creating a lightweight yet full-featured Linux disto and don't want to include a whole bunch of unnecessary or bloated software. It is supposed to run off a USB flash drive. I ...
2
votes
2answers
738 views

rsync via ssh from linux to windows sbs 2003 protocol mismatch

I am trying to backup my linux webserver to our local windows sbs 2003 server in the office. I have set up ssh and cwrsync on the windows server and have confirmed that the linux server can reach the ...
8
votes
2answers
19k views

How to find out which Wi-Fi driver is installed?

I know about lsmod, but how do I figure out which driver does what?
4
votes
4answers
8k views

Linux distribution for the AMD Geode LX 800 (i586) [closed]

The manufacturer recommendfs RH9 (ugh) and many of the google search hits come up with comments from 2006/7 which detail xorg problems with the AMD video driver and I'm hoping someone here has had ...
9
votes
2answers
9k views

Bash Script on Startup? (Linux)

Is there any way to make/run a bash script on reboot (like in Debian/Ubuntu for instance, since thats what my 2 boxes at home have) Also, any recommended guides for doing cron jobs? I'm completely ...
1
vote
1answer
523 views

How can I get real-time information about monitor plug/unplug events?

When I connect or disconnect the USB device, udev shows/monitors that event. But udev is not enough smart to detect the plug-out or plug-in of the monitor. Is there any way/tool/utility from which I ...
1
vote
3answers
4k views

Reading EDID from EEPROM

From the link: http://en.wikipedia.org/wiki/Extended_display_identification_data The EDID is often stored in the monitor in a memory device called a serial PROM (programmable read-only memory) or ...
12
votes
4answers
3k views

Read the stack of another process?

I'm trying to read a child process's stack but with no luck. I know it is possible using ptrace, but ptrace's interface allows you to read only one word at a time, and I'm trying to scan a larger ...
13
votes
4answers
9k views

What is the meaning of $? in a shell script?

When going through one shell script, I saw the term "$?". What is the significance of this term?
1
vote
1answer
670 views

CCD cam to USB - AV grabber for linux

I was wondering if there is an AV Grabber that supports Linux. I have IC-348 model I.C.U (international camera unit) camera made in P.R.C, which uses a Sony CCD 420TVL. I want to grab the video output ...
2
votes
2answers
344 views

Linux installation on an extended drive related

I just want to install another version of same distro linux into the extended partition, i. e. into the /dev/sda7. Does it make any problem into current Linux and its data and contents? If no, I ...
4
votes
2answers
2k views

Remapping caps-lock to escape, and menu to compose, on the linux console

When running X I use a .xmodmaprc to remap certain keys thusly: ! Make it so that both Caps Lock and Escape do Escape clear Lock keysym Caps_Lock = Escape ! Remap the menu key as Compose keysym Menu ...
5
votes
4answers
3k views

Copy a File From One Zip to Another?

I have a file named 'sourceZip.zip' This file ('sourceZip.zip') contains two files: 'textFile.txt' 'binFile.bin' I also have a file named 'targetZip.zip' This file ('targetZip.zip') contains ...