2
votes
1answer
200 views

Can pf be used to modify HTTP Headers and Contents?

I'm looking at options to replace my router with something that offers me more options for content filtering and also content modification. One of the things that I want to do is to modify HTTP ...
2
votes
2answers
4k views

Monodevelop doesn't run the project. When I try to run nothing happens

I've been trying to get Monodevelop up and running for almost a week now, first on my redhat and now on my fedora. The debugger doesn't work, when trying to debug I get this error: I tried re-...
1
vote
1answer
296 views

FreeBSD : Persistent naming for NICs

Is there anything equivalent to Debians udev rules on FreeBSD? I was hoping to set the name on devices according to the devices attributes such as PCI bus/MAC etc. However, FreeBSD only seems to ...
2
votes
2answers
7k views

can not use mount.cifs: mount error(2): No such file or directory

The command mount.cifs is found not being able to run in a gentoo system with systemd ae429-1105 etc # mount -t cifs //file.abc.edu.au/user /home/directory/path -o credentials=/etc/user,rw,iocharset=...
-2
votes
2answers
1k views

Run command automatically after login?

Another quick question. I have installed f.lux on Ubuntu 12.04, however the program refuses to work unless I run a command xflux -l [longitude] -g [latitute] -k [temperature] So I've created an ...
12
votes
4answers
558 views

Gallery of installed fonts

