Short notice: Installing Grub4Dos on USB thumbdrives

USB thumbdrives are great. They are cheap, small devices packed with a lot of storage to carry all your important stuff. They are also great to boot administrative tools like True Image etc.

On themudcrab there is a great article for those who want to boot ISOs directly from a USB thumbdrive.

Unfortunately the article does not describe one major aspect: Making the stick itself bootable.

You need a little bit of extra software here to make it happen, thankfully the download is small and the software is free.

As I wrote, by default most thumbdrives do not have the bootable flag set. Also, they don’t have an MBR written. If you would try to install Grub4DOS on such a thumbdrive it would moan about an invalid partition table and recommend to use the –skip-mbr-check parameter.

That’s where HP’s tool comes in: Pop in your thumbdrive, start the HP tool and format the stick. The tool will write the necessary portions to the MBR, effectively making it possible to boot off the thumbdrive.

Done? Then follow the great guide on themudcrab showing all the necessary steps from now on. It even has the right software set as an example 🙂 .

Pangya! Vista Icon

I dig the Vista icons. Unfortunately not all applications come with nice icons. Pangya, for instance, still has a 32×32 low color icon despite getting constant makeovers, patches and improvements.

Since I had to reinstall Microangelo anyway, I whipped up a nice little icon for Vista users:

pangya_vista_compAs you can see, the icon still is the beloved Dolfini, now in all it’s might and shine. There are quite a lot of sizes packed in the icon, so even when scaling the icon size up, it still looks great.

Download the icon file right here and enjoy 🙂 .

Use Mplayer to watch DVDs, browse menus etc.

One of the weak points of Mplayer always seemed to be the support for DVD menus… or not?

Actually it’s quite easy to watch DVDs and browse menus with Mplayer. All you really need is a version that has dvdnav support enabled.

You can start the DVD the following way:

mplayer dvdnav://0 -dvd-device </dev/dvd | myfile.iso>

Quite easy, isn’t it?

XDCC Browser 4.41, XdccbLister and XCB files

XDCCB is a very nice script for mIRC. It automates the often lengthy process of grabbing files off IRC bots and eases navigation. XDCCB uses a list format with the extension .xcb, for this file format there’s a handy tool to convert text lists, html et cetera into the format XDCCB can process: XdccbLister.

Unfortunately, XdccbLister has long been forgotten and XDCCB development moved on, leading to a discrepancy in file format output. Fortunately, though, the tool is free software so I’ve hacked together a very simple patch that should fix at least the biggest issues.

The patch can be applied against the v.0.5 you can grab at SourceForge. If you don’t want to do that, be it because you don’t have Perl or don’t know how, you can also grab a prebuild executable here.

Jumbo Frames, LACP, NFS

Now that my server is basically up and running for a while it’s time to get the neat stuff running 🙂 .

A to-do item on my list has always been enabling jumbo frames and LACP on my Opensolaris installation. So, let’s get this kicking!

Jumbo frames use a MTU of 9000 instead of 1500. Since I’ve aggregated nge0 and nge1 to aggr1 I can simply set the MTU of the aggr and the corresponding values will automatically be set on nge0 and nge1 (even if you don’t see them 😉 ):

ifconfig aggr1 unplumb
dladm set-linkprop -p mtu=9000 aggr1
ifconfig aggr1 plumb

Sweet stuff! Don’t forget to re-configure the address, netmask and gateway for the link. Now I want to enable LACP so I can make use of the combined throughput of the NICs:

dladm modify-aggr -L passive 1

Let’s check whether everything’s up and running as intended:

tsukasa@filesrv:/$ ifconfig aggr1
aggr1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 9000 index 2
inet 192.168.X.X netmask ffffff00 broadcast 192.168.X.X
tsukasa@filesrv:/$ dladm show-aggr 1
LINK            POLICY   ADDRPOLICY           LACPACTIVITY  LACPTIMER   FLAGS
aggr1           L4       auto                 passive       short       -----

And indeed, everything went smooth.

Now, even with this boost in performance watching HD video over the network sometimes stuttered with many concurrent connections/operations going up- and downstream at the same time. Also, the Opensolaris 2009.06’s CIFS service has the unpleasant habit of dying and refusing to come up again until I reboot, so I went the easy way and simply enabled NFS for this ZFS system (can we call this a system? Mount? I don’t know…):

zfs set sharenfs=on filesrv/video

I didn’t have to do anything else or specify explicit rw options since I already mapped all the stuff before. Now, the only thing left to do:

mount filesrv:/filesrv/video /home/tsukasa/video -t nfs -o defaults,users,noauto,rsize=8192,wsize=8192,timeo=14,intr

And guess what, no more problems 🙂 .

Remarks on the AVM Fritz!WLAN Repeater N/G

At home we’ve always had a nasty problem: The wireless connection works fine just about anywhere but not where we need it — the room my mother’s computer resides in. Since this room is just about the only room in the entire house we can’t plug cables, wireless was the only option.

Now, after trying a few different things (changing antennas, adapters etc.) I’ve given her a repeater for Mother’s Day. Take this as a little review, if you must.

The product I bought is the AVM Fritz!WLAN Repeater N/G, which promises easy, secure and fast setup and use. The repeater goes for about 70 Euros at Amazon, so it’s definitively more expensive than just buying a second WRT54GL and use it to bridge wireless connections.

AVM’s Fritz! repeater is a rather bulky plug for a power outlet, according to the relatively sparse guide you have to place it somewhere between the access point and the client it should serve. Sure thing, plugged the thing in.

First boot took about 2 minutes, since you have to wait for the new wireless network “AVM Fritz!WLAN Repeater” to appear and connect to it. Everything after is a piece of cake: Select the access point you want to repeat, give the passwords etc. and you’re good to go.

By default the repeater makes the SSID it repeats it’s own (which is questionable, but at least configurable). If you want to assign a static IP to the repeater you’re in for a bad surprise: You can’t. At least not in the repeater itself, you have to create a static lease on your DHCP server.

Just to give you an idea of the connection:
Before implementing the repeater in our network, my Mum’s connection was mere 20-30%, losing contact to the AP every few minutes (whenever a car passed by, the wind blew or some poltergeist would feel annoyed). Now, the repeater itself has a nice connection of 60-80% to the AP and serves my Mum’s computer with a strength of 85-98% which is exactly what we were aiming for. Since it’s a B/G network, connection goes up and down from 48MBit/s to 54MBit/s and vice versa at random, there are no connection drops though.

There are some useless gimmicks in the repeater: You can use it as a shortwave radio transmitter to broadcast your local music collection to radios accross the network (something that only works with Windows). Haven’t used it, won’t use it. Instead of implementing stuff like that, AVM should polish the interface and give it some advanced options for people who have to manage networks a little bit more restrictively.

Nice touch: The repeater can go to sleep/wake up at given time periods, unfortunately only fixed times, there’s no support for scenarios like “go to sleep x minutes after there’s no client”. So, our repeater goes down 20:30 and wakes up 05:00.

Booting time after the initial setup is acceptable. Settings are remembered across power-on/-off. The performance boost the repeater gives our B/G network at home is definitively notable. But is the device worth 70 Euros?

Personally, I think it is not worth the money. You can get all features by simply buying another WRT54GL for ~40-50 Euros. AVM’s repeater does not have any outstanding features that would justify the price tag. Quite the opposite: The lack of fine-grained control over the repeater makes it a bad choice for people who really want to get the most out of their wireless connection. For people who just want to get stuff moving quickly, it may be the right choice, though.