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...
IT Tips
Headless does not mean you can’t use the GUI
The Problem: So you have a firewall / server box that you don't want to run X on but you would rather forgo the pleasure of editing all the config files by hand. What to do? A resolution: Use ssh X forwarding to bring those remote GUI programs to your local...
FWBuilder error sudo: sorry, you must have a tty to run sudo
If you use fwbuilder to compile and install your firewall rules you may have come accross "sudo: sorry, you must have a tty to run sudo" This is caused by a setting in the /etc/sudoers file "Defaults requiretty" As root run visudo and comment out that line with a hash...
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...
Gallery 2 – Returning to Secure Permissions
When you perform a module update with Gallery 2 it recommends changing the permissions of the modules and themes directories to rwxrwxrwx or 777: cd $gallery_web_root # on Fedora this is probably /usr/share/gallery2 chmod -R 777 modules/ themes/ To get back to a...
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 here.
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...
