Archive for September, 2010

DNAT and IP source routing woes

I recently came across a nasty problem. I have a Linux box (let’s call it LinuxFW) with three ethernet ports: LAN: 192.168.0.1 connected to eth0 ADSL1: $IP1 connected to eth1 ADSL2: $IP2 connected to eth2 $IP1 and $IP2 are my public IP addresses. Their respective default gateways are $GW1 and $GW2. I use IP source [...]

Share

Usare opkg sulla Fonera

Utilizzando il firmware 2.3.6.0 sulla Fonera 2.0N, il gestore dei pacchetti opkg non funziona di default. Occorre eseguire due operazioni: Creare la directory /usr/lib/opkg: mkdir /usr/lib/opkg Modificare il file /etc/opkg.conf come segue: src snapshots2 http://downloads.openwrt.org/kamikaze/8.09.2/rb532/packages/ dest root / dest ram /tmp lists_dir ext /var/opkg-lists option force_space Fate attenzione però! L’opzione force_space fa sì che non [...]

Share

Find subtitles under MacOSX/Linux

There are a plethora of subtitle finders for Windows but only a few for MacOSX and Linux. Most of them often don’t work. Searching for the right subtitle for a specific avi file can be frustrating. It’s not enough to match the filename. It’s always better to rely on the hash of the movie to [...]

Share