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...
GNU/Linux
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...
The Linux find command
I'm putting this here so I can recall it for later The following snippet finds all files where the File's data was last modified more than 2 days ago and run the move command on each file to move them to the specified directory. find -mtime +2 -type f -print -exec mv...
How to extract Icons from Windows executeables in Linux
I have installed a small app using Wine under Ubuntu 8.04 however the desktop launcher icon isn't the correct one for the application. Windows frequently stores application icons in the programs exe file. So to fix my launcher icon I need to extract the icon from the...