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
1answer
3k views

Laptop web cam not recognised by Linux Mint

I am new to Linux and I have a 64-bit Linux Mint 10 but it does not recognise my Lenovo Y650 camera. When I try to open the Video4Linux Control Panel, I get the following error: Unable to open ...
8
votes
1answer
4k views

Is NTFS under linux able to save a linux file, with its chown and chmod settings?

I'm having some doubts about how to install and allow linux to correctly read/write to a NTFS formated harddrive used as backup of various machines (windows included, that's how I need NTFS). For now ...
3
votes
2answers
6k views

ldap_bind: Invalid credentials (49)

I'm trying to set up an openLdap server and after following the instructions I'm stuck at the point where I can't add any data. The error I'm getting is ldap_bind: Invalid credentials (49) Please ...
2
votes
0answers
274 views

Is there a version of Wine that actually runs mainstream chat clients?

Is there a version of Wine that actually runs mainstream chat clients? I'm willing to consider commercial forks. I'd need it to support at least: Yahoo QQ Skype (yes there's a native client but it's ...
5
votes
2answers
378 views

Workings of top and ps commands

How do the commands top and ps calculate CPU utilization using the /proc/[$pid]/stat file? Also how do they obtain memory utilization information about the process?
3
votes
2answers
1k views

VirtualBox image from running VPS

I have an Ubuntu Server 10.04 VPS (Virtual Private Server) that hosts my website. I would like to clone this VPS and create a VirtualBox machine from it. How can I do this?
20
votes
4answers
22k views

How to record Skype video calls on Linux?

I'd like to conduct recorded video interviews with Skype and am looking for a reliable tool to accomplish that. Is there anything out there that's not slow or buggy? I'm running (K)Ubuntu.
5
votes
3answers
2k views

How to load tp_smapi on Thinkpad X120e

My brand new Thinkpad X120e is working well with Ubuntu Natty. Now I want to get the tp_smapi module to work so I can control battery charge behavior. Unfortunately I get "no Thinkpad embedded ...
1
vote
1answer
180 views

Error While Booting GRML

I'm dropped the 32-bit GRML ISO onto a 1GB thumb drive with the usual command: dd if=grml_2010.12.iso of=/dev/USB_STICK (of course, with the correct device). But, when I try to boot from it, it ...
13
votes
3answers
2k views

How can I de-fragment a drive using Ubuntu?

Is it necessary to defrag drives in Ubuntu? If so, how do I do it and how often should it be done?
0
votes
1answer
526 views

Ubuntu 10.10: Why does external dial-up modem randomly disconnect from internet?

Background: Dial-up is the only option for this computer Gave up on the internal modem last week; now using an external USB modem. I finally have the computer talking to the internet. HOWEVER, after ...
2
votes
2answers
105 views

mounting on boot - how to edit

How does linux know which partition should be mounted at which directory? Where is this info stored?
0
votes
2answers
383 views

No pppoe-server in Fedora 14?

$ yum list | grep -i ppp ppp.i686 2.4.5-12.fc14 @updates rp-pppoe.i686 3.10-6.fc12 @fedora/$releasever ...
2
votes
2answers
886 views

USB2.0 device not recognized anymore

I have a Ubuntu 10.10 (x86) system which I use to test GNU Radio applications. I have successfully been using a USRP1 with a USB2.0 connection for some time now, yet at some point yesterday it appears ...
2
votes
1answer
2k views

Cron daemon error : Permission Denied

I am having trouble setting up a cron job. My set up is as follows: crontab -e */10 * * * * OTP_ProJect/PandaServerInfo/SVN/PandaQueueMonitoring/trunk/submit_cron_test.sh the shell script has ...
6
votes
1answer
3k views

What is the difference between likely and unlikely calls in Kernel?

What is the between likely and unlikely calls in Kernel. While searching through the kernel source i found these statements. # define likely(x) __builtin_expect(!!(x), 1) # define unlikely(x) ...
21
votes
6answers
6k views

What's the most “correct” mount point for a permanent NTFS partition?

I have an NTFS partition (containing a Windows installation from which I dual boot) that I would like to permanently mount from my Linux installation. Problem is, I can't figure out what the ...
3
votes
2answers
311 views

Monitoring process activities using system calls only (without utilities like `top`)

I want to obtain information about memory used by different users and different processes which users are running and statistics about those processes like memory consumption, execution speed, etc., ...
1
vote
3answers
701 views

Which is better for product level web server: RHEL/Ubuntu Server/Debian/CentOS

We are planning to setup a linux based web hosting solution, which should include an HTTP server, SMTP server, mongoDB and Java. We want to understand which distribution is better for this purpose. ...
3
votes
1answer
179 views

Linux App that monitors log and add rules to iptables

I used to use a linux software that monitors logs like http, ssh, etc and if it detects that someone is trying to use brute force, it blocks that ip by adding a rule to iptables. I forgot what that ...
6
votes
3answers
2k views

Print mac address to file

With a bash script, can I read the mac address of my eth0 and print it to a file?
2
votes
1answer
2k views

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems ...
2
votes
1answer
1k views

Upgrade Suse 10.3 to 11.3 and startup fails

I upgraded my Suse 10.3 installation to 11.4 using the update option from a network installation disk. When the update was complete I was asked to reboot. When I did the reboot I am asked to login. ...
1
vote
1answer
607 views

What is the size of the TaskList?

While reading through the Linux Kernel Development by Robert Love, I went through the following line : The kernel stores the list of processes in a circular doubly linked list called the task ...
2
votes
4answers
969 views

different shell for root and non-root user

When I ssh as root, my shell is bash, but when it's a non-root user it is sh. How can I make them both to use bash? This actually goes against the logic in this question: Why root's default shell is ...
6
votes
2answers
6k views

What are the allowed group names for groupadd?

I followed these instructions to build Shadow, which provides the groupadd command. I am now getting an error when trying this: $ groupadd automake1.10 groupadd: 'automake1.10' is not a valid group ...
7
votes
3answers
8k views

Automount USB drives with no GUI requirement (halevt replacement)

For minimal installations of Debian, I have been using halevt to enable automounting of USB drives. Halevt is reliable and requires no configuration aside from installing the package. Now, halevt has ...
2
votes
2answers
583 views

Cannot understand chkrootkit's result

I couldn't understand the output of chkrootkit command: $ chkrootkit -q -r / /usr/lib/.libssl.so.10.hmac /usr/lib/.libfipscheck.so.1.hmac /usr/lib/firefox-3.6/.autoreg ...
2
votes
2answers
253 views

How to start customizing linux?

I've heard that Android is based on linux (or unix?). That means, engineers at google modified linux code to run on android phones or tablets. I would like to become those engineers someday. Where ...
1
vote
1answer
328 views

Easy Regex on Apache Logs

I'm struggling to create a regex for Apache logs. It's for ignoreregex on Fail2ban. I'd really like to be able to put something like /house to catch all files in that directory or ...
1
vote
1answer
1k views

Where to download Wolfenstein: Enemy Territory for linux?

Hey Guys, I'm using KUBUNTU 10.10 I would like to use Wolfenstein: Enemy Territory for linux, I know this game is free, right? Please could someone give me the list of the last version of the game? ...
3
votes
2answers
825 views

How can I count lines with title-case words of certain length?

How can I create a shell script in unix/linux to find the number of lines in a text file that have words which are 5 to 10 character long and begin with a capital letter?
1
vote
4answers
819 views

Debian Lenny on Asus sabertooth X58 won't detect hard drive

I have been trying to install Debian Lenny on my new machine, alongside Windows 7 64-bit. When I get to the part where it detects my disks, it can't find any. I have a 1GB FAT32 flash drive that it ...
11
votes
6answers
1k views

Looking for tools to build minimal linux desktop

Increasingly I am dissatisfied by the fact, that configuring my linux desktop usually means removing bloat instead of adding and tweaking features. I have come to the conclusion that I would rather ...
2
votes
2answers
126 views

What would it take for a *nix system to shutdown, then continue to grub?

Is this possible to shutdown to grub, not all the way so you don't have to load back up the BIOS and other things. Like to give you the ability to quickly boot for Linux to Windows?
1
vote
4answers
1k views

How to install Fedora&Ubuntu with encrypted VG's on one disk?

I installed Fedora 14 first, then Ubuntu 10.04. I installed them using dm_crypt/aes256/lvm, so I used encrypted VolumeGroups. At the end of the Ubuntu install it said it cannot install GRUB, so I had ...
2
votes
1answer
1k views

Redirecting Google search to HTTPS with Privoxy

I tried this in the user.action file: { +redirect{s@http://www.google.*/search@https://encrypted.google.com/search@} } .google. But it doesn't work. My goal is to redirect from this: ...
2
votes
1answer
2k views

How to whitelist a url/site in privoxy?

I'm using Fedora 14 with privoxy-3.0.16-3.fc14.i686! These sites are blocked by Privoxy: http://somewhere.com/user/11111/track?page=1 ...
1
vote
1answer
7k views

Install GCC on OpenSUSE 11.4

I installed OpenSUSE 11.4 but I noticed that it don't have gcc… How I can install it?
1
vote
1answer
2k views

Differences between Debian bigmem and amd64 kernels

Debian 6 has multiple Linux kernel packages, and I'm interested in two of them: linux-image-2.6.32-5-686-bigmem linux-image-2.6.32-5-amd64 Consider that: I'm not going to be running any ...
3
votes
3answers
290 views

Changing the disk scheduler on the fly

Can the Linux disk scheduler be changed on the fly by writing to /sys/block/sda/queue/scheduler? Should applications (e.g. Mysql) be stopped / started when changing?
3
votes
1answer
288 views

How to compile a decent kernel from kernel.org?

I tried compiling a kernel from sources that I got from kernel.org (mainline) with make allyesconfig and make allmodconfig, but both builds resulted in a kernel, that won't boot. I was thinking, that ...
6
votes
3answers
3k views

How do Linux drivers work and where do I find them? (esp. NIC driver)

I am wondering how a driver functions under Linux. Are drivers a single file that can be edited? Is there a list of current drivers in use or is there a different place to find them for each device? ...
7
votes
2answers
7k views

Make all files under a directory read-only without changing permissions?

First, some background: /dev/md1 is a RAID-0 array serving as primary file store. It is mounted to /var/smb. /dev/md2 is another RAID-0 array storing backup snapshots taken from /dev/md1. It is ...
5
votes
1answer
20k views

How do I create new partitions and format my hard drive in parted?

I'm somewhat new to working with commandline tools when dealing with partitioning, so you'll have to excuse my newness. I'm basically trying to create a new logical partition on /dev/sdb and would ...
5
votes
11answers
2k views

What is a free, small Unix/Linux OS? [closed]

I have a spare machine with an 80GB HDD and 512 MB RAM. I want to try a Linux distro that's very small (and free too). What should I try?
3
votes
1answer
543 views

Capture and log GDB backtraces without stopping the process

First, a brief description of the situation: a computer sits hidden near a display in a gallery of some sort, acting as the silent workhorse for a piece. Despite its programmer's best intentions the ...
5
votes
2answers
2k views

BCRYPT - Why doesn't the Linux Distributions use it by default?

Does OpenBSD use bcrypt by default? Why doesn't every modern Linux Distribution use BCRYPT? http://codahale.com/how-to-safely-store-a-password/ https://secure.wikimedia.org/wikipedia/en/wiki/Bcrypt ...
6
votes
2answers
737 views

Suggestions needed to debug why ps -ef gets stuck

A few of my processes consume 100% cpu. I'm trying to figure out which scripts are causing it I tried running strace ps -ef: open("/proc/PID/status", O_RDONLY) = 6 read(6, "Name:\textract\nState:\tR ...
2
votes
1answer
167 views

Is it possible to set su to use WE password dialog

I have sometimes problem when during entering password for su other window appears and steals the focus ("wait - did I just entered root password on public IRC chatroom?" - it did not happened but ...