I want to view the fonts that are installed on my system. Specifically, I want the client-side (fontconfig) fonts, not the old-style X11 bitmap fonts on the server (for which xfontsel does an adequate ...
1
vote
1answer
216 views

High performance routing with high churn ruleset. What approach is most likely to scale to C10K and beyond?

I've been asked to create a high throughput router using PC / server hardware. I'm modestly familiar with pf, iptables, and tc, but I've never had such high churn and so many rules. I hope you can ...
1
vote
1answer
827 views

scp between two servers with different pem files

I'm following the answer on How to scp from server to server with different public keys? but I'm getting a connection error: # start the agent and capture its environment in the current shell eval `...
1
vote
0answers
119 views

What Causes Mutt To Fail In This Way

When sending an email, the authentication and uploading stages exit successfully. After a long period with the message Connecting to gmail.com, the error message Could not connect to gmail.com (No ...
0
votes
1answer
233 views

Unable to generate ssh public key when installing Redmine

I am trying to set up a Redmine on my server, and I am following THIS setup guide. I have used this guide before on my VPS and it worked perfectly however on this server I get following error when I ...
0
votes
2answers
96 views

Prompt when copying multiple files?

When copying multiple files from one directory to another is there a way to get bash to run through each file and ask for y/n? I vaguely remember adding something to the end of my command like 'ok?' ...
1
vote
1answer
120 views

Wait until no incoming network connection for N minutes, then execute a command

I want to put my Debian Wheezy home server to sleep, if it wasn't accessed through the network for a certain amount of time. I thought of a bash script that uses netstat to count the number of ...
4
votes
2answers
2k views

Execute bash commands over SSH while staying in interactive mode afterwards

Probably it is a weird thing I would like to achieve but: I would like to SSH to a remote host and then execute some bash commands like "alias" automatically to use them afterwards in an interactive ...
1
vote
1answer
469 views

Installing Lispworks on rhel 6.5 Workstation. Error when loading application

Does anybody know what this error means and how to get Lispworks Personal edition to run on Redhat? Error: Error during GUI startup: Could not register handle for external module "-lgthread-2.0": ...
0
votes
0answers
41 views

Execute script when hard-disk's standby state changes (i.e. it spins up/down)

How can I execute a shell script when the standby state of a hard-disk (as reported by hdparm -C /dev/sdx) changes? If possible, I would like to avoid polling hdparm for changes.
3
votes
0answers
187 views

Call vared and complete files from a different directory

I have the following zsh function which lets me edit symbolic links using the vared ZLE builtin. function lned { emulate zsh setopt err_return extended_glob local_options local_traps local -a ...
0
votes
1answer
16 views

Eval emacs init.el from CLI

I want to eval my ~/.emacs.d/init.el file periodically from CLI (cron) since it generates other files that I use in my projects according to some extra data. Something like "emacs -q -eval-file ~/....
18
votes
3answers
9k views

What defines the maximum size for a command single argument?

I was under the impression that the maximum length of a single argument was not the problem here so much as the total size of the overall argument array plus the size of the environment, which is ...
1
vote
0answers
162 views

Debian Wheezy Losing video link on boot

I bought a small Intel Atom machine (Intel atom D525) and I've installed Debian Wheezy on it. After I install (successfully) the OS (via USB) the machine boots and after a couple of seconds I lose ...
0
votes
2answers
880 views

Root access denied in LiveUSB of Portues

I am on Live Linux USB of Porteus linux and I copied it to RAM. I want to access root folder for making changes so that settings gets saved. but this is showing up
0
votes
1answer
4k views

Why does my Arch install hang at random stages during boot?

I've installed Arch on my Macbook Pro, and I can't get it to boot. I removed the quiet flag from grub.cfg to figure out what's going on, but I can't find any pattern. Here are the last few lines of ...
0
votes
1answer
319 views

How does this command make a user a sudoer?

According to this DevStack guide, the following commands will give sudo privileges to the stack user: apt-get install sudo -y || yum install -y sudo echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/...
0
votes
1answer
1k views

How can I allow a group to execute a command as another user?

I'm conservative about my sudoers policy. I'm trying to allow wheel users to run psql postgres postgres as the postgres user (because when ident that's the only way it works). root ALL=(ALL) ALL %...
5
votes
1answer
611 views

What is the effect of setting the timeout value to 0 in /etc/resolv.conf?

In order to fix a problem with DNS resolution in a particular customer environment, their admin has suggested adding options timeout:0 to the /etc/resolv.conf file on their CentOS 5 server. The man ...
27
votes
6answers
78k views

How to comment multiple lines at once? [duplicate]

How can I select a bunch of text and comment it all out? Currently I go to the first line, go to insert mode then type # left-arrowdown-arrow and then I repeat that sequence, perhaps saving a few ...
0
votes
2answers
2k views

How to display technical codec info for a FLAC file?

Given a .flac file, how is it possible to query and display the technical info relating to the codec? I looked into man flac with no luck (the --analyze output is not humanly parseable). I'm ...
4
votes
4answers
9k views

Why can't I run Gnome apps over remote SSH session?

Logging into a remote host using ssh -X me@host, I successfully run gnome-terminal -e "tail -F /var/log/file" &. When I log off and then try the same thing the next day, I get this: Failed to ...
1
vote
1answer
375 views

Filesystem unmounted after weekend

I have a problem with an AIX server what I manage. I had some filesystem created to store the structure of an Oracle instance. But after the weekend scheduled reboot the filesystems are unmounted when ...
1
vote
0answers
249 views

Why is my embedded Linux unable to detect the sd device?

I have this ARM9 SAM9G25 embedded System, running a Linux 2.6.39 Kernel and a Busybox. I put the Images (of the bootloaders, and the linux+initramfs) on a SD so that in the end the system is booting ...
3
votes
1answer
1k views

rootfs.jffs2 files system won't fit in mtd3

I have a files system that I am trying to put in flash memory mtd3 partition. I first boot using uboot and then do run sdboot to boot using SD card as shown below: U-Boot-PetaLinux> U-Boot-...
3
votes
1answer
213 views

Bash tab completion stop searching

When I am typing into bash and I press the "tab" key to auto complete, sometimes it takes a significant time. E.g., file IO to read directories takes >5 seconds, and thus I am hung waiting for IO to ...
2
votes
1answer
54 views

Does time window still exist when the signal is not blocked

Many books say that a time window exists between the generation and delivery of the signal when the signal is not blocked. So I wonder whether the time window still exists when the signal is not ...
1
vote
0answers
22 views

Unitary testing: emulating hardware connection or disconnection

I'm writing a program using libudev. And I want to write some tests. But, one of the functionalities of the program has to do with an usb drive being connected or disconnected. I've read plenty of ...
0
votes
0answers
464 views

Delay in playing(recording?) real time raw audio. [OpenWrt, Debian]

I'm developing OpenWrt device which sends audio data to network but I have issues in the early beginning. I'm trying to find which cause delay in playing (or maybe recording, but more probably ...
1
vote
2answers
397 views

Accidentally deleting crucial libraries

If you accidentally delete a crucial library folder, such as /usr/lib, how can you recover from that?
-3
votes
1answer
90 views

Debian Desktop working inside virtual machine [closed]

I installed debian wheezy on a virtual box hard disk but I don't see any desktop icons and things like desktop shorcuts don't work. I have the latest updates. How do I fix this?
6
votes
1answer
336 views

Why does showkey show a different keycode compared to xev?

Looking for an answer I came across this question. There's something like this: The keycode X uses and the keycode the kernel uses are OFF BY 8 for "historical reasons". So take 97 - 8 = 89 and ...
0
votes
0answers
127 views

Move Complete ORACLE from one system to another

I have 2 identical server with exact disk partitions (OS CENTOS 6.4 both ) [My college central oracle server]. Entire ORACLE HOME ( bin , control files, data files everything on oracle) is on 2nd ...
1
vote
0answers
403 views

udhcpc starting before PHY is up

I'm having a issue with my Ethernet PHY not being up before eth0 tries to get an IP address This is my etc/network/interfaces # Configure Loopback auto lo iface lo inet loopback # The primary ...
1
vote
0answers
283 views

weird problem with 64 bit install and memory

I have a laptop with 8gb of RAM in two 4Gb slots, the processor is 64 bit compatible. However when I try to install 64 bit version of Linux (I tried, mint, arch, manjaro), it refuses to load the ...
1
vote
0answers
3k views

Reading apache error logs from php

I have apache2 logs at :/var/log/apache2/error.log which has permission: -rw-r----- 1 root adm 127140 Mar 20 12:54 /var/log/apache2/error.log for the sake of accessing from php I changed the ...
1
vote
1answer
196 views

How to compile xbindkeys

I cloned the git repository of xbindkeys using: git clone git://git.sv.gnu.org/xbindkeys.git I want to compile it. How can I do this? Where can I find the compile instructions? What are the ...
3
votes
1answer
9k views

Installing the JMeter CA certificate for HTTPS recording [closed]

I got stuck in between while installing the JMeter CA certificate for HTTPS recording in the Firefox browser. I have followed the steps and successfully been able to generate the ...
2
votes
1answer
223 views

Benchmark performance of NIC IC 82574L on Debian 7.0

I figured out my NIC is an IC 82574L 1Gbit/s through ethernet by running lshw -class network. Theoretically, this should allow me to transmit and receive packets at a rate of ~125MB/s (I don't need ...
7
votes
1answer
1k views

understanding the default value of IFS

In my GNU bash version 4.2.8, IFS has a default value of space, tab and line feed by default: usr@T42 ~ $ echo -n "$IFS" | hexdump -C 00000000 20 09 0a | ..| ...
12
votes
1answer
6k views

How can I monitor CPU usage by user?

I need to monitor CPU usage by users of two servers' (Ubuntu and CentOS). For example: user1 5% user2 10% ... Is there a tool similar to top or htop that can do that?
2
votes
3answers
2k views

Do all Linux distributions use the same cryptographic hash function?

Do all Linux distributions use the same cryptographic hash function? If yes, is it provided with the kernel itself? EDIT:- I refer to the function mainly used for storing user login passwords.
1
vote
2answers
616 views

Is file /etc/vfstab Solaris specific?

Is file /etc/vfstab Solaris specific. I mean it only exists in SunOS/Solaris and there is no such file in other UNIX-es/Linux/*BSD.
2
votes
0answers
505 views

Linux Mint 16: Petra - Can't wake from hibernate

I have used Linux Mint 16 Petra - cinammon version for a few months. At first hibernate worked pretty well. Now I cannot wake from it - when I try to, the screen just goes blank and nothing responds ...
3
votes
2answers
92 views

Which directories are writeable in a system following FHS?

I need to ensure that, when deleting a specific user from a system, all of his/her files are removed. User creation/deletion will happen a lot on this system, so I want to reuse UID's and want to ...

15 30 50 per page