Until yesterday I had two hard drives in my Fedora 13 box. Hard disk 1 - /dev/sda was a 200GB Western Digital and hard disk 2 - /dev/sdb is a 500GB Samsung containing my Fedora 13 installation. The Western Digital, after many years of faithful service has died, and so...
GNU/Linux
Ubuntu Math
The version number of Ubuntu is 9.04 and is based on the year and month of release. So 9.04 means 2009 month 04 (April). Therefore given that Ubuntu maintains a 6 month release cycle we can postulate: 4 + 6 = 10 So the new release 9.10 is due this month (October). And...
Stop people listing home directories on a Linux Host
If you issue ls -al /home on a Linux computer as a standard user. You will normally get a list of users on the system. This is because the permissions to /home/ are 755 which equates to drwxr-xr-x However if you as root run chmod 751 /home giving permissions of...
wxPerl Fedora 11
Update: See comment from Dave Cross below for a safer method of installing CPAN modules on an RPM system. The current wxPerl shipped with Fedora is Broken (version 0.91-1.fc11)... Still. /usr/bin/perl: symbol lookup error:...
Fedora 11
The Fedora 11 Feature List seems to cover alot of the Ubuntu 9.04 ground. Everyone seems to be on the 20 second boot wagon. The only thing I'm presuming will be a problem is that you don't get a one click MP3 support install as for Ubuntu. So Fedora 11 still requires...
OpenVPN – Make Routing Mode behave like Bridging Mode
Note: This post isn't complete. I have this configuration working for myself, but the IPTables rules are taken from a very big script and may not be complete. Email me if you have a question or if you can explain this better. Anyway hopefully there is enough here to...
Ubuntu cannot Ping a FQDN when avahi-daemon is running
My work laptop recently suffered a massive loss of disk space on the Windows XP partition resulting in Ubuntu 9.04 appearing in the boot menu 🙂 but I ran into a ... Problem: I was trying to setup Evolution Exchange by entering the Exchange Server name using the Fully...
Sendmail from the command line
echo -e To: 'The Persons Name ' \\n\\n Body of mail \ | /usr/sbin/sendmail -F "From Name" \ -f [email protected] -t [email protected] Where -e says I want to interpret \\n as a newline. -F is the from description -f is the from address -t is the to address Example:...
Linux /tmp size for DVD burning
I was just trying to burn the Fedora 11 Preview DVD in XUbuntu and the default burning application logically uses /tmp as the location for temporary image files. However my /tmp only had about 2.9 GB free space The DVD is 3.8G and so the DVD burn failed due to lack of...
Ubuntu 9.04 – How to map the Windows + E keys to open Nautilus
Goto System ==> Preferences ==> Keyboard ==> Layouts ==> Layout Options Set Alt/Win Key Behaviour as show in next graphic Goto System ==> Preferences ==> Keyboard Shortcuts ==> Desktop ==> Home Folder and set the Windows + E combo (it will appear as Mod4+E)
Ubuntu equivalent to rpm -qf /path/and/file
In RPM based distros you can issue the command rpm -qf /usr/bin/dig and it will return the installation package name I don't know if this is the 'proper' way to do it but it works: dpkg-query -S dig | grep /usr/bin/dig dnsutils: /usr/bin/dig
Finding out when your DNS delegation has propogated
If you have delegated your DNS to another hosting provider you may want to send yourself an email when your DNS domain delegation has propogated (so you can notify people after the change and not have everyone saying "I can't get to your site"). Create a script as...
Installing VMWare tools on a Ubuntu 8.10 Guest
I logged into my Ubuntu VMWare Guest and found the time had drifted by about 15 minutes... I have seen all sorts of conjecture as to why you should / shouldn't run ntpd to keep your vm time in-sync. So I thought I would install vmware-tools... which does it for you....
Ubuntu 9.04 – jaunty released
I have been running a release candidate version of Ubuntu 9.04 on a laptop for a few months now, and it has given me confidence that the latest version of Ubuntu will be good to install on the desktop. Several of the nagging annoyances that caused me to bypass Ubuntu...
Using find & xargs to create an empty index.html file in every directory
If you have global indexing turned on for Apache: Options Indexes You may wish to leave it enabled but still stop indexes being displayed. Using find and xargs you can create an empty index.html in each directory and Apache will serve it instead of the list of files...
fixme:ntdll: … Can’t find matching timezone
I have Ubuntu 9.04 installed on a laptop. I installed 9.04 by doing a distribution upgrade from 7.04 to 8.04 and finally to 9.04. I tried to run wine recently and came up against this error: fixme:ntdll:find_reg_tz_info Can't find matching timezone This error seems to...
Ubuntu Annoyances
Update: This has been fixed in Ubuntu 9.04. Excellent! tsclient is a Microsoft Remote Desktop work-a-like for Linux only better (it supports VNC, RDP, XDMCP & ICA) The bug: On Ubuntu versions greater than 8.04 it has a _really_ annoying bug. I call it the "tsclient...
Getting the HTML Tidy External Command working on Bluefish for Windows
Bluefish is a really cool "Web Development Studio" I find it's side pane CSS and HTML reference invaluable when trying to code HTML. It has recently been ported to Windows As it installs, everything pretty much works out of the box, but it's Linux heritage shows when...