Author Archive for daryl

FIX: Thunderbird - Lightning ‘New Calendar’ menu item grayed out

The fix for this is to install libstdc++5 and then reinstall Lightning. Close thunderbird and then in a terminal:

sudo apt-get remove lightning
sudo apt-get install libstdc++5
sudo apt-get install lightning

FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.

I installed Ubuntu 8.10 on my Toshiba U100 which does not work too well with grub.  Having installed 8.10 and replaced Grub with Lilo I ran update manager for all updates.

This failed when updating the kernel with the error ‘Could not find postinst hook script [update-grub]’.

To fix after running the update manager simply open a terminal and run the following commands.

Continue reading ‘FIX: Updating Ubuntu gives ‘Could not find postinst hook script [update-grub]’ error.’

HOWTO: Set up NFS remote file shariing and mounting in Ubuntu

Scenario: You have two Ubuntu PCs - you want to share a folder from one to the other.  A common answer you’ll see posted around to this is to use Samba.  While this does allow the shared folder to be accessed by Windoze machines there is a far simpler and more efficient method that can be used when both machines are Linux.

In the following guide ‘Server’ means the computer where the folder to be shared is (192.168.2.2 in my example) and ‘Client’ (192.168.2.3) is where you would like to access the folder from.
Continue reading ‘HOWTO: Set up NFS remote file shariing and mounting in Ubuntu’

FIX: dependency is not satisfiable: libicu36 when installing Chandler on Ubuntu

I tried installing installing Chandler the GTD app from the .deb file but got an error about ‘dependency is not satisfiable:  libicu36′.

This is as newer versions of Ubuntu use libicu38.

To fix the error try:
wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu36_3.6-3ubuntu0.1_i386.deb

sudo dpkg -i libicu36_3.6-3ubuntu0.1_i386.deb
Then try installing the Chandler .deb again.

HOWTO: Install a .TTF Font in Ubuntu Hardy Heron

If you have a .ttf file (lets call it your_font.ttf) that you have downloaded and want to install it as an available font you should follow these steps:

1. Create somewhere to keep your .ttf fonts:
sudo mkdir /usr/share/fonts/truetype/custom

2. Copy your font there:
sudo cp your_font.ttf /usr/share/fonts/truetype/custom

3. Run the following command to rebuild your font cache:
sudo fc-cache -f -v

That should be it! Your sexy new font should now be available.

Toshiba U100 Maintenance Manual

My U100 needs a replacement screen so I’ve been hunting around for some information on how to replace it.  I was lucky enough to come across the U100 maintenance manual which I’ve made available here.

HOW TO: Load and display images from a folder in PHP

If you have an unknown quantity of images in a folder and want to cycle through them and display (in a table or similar) then this snippet should get you started.

Continue reading ‘HOW TO: Load and display images from a folder in PHP’

HOW TO: Auto login to IRC using IRSSI

For Linux I reckon irssi is probably the coolest IRC client out there and has some nifty features for a terminal app. It can be installed with:

sudo apt-get install irssi

One of the first thing you will probably need to do is set it up to auto login.  This can be done in a couple of simple steps:

Continue reading ‘HOW TO: Auto login to IRC using IRSSI’

HOW TO: Harden and Secure SSH on Ubuntu Linux

If you want to harden and secure your SSH installation on Ubuntu Linux then there are a few simple steps you can follow:

Continue reading ‘HOW TO: Harden and Secure SSH on Ubuntu Linux’

HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu

Dolphin Smart Community Builder is a very cool open source social networking script that oddly does not seem to have much in the way of installation instructions.  After some digging around I managed to get in installed by following these steps:

Continue reading ‘HOWTO: Install Dolphin Open Source Social Network Script on Ubuntu’

HOWTO: Set up wireless networking between VirtualBox VMs on Ubuntu Hardy Heron

I’m working on a project at the moment that requires a whole bunch of Win XP VMs.  I’m using VirtualBox on my M1330 which out of the box is set up with NAT addressing.  This is fine for accessing the interweb but I need the VMs to talk to each other.  Not as straightforward as it seems but I managed to get it working as follows:

