HTPC 2010 – The Conclusion

The Conclusion

So time has come to get down to brass tacks. How much for the ape? I kid. I’ve now been using the HTPC for a little over a week, and i’m liking it. I’m gonna try to be as non-hyping and calm as possible, and list some of the challenges and victories with this build in this, the last post in the HTPC2010 series.

The Cons

First of all, the case is really cramped in a vertical sense. The fat ATX power cable has to be forced down, which feels really dangerous, as the fragile little motherboard starts to almost bend under the force. And all this just to get the top cover on. Some of the cables are also quite short, and the 4pin 12V extra power cable that goes to the motherboard only barely makes it to where it’s going. Cable management becomes a bit hard, when you have maybe a few millimeters of breathing room.

The 55×55mm fan in the rear of the case is also a bit annoying. It is quite loud, and causes some resonance with the metal of the case, and has to be tapped once in a while to shut it up. I could remove it altogether,  but i’m pretty sure it needs at least some cooling. The Asus motherboard has a similarly sized CPU fan, which isn’t quiet either. Would a passively cooled one have been a better alternative? Not if you ask Anteuz, as his Point of View-motherboard came with a passive CPU heatsink. He said it got so hot, he actually took the fan from the rear of the lascala and put it on the cpu heatsink to cool it off. So maybe a small tradeoff here.

There is no space for bigger fans without modification of the case.

The Asus motherboard doesn’t receive high marks from me in another area as well. The onboard connectors are quite limited. There is only one internal USB, no firewire, no esata, no anything. There is actually an esata solder-point on the motherboard, but alas, no connector. This would have been nice for hooking up an external drive, either through firewire or esata, but neither is present. This presents another problem with this case: the front panel. The frontpanel of the Lascala has a memorycard reader, which needs internal usb to work. It also has 2xUSB, firewire and audio. So i have to chose either the usb ports, or the memory card reader, and make due with no firewire.

Oh yeah, and there is no cover-panel for the optical drive slot (which is above the memorycard reader. This makes for a rather ugly front panel, if you open the little flip-down hatch, and find that there is a gap there. I chose to have the front panel usb’s hooked up, and left out the memory card reader. This means there’s a huge hole where the optical drive and card reader should be. Rather ugly. They could have included a damn cover for 160 euro……

I had problems with the sound, but this was to be expected. Using the optical out isn’t always simple in Linux, but once the correct configuration was entered, everything worked fine. Basically it was like 10 rows in my .asoundrc that solved the problem. It was mysterious. Video files with high-quality audio like DTS or other fancy Dolby standards worked fine. But then simple mp3 or other audio didn’t. One would expect it to be the other way around.

I also had problems with the video drivers. I went with the ubuntu recommended 185 drivers, and they had no problems. However, upgrading to the latest 195 drivers from nvidia resulted in XBMC crashing to the desktop immediately upon trying to play an .mkv file. Frustrating.

HDMI also didn’t work with the correct resolution from the getgo, and while VGA did, it has problems placing the image correctly on my Samsung 32R86 tv. I have to run the “automatic placement” menu item on the TV to position the picture correctly. And what’s worse, the placement is different for XBMC and the desktop. So to have a perfect image, i’d have to run that thing every time.. This is probably just a TV issue, so i’ll wait for my new 40 incher until i start spending time on this.

Setting folder content in XBMC is a bit tricky. I found that working on the default Confluence skin was the surest way to go, as many of the custom skins had some kind of reverse polish logic in them. Take this use case: I add a new folder to the library, and press the folder with the right mouse button and select “Set Content”. Here, i select the scraper (which website it uses to get the metadata for the content), and start indexing the content. If i made a mistake, i can’t return to that same folder view, all i have is the contents of that folder. When i manage to get back to that view through some dark magics, i find that the Set content menu-item is no longer there, and i am unable to “re-set” the content, if something went wrong, which it did.Through some voodoo, every media file in the folder got scraped as “Home movies”, by Ridley Scott, 1986. So every media file had the same metadata (which is incorrect, i don’t even have such a file!), and re-trying was not possible. Removing the library and re-setting the content seemed like the best way to go. And even then, some content had to be set manually, because it was not detected or processed correctly. A lot of manual work, that only has to be done once, note.

The Pros

The relatively cheap ION platform, while low powered, can decode media like a motherfucker. There is no chopping or other problems while playing even super high quality full-hd content, with hd class sound. It just works. And CPU load hardly ever goes over 50%.

All things said,  the build is still very quiet, and aesthetically pleasing, with it’s Set-top-box type black case. All that’s missing is a remote. It doesn’t take up much  power when playing media. It’s compatible with most forms of video and audio. Adding spotify through wine, you can even have that functionality all in the same box (though not integrated to XBMC..yet…).

The machine can be used to do pretty much anything except like.. graphics or encoding of media, or playing games. It doubles as a general internet pc in the living room, that you can use from the comfort of your own couch. With a 150 bucks more, you can add a bluray player, and save having to buy yet another box to your already cramped equipment racks.

I’m also pleased with how little tuning XBMC took in the end (save for the partial audio problems). Installing it was easier than i thought. My wife quickly learned to use XBMC as well, though she isn’t what you’d call a total newbie. I’m just waiting to teach it to my 2.5 year old son.. :)

