Saturday, June 16, 2007

Plush UEFA Handcuffs

Interesting things hanging from the rear-view mirror of a car parking at our supermarket's car-park: Handcuffs, a miniature World Cup Trophy, a dice, a plush mouse with skirt, a cat(?) collar and a paper version of the X-Box controller. It's a pity I didn't get to know who's properties these are...

Saturday, June 09, 2007

Thursday, June 07, 2007

Userfriendlyness

The current Ubuntu versions are (in my oppinion) a big step backwards in terms of reliability. For example last week, I wasted quite a lot of time working around various breackage in the networking area.

Especially high brain-damage can be experienced by using the ifup/ifdown network configuration, because it only does half of the work, when you are lucky. Right now, for example, my machine here lacks it's ipv6-address, even though it's clearly configured in /etc/network/interfaces as it should. Now if I try to ifup manually, it fails because of the already configured ipv4-half... and ifdown fails because of the non configured ipv6 half. If I manually flush the addresess, ifup does the right thing though... but ifup just blindly running the network configuration commands and failing on the first one signalling an error is just BAD, BAD, BAD!

Things like secondary ip-addresses added with the up directive seem to work even less often....

The second-to-most-painful thing is the udev scripts that now merrily rename your network interfaces according to /etc/iftab, a very bright move that --combined with the abomination that is NetworkManager-- can make the unsuspecting administrator hunt for non-existing configurations for hours!

To add insult to injury, the NetworkManager manual-page says (emphasis mine):

The NetworkManager daemon attempts to keep an active network connection available at all times. The point of NetworkManager is to make networking configuration and setup as painless and automatic as possible. If using DHCP, NetworkManager is intended to replace default routes, obtain IP addresses from a DHCP server, and change nameservers whenever it sees fit, with the aim of making networking Just Work.
The obvious solution to all that idiocy of course is to just ignore the non working amatuer work and fall back to the method that already worked in Slackware, 1995. That's what I call progress.
/etc/rcS.d/S41rc-networking
#!/bin/sh
ip link set lo up
ip -f inet addr flush dev lo
ip addr add 127.0.0.1/32 dev lo
ip link set eth0 up
ip -f inet addr flush dev eth0
ip addr add 1.2.3.4/24 broadcast 1.2.3.255 dev eth0
ip route add default via 1.2.3.1
# ... add ipv6 stuff here...

Saturday, June 02, 2007

Kloß und Spinne

Absolutely hillarious if you understand German: Kloß und Spinne!