Continue reading ‘HOWTO: Set up wireless networking between VirtualBox VMs on Ubuntu Hardy Heron’

FIX: GRUB Hard Disk Error with Ubuntu Hardy Heron on Libretto U100 or U105

I decided to install Ubuntu on my tiny Toshiba Libretto U100 but ran into a problem when rebooting after the install.

I accepted pretty much all the defaults during the install and it was a complete wipe of the hard drive (Linux only, no Windows partitions).  However after rebooting I got the less then friendly message:

GRUB Hard Disk Error

This seems to be down to GRUB and the U100 BIOS being unable to agree on the geometry of the disk.  Luckily LILO does work.  To fix follow these steps:

Continue reading ‘FIX: GRUB Hard Disk Error with Ubuntu Hardy Heron on Libretto U100 or U105′

HOWTO: Mount an ISO file in Ubuntu Linux

How to mount a CD ISO Image and read files in UbuntuI recently downloaded some language CD ISO files and wanted to transfer to my ipod.   Usually ISO files are designed to be burnt to CDs but if you just want to mount the image and read the files CD free there are a couple of options in Ubuntu.

Continue reading ‘HOWTO: Mount an ISO file in Ubuntu Linux’

FIX: Issue with MSN Windows Messenger and Netgear DG834G Router

I had problems with MSN Messenger disconnecting or failing to connect when using a Netgear DG834G Router.  Updating to the latest firmware on the router didn’t help but it turns out that updating to an earlier version did.

If anyone else has the same problem then try ‘upgrading’ the router firmware to version Version V3.01.25. This fixed it for me.

HOWTO: Triple Boot Dell XPS M1330 with Vista/Ubuntu and Media Direct

[Edit] Sometime after I originally wrote this HOWTO: I came to my senses and realised that the M1330 is far too cool for school and hence should not be disabled by running any version of Windoze.  I have since reformatted my M1330 and it now only runs Ubuntu.   If you have any kind of choice in the matter then I would heartily recommend you do the same!  If you really need a dual or triple boot then hopefully this guide and the comments should help.[/Edit]

So - got a shiny new Dell XPS M1330? Good choice, you’re obviously smarter then the average bear - but now do you want to lose the Dell bloatware and see how it runs with a grown up OS? Perhaps you need to keep Vista on though for some reason, and that media direct button for quick playing DVDs is nice too… plus it would be nice to be able to share your Mozilla Firefox bookmarks and Thunderbird profiles between the 2 OSs. The solution for you my friend is a funky triple boot installation.

What we start with: A shiny new Dell XPS M1330 just out of the box with Vista + ton of OEM crap preinstalled.

What we end up with: An XPS capable of triple booting into either Ubuntu, Vista or Media Direct from the MD button and the ability to share files between the two OSs.

What we will need: Vista install disk, Ubuntu live cd, Dell drivers and utilities disk, Dell media direct cd.

Continue reading ‘HOWTO: Triple Boot Dell XPS M1330 with Vista/Ubuntu and Media Direct’

Bank bans ‘poor’ customers.

Some HSBC customers in a Dorset village will no longer be able to see their bank manager as the branch turns into one of the most exclusive in England. At its Canford Cliffs branch, the self-titled “world’s local bank”, which made around £11 billion in profits last year, will only allow face-to-face banking for its “premier” customers.

The move, which starts in June, means Canford Cliffs will be the country’s only exclusively “premier” HSBC branch.

An HSBC spokesman said it has no plans to introduce such a service elsewhere.

The cheapest house currently on the market in Canford Cliffs, near Poole, is priced at £330,000 with the most expensive priced at more than £8m.

To be eligible for the face-to-face banking service at Canford Cliffs, customers must have:

  • £50,000 savings
  • or a £200,000 mortgage
  • or a £100,000 mortgage and £75,000 salary
  • or pay £19.95 a month “premier” account fee and have £75,000 salary

 

Other customers will have to visit nearby branches in Poole or Westbourne, although they will still be able to deposit and withdraw funds from cash machines at Canford Cliffs, which does not have a cashier service.

One customer, who did not want to be named, said: “That’s what this area is all about - money, it’s the way it’s going. HSBC have made millions from illegal bank charges and now they ban the same people they charged.”

An HSBC spokesman said: “The reason we are doing it is because Canford Cliffs is a very wealthy area and well serviced by HSBC. It’s a unique location.

“A high percentage of customers at this particular branch are premier customers.”

Session save path unwriteable when installing Joomla on Plesk

I’m installing Joomla on Plesk for my new ipod.mu site and in the pre-installation script had the session save path as unwriteable. If anyone else gets this and needs to fix:

ssh onto the domain and do the following:

cd httpdocs
mkdir sessions
chmod sessions a+w
cd ../conf
vi vhost.conf

In the vhost.conf file hit ‘i’ to enter insert mode then type:

php_admin_value session.save_path “/var/www/vhosts/<your domain>/httpdocs/sessions”

Then hit wq! <return> to save and quit. Now reload your vhost.conf with:

/usr/local/psa/admin/sbin/websrvmng -a -v

This should hopefully fix it!

A third ‘will refuse ID checks’

One in three people are expected not to cooperate with identity card checks, Home Office papers from 2004 suggest.ID Cards Papers revealed under information laws show officials have worked on the basis 60% of people would carry a card if and when it becomes compulsory to own one.

They assume 10% will happily confirm their ID via fingerprint or eye scans, but 30% “will refuse” to voluntarily show their card or biometric data.

The Home Office said the documents were “incredibly out of date”.

A spokesman said the identity card scheme had evolved a great deal since these “historic documents” were produced.

But he declined to say whether the assumptions - which only covers people who have got an ID card - themselves had changed.

Continue reading ‘A third ‘will refuse ID checks’’

‘Talking’ CCTV scheme expanding

In an alarming move “Talking” CCTV cameras that tell off people dropping litter or committing anti-social behaviour are to be installed in 20 areas across England. They are already used in Middlesbrough where anyone seen misbehaving can be told via a loudspeaker, controlled by control centre staff, to stop.

CCTVHome Secretary ‘Mad’ John Reid has earmarked nearly £500,000 to fund the expansion.

Critics (including me) say the cameras are absurd and another example of excessive government intrusion into everyday life.

Mad John said they were aimed at “the small minority” who “litter our streets, vandalise our communities and damage our properties”.

Apart from being absurd, I think it’s rather sad that we should have faceless cameras barking at us

Opponent Steve Hills

“We all pay council tax so, in the end, we all pay when our communities are disrespected - both in our pockets as well as in our daily lives,” he said.

The disturbed home secretary said competitions were being held at schools in many of the areas for children to become the voice of the cameras.

“By funding and supporting these local schemes, the government is encouraging children to send this clear message to grown ups - act anti-socially and you will face the shame of being publicly embarrassed,” Mr Reid added.

The talking cameras will be installed in Southwark, in London, Barking and Dagenham, in London, Reading, Thanet, Harlow, Norwich, Ipswich, Plymouth, Gloucester, Derby, Northampton, Mansfield, Nottingham, Coventry, Sandwell, Wirral, Blackpool, Salford, South Tyneside and Darlington.

Continue reading ‘‘Talking’ CCTV scheme expanding’

Dell’s new love for Linux: the proof is in the penguins

Dell Linux In response to recent demand for Linux preinstallation, Dell plans to expand its Linux offerings. At the present time, Dell’s Linux lineup is limited to three Dell Precision workstations which come with Red Hat Enterprise Linux and sell for the exact same price as the equivalent Windows-based systems.

After conducting a survey to help determine the wants and needs of Linux users, Dell decided to expand its Linux lineup to include additional desktop and notebook systems.

Dell hasn’t provided many details yet and, more importantly, hasn’t addressed important questions like distribution selection and support options. It is possible that Dell’s announcement is intended to show consumers that the company is giving serious consideration to public feedback while the relevant decisions are being made. According to Dell, more information will be made available within the next few weeks.




Add to Technorati Favorites
Zen Handbook

Latest Posts

RSS