HTPC 2010 – The Install

The Install

Time for the install. Nothing spectacular here. I booted the thing off a USB-drive i created using unetbootin 3.93, with a Ubuntu 9.10 (32-bit) iso slapped on there.  There was some issues booting from the stick, because i couldn’t get to any kind of boot menu (F12 didn’t take me anywhere), so i had to take a look at the BIOS. The setup was a bit different from what i’m  used to, namely, the usb drive is detected as a hard drive, and not as a removable or separate device. So, to start off, i had to set the hard-disk to boot as the first device, and then set the order of the hard disks, so that the “primary” hard disk was the USB-drive, and the secondary drive was the internal 250 GB drive. After this, the boot worked just fine. After the installation was done, removing the USB drive bumped the 250GB to the primary drive.

Other things that need to be noted in the BIOS are: Setting your graphics memory to 512 (or whatever your max is). This will ensure flawless HD playback. Default is usually 64 or 128 or something, which isn’t enough. Also make sure you have all the necessary audio and video ports enabled.

The Ubuntu installation was quick and painless. I chose to use the entire 250GB drive, and let Ubuntu do it’s magic on it. Nothing special during the install.

After the installation, only a few packages are needed. The commands that i ran, in order:

apt-get upate && upgrade

apt-get install nvidia-glx-185

This updates the repositories, upgrades existing packages, and installs the nvidia hardware driver. You can also use the Administration -> Hardware Drivers, which at the time of this writing, installs the 185 driver.

Note! I had some problems with the latest 195 driver. After installing it, there were some dpkg errors that prevented the installation from finishing properly. After this, graphics were fucked, and i couldn’t start x. When i did get the driver installed, and everything seemed to work, i was completely unable to play any HD quality .mkv files. XBMC would crash to the desktop. Also, trying to play them in VLC for instanec, resulted in equally disasterous problems. So unless you are having problems with your ION and the default 185 drivers, don’t upgrade.

After this i pretty much followed the linux installation guide of XBMC in their wiki. Roughly the installation is:

  • add the correct repositories
  • run apt-get update
  • run apt-get install xbmc
  • configure sound
  • configure xbmc
  • done.

The setup i had was: Run video through VGA (i have only one HDMI in my current TV), and audio through spdif to my amplifier. This was a fairly easy thing to set up, though the audio was a bit problematic, as i will describe a bit later.

Connecting the VGA got me a good picture right away with native resolution (1366×768), whereas through the HDMI it got detected as 1280×720, which is incorrect. And the picture wasn’t scaling correctly either, so i figure i would have needed to add some modelines to my xorg.conf. More about this later when i get my new Tv and hook up using HDMI.

About the audio

Getting audio to work was a bit problematic. In XBMC go to System -> Settings -> System, and then to the audio output tab. There, you need to check that you have your amplifier or TV set to support DTS and AC3 audio (if it does), and that you are outputting digital audio. For me, i had to set the audio output device to custom, and the device to plug:dmixer, and the passthrough device to IEC958 to get everything working. Changes to your .asoundrc in your profile root was also necessary, to make it understand the plug:dmixer device.

If you don’t make the above changes, you will find that only surround movies (DTS and the likes) will work. The rest, say shittier mp3 audio movies will not play anything, or even display a “incorrect audio device” message. Which is odd, because you kind of expect it to be the other way around, that the complicated DTS and other encoded sound would not work.

