9
votes
4answers
45k views

Linux: clnt_create: RPC: Program not registered

NFS mounts recently automatically got un-mounted. When I checked, the NFS service status it was shown to be running. [root@hsluasrepo]# service nfs status rpc.svcgssd is stopped rpc.mountd (pid 4083) ...
3
votes
2answers
265 views

Detect damaged audio CD

I need to check if a lot of audio CDs are damaged or not and would prefer not to have to listen to them all. Is there a good way to do this quickly?
6
votes
4answers
11k views

SSH not working from one specific computer

I can connect from every other computer on the LAN, as well as externally. It connects fine to other machines running SSHD. When trying ssh with verbosity, I get the following readout: $ ssh -vvv ...
2
votes
2answers
671 views

Define custom DNS server when looking up host

I'm having trouble with my current web host's DNS server which doesn't correctly resolve IP addresses for Baidu. shell_exec('host -W 2 180.76.5.168'); shell_exec('nslookup 180.76.5.168'); Is there ...
0
votes
1answer
126 views

Is there a grep switch that reads a file for filter terms?

Assuming file a.txt has: 1a 2b 3c 4d so grep "1" a.txt would return: 1a and grep "3" a.txt would return: 3c what if i want to put a criteria file named crit.txt with the following ...
4
votes
2answers
1k views

SSH tunnel through middleman server - how to connect in one step (using key pair)?

My question is basically how to turn my existing two steps into one step. I have a working SSH tunnel set up between two computers using a middleman server like this: ...
2
votes
2answers
121 views

how to count number of differences in large streams quickly?

I want to count the number of differences (different bytes) in two large streams (devices/files). E.g. two hard disks, or one hard disk and /dev/zero. The program(s) involved must be fast, as fast ...
4
votes
1answer
155 views

Editing Truecrypt Hidden Volume's Outer Volume?

I just created a tor hidden (plausible deniability) volume. I used a 32GB USB flash drive, for the outer volume, and made the inner volume 20GB. Does this mean that I can safely add another ~12GB of ...
2
votes
1answer
6k views

how to pipe audio output to mic input

I've looked all over the internet for a clean way to reroute the audio output of my computer (i.e. what I'd hear from the speaker) to my microphone's input. Possibly, I'd like to do this at low level ...
1
vote
1answer
746 views

Remote support: routing RDP over ssh tunnel?

I want to replace TeamViewer with a FOSS solution. I need to support some remote computers. I have a working SSH tunnel set up between two computers using a middleman server like this: ...
2
votes
2answers
375 views

How to write to ext2 image without having root access

I have been able to mount a ext2 image without having root access by adding an entry to /etc/fstab. However, I am not able to modify this image (copy a new file to it) without having sudo permissions. ...
1
vote
1answer
700 views

Unable to recognize old interfaces after motherboard update

I updated motherboard on x240 computer node, now the ethernet interfaces show up as eth2 and eth3 previously it was eth0 and eth1. I tried to delete /etc/udev/rules.d/70-persistent-net.rules file but ...
4
votes
2answers
3k views

How to control thinkpad_acpi via procfs, RHEL 6.4

I'm having trouble with the thinkpad_acpi module on my Thinkpad T400. While the processor temperature can vary, depending on the CPU activity, from 40 to 85 deg. Celsius, my fan speed remains almost ...
15
votes
5answers
4k views

Bash in Linux v.s Mac OS

I am buying an iMac. I've been working on Linux for a long time and I do a bunch of bash scripting. I was wondering if all the bash commands and features are available on Mac OS ? Anyone has any ...
1
vote
1answer
3k views

How to enable WebGL in Chrome or Firefox?

I want to try out WebGL as I'm learning OpenGL currently and, well yeah, kind of interested in how WebGL looks like. I tried some demo sites like this or that. But unfortunately they don't work. I ...
4
votes
1answer
145 views

Communicate across X-desktop sessions on same machine?

I've got a Raspberry Pi running Debian/Raspbian (thus X server) that I'd like to drive two screens with. I'm programming something that will have a public-facing screen and an operator-facing screen. ...
1
vote
3answers
80 views

Create a service that logs all input

