8
votes
1answer
41k views

Remove USB flash-drive write-protection

I have a sports-watch which has an integrated flash-memory. This flash-memory is used to store training information. When I connect the watch to my computer using the USB cable, it's detected as write-...
0
votes
1answer
423 views

Converting *.ram to *.avi

I just came across an old file witn a ram extension. I've tried viewing it ( just to see what it is ) and am having extreme difficulties. I've tried looking for spftware online and alll I find are ...
4
votes
1answer
134 views

Generating a list of alternative packages with apt tools

Given a package how can I list all possible packages that are alternatives to this package? In the alternate, how can I tell if a package or one of it's alternates is installed? Using something in ...
1
vote
1answer
53 views

bash_completion

I have a simple script, which creates a symlink IP_address -> config_file (used for pxe boot). My script is called like this: lnpxe CONFIG HOSTNAME where CONFIG is one of my config files stored in /...
2
votes
1answer
5k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
0
votes
1answer
1k views

The fastest desktop environment for Mint 14 [closed]

I'm using Mint 14 with the Cinnamon desktop environments, but some times it get's extremely slow. So I googled about other desktop environments and I found this great article: http://askubuntu.com/...
0
votes
1answer
2k views

Undestanding the output of route -n

Can someone explain me what the out put of route -n? # route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.0.1 ...
4
votes
2answers
2k views

How do I detect wheter the audio cable is connected?

I'm using Ubuntu Lucid (10.04). In my shell script running as root I want to detect whether an audio cable (analog jack) is connected to the laptop or not. How do I do that? I don't need a portable ...
0
votes
0answers
1k views

Lock screen after blanking with gnome-screensaver and XFCE

I'm using XFCE4 with Fedora 18 and replaced xscreensaver with gnome-screensaver. I have gnome-screensaver checked in session and startup and xscreensaver unchecked. By using power manager, I have ...
1
vote
1answer
661 views

Install vmware-tools using yum in vmware fusion

I added vmware-tools repo [1] to my virtual CentOS box. What is the exact set of packages I have to install? The rationale is to be able to update vmware-tools using yum. Environment: Host OS: Mac ...
13
votes
4answers
7k views

Recommended way of installing python packages on Arch

What's the recommended way of installing python packages on Arch? Searching for them on the AUR and installing them from there (or create a PKGBUILD file to make a package yourself) or using pip? I ...
4
votes
1answer
126 views

How-to diff distributions?