First off, find out which device you want to be using, by running the command aplay -l in your terminal. Look at the card number, and the device number, and see which output you want. In my case, it was the spdif, which was card 0, device 1. In alsa speak, this equals hw0,1

The contents of my .asoundrc file, which is placed in the root of my profile is as follows:

pcm.dmixer {
    type dmix
    ipc_key 1024
    slave {
        pcm "hw:0,1"
        period_time 0
        period_size 1024
        buffer_size 8192
        #periods 128
        #rate 44100
        rate 48000
     }
     bindings {
        0 0
        1 1
     }
}

The bold line over there is the important one, and the only one you possibly need to change. Save the file, reboot the computer to be sure.

Now sound should work in any media files, regardless of the encoding.

Customizations i used in XBMC was the Rapier skin, basically. I stream media from my other machine through gbit lan, which works fine with any type of media.  I used a standard samba share for this, and no issues have cropped up so far.

I could write a bunch on scraping and other XBMC stuff, but they are so well documented in their wiki that i won’t bother. Just remember, the backspace key takes you back one level, and the c-key gives you the “right-click” context menu on any item (like a movie or folder). That is all.

References:

http://wiki.xbmc.org/?title=XBMC_for_Linux_specific_FAQ#S.2FPDIF_out_for_both_analog_and_digital_audio

http://wiki.xbmc.org/index.php?title=Installing_XBMC_for_Linux

http://wiki.xbmc.org/index.php?title=HOW-TO_install_and_switch_between_skins_in_XBMC

http://xbmc.org/skins/

HTPC 2010 – The Build

The build

I got word from Jimm’s Pc-Store that half of my parts had arived. The rest i would buy from Verkkokauppa.com because they had it in stock. I ended up getting a 250 gig hard drive for 39 bucks, simply because the cf solution was not immediately available (not in stock), and it would have cost nearly three times as much. Otherwise the parts list in the first post holds true.

I started by skimming the manuals of the case and the motherboard, and then started taking the case apart to prepare for installation. I had to remove the top cover, obviously, and also add and remove some of the internal cables according to my needs.

All the parts in one pile!

This is what the case looks like on the inside. Note the power supply, or actually just the distribution-point. The powersupply is actually that transformer-brick next to the case there. There is a 24-pin atx, 4pin 12v extra power, cables for floppy, molex, and sata, which are fairly modular, i.e. you can chose not to connect the molex cables if you don’t need them, like me. The case has a rubber-padded spot for the hard drive, on the bottom left in the picture. This should (and did) eliminate most of the vibration caused by the movement. The case also has front panel audio, usb and firewire, as well as a memory card reader. Sadly, the motherboard i got only had one internal usb, so it was a choice between the two front panel usb ports, or the memory card reader. I chose the usb ports, because it’s a handy way to hook up external hard drives and media players. Ofcourse, one can just switch the cable, and use one of the external usb ports to hook up the memory-card reader.

Cables for power and hdd led, as well as the power-switch are also included. Cable management turned out to be a bit hard: the 24-pin atx power cable is very very thick and stiff and needs to be forced down quite a lot to get the top cover back on.

The case, opened

power supply

The "Power Supply"

After this, it was time to put in the Asus motherboard, the hard drive, and hook up all the necessary cables. I forgot to take a pic of the innards with all the parts connected, but i’ll do that today. Here’s a picture of the motherboard, pretty handy-looking huh?

motherboard

The Asus Motherboard

So when everything was connected, it was time to put the case back together, and prepare for installation. The plan is to install Ubuntu 9.10, with XBMC 9.11.  A few more pics of the ready build. Note the fucking awesome blue led, without which, this build would be like, less cool.

Done!

Done!

A view from the top

HTPC 2010

I finally got off my lazy ass and ordered the parts for my HTPC. The build itself, is inspired by Anteuz’ build, which i had the pleasure of fiddling with last weekend. The build was very convincing visually, as well as performance-wise.

I’ll document the entire process of building, installing and configuring on this blog. The first part: The Buy

The Buy

The first task in any computer project is deciding what you want the build to do. I set some goals for this build:

  • Has to be visually appealing, and suitable for my livingroom (that means, slim, silent and black)
  • Has to be able to play 1080p media (and anything below that of course)
  • Has to be usable with a cordless keyboard & mouse and/or remote control
  • Has to be able to run Linux
  • Has to not cost me an arm and a leg!
  • Hast to have some form of expandability, say if i want a Bluray drive later!

