Just made a spectacularly unsuccessful attempt to use Tesseract OCR. Here is a sample: "|I11;XII;"1n -¤:2;;2:¤ LIEEEEEEE.-::2;;;: nz ’‘·* *--2.. ::2;;: "=I;;;. :1:;*-- ::2;£2|a:‘¤I;;;.XXi.X ·¤:;1;;¤· X;|:;t1X '!EEEXI|· XXXIIEX--EXIIXX-.:21:;. -·¤a.;¤¤a..a··...
GNU/Linux
ICMP Redirects not being sent from CentOS Router
Update: This ended up being an iptables problem... The firewall rules I had were "stateful" so the icmp redirect was being killed by IPTables because it didn't identify the redirect as part of an already started connection. After changing it from stateful to...
Linux PING works but Traceroute doesn’t
Just had an issue where traceroute w.x.y.z failed however ping w.x.y.z worked fine.... The fix: traceroute -I w.x.y.z or traceroute -T w.x.y.z Where w.x.y.z is the IP address of the remote host e.g. 10.22.34.8 By default the Linux traceroute was using UDP which must...
Fedora 9 – Using the MF332 aka Telstra Turbo Card from www.zte.com.au
There is a whirlpool forum with information on connecting a MF332 using Linux. It shows how to use the /etc/ppp/chap-secret /etc/ppp/peers/* to get it all connected. However on Fedora 9 I used the standard system-config-network option to configure the connection as...
Shrink a Windows XP NTFS Partition to half size and Install Linux while keeping the Windows Boot Menu
Disclaimer: This procedure can render your computer unbootable and corrupt your data if you do it wrong. Perform a backup prior to doing it and verify you can read the backup. Don't attempt it on a critical laptop. I am in no way responsible if you attempt this and...
Fedora 9 Nautilus can’t view smb share using default smb:///
Here is an annoying problem with Nautilus smb on Fedora 9 I can connect to a remote share with "smbclient //server/share -U user" However in Nautilus if you hit Go ==> Location... it defaults to "smb:///" if you type smb:///server/share you get nothing but a big fat...
Ubuntu / Fedora 9 Firefox 3 Error code: sec_error_untrusted_issuer
I run https://jamesmcdonald.id.au with a self signed untrusted certificate because I'm not using it for commerce and the only person who needs to trust it is me! But after installing Fedora 9 on a laptop and trying to connect to my website. I didn't get the normal add...
IPTraf – Looking at it as it happens
When looking at traffic flowing in and out of your gateway Linux boxes you can use a variety of tools. tcpdump is handy For example if I wanted to know what traffic is flowing from my ppp0 interface to a remote host without resolving the names I would say. tcpdump -i...
Setting up an Xvnc Server for remote logins
Those of us Windows admins that like the mstsc /v:hostname option of connecting to our Windows Boxes may also want a "feel at home" approach for Linux. I personally like to be able to use vncviewer ip_address:port to connect and get a complete Linux Desktop. The...
Ubuntu build depency installation command
If you download and install programs from source on Ubuntu / Debian you may have been through the process of running ./configure, then noting what it complains is missing, then apt-get install missing <package name>, then repeat till you have everything you...
Disabling ppp0 from starting when running service network restart
I am configuring a CentOS 5.2 box to act as a gateway. After doing the initial configuration I want the ADSL connection that I configured not to try and start when doing a /etc/rc.d/init.d/network restart or service network restart. This may seem like a no brainer but...
ipcalc – Removing the brain work from subnetting calculations
I've just been nosing around the Fedora 8 /etc/sysconfig/network-scripts/network-functions script and noticed a call to a utility named ipcalc. Seeing as I usually spend quite some time trying to figure out how to calculate the correct subnets for a given subnet mask...
Can’t find adsl-setup script in Fedora 8
I have just been trying to find the good old adsl-setup command in Fedora 8. No good! system-config-network was a no go either. No option to configure a pppoe connection. pppoe-setup looks like it has replaced adsl-setup. Problem solved move along. Nothing to see...
Ubuntu 8.04 Firefox 3.0 Java Error when using Gallery 2 Upload Applet
I got this error "error:java.lang.ExceptionInInitializerError" on the status bar of Firefox 3.0 while attempting to load Gallery 2's Java Upload Applet. Looks as though the IcedTea Java plugin is not compatible with the Upload Applet The fix: sudo apt-get remove...
Linux serial console
I had to test a console cable to see if it was indeed a console cable. The piece of equipment I was connecting to was outputting a garbled console leading me to wondering if I had a bad cable or a bad piece of equipment. Using the serial-console howto at...
Filelight and Boabab or How to pie chart your disk usage
filelight: kde application gives a really cool overview of how much and where you are consuming disk space. boabab: gnome/gtk application
IPSec Compliant Gateway
I am currently investigating setting up a connection with the following features: Linux 2.6.x Base System IPSec Compliant Gateway NAT on the Gateway to hide internal addresses from the remote network http://www.sherman.ca/archives/2004/11/21/linux-26-ipsec-vpns/...
Deleted binary causes No such file or directory error in bash
The scenario: Your path environment is similar to "/home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" You have a binary in your path such as /home/user/bin/putty which you delete hoping to use the same binary further down the path...