14. August 2009 · Write a comment · Categories: Ubuntu · Tags: ,
Type: sudo /etc/syslog.conf

Uncomment the line starting with cron.*

Type: sudo touch /var/log/cron.log
Type: sudo /etc/init.d/sysklogd restart
sudo /etc/init.d/cron restart


									
26. May 2009 · Write a comment · Categories: Computers, Linux · Tags: ,

Default root password for MySQL is blank, it can be set by:
mysql -u root -e "set password = password('your mysql password');"

Don’t forget to set the run levels:
/sbin/chkconfig --level 2345 mysqld on

This caused me some headache last night.  I was trying to get the TV-out to work as the main monitor on a Compaq D510 with an MSI nVidia GF4 TI4200-TD.  Ubuntu picked the card up OK but I couldn’t get anything on the TV out to work.  I spent hours editing xorg.conf with no luck other than buggering up the main monitor settings.  I then found a post about removing everything nVidia related and reinstalling, which then allowed nvidia-settings to run (previously this was not found with 7.10 ubuntu so not installed with the default driver).

Then all of a sudden in the nvidia-settings there was an option for enabling tv out – it seems this must set the option on the card, as after a reboot it worked.

Next challenge was to get the TV as the main monitor.  It would be setup in classic 2 monitor mode with the main X window on the LCD and the TV as the secondary monitor.  I tried every setting of TwinVideo, Dual monitor etc and I could not get it to work.  In the end the fix was easy, and found purely by chance – remove the vga connector, then the TV acts as the main monitor.  It even posts to the TV as well.  Running 1024×768 in SD through S video was a bit hard to read the fonts – increased the size to 14 (or 16, I forget now) but now gives clear readable text, can even use it for browsing!

Next step will be to get a small form factor video card so I can shut the case, then a wireless keyb & mouse.  I’ll be setting up MythTV to help make it more girlfriend friendly.

based on Kubuntu 8.04.1:

edit /etc/network/interfaces

Identify the wireless nic and modify as per the example:

#
# File: /etc/network/interfaces
#

# The primary network interface
auto eth1
iface eth1 inet static
        address 192.168.1.100
        netmask 255.255.255.0
        wireless-key 967136deac
        wireless-essid homenet
05. August 2008 · Write a comment · Categories: Linux, PS3 · Tags: ,

http://psubuntu.com/

Following the above guide, it’s on, but quite an old kernel.  I had to use the linked to version, next time I migth try the later ppc version – it seems in the version linked to in the guide from the site above the udpates don’t work, something is broken :/

It flickers like mad, I have a 2″ black border round the screen, the fix is in the forum but requires updating to the latest kernel…which the update won’t do.  Maybe I need HD…

IT must be possible, I’ve read it is with various other versions of *nix, so let’s have a crack.  Here’s the ideal:

XP Pro

Vista Business

Kubuntu 8.04.1

On my laptop, XP Pro and Vista Business have quite happily co-existed.  The main reason for this was because I was quiet an early adopter of Vista I didn’t (couldnt) just chuck away XP yet.  Also I needed 2 vpn clients that couldn’t co-exist on the same build (Cisco client and Safenet).

Now I want to chuck a 3rd item into the mix – Kubuntu.  Currently it is installing, having resized the last partition down to create space.

The laptop is a Compaq nx8220

It ran through the installer for kubuntu OK, on the first boot under Other OS we get:

Windows Vista/Longhorn (loader)

Windows Vista/Longhorn (loader)

Obvious what has happened here with 2 duplicate entries – to get XP & Vista to dual boot (XP instlled first), you have to load the Vista boot loader onto the XP partition. So we are seeing 2 lots of the Vista boot loader so it assumes we have 2 different Vistas.  Hmm, really the first one is XP and the second is Vista.

Selecting the first one takes us to the Windows Boot Manager where we can then choose Earlier Version of Windows (i.e. XP) or Vista.  This is how it was setup before you would boot straight to this menu.  Rebooting here and then selecting the 2nd Windows Vista/Longhorn then takes you to…the same Windows Boot Manager but this time Vista is the default option with XP the second.

Rebooting then finally selecting Ubuntu 8.04.1 for our first boot successfully boots to the login screen.  Logging in produces annoying chimes, I hate annoying chimes on any OS.

A quick cat of /boot/grub/menu.lst reveals our entries, changing the Vista/Longhorn entry to XP makes things a little clearer for future use.

Well, it certainly looks like we’ve found most of the hardware 🙂  No FF though as standard..