Setting out with these goals in mind, the only reasonably priced hardware that does all this is based on the Nvidia ION chipset. The build Anteuz has is a:

  • Asus AT3N7A-I Motherboard
    • Atom 330 dual core processor
    • Nvidia ION chipset
    • Gbit Ethernet
    • 8GB RAM (DDR2) max.
    • DVI/VGA/HDMI/SPDIF etc. outputs
  • 2 x 1GB DDR2 RAM
  • Hard drive
  • Silverstone Lascala SST-LC19S-R with 120W passively cooled powersupply

I ended up ordering pretty much the same set:

  • Asus AT3N7A-I Motherboard (126€ @ Jimm’s Pc-Store)
  • 2 x 1GB DDR2 (800MHZ) (44€ @ Verkkokauppa)
  • Silverstone Lascala SST-LC19S-R (160€ @ Jimm’s Pc-Store)

But as for storage i ended up with a slightly different solution:

  • SATA -> Compact Flash adapter (22€ @ Verkkokauppa)
  • 4 or 8 GB Compact Flash card from Sandisk, the Extreme III model (with ~30MB/s read and write) (34 – 51 € @ Verkkokauppa and elsewhere)

What i’m going to be doing is, putting Ubuntu on the Compact Flash card (which is completely quiet, low power, and physically small). I don’t need a lot of space for Ubuntu, since it’ll be a barebones install, with the XBMC media center application on top, it’ll hardly take more than 2 GB.

I’m not going to store any media on the HTPC, but instead, stream it over the network from my fileserver. With Gbit Ethernet, i’ll be able to stream 1080p content with no problems. The network “backbone” is an HP Procurve 1400-8G, which has more than enough throughput and oomph for my small network.

The total price for the build is 386€ with the 4GB Sandisk Extreme III (add 20 bucks for the 8GB version). For less than 400€, i will therefore have a build that can stream HD media from my network.

A future expansion will be a slim blu-ray drive, which runs at around 150€ right now, which is not a bad price. The hardware is more than capable of playing blu-ray discs in their full 1080p,  surround sound glory. And that’s cheaper than a Playstation 3, which has no games anyway :)

Next up, when i get the parts: Pictures and The Build. After that, it’s time for The Install and then The Conclusion.

What’s the deal with the iPad?

Clever readers will notice the Seinfeld reference. Anyway, on to the topic.

Everyone is writing about the iPad, so as not to arouse suspicion, so will I. The iPad was released a while (a week? two?) back by Apple. Using the standard hypewords “awesome”, “fantastic”, “amazing”, “fabulous” etc. Jobs hailed the device as a whole new class of devices (which it is, more on this later), and quote: “The best web browsing experience you’ve ever had!”.

Let’s first look at the specs. The device has an Apple designed A4 processor (though rumors are, they bought the silicon from some other company), 9.7″ multi touch screen (with IPS panel), 16 -> 64 gigs SSD storage. What it does not have is:

  • Exchangeable battery
  • No expandable memory (no sd slot, no usb slot, no nothing)
  • No usb ports (use apples propietary 30 pin cable, with adapters)
  • No multitasking in the OS
  • No phone functionality
  • No 3g in the standard version (pay $130 extra for that in any size class)
  • No camera
  • No flash!

That seems like a long list. Which is probably because it is. There are a number of shortcomings in the iPad, and with a 499 pricetag, that’s pretty unacceptable. To my eyes, this is a total fucking rip-off product, with no real killer app or usage scenarios. I’m thinking this could be used by say, medical institutions or perhaps, as a device for visitors to a museum or something. But multitasking becomes an issue here as well.

Who is going to use an office suite, without multitasking? Enjoy writing your diary, without surfing or doing anything else at the same time. Enjoy not being able to surf the web while taking notes.

This is a deliberately defective product. According to sources, the parts in the iPad cost apple 300 dollars. Which means, for the cheapest shit-ass model, they are raking in a huge 200 dollar profit. Even if they just sell one for each apple fanatic, they’ll still make enough money to be happy.

Again, this isn’t that they couldn’t have included all of those things, they did so because they decided. This way, they can make the 2nd generation iPad, which has all of the clearly missing features, and everyone will go fucking apeshit about their genious device. But let’s get real here. A device with more features existed 7 years ago, in the form of an HP tablet computer. This is just highway robbery on Apple’s part, and i don’t like it.

