↓ Archives ↓

Headless Usenet autoposter for Linux

First of all, this is pretty much for myself, so I don’t lose all info on how to do this when I accidently delete the script (and believe me, I will).

I stole this script from this post on netvision-technik.de and tried my best to translate it to english.

My setup is Debian Squeeze, so I won’t be able/willing to help on any other Distro.

This is what you will need:

  • par2
  • Newspost

Unfortunately Newspost is no longer available in the Debian Repos, so you will have to install it semi-manually.
wget http://archive.debian.org/debian/pool/main/n/newspost/newspost_2.1.1-4_i386.deb
su
dpkg -i newspost_2.1.1-4_i386.deb

You can install par2 via apt-get/aptitude
aptitude install par2
Continue reading →

Real-VPN – VPN Betatest – Archlinux Config

Real-VPN recently started a free beta of its VPN Service. As I am typing this 2130 of 3000 accounts are gone already, so you better hurry if you want to try it.

On archlinux there is the usual problem, that the pushed DNS servers are not automatically written to /etc/resolv.conf, so one has to do that himself.

#!/bin/bash
cp /etc/resolv.conf /etc/resolv.conf.last
echo "nameserver 8.8.8.8" > /etc/resolv.conf
echo "nameserver 8.8.4.4" >> /etc/resolv.conf

Save that as /etc/openvpn/rvpn-up and make it executable with chmod +x /etc/openvpn/rvpn-up.
Continue reading →

Quick & Dirty SSH Tunnel for Chromium

Every now and then I need a proxy in Chromium and the fastest & easiest way for me to accomplish that on Linux is this.
user@box:~$ ssh -N -D8080 user@host -p12345
Now we’ve got the proxy running on localhost port 8080. -p is the port you’re connecting on the remote machine. Please consult your man pages for the other switches.

Now execute this in a new terminal window/tab/whatever:
user@box:~$ export SOCKS_SERVER=localhost:8080
user@box:~$ export SOCKS_VERSION=5

Now start chromiun in this exact terminal window/tab/whatever and enjoy surfing via your SOCKS5 proxy/ssh tunnel.

qmobilempd – MPD Client for Symbian S60v5

After getting my Nokia 5800XM last fall, I almost already gave up on a having decent MPD client for that phone (not the only fail with that device) without having to install remuco. That was until last week, when I stumbled across qmobilempd.
Continue reading →

Recursive scp with limited bandwidth and changed port

Copy files with scp, forced protocol 2, recursive directory, limited to 512Kbit/s and port 12345.

scp -2 -r -l512 -P12345 Folder user@yourhost.com:/targetfolder/