Suppose you have the following configuration Priv Network A---Windows XP Clients | Linux gateway (iptables NAT etc) | [Internet] | Linux gateway (iptables GRE and PPTP port 1723 NAT'd and forwarded to internal PPTP server) | Priv Network B---<linux PPTP Server>...
GNU/Linux
rpm2cpio: not found error OpenOffice 3 installation on Ubuntu 8.10 (dev)
I went to Openoffice.org and blindly downloaded the default package "OOo_3.0.0_LinuxIntel_install_wJRE_en-US.tar.gz" which is the wrong package for Ubuntu 8.10. The Fix: Go back to openoffice.org, under "I want to download OpenOffice.org" click the "Get more platforms...
How not to choke your internet connection while downloading with wget
wget has a cool feature known as limit-rate. If you want to leave a bit of bandwidth for other things then use it with double u get. wget -c -t 100 --limit-rate=80k http://ftp.iinet.net.au/pub/ubuntu-releases/8.10/ubuntu-8.10-beta-desktop-i386.iso The above means -c...
How long should dd take to zero a partition
I had a virus infested computer and I wanted to zero the partition and restore from a partimage file but first I thought I would zero out the data on the partition using dd so: dd if=/dev/zero of=/dev/hda1 This took absolutely ages... and I was wondering when it was...
Work around for umount: /mnt/sdb1: device is busy
You get this error when trying to umount a partition: umount /mnt/sdb1/ umount: /mnt/sdb1: device is busy umount: /mnt/sdb1: device is busy At a root prompt: Run fuser see man fuser for options fuser -v /mnt/sdb1/ Output of fuser USER PID ACCESS COMMAND...
Adding a HP PSC1610 for Xsane on Fedora 9
Problem: Cause: Fedora isn't as good as Ubuntu at detecting and installing your devices Resolution: Install libsane-hpaio Done
Fedora 9 – wxPerl error missing file libwx_gtk2u_aui-2.8.so
Just got an error trying to run a wxPerl application on Fedora 9 complaining about missing "libwx_gtk2u_aui-2.8.so" amongst other things. The fix: yum install wxGTK-devel-2.8.7-2.fc9.i386
Using Linux/Cygwin to split files into chunks for transfer to CD
Question: How can I tar up about 12GB of files on a linux box and then split the files into 700MB chucks? Answer: You can use the following 2 methods on any GNU tooled box or using the Cygwin environment on Windows. Using tar, gzip, split and cat - Method 1...
Installing WxPerl on Ubuntu 8.04
Using apt-get or synaptic install lynx libwxgtk2.8 libwxgtk2.8-dev libgtk2.0-dev Test::POD::Coverage As root run CPAN with the command to install wx. You may have to configure CPAN prior to using it. I chose to follow dependencies and kept most of the defaults. sudo...
Dia has some cool new network icons
Dia is a drawing and diagramming application for Linux or Windows. I have used it for a long time to draw network and flow diagrams for my work. However I've always been a bit whelmed of the under variety, by the 2 dimensional icons for some things. While there is a...
VMWare Server 1.0.7 libgcc_s.so.1 error
The errors: /usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_3.4' not found (required by /usr/lib/libcairo.so.2) /usr/lib/vmware/bin/vmware: /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1: version `GCC_4.2.0' not found...
xsane “Failed to create file: Permission Denied” error
Today I tried to run xsane as my normal account and it didn't detect my scanner. I traced the problem to insufficient permissions because my account wasn't a member of the "scanner" group, hence, because I didn't have permission to the scanner devices xsane wouldn't...
Windows XP printing to a HP PSC1610 connected to a Ubuntu Computer
On Ubuntu Using sudo system-config-printer publish the printer and enable sharing for the LAN. This will allow IPP printing but restrict clients to the local network IP Addresses only. On Windows XP Add a printer and choose: A network printer, or a printer connected...
Windows Solitaire vs AisleRiot Solitaire
If you have a vision impaired person who wants to play solitaire then ditch Windows and Install a Gnome Desktop based Linux distribution (Ubuntu, Fedora etc). The cards in the Windows version of Solitaire are tiny. However the cards in the AisleRiot Solitaire in Gnome...
Ubuntu Disk Stuff – running fsck at next reboot
How to schedule a disk check for the next reboot. As root or using sudo do the following: Method 1: Use the forecfsck file method touch /forcefsck shutdown -r now Note: This command seems to check all partitions when run Method 2: Up the mount count above the fsck...
gOS Beta 3 – Really is Beta
Installed it and found several useability issues that were show stoppers for me. wbar is a nice idea visually, but not being able to restrict launched applications to a certain area of the screen meant the wbar got occluded by applications and then you are up for...
The YouTube Icon doesn’t work in gOS 3 Beta
Been trying to run Youtube from the desktop of gOS 3 Beta. Nadda Zip is happening. The cause: No permissions to the desktop file ls -al /usr/share/applications/youtube.desktop -rw------- 1 root root 216 2008-08-05 01:02 /usr/share/applications/youtube.desktop The fix:...
Convert Redhat 3.1 VMWare Server VM to VMWare ESX Server 3i using VMWare Convertor – Error loading operating system
I just attempted to convert a Redhat 3.1 VMWare Server 1.04 VMImage using VMWare Convertor 3.03 to VMWare ESX Server 3i v 3.5. The VMWare Convertor conversion completed successfully and loaded the VM to the ESX Server however when I booted the VM on the ESX Server I...