Why did Jobs call this the best web browsing experience you’ve ever had? I wonder why their product pages had blatant lies on them at the time of the release? They showed video and images of iPads visiting Flash based websites, until some keen-eyed humans found the lie, and Apple had to quietly take it down. The fact of the matter is, it does not run flash, and probably never will. Jobs says it’s because “Adobe could be making an awesome product, but they choose not to.”

Why not stop lying and tell them the real reason, huh? The real reason is: through flash, people could be watching online video and skipping quicktime. Through flash, people could start creating and distributing games and applications that would circumvent the Apple store, which they want to keep strictly controlled. We all remember the dictionary app that wasn’t allowed because it allowed translation of naughty words. Sure, flash is not perfect, but devices since Symbian S60 have had flash. This is the year 2010 and Apple comes out with a product without Flash? Get with the program! Through process separation, flash could be made perfectly safe, so i’m not seeing the problem. Jobs keeps talking about HTML5 which brings video support (can be tried out on youtube, with certain browsers), but let’s get real. 70% of all online video and most modern sites and portals use Flash. Without it, you’ll get a lesser experience, or miss out on some content altogether.

What is the use for this thing, seriously? What could you possibly want to do with this iPhone XL? Give me some suggestions. Meanwhile, i’ll keep thinking, and i’d rather spend my money on the 58 tons of sand i could buy with the 499 i saved by not getting the maxiPad.

Don’t buy the iPad. It’s a complete fucking ripoff, and you’ll regret it in a year when they come out with a revolutionary product that has a camera *and* 3G built in!!!1one.

Samsung N140 review

So here’s my uh.. long-awaited review of the Samsung N140 netbook. This is a fairly recent model that was released i think some time late last year (and early this year in Finland). It’s basically an upgraded model of the acclaimed N120 (won tests in both Mikrobitti and MikroPC magazines here in Finland).

Let’s get a few things straight right off the bat. This is a netbook. Don’t come crying to me that it’s low powered, because i know. That’s why i got it. Yes, your calculator may have more power than this, but i don’t give a shit. Anyway, on to the review.

What’s in the box

The laptop costs somewhere below 400 euro in Finland. I bought mine from Anttila for 399 + shipping. The box is a very minimalistic (ecological, i suppose) box, with very little graphics or glossy print. Inside the box you’ll find the netbook inside it’s protective bag and set in some foam. An accessory box is next to that, which contain the installation guide, warranty information, declaration of ROHS compliance, and other assorted papers. Also included is a black samsung “second skin”, with zipper for the laptop.

I wasn’t aware of this, so i went out and bought a Tucano Second Skin from Verkkokauppa for 12 euro, but in hindsight, this was a good idea. The included black case is very very thin, and because of this the quality feels a bit cheap. I guess it protects from scratches and such, but i’d prefer something thicker, like the Tucano.

Also included of course, is the power brick, which is very small. Like a small mobile phone, only a bit thicker. A 2 meter power cable is included. Note well that this laptop can also work as a usb charger for a device such as a mobile phone, ipod etc, even when the laptop is powered off!

Specifications

The specifications of the netbook are as follows:

Processor: Intel Atom N270 (1.6ghz, hyperthreading)
Memory: 1 GB 533 MHz DDR2 (upgradable to 2GB, trying this later)
Hard-drive: 250 GB (2.5″, 5400RPM)
Graphics: Chipset is an Intel 945, with Intel GMA950 graphics that uses shared memory from the RAM.
Screen: 10.1″ LED backlit, resolution 1024×600 pixels
Optical drive: NO
USB: 3xUSB 2.0
SD-memory card reader (supports SDHC)
VGA out, Audio in/out, Ethernet, Wireless and Bluetooth 2.1EDR

Physique

The laptop itself is a very solid build, which was a great surprise after having tried some other netbooks, such as early Eee-pc’s. (701 i believe?). It does not flex at all when holding it from a corner, and there are no uncomfortable squeaks or inconsistencies.

The top of the laptop is very shiny glossy plastic, that will retain any memory of any physical object (may apply also to ghosts and spectres) touching it. This means fingerprints, scratches and other scuffs will be visible for all eternity. It’s also easy to clean because it’s so slick, but bear in mind: any rough cloth or dirt on it will leave scratches if you wipe with it. This applies to most samsung products, TV’s etc.

Inside it’s matte, but with a shiny chrome border circling around the keyboard. I’m not sure what the function is of this, i think it just looks cheap.

The touchpad is a decent size for a netbook, and very comfortable to use. The button is a one-piece, two-button affair, which feels a bit fidgetty, but you learn to use it pretty quick. Just hit the left or the right side for the desired button.

I would call the keyboard Thinkpad-esque. It’s bloody awesome. The size takes up the whole width of the netbook, and has very nice feedback and a generally i give it high marks. Includes function and windows button. Functions behind the fn key are: sleep, battery, the euro sign, external/internal screen, brightness, mute, volume+ and -, “turbo mode”, wireless, touchpad on/off, home, end and num- and scroll lock.

Memory is easily accessible under a one-screw hatch in the bottom. This is also a feature that most netbooks don’t have. There is a single slot, that is occupied by a Samsung brand 1GB stick, 533mhz.

Battery is removable, and there are rumors of a new more powerful battery, but i haven’t seen it yet.

Software

Comes bundled with Windows 7 Starter (32-bit). The bundle is quite horrible, as it includes every damn thing under the sun, most of which are limited time trials, offer very limited benefits for the user. Some of the “highlights” are:

  • Office 2007 (1 year trial)
  • McAfee Anti Virus + Firewall + Doohickies
  • Samsung Backup solution (only thing i’ve actually liked, more on this later)
  • Various small farming-related games, such as Dairy Dash.. (wtf?)

The Office 2007 trial didn’t work, as it just offered a 60 day trial, or an option to buy it for a very affordable 600 euro (more than the machine).  Uninstalled that fucker right off the bat. McAfee, slow as molasses, and didn’t activate. Uninstalled. Games. Uninstalled.

The Samsung backup utility makes a full disk restore image when you first start the netbook, and it’s apparently stored on the 15 GB recovery partition that’s configured on the drive. This came in very handy, as i was able to bluescreen the bitch right away, after installing newer drivers for the touchpad. So uh, don’t do that. I booted the thing, and hit F4 to access the recovery image. Full restore (10GB) took about 20 minutes. After that i had to re-uninstall everything, but now i’m cool.After this, i created another backup image, this time of the customized operating system, so i wouldn’t have to do this all over again.

Updated the BIOS to the latest version, dated 10.1.2010. Nothing notable, no changelog on Samsung’s site. There’s a program called Samsung  Update which takes care of updating the drivers (however messing up with the touchpad driver). Drivers can ofcourse be downloaded manually too.

Performance

I did some simple tests to compare the performance of the Samsung N140, with my previous “netbook”, the IBM Thinkpad X41. Specs of the thinkpad are: 1.6GHz single core Centrino, 2GB DDR2, 1.8″ 40GB Hard Drive, Intel 845 chipset.

Here are the results, which i won’t analyze other than to say that the results were largely expected. The Atom is low powered, but the hard drive kicks ass.

  • HyperPI (calculates decimals of PI):

1 million digits:

Thinkpad: 48 seconds
Samsung: 1 minute 57 seconds (running 2 threads), 1 minute 36 seconds (running 1 thread)

2 million digits:

Thinkpad: 1 minute 57 seconds
Samsung: 4 minutes 22 seconds (2 threads), 3 minutes 37 seconds (1 thread)

  • HDTach 3 (measures hard drive performance)

Thinkpad: Burst 90,2 MB/s, Random Access 19.7ms, Average Read: 17.2 MB/s, Sequential reads: 20 -> 14 MB/s
Samsung: Burst 118.2 MB/s, Random Access 19.6ms, Average Read 71.4 MB/s, Sequential reads 89-43 MB/s

I was unable to run PCMark05 due to (maybe?) the resolution of the Samsung (below the required 1024×768).

Windows Experience Index scores are: 2.1 for the Samsung, and 1 for the Thinkpad. Biggest differences were CPU (thinkpad wins hands down), and HD (Samsung wipes the floor). I’m not sure what the net difference is, when you account for all the differences in performance, but the Samsung is a netbook.

Overall impressions

So far, i’ve had it for about 24 hours, and i’m very happy with it, despite the small hickup with Windows 7.

Pro’s

  • Good bang for the buck
  • Build quality
  • Visually appealing (mostly)
  • At least some upgradability

Con’s

  • Bundled software doesn’t work or sucks
  • Windows 7 starter…
  • Glossy edge around the keyboard