I am using a Raspberry Pi. There seem to be all kinds of linux distributions, all in .img Format that I use Win32DiskImager for to burn to SD-card. How do I find out, which files were changed(some ...
2
votes
1answer
1k views

GDM not showing when I boot my FreeBSD system

I've installed FreeBSD 9.1 in a VirtualBox VM, and did some basic setup. After that, I had installed Gnome2 via sudo pkg_add -r gnome2. Along the way, there were some errors. Mostly it was (I think) ...
2
votes
2answers
1k views

Search class names in jars

I'm using this command to search *.jar files for java classes, and I only get the name of the jars that contain those classes: grep -ral --include=*.jar SignonEJB . How can I also get the class ...
18
votes
2answers
20k views

Who sets $USER and $USERNAME environment variables?

Also, will these variables always match currently logged-in username (they do on my Debian system)? Can I assume their availability in other Unix(-like) systems? I'm also curious why one would use ...
1
vote
1answer
313 views

Cannot connect to ssh from crontab

I can create ssh connection from the command line with this command(without password): ssh -R 9900:localhost:22 user@host I need to run this command whenever the system reboots, so I put it in a ...
1
vote
1answer
46 views

Matching hexadecimals with gawk

I have a binary file with the following content (printed in hexadecimal): $ xxd -p virus.com 5669727573b440bb0100b90500ba0000cd21 I can match the first 5 letters (which are the alphanumeric string '...
1
vote
1answer
481 views

Start the GUI automatically in OpenBSD

I can't find the GUI to start up automatically in OpenBSD hppa 5.3. What commands must I use to get this working? I want to use Gnome like in OpenSuse which I am more comfortable with.
0
votes
1answer
379 views

is there a libboost-all instead of libboost-all-dev?

I need libboost dependency for a package I'm running, but the only package I can find is libboost-all-dev, and I'm not sure what the "dev" means and if I need it. Is there a libboost-all-<...
1
vote
1answer
1k views

How can I create an encrypted, file-system–agnostic, mountable volume?

At work, we have an iMac (running OS X) that shares a partitioned hard drive over the network. I'd like to back up to my partition from my Linux machine. I've attempted connecting via cifs, then ...
1
vote
1answer
618 views

Udev rules involving X11 don't run on startup

I have some udev rules written to run when I connect certain usb devices. For example, I change pointer velocity for certain mice, and change xmodmaps for particular keyboards. The scripts work well ...
1
vote
2answers
530 views

What does longterm mean on kernel.org?

It's fairly easy to understand EOL, mainline and stable kernel, but I'm not sure about longterm here, What does it mean, or how does it differ from stable kernel?
4
votes
2answers
3k views

Option “user” work for mount, not for umount

I am experimenting mounting options for a program I am writing. I am running Linux Mageia 2. I added the following line to /etc/fstab /dev/sr0 /mem auto user,noauto, 0 0 and I removed all other ...
1
vote
1answer
2k views

TP-Link TL-WR1043ND as dumb access point

I followed these instructions on how to set up my TP-Link TL-WR1043ND as a dumb AP: Flashed brand new Attitude Adjustment 12.09-rc1 Logged into LuCI, set up a password Disabled and stopped firewall ...
5
votes
2answers
265 views

awk + paste for cleaning up PATH?

I have seen this code in .cshrc init files on a few machines. I went through a few awk tutorials in trying to understand how it works, but I am still unable to decrypt it. setenv PATH `echo $PATH | ...
0
votes
1answer
126 views

Linux snapshotting issues [duplicate]

Is there any way to deal with incoming writes while a backup is in progress in linux. Example, you are writing to your sql database and lvm snapshotting at the same time. This will result in corrupted ...
2
votes
1answer
310 views

Any other way to define an environment variable?

I'm quite new to Linux. Debian Wheezy is now running on my Laptop (64 bits). I recently installed Oracle 11g R2 database for evaluation purpose, and defined environment variables (such as ORACLE_SID) ...
4
votes
2answers
19k views

Change Password of a user in /etc/shadow

I would like to change the password of a user in the /etc/shadow. I can't use password changing programs like passwd. It must be done by editing the /etc/shadow. The /etc/shadow is on a mounted hard ...
3
votes
2answers
545 views

Create custom wordlist

I want to create a custom list of (scientific) words for purposes like spell checking and OCR based on my collection of scientific papers in pdf format. Using pdftotext I can easily create a text file ...
1
vote
1answer
2k views

Xfce: Upgrade from Squeeze to Wheezy broke xfce's user policies

While using Debian squeeze, I was able to allow a user shutdown in xfce by adding users to the powerdev group (see here: xfce: Allow shutdown for non-root users). Now, I upgraded my system to Debian ...
3
votes
1answer
1k views

Writing triggers for mcelog

Just starting to look into mcelog for the first time (I've enabled it and seen syslog output before, but this is the first time I'm trying to do something non-default). I'm looking for information on ...
4
votes
2answers
273 views

How do I make the CLI run on dedicated graphics?

I just finished my Gentoo minimal install and the first thing I wonder is why I get no picture. I did have signal on the live CD, so that was pretty odd. I plugged the monitor into the Intel HD ...
3
votes
2answers
423 views

First key pressed repeates forever

I just installed CentOS 6.4 on an old machine I acquired for a development box, but I am running into keyboard issues I can't get around. I start the machine and go to type a user name in and ...
2
votes
0answers
82 views

Why some gnome-terminal tabs look depressed

On my Ubuntu 12.04 Linux 3.2.0-43-generic system with AMD Athlon 64 X2 5000+ cpu, with Unity desktop, ubuntu-2d desktop-session, and Metacity window manager, some of the tabs on a GNOME Terminal 3.4.1....
1
vote
0answers
785 views

linux mint cinnamon - AR9485 Wireless Network Adapter keeps disconnecting

Lately I got a DELL inspiron 15-3521, I installed the latest Linux mint cinnamon. I have been having some problems with my Ethernet card, when i start my pc everything works perfectly for about 10 to ...
8
votes
3answers
21k views

IPTables - Port to another ip & port (from the inside)

I currently have a NAS box running under port 80. To access the NAS from the outside, I mapped the port 8080 to port 80 on the NAS as follow: iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT ...
1
vote
1answer
1k views

Install postgresql 9.2 on debian wheezy (on virtualbox)

I have virtualbox with Debian Wheezy. I'm trying to install Postgresql 9.2 on it. When I trying do it by this instruction i have next: Reading package lists... Done Building dependency tree Reading ...
12
votes
2answers
2k views

hook a script to apt-get

I have /tmp on a separate partition, and mounted with noexec. I am using Debian. The installation of some packages fails, because the post-installation scripts of some packages need to run from /tmp. ...
2
votes
1answer
537 views

Can iptables be used to convert a single-homed host into a NAT server?

Given: I have a machine (HostA) with only one NIC which has Internet connectivity. I have another machine (HostB) with one NIC on the same switch. HostB is not configured for Internet access yet. ...
4
votes
2answers
2k views

How to install GNU/Linux on a Windows PC without the BIOS password?

I want to install a GNU/Linux based operating system on a computer with Windows preinstalled, but unfortunately, the BIOS is set to only boot from the harddisk, and there is no way to boot from ...
2
votes
2answers
663 views

Firewall distro to share bandwidth evenly between connected users

I'll first describe my situation. I have a network made by a central x86 server/firewall, 5 access points and 2 unmanaged routers in between. 20 Mbits download and 1 Mbit upload ADSL. Upload is ...
1
vote
1answer
765 views

How do I set affinity of a particular thread on FreeBSD?

As the title says, I'm trying to figure out how to set the affinity of a particular thread (but not the entire process) on a FreeBSD system. On Linux, I'm able to do this with ps -L uH [pid], ...
2
votes
1answer
310 views

How to make Ctrl+PgUp and Ctrl+PgDn change window tabs

I am running GNOME 3.4 (Debian 7.0) and my laptop (Gigabyte Q2532), unlike all those I've used before, doesn't change application tabs with CtrlPg Up and CtrlPg Dn. This forces me to use Alt0...9, ...
2
votes
1answer
201 views

SED Showing CRLF While Vim Not Showing

Why sed l\;q shows a CRLF while opening the file in Vim with :set list doesn't show any CRLF
3
votes
1answer
63 views

Why aren't CD image files listed when mounted in current directory?

When mounting a disk image in the current directory using : sudo mount -o loop -t iso9660 wall.iso ./ Listing files in current directory only returns wall.iso . To view the actual files on the disk ...
5
votes
1answer
6k views

iptables: recent module

I am using the "recent" module to prevent port scanning, such as: -A INPUT -i eth0 -m recent --name PORTSCAN --update --seconds 60 -j DROP -A INPUT -i eth0 -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT ...
0
votes
1answer
54 views

Keyboard shortcut to switch files in one Emacs instance?

I've multiple files opened in an Emacs client. Right now, to toggle between files, I've to click on the file name at the bar below in the editor. Any keyboard shortcuts for switching between files?
2
votes
0answers
447 views

Accessing multiple wifi networks simultaneously from debian wheezy

I have got 2 wireless adapters on my machine (one built-in and the other a purchased USB wireless adapter) is there a way I can utilize different WiFi networks simultaneously? I have in mind ...
0
votes
2answers
4k views

`ps | grep | kill` aborts my script prematurely [duplicate]

I have a Linux computer that I remotely SSH into using plink on a Windows XP machine. I have a Plink program set to execute commands in a script using automated login: plink -ssh [domain name] -l [...
6
votes
5answers
15k views

How to build a live Debian CD/USB in Windows, bootable in EFI mode?

I tried to install the latest stable Debian release (Debian 7.0 "Wheezy") using the Debian Multi-arch netinstall (AMD64) "debian-7.0.0-amd64-i386-netinst.iso" on my laptop. My laptop has a SecureCore ...

15 30 50 per page