I need to create a service that logs all input on a certain port to a file. Do I have to create a custom program for this, or is there an existing tool out there that can help me with this?
2
votes
1answer
110 views

How to install Ubuntu on a system where is already Mint and Windows 7?

I have already installed Linux Mint on Windows 7 so now I have dual boot with Linux Mint and Windows 7. They are both on diferent partitions. I have 1 free partition left. The question is how to ...
0
votes
2answers
5k views

How can I install the Atheros AR8161 drivers without an internet connection?

How can I install the Atheros AR8161 drivers without an internet connection for fedora19?
14
votes
4answers
5k views

How to make bash abort the execution of a script on syntax error?

To be on safe side, I'd like bash abort the execution of a script if it encounters a syntax error. To my surprise, I can't achieve this. (set -e is not enough.) Example: #!/bin/bash # Do exit on ...
1
vote
0answers
239 views

How to setup keyboard shortcut that enters predefined text into X11 xterminal via SSH from mac OS?

I do a lot of remote programming on my CentOS linux server by opening an X11 xterminal window on my Mac OS, and SSH into the server. I'm looking for an easy to use method to enter a predefined text ...
-1
votes
1answer
949 views

SSH key based login bypasses password policies

I noticed that logins via an SSH key bypass the LDAP password policies (password ageing, password warning, and password lockout due to failed attempts, etc). Is there any way to force key-based ssh ...
0
votes
1answer
411 views

How to package software in Funtoo/Gentoo?

I am new in Funtoo/Gentoo. Where do I start learning how to create my own "packages"? For example, I have done the following to get the source code of Bespin, a Style for Qt4, derived from the Style ...
1
vote
1answer
557 views

Man folders and MANPATH

This thread What do the numbers in a man page mean? answers the question of the significance of the numbers between parentheses within a man page. My question is related. I have a local installation ...
2
votes
1answer
5k views

How to setup iptables rules to allow skype

Here are my iptables rules to allow Squid to connect to a web server: # Accept internally-requested input iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT #http,https traffic only ...
3
votes
3answers
563 views

Quick access to work directory of background job

Minimal effort to reproduce what I am looking for, is as follows /$ sleep 1h & [1] 6564 /$ cd ~$ jobs [1]+ Running sleep 1h & (wd: /) When I use jobs to manage my ...
1
vote
1answer
89 views

Need list of HDD devices excluding my os HDD

I want list out whole HDD device excluding my os running device attached to my system. I did lot's of googling and fired many more commands in command line of linux. but can't gating proper output. ...
1
vote
1answer
93 views

Significance of certain folders in linux kernel tree

While going through Linux Kernel Source tree, found certain folders, explanation of which was not seen in the popular sites. Could someone tell why these folders are there like: block - This is not ...
0
votes
1answer
2k views

Installing Debian without a DE [closed]

I'd like to replace Fedora with Debian testing on a laptop... However, I would like to not install any desktop environment along with Debian, and simply install Openbox once the base is there. I've ...
3
votes
5answers
653 views

How can I split a pipe into 16 byte sequences?

I'm writing a bash script to automate the decryption of a certain file; however the file is encrypted in 16 byte blocks, rather than simply encoded in its entirety. Here's some psuedo code to briefly ...
4
votes
2answers
6k views

Proper way to mount samba share

I would like to mount a CIFS network filesystem with samba on my Arch Linux system. I would like to mount this filesystem whenever I log in (either through ssh, a TTY, or through KDM). I can get ...
1
vote
0answers
40 views

Can I ignore failed package installation statuses?

I've upgraded a package with apt-get upgrade on debian 6. The upgrade failed, but I understand why (one of the init scripts had been customised, and the upgrade script was attempting to use the old ...
-1
votes
1answer
758 views

removing kernel modules not working for some modules [closed]

unfortunately i couldnt install a machine with minimal installation as a virtual machine ,so i am trying to prevent loading of unwanted modules from kernel using blacklist file. Added following to ...
0
votes
1answer
2k views

Security - Giving Apache write access to /var/www/html

I am running Worpdress on an CentOS Webserver. Now, to enable wordpress to be able to upload/write files to the default webserver directory /var/www/html I had to do the following change on the ...
1
vote
2answers
332 views

Is there a way to prevent emerge --sync from deleting files from the portage tree?

Although PORTAGE_RSYNC_OPTS, a make.conf option, allows one to change the rsync options but removing --delete from it causes emerge to fail. I think with it remarking about missing md5-cache entries ...
2
votes
2answers
940 views

Having multi lines in bash command substitution

I have a very long bash command inside a command substitution like following: $( comaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaand ) I want to know if there is a way to break this command into shorter ...
1
vote
2answers
1k views

Directory “not found” on HP-UX for NFS mount point

On an HP-UX B.11.31 that mount via NFS a remote disk using mount point /BK_RESTORE, I would like to access a sub directory with oracle user, but I cannot even if permissions are correct. Using a ...
1
vote
2answers
587 views

enf of file unexpected (excepting “f$ing ”fi")

os: pfSense (nanobsd) shell: csh script: /etc/rc.conf_mount_rw mount -t msdosfs /dev/da0s1 /mnt/usb if ( -s /var/squid/log/access.log ) then cat /var/squid/log/access.log | perl -p -e ...
2
votes
1answer
306 views

Execute a command in a new named screen

I have a script that creates a new screen and executes a command (dev webserver) in it. screen -S webserver -dm sh launch_webserver.sh However, when the command is done (or webserver quits), the ...
2
votes
1answer
182 views

Cross compile libzdb library for ARM9 architecture

I am using AM1808 ARM9-based micro processor for my project on Ubuntu v10.04 using G++ compiler. I am using sqlite3 database for data management. My application needs multiple simultaneous access to ...
3
votes
1answer
554 views

Are remote LUKS volumes mounted locally with sshfs made visible to remote users?

I created an encrypted volume with LUKS and uploaded it to a remote directory on an untrusted host. I can mount it locally though. I first mount the remote directory locally with sshfs and then open ...
3
votes
1answer
3k views

How to validate an SSH public key?

I've had issues copying public keys to authorized_keys and winding up with an extra linefeed or space or something. Is there a way to simply validate that a key looks like a valid key? I don't have ...
1
vote
0answers
610 views

How does one make x-screensavers work with mate-screensaver?

I am currently using Linux Mint - Mate Edition. I much prefer the mate-screensaver lock-screen so I refuse to use x-screensaver b/c its lock-screen is just hideous. I have learned elsewhere on the ...
6
votes
4answers
28k views

Pseudo-terminal will not be allocated because stdin is not a terminal

I'm trying to set up automatic SSH hopping through a server which doesn't have nc. This works from the command line: ssh -A gateway ssh steve@target (I have added my public key to the SSH agent). ...
2
votes
0answers
173 views

Ubuntu : puppet f5 device config : Partition '' doesn't exist

This is a Puppet question that I've posted on the PuppetLabs forums with no response. I'm also posting here because I'm hoping that with a wider audience I might find someone knowledgeable re Puppet ...
1
vote
1answer
477 views

How can I set up byobu to use a second screen session on login?

tl;dr: I have an irssi proxy screen session running in the background. I'm running byobu -R -S byobu;exit in ~/.bash_profile to start a second session instead of reconnecting to the irssi session, but ...
1
vote
1answer
56 views

how to setup: proxy with confirmation of rules for browsing internet

I'm trying to achieve something like acceptance of rules before user gets connected to the internet. For example: when users enters address http://google.com (or any other) first thing he will see is ...
6
votes
2answers
2k views

What handles notifications in a pure Openbox environment?

I'm running Debian and logging in straight to Openbox. I'm sure that I sometimes receive notifications, which I can actually theme and modify through Xfce's notification settings manager, but what is ...
2
votes
0answers
142 views

Application launcher with grid like hotkeys

Is there a desktop enviroment or tool wich can provide the following functionality? If I press a self defined hotkey, a menu of self defined shortcuts/launchers is shown somewhere on the screen where ...
3
votes
1answer
153 views

Squid doesn't block non-ascii domans

I have the following lines in /etc/squid/squid.conf: acl bad_url url_regex "/etc/squid/block.acl" http_access deny bad_url All of the urls in block.acl must be blocked by the proxy server. It works ...

15 30 50 per page