I purposefully left out performance from the con’s section, because you can’t expect performance from a sub 400 e netbook. You get it for the battery life and the portability. If you’re looking to do more than surf the web, read your mails or sit on IRC, i recommend a computer.

Future projects

I have this idea of putting a Sandisk Extreme III SD card in to the SD slot, and installing some netbook linux, and seeing if that is any faster. The 8GB variant of this card comes at around 40 € here in Finland, which isn’t all that bad. The question remains, what bus is the SD card hooked to?

The memory will also be upgraded to 2GB, though i’m not expecting much difference in performance here.

Matkakortti Evolved cont.

I actually got a reply from YTV! I asked them three specifying questions, and they answered them all. So the new and updated technical information is:

- The “use once cards” are in fact the lowest of the low, MIFARE Ultralight. No crypto, no brains, no nothing.

- The normal cards are DESfire (first generation), not EV1.

- The encryption method used is 3DES.

I wasn’t expecting a reply, but i got one, and pretty quickly too! So thanks YTV.

Matkakortti Evolved

Many of you may have heard about the new Matkakortti, being rolled out as of last week (10.11.2009). Ads for the new card have appeared all over the place, and urge people to change the card during their next re-charge. The new card has a nice flashy green graphic printed on it, no doubt to reflect the new eco-features of the card.

So what changes? According to YTV, the previous blue cards have reached the end of their life-cycle. “As with credit- and debit-cards, the cards have to be changed out every few years”. Also, the new cards are now ISO 14443A compliant (specifications for RFID cards). I have a funny feeling the last cards were compliant as well, but there’s no data on this. They were made by Mifare as well (as the new cards), so i think they were compliant.

The color of the card changes, but also, the type chages. The old cards were MIFARE classic. This is a card that has a 48-bit encryption key, that is seeded based on the “start-date” of the card, i.e. when it was first turned on. This system has been broken multiple times. To give you an idea of how easy it is, it takes about 12 seconds on a standard laptop computer to break the built-in Crypto-1 encryption scheme.

The cards are ASIC based, and have a very limited storage space. There are 1K and 4K versions of the card, and accounting for read-only data put in by the manufacturer, the de-facto storage space of these cards was 752 bytes and 3440 bytes respectively. That’s a whole lot already!

The new cards are based on later revisions of MIFARE technology. There are two basic types that will be rolled out now (the specific models are not listed, but i’m going to find out one way or another):

  • MIFARE DESfire. This is the regular “multiple use” card that most of us use every day. More on this later.
  • MIFARE Ultralight. This is the “use once” tourist card, which can be charged once, and then thrown away after use.

DESfire is a new card type that MIFARE came out with in 2002. There is an EV1 (evolution 1) version of the card, which was released in 2006 and offers more options and better crypto. Which system is used here, i’m not sure as i said, but i’ll find out. This is an entirely new card compared to the old stupid cards. They sport a real NXP made microprocessor, and more memory. There are 2, 4 and 8KB versions of the card. They come with a propietary DESfire operating system, which uses a real directory/file structure in the storage space. The crypto is upgraded from “Crypto-1″, using a 48bit key, to a minimum triple-DES, i.e. 3×56bits keylength, and up to a 128-bit AES in the EV1 variant. The NXP microprocessor is 8051 based, and has separate hardware crypto-accelerators for both AES and 3DES, which makes the crypto transactions even faster than before.

Ultralight is the use-once version of the cards. Cheaper to manufacture, it’s apparently made out of some kind of thick paper. There are also two versions of this card, the  Ultralight, and the  Ultralight C, which are from 2001 and 2008 respectively. The plain-jane version offers no crypto at all, and 512 bits (64 bytes) of memory. The C variant offers crypto, more storage-space, and ISO 14443 compliance. It is highly likely, that the version being rolled out is the C version, because it has features that make it suitable for mass transportation (i.e. abrasion resistance and crypto).

So why are the cards being changed for real? I’ll offer a few guesses. One, is that the new cards are cheaper. That’s a big thing when it comes to public transport and anything government funded. The Apollo astronauts reminded each other that they are going to the moon in a craft built by the company that made the cheapest offer. I’m not saying cheap is bad in this case though.

The new cards are also more ecological. Also a big thing in government projects, and easier to sell to consumers. The cards are either made out of bio-degradable plastic, or paper.

All methods of public transport will be fitted with GPS. Some already have it (trains, trams and some busses), but i suppose they’ll be rolling this out to every damn thing. This makes tracking not only the vehicle easy, but also tracking you. They can stamp your card with exactly the stop you got on. Where you got off is another matter entirely, but in any case. The bus and the reader knows where you are, and when you get on, the card will retain this information, along with personally identifiable information. This information is said not to be readable by regular kiosks and other recharge outlets, but only by ticket inspectors or law enforcement “should the legal need arise”. In any case, the expanded memory and processing capability, plus the new crypto, make the cards very hard to hack, and capable of storing hoards of information, and not just a “one travel” buffer, which contains your last transit. This of course, is pure speculation on my part.

Why replace an already working system? Well, that’s anybody’s guess, and the site they put out doesn’t really give a specific reason. The fact that the new cards are cheaper, is a small issue, when we consider that there are already what.. a million cards in circulation that now all have to be replaced? Expanding the system to new areas? Okay, but why not just expand the current, tried and tested (and broken :) ) system? The cards are at the end of their lifespan? Why? My card is seven years old and it works just fine. I’ve had it in my pocket, my wallet and god knows where. There are no moving parts, and no exposed chips, as with regular smart cards. The exposed components tend to wear out and that is a good reason to change your card. But it doesn’t apply to the Matkakortti. Sure, if you bend the card, it’ll snap, but i bet the new cards are just the same.

I also have a hard time believing that standards compliance is a reason for the overhaul. The old cards are based on the same basic technology, i.e. RFID, which should in itself adhere to ISO 14443. If it didn’t, okay, but adhering to standards isn’t a benefit for the consumer in this case. Everyone is forced to either use the cards, or pay each trip with cash, which leaves little options. The standard defines how well the card should withstand physical abuse, but again, i stress that my card is still working after seven years. Abuse-resistance was not an issue with the old cards either.

So the Fox Mulder in me deduces that this is just a way to track us even more closely. The hacking of cards wasn’t an issue in Finland, at least not that i heard of, but with the new cards, this becomes practically impossible, unless there are vulnerabilities in the implementation of the crypto, or predictability in the key-generation (or exchange) as with the previous system. This removes any chance of an “open and fair” system, meaning that i can’t buy a MIFARE reader, and dig out the data that they have store on me personally, on the card. I’m not even looking for free travel or some such shit, i just want to know how the system stores and uses my data.

I’ll be following up on this as i get my hands on the new card. I’ll be retaining a few of the older cards, just to make comparisons, should such an opportunity arise. I’m still in the market for a MIFARE reader, but i haven’t gotten off my lazy ass and bought one yet.

Source to my rambles are:

http://en.wikipedia.org/wiki/MIFARE

http://www.matkakortti.net

Nuevos Hardwareos

A client was generous enough to donate me an old laptop to play with. It’s a Compaq EVO N610C. You may remember if from about 8 years ago, or so? It’s got that silver wlan antenna thingy behind the screen?


compaq n610c

Yeah. That one.

Anyway, it’s a nice piece of work despite being old. It’s a very first generation pentium 4 mobile, which means it eats battery like a kid eats cookies. 512MB ram, 40 gig hard drive. Old, but works fine. Put Xubuntu 9.10 on it, XFCE works just fine, and plays DVDs too. 14″ screen.

I’m gonna be playing around with the wireless some more, since it has a good atheros chipset, and a proper antenna (with a ready plug for an even bigger external antenna). I’m thinking this might become my wardriving laptop, or something in that order.

Modem Maintenance Vol 2.

So, the story continues.

I’m seriously beginning to suspect the damn Linksys. It’s gotta be the Linksys.

B kindly provided me with a Zyxel 660HW, and a Telehell 501, out of which the Telewell works fine. Zyxel seems fucked somehow. Telewell handshakes at about 10/2, which is roughly the same as before (with the linksys) though a little below. No weird packet loss, and no weird disconnects so far. I’m still holding my vote on this one, but it’s looking better.

As for the speed, they just said it might be a bad pair going to my appartment, or that my neighbor got DSL and the pair traveling next to mine up the building, is giving it like.. interference or something. The DSLAM would connect at 18/2.5 if only my end co-operated. Not much they can do about the shitty old copper in my house… Damn it. I guess i’ll just have to wait for the mandatory fiber connection, due no later than 2015 :D