Showing posts with label nerds. Show all posts
Showing posts with label nerds. Show all posts

24 June 2008

Installing EeeXubuntu on your Eee PC (Dikkii has a new toy part 2)


Once again, I start this post with a note of caution: If you're not a nerd, or an Asus Eee PC user, then don't read any further.

Also, this is Part 2.

Part 1 is here.

The question is how did I get things running relatively smoothly on the Eee PC?

The answer to this is, I really have no idea. I'll be honest, I really don't know the first thing about Linux, or much about computers generally at all. But I do remember most of the sequence that it took me to get all this right.

It all starts here.

EeeXubuntu has had three releases over a short period of time. The last one was in December 2007, but it should be noted that this shouldn't prevent you from having a reasonably useful experience.

And as we go through this, you'll see that it becomes less and less important that the initial install is based on Xubuntu 7.10 (Gutsy Gibbon). We'll walk through the upgrade to 8.04 (Hardy Heron) when we get to it.

For this operation, you will need the following:

1 blank CD-R
1 blank CD-RW - recommended
1 USB stick of 1 GB or bigger
1 ethernet connection to your router
1 Asus Eee PC 900 - no idea if this will work for any other model
1 Desktop with internet connection

Warning: I am not a technically-minded dude. Some of this could potentially fuck your shiny new Eee PC. Read the pages I refer to and decide for yourself before going ahead with this, as what worked for me may not necessarily work for you.

As best as I can remember, this is what I did:

1. Download your EeeXubuntu ISO and burn it to a CD-R

At the EeeUser.com wiki, there is a comprehensive guide to this. Release 3 appears to be OK, but it was back in December. Is there a Release 4 beta for the adventurous? I can't see it anywhere, but I used Release 3, and it appeared to work OK for me.

I used the torrent available through The Pirate Bay - it's fast.

Burning it to a CD-RW first will ensure that you don't create another coaster - but it's suggested that you copy it over to a CD-R to create a traditional boot CD.

2. Use your freshly burnt CD to create your USB installer

Apparently, it's simpler if you plug in an external CD drive into your Eee PC, but I did it the hard way.

Boot your desktop using the CD and run 'Start or install Xubuntu' at the main menu. Note that you're not installing Xubuntu to your desktop, merely running it. As long as you don't double click on the 'Install' icon when the Xubuntu desktop comes up, you'll be AOK.

Now connect your USB stick.

You'll need to run a terminal window in Xubuntu - Applications –> Accessories –> Terminal. Be very careful typing these commands in. The terminal is a powerful tool.

Now you'll need to key in the following command. Or cut and paste - if you use hotkeys, pasting into a terminal window requires Ctrl-Shift-V:

sudo /cdrom/mkusbinstall.sh --autodetect
Apparently, your USB stick will be autodetected, and the necessary files will be copied over. Wait until another prompt appears on the screen and then exit.

You can now power off your PC. The CD should eject automatically as you power down.

3. Install on to your Eee

Firstly, ensure that your wireless connection is enabled. It might be a good idea to power it up in Xandros or Windows first to check. Xubuntu apparently will not detect or install wireless if it is not enabled.

Plug your USB stick into the Eee, then power up holding down the Esc key while you do it. You'll then be prompted to select the USB stick from a boot selection menu.

When the Xubuntu menu appears, select 'live/eeepc'. It should be chocks away from here.

Follow the steps on this page to install. I installed with a swap partition, but this page will let you know the pros and cons of either.

Once the installation process is complete, reboot and you're away. The wireless should work out of the box, but tonnes of other stuff won't.

If the wireless doesn't work, it's not the end of the world. This page is full of heaps of stuff that will help you get your Eee up and running.

Before you follow the next steps, it's a good idea that you shut down and plug your ethernet cable into your Eee PC. Wireless will walk out the door at some point.

4. Run all updates

This is pretty important. But it does come with a caveat - be careful what you click on here.

Running the Update Manager through Applications –> System –> Update Manager will download a lot of stuff to update your system. It will also potentially disable your wireless and do a stack of other things.

You will get prompted in your Update Manager window to upgrade to Xubuntu 8.04 (Hardy Heron). Do not do this just yet. Shut down your system and hook up to your router via ethernet to be on the safe side. You may need to do this in order to get your wireless running again, and other stuff.

5. Upgrade to Xubuntu 8.04 (Hardy Heron)

Apparently this causes problems for most, so much so that upgrading to Hardy is seldom recommended. It didn't cause any for me. But then again, when I found this page, it pretty much sorted everything out for me.

The Update Manager should already have a little button in there for you to click to upgrade. Do it. Once done, you'll need to reboot.

There's an optional step in here to enable your wifi - it should have stopped working at this point. If you want to do this now, scroll down to 6A, but steps 7 and 8 will cover this off.

This page here is 24 carat gold for fixing a whole range of stuff on the Eee after upgrading to 8.04. While it relates to a vanilla Ubuntu install, I found that it fixed most of the stuff that needed to be fixed.

6. Correct the shut down glitch

I did this straight away, although one of the following scripts in 7 and 8 might fix it. I don't know. I ran it anyway.

Open a terminal window (Applications –> Accessories –> Terminal) and type in the following:

sudo mousepad /etc/default/halt
Then, add this line to the end of the script:

rmmod snd-hda-intel
This should correct the issue. Something that may be important: When you update a script in Mousepad, ensure that there are a couple of blank lines at the end of the file. This apparently makes the script work better - no idea why.

6A. Enable wireless networking

This is an optional step, obtained from this page. I did it, because I wanted to sit on the sofa while I sorted out the rest, and also because I read it first. The two scripts coming up in 7 and 8 should negate the need to do this bit.

Open a terminal window (Applications –> Accessories –> Terminal) and type in the following:

sudo apt-get update
sudo apt-get install build-essential
wget 'http://snapshots.madwifi.org/special/madwifi-ng-r3366+ar5007.tar.gz'
tar zxvf madwifi-ng-r3366+ar5007.tar.gz
cd madwifi-ng-r3366+ar5007
make clean
make
sudo make install
sudo reboot
Some of the lines in these commands didn't work cleanly for me the first time. But they did if I used the magic word "sudo" at the start of the line.

Important: As it says on the page, an update to the kernel will cause you to lose your wifi, and you'll have to run this again. Probably a good idea to keep these commands handy.

Edit 13/07/2008: Anonymous has pointed out that you don't need the "sudo reboot" line at the end. Thanks Anon:

"Hey, just a quick FYI:
In step 6A, you don't need to sudo reboot, the same can be achieved by loading the driver into the ruing kernel with sudo modprobe ath_pci"

7. Run Ubuntueeetweak

At the wiki entry for an Ubuntu 8.04 installation page that I showed you before, there are two scripts that can be run to get most stuff up and running, including the problematic stuff such as sound, wifi, etc.

I ran both of them.

Download this file to your desktop: ubuntueeetweak.sh

Then, open a terminal and run this command, replacing "username" with your user name:

sudo sh /home/username/Desktop/ubuntueeetweak.sh
You will then need to reboot:

sudo reboot
You may need to run this script again in the future if you lose functionality - this normally happens after a kernel update.

8. Run RiceeeyTweak

I did this, although it may be optional.

Same as in 6, download this file to your desktop: RiceeeyTweak.sh

Then follow the same steps as running ubuntueeetweak except for the file name. This will do much the same as above, and install an overclocking facility. I doubt that I'll ever use that.

9. Fix the sound

You will not have sound just yet.

You will need to add a line to a file in Mousepad. In your terminal, run:

sudo mousepad /etc/modprobe.d/snd-hda-intel
Add this line to the file (but only for the Eee PC 90x):

options snd-hda-intel model=auto
For an Eee PC 70x, this line should be:

options snd-hda-intel model=3stack-dig
Then save and close. Then reboot.

You should finally check all these:
  • Right click on the task bar at the bottom of the screen.
  • Press “Add New Item”
  • Scroll down until you find the Volume Control applet and drag it to the panel next to the applications button. (Drag anything else you want down at this time too.)
  • Then right-click on the new Volume Control icon and go the “Properties”.
For “Device”, choose "#0: HDA Intel" (this should be the only one you can choose)
For “Wannabe Master”, choose “Front,0” (which is responsible for main sound output).
Leave the “xfce4-mixer” in the “when clicked” box alone. – that's what we're running.
  • If you click on the icon, it brings up the mixer where you can adjust front speaker and mic volume. Ensure that 'Headphone' is selected. If Headphone is not available, click on 'Show Switches' to reveal it.
  • If you click the volume meter to the right of the panel icon it will adjust the volume up and down.
Test this with something like a YouTube page.




I haven't tried out the webcam or the mic yet. It might be a little while, but that should get you going - remember, most of everything else that you need to run stuff on EeeXubuntu on your Eee PC 900 is available here. And if it's not there, then try here.

One of the things that I'd like to do is to try out plugging it into a separate monitor. Given the sheer portability of this thing, I like the idea of using it on trips away and plugging it into projectors in place of a regular laptop. I'll get around to doing that eventually.

What else?

  • It performs OK. It's presently underpowered, but the Atom processor in the Eee PC 901 and forthcoming Eee PC 1000 may fix this.
  • It boots up in 74 seconds. Apparently this should be under a minute, but the upgrading and updating will weigh it down. I think that under a minute and a half is OK - I'll need to look into fixing it if it takes longer than this.
  • It's portable. Ridiculously portable.
  • Wireless works after all this, but it's painful having to run scripts every time the kernel updates. This might be fixed in a future EeeXubuntu release.
  • I can't seem to get some of the windows to adjust to the desktop space, heightwise. Hopefully a fix is not too far away.

I might do another one in the future on my Eee PC down the track - I'm still very pleased with it to date.

23 June 2008

Dikkii has a new toy


I start this post with a note of caution: If you're not a nerd, or an Asus Eee PC user, then don't read any further.

Just so we're all in the clear, I'd like to put the following on the record:

1. I do not consider myself a nerd. Nor have I ever considered myself one, except where finance and economics are concerned.

2. I also do not consider myself an "early adopter" of any sort of bits and pieces that are technological, vaguely or otherwise.

3. Lastly, the thought of stuffing around with anything technological is weird and scary to me.

Having said all that, I am going to share my experiences with my new toy - the ASUS Eee PC 900, quite possibly one of the handiest pieces of technology around.

The Eee PC has been around since last year when it was originally developed as what appears to be a response to the one laptop per child initiative. Originally, the Eee PC 700 with it's 7" screen came out, followed by the Eee PC 701 with some enhancements, mainly in the colours available, as well as the drive - solid state, not hard disk, and up to 8 GB.

It was such a big hit with grown-ups that Asus had to raise the stakes a little.

Since then, the 9" screen (and 20 GB solid state drive) Eee PC 900 has some out, with the Eee PC 901 to follow (using Intel's new Atom processor, not the Celeron) as well as a 1000 model which has, yes you guessed it, a 10" screen.

Of course, it wasn't long before the competition came a calling. There has been others - notably the MSI Wind PC, the HP MiniNote 2133, the Everex Cloudbook just to name a few. I hear that Dell are getting into it, and given how the MacBook Air seems to have gone down like a lead balloon, it won't be long before Apple are in on the action as well.

Asus give you the option of Xandros Linux or Windows XP with the Eee PC, although with the new Atom processors and the fact that Microsoft are really trying to stop making XP, I wouldn't be surprised if the 901 and the 1000 offer Windows Vista as an option.

But back to me.

In late May, the Eee PC 900 still wasn't available in Australia. I found them interesting, and was going to investigate buying one. I had set aside June for buying a laptop. I didn't really care if it was underpowered - basic net surfing and the odd Word file was pretty much all I was after. And I really liked the whole portability angle - I can stick this into a laptop bag, and still have plenty of space for other stuff.

Unfortunately for me, this coincided with the infamous budget of May 2008, where federal Treasurer Wayne Swan closed every loophole in the book and stuck means testing on to everything where anyone could benefit. What this meant was that you could no longer salary package laptop computers and expect them to be Fringe Benefits Tax (FBT) exempt.

More fool me.

I was resigned to the fact that unless I could find a retailer willing to backdate an invoice to before 7.30 PM on Tuesday 13 May, I would be forced to buy my laptop the hard way. This could be hard to explain to an auditor from the tax office if I managed to do this for a PC that hadn't even been officially released in Australia yet at this point in time.

In the last week of May, I stuck in a lowball bid on one of these babies on Ebay, and was even more surprised when I won the sucker.

Yes folks, I picked up an Eee PC to be shipped from Hong Kong for about AUD $110 off recommended retail. Add in the AUD $50 for courier costs, and I had a bargain. Not only that but chances are that I would be getting mine before Asus even shipped their first Australian order for the 900.

(I notice now that Asus have dropped their price on the Eee PC 900 by about AUD $50 - I still got a bargain)

So I had a new Eee PC 900 running Xandros.

I wasn't at all happy with the way that Xandros makes your Eee look like a kiddies' toy. I did some browsing on teh interwebs and found that quite a lot of Eee users were putting different Linux distros on. Some were reporting great progress with different Linux distros, even running KDE, and a couple had even managed to get Windows Vista and OSX Leopard to run on their Eees.

But the one that seemed to be the best supported was a cut-down version of Xubuntu called EeeXubuntu.

Oh, OK. Not all of you will be familiar with Xubuntu. A couple of months ago, this blogger bought a new desktop and created a Linux partition running Ubuntu, which presently appears to be one of the best supported Linux distros available.

Ubuntu runs the GNOME desktop, but if you would prefer, it comes in other versions, such as Kubuntu, which runs the flashy KDE desktop, or Xubuntu which runs the fairly basic XFCE desktop. Which appears to be ideal for low-powered devices.

There are other supported Ubuntu derivatives.

I did some investigating, and while I can't actually find any concrete examples of anyone running the full version of Xubuntu on their Eee, I did find this site which caters extremely well for anyone wanting to run alternate Linux distros, and has a wealth of stuff for EeeXubuntu.

I had relatively positive experiences with Ubuntu, so I thought I'd give EeeXubuntu a go. It was relatively easy, although there are some things that need to be done in order to get your Eee PC operating effectively.

After I managed to get most things running OK, one of my old housemates suggested that I put this out there for potential users to enjoy, because I can pretty much say that things ran almost seamlessly for me. And these will be put into what I think is a decent order in Part 2.

Part 2 is here.