Stoppt die Vorratsdatenspeicherung! Jetzt klicken &handeln! Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:
Jump to menu and information about this site.

Monday·19·January·2009

First experiences with Debian on the OpenMoko FreeRunner //at 17:13 //by abe

from the DIY dept.

I ogled with an OpenMoko FreeRunner since Harald König (of X.org fame)’s OpenMoko talk at LinuxDay.at last year. I knew that a team around Luca Capello and Joachim Breitner managed to get Debian running on it.

So when Venty told me that harzi wants to sell his nearly unused FreeRunner, I couldn’t resist and bought it just a few days later.

I played around a little bit with the two distributions which were already installed, AFAIK the original 2007.2 and a version of Qtopia. Called Venty with the Qtopia to prove him that you indeed can make phone calls with this phone, but he wasn’t pleased by the echo he heard of his own voice.

Since the included 512 MB microSD card surely is too small for a large Debian installation, I bought an additional 8 GB microSDHC card at digitec and then installed Debian on it.

The installation mostly went smooth: Partitioning threw a timeout error which didn’t cause any further harm than aborting once. A bigger problem was that the hint that you need to update the U-Boot bootloader itself and not only its configuration (called environement) to get it booting from ext2 partitions. lindi (Timo Lindfors) on #openmoko-debian (on Freenode) was of great help spotting the small details hidden in continuous text.

After having Debian booting I installed all software I wanted to play around on a mobile phone including a bunch of web browsers. But since I ran into a bug which occurs after a non-deterministic amount of data is written to a big microSD card, I quickly got annoyed by the fact that I had to wait for the 8 GB fsck each time this bug was triggered.

So I converted the root file system to ext3 by adding a journal. But whatever I did (reinstalling U-Boot, the U-Boot environement, regenerating the U-Boot environement from scratch, trying to load it as ext2 again, etc.) I didn’t get it to work anymore.

On #openmoko on Freenode, PaulFertser was trying to convince me that Qi is the better choice of a bootloader. Although its description didn’t appeal to me at all, I understand that U-Boot seems a maintainability hell and that a more simplicistic approach can have its advantages. But there was feature listed on the Qi wiki page which made me try it: explicit ext3 support.

After creating the appropriate configuration files and symbolic links in /boot/boot and flashing Qi over the U-Boot in the NAND flash, Debian booted again without problems and with a journaling file system. :-)

In the meanwhile I found a setup which suites my tastes:

  • Matchbox stays my window manager, but I enabled the cursor which is very useful if you want to remote control you OpenMoko with synergy. I installed unclutter to automatically hide the cursor after a few seconds, so I see it when it moves, but it goes out of the way when not needed.
  • Like on my EeePC, I replaced trayer with lxpanel, because it also provides access to the Debian menu system.
  • The best compromise in rendering quality and resource usage is still NetSurf. So that’s my browser on the OpenMoko.

Next step will be to move daily usage from root to an unprivileged user.

As soon as that’s done, I’ll try to get Tablet Amora aka Tamora working on the OpenMoko, too. Currently it only runs on Nokia’s Linux based internet tablets (N800, N810, etc.).

Update, 17:54

To answer Joachim’s question in the comment: I don’t plan to use it as daily phone, but it may replace my old Nokia 6310i where currently my German mobile phone SIM card resides in. Use it mainly to have a cheap way to make phone calls inside Germany.

Filed under: Blogging is futile » English » Computer » Hardware »
Tagged as: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
2 comments // show without comments // write a comment //

Traveling plans for the first half of 2009 //at 16:12 //by abe

from the Summer-holidays dept.

Since the time between the years is traditionally family time for me, I never were at the Chaos Communication Congress. So I wasn’t at 25C3 either. All the more I look forward to HAR2009 this summer (13th to 16th of August near Vierhouten in the Netherlands), but also because, for the last three years I always have been in the Netherlands for one week in summer, sailing with friends on the IJsselmeer.

But before HAR2009, there will be a bunch of other events to visit and people to meet in real life:

  • I’m looking forward to see @evan, @cemb and many other identicatis in real life at Microblogging Conference ‘09 in Hamburg next week on Friday and Saturday (23rd and 24th of January). Will go there by train.
  • Two weeks later there will be FOSDEM in Brussels (7th and 8th of February) where I hopefully will meet Savago from the Amora Project and many other friends from the FOSS community. Will go there either by train or car.
  • On 14th and 15th of March, the Chemnitzer Linux-Tage take place. I’ve submitted two talks for beginners and will be there with the usual suspects from Symlink (Venty, dino and P2501 so far). We’ll go there by train.
  • Luckily not overlapping with the VCFe this year is the SPEZI at Germersheim near Karlsruhe which takes place on 25th and 26th of April. I plan to go there, maybe by train and Brompton, but nothing yet sure.
  • The, one week later over the long weekend around the 1st of May there will be Vintage Computer Festival Europe (VCFe) 10.0 at Munich featuring Raffzahn. Will be there with the usual suspects. I’ll maybe prepare an exhibition (“Debian on dead hardware”, i.e. PowerPC, Sparc, Alpha, etc. or so) or a talk, but not yet sure. Will go there by (vintage) car as usual.

Then there will be the big summer holidays driving around in the middle of Europe with the 2CV and taking part in most likely:

  • Sailing with friends from 31st of July to 7th of August,
  • HAR2009 one weekend later, and
  • FrOSCon at St. Augustin near Bonn another weekend later.

This also means that I’ll probably miss:

… at least unless one of the other events I plan to visit doesn’t take place as expected or my plans change heavily.

P.S.: Anyone thinks this amount of events justifies a Dopplr account? ;-) Or is there somewhere a free online service similar to Dopplr, but runs software under the GNU Affero General Public License like e.g. identi.ca and many other Laconica instances do for microblogging?

How I use my virtual desktops //at 14:09 //by abe

from the when-individualism-becomes-a-habit dept.

Many months ago I stumbled upon this German written meme about how users use their virtual desktops. I use virtual desktops since my very early Unix times (tvtwm on Sun Sparc SLC/ELC/IPX with greyscale screens running SunOS 4.x), so in the meanwhile I use them nearly everywhere the same way.

Short Summary

3x5, no overlapping windows, either tiling or fullscreen, keyboard navigation, xterms, yeahconsole, FVWM, panel for systray.

Window Manager of Choice

My window manager of choice is FVWM since more than a decade. I tried others like Sawfish, Metacity and Compiz, but I couldn’t get them behave like the FVWM I got used to, so I always came back.

Since I hate overlapping windows, I use FVWM a lot like a tiling window manager. FVWM has this nice function to maximize windows so that they occupy as much space as available, but do not overlap other windows. This function was also often missing when I tried other window managers. I though do not want to use real tiling window managers since I have a few sticky windows around (e.g. the panner with the virtual desktops and xosview) and they shouldn’t be overlapped either.

Virtual Desktops

Switching between virtual desktops is done with the keyboard only – with Ctrl-Shift as modifier and the cursor keys. The cursor keys are usually pressed with thumb, ring and small finger of the right hand. Which hand presses Ctrl and Shift depend on the situation and keyboard layout, but it’s usually either ring and small finger of the left hand, or pointer and middle finger of the right hand. So I’m able to switch the virtual desktop with only one hand.

I have always three rows of virtual desktops and usually four or five columns.

The top row is usually occupied with xterms. It’s my work space. The top left workspace usually contains at least one xterms with a shell and one with mutt, my favourite e-mail client since nearly a decade. At home the second left virtual desktop in the top row usually contains a full-screen Liferea (my preferred feed reader) while at work it contains the GNU Emacs main window besides two xterms. Emacs and the emacs server are automatically started at login.

This also means that I switch the virtual desktops when I switch between mutt and Emacs for typing the content of an e-mail. Did this already during my studies. (At home mutt runs inside a screen, so there I just switch the virtual terminal with Ctrl-A Ctrl-A instead of the virtual desktop. Not that big difference ;-)

The other virtual desktops of the the top row get filled with xterms as needed. Usually one virtual desktop per task.

The middle row is for web browsers. One full screen browser (usually Conkeror or Opera) per virtual desktop, often opened with many tabs (tabs in Opera, buffers in Conkeror) related to the task I’m accomplishing in the xterms in the virtual deskop directly above.

The third row usually contains root shells for maintenance tasks, either permanently open ones on machines I need an administrate often (e.g. daily updates of Debian testing or Debian unstable machines), or for temporary mass administration (Linux workstations on the job, all Xen DomUs of one Xen server, etc.) using pconsole.

yeahconsole

Additionally I have a sticky yeahconsole running, an xterm which slides down from the top like the console in Quake. (It’s the only overlapping thing I use. :-) My yeahconsole can be activated on every virtual desktop by pressing Ctrl-Alt-Z (with QWERTY layout, Ctrl-Alt-Y with QWERTZ layout). It’s the terminal for those one-line jobs then and when, e.g. calling ccal, translate, wget or clive.

Changes over time

Of course the desktop usage changes from time to time:

At work I have more than one monitor, so in the meanwhile the second row with the web browsers “moved” to the second screen – with independent virtual desktops (multiple X servers, no Xinerama). The second row on the main screen at work is now used the same way as the third row with a slight preference for the permanently open shells while the third row is more used for mass administration with pconsole.

At home I used XMMS respective Audacious for a long time (my FVWM panner and xosview are exactly as wide as WinAmp2/XMMS/Audacious, guess why:-) which usually was sticky the same way as the panner and xosview are. But when I started using last.fm recently, I moved to Rhythmbox (after testing some other music players like e.g. Amarok) which I use in fullscreen as I do with web browsers and the feed reader. So it occupies a complete virtual desktop, usually the second one in the middle row – below the feed reader because I don’t need a corresponding web browser for the feed reader. (Just found out that there is a last.fm player for text-mode, so maybe that will change again. :-)

Another thing which changed my virtual desktop usage was the switch from a classical tabbed web browser (Galeon, Kazehakase, Opera) to the buffer oriented Conkeror. With a tabbed web browser I have either no overview over all open tabs (one row tab bar or truncated tab menu) or they occupy too much space of the browser window. That was another reason for more than one browser window and therefore more than one virtual desktop with fullscreen web browser windows. With Conkeror tabs are optional (and not even enabled by default), Conkeror uses buffer like Emacs and if you want to switch to another buffer, you press C-x b and then start typing parts of the buffer’s name (e.g. parts of the URL or the web page title) to narrow down the list of buffers until only one is left or until you have spotted the wanted buffer in the list and choose it with the cursor keys. So the need for more than one browser window is gone.

For a long time I didn’t need any task/menu/start/whatever bar on my desktop. But since neither NetworkManager nor wicd have a comand-line interface (yet) and bluetooth seems also easier handled from the system tray my laptops also use either gnome-panel (big screen, long sessions with FVWM) or lxpanel (formerly used trayer; use it on small screen, short sessions with ratpoison or matchbox) on my laptops. It’s sticky and always visible. (No overlapping, remember? ;-)

The panel is usually at the bottom on the screen as by default with Windows or KDE, not at top as with GNOME and MacOS. Only on the OpenMoko, I have the panel at the top to be close to what I’m used from Nokia mobile phones.

Things I tried …

… but didn’t survive in my setup:

  • Desktop icons – nearly always covered if you use a tiling window manager. (I though use root window menus – mostly for starting applications later occupying that space where I clicked. ;-)
  • A button to minimize all windows. Only sissies without virtual deskops need that. ;-)
  • Automatically scrolling logfile content on the desktop (root-tail, root-portal, etc) – the space was too precious to not use it for xterms or web browsers. ;-)

Systems without Virtual Desktops

Anyway, there are systems where I don’t use virtual desktops at all. On systems with a screen resolution so small that there’s not enough space for two non-overlapping, fixed font 80x25 xterms on the screen (e.g. on my MicroClient with 8” touch screen, the 7” EeePC or the OpenMoko) I do not use virtual desktops at all. On such systems I use all applications in fullscreen, so switching between applications is like switching virtual desktops anyway. My window managers of choice for such systems are ratpoison for systems with keyboard and matchbox for system without keyboard. With ratpoison you treat windows like terminals in GNU screen, so there are no new keybindings to learn if you’re already used to screen (which I use nearly daily since more than a decade).

Mini-ITX based Home Server: Hardware Review //at 13:39 //by abe

from the the-waiting-has-an-end dept.

Mostly for my backups needs, I planned a Mini-ITX based home server around the Chenbro ES34069 Mini-ITX case which features four hot-swap S-ATA bays. I wanted a low-consumption motherboard and CPU in there (not only because of the default 120W power supply) and since low-consumption mainboards with 4 S-ATA connectors are quite seldom I’ve chosen the not so cheap VIA EPIA SN18000G mainboard with actively cooled 1.8 GHz VIA C7 processor and a maximum power consumption of less than 30W (including CPU).

Waiting for delivery

While the Chenbro ES34069 case I ordered at digitec “only” needed a few weeks to deliver, the VIA EPIA SN18000G mainboard from Brack took over eleven weeks to deliver, it finally has been delivered on Wednesday, 5th of November 2008.

I initially ordered the VIA board for CHF 324, now it’s at CHF 397 (without rebate even at CHF 439) because Brack seems to have had a lot of hassles to get some of them at all. Although they usually sell for the prices at the time they ship the hardware (market price), they sold it to me at their purchase price, so it became only about CHF 15 more expensive than when I ordered. And since the RAM price dropped by one third during those eleven weeks, the whole order became about CHF 25 cheaper, the order was CHF 10 cheaper overall than when ordered. :-) (Still waiting for the according voucher, though.)

So I’ve joined the two main components together, installed Debian Lenny on it, crammed four 400 GB Samsung S-ATA disks (formerly in a TheCus N4100) and the 160 GB 2.5” harddisk from my MicroClient JrSX (I never really used it in there, it always runs from CF card) into it, created a software RAID-5 and now fill it with music, games and backups.

But not everything was as easy as it sounds above. Although Chenbro lists the VIA EPIA SN18000G as officially compatible mainboard for the ES34069, not everything really fitted as expected. So here’s my review of this hardware combination.

Chenbro ES34069

It’s really awesome how much features you can stuff in such a small case. Of course it’s not as small as a thin client case or the mCubed HFX micro case, but it’s smaller than most book-size cases like the ASUS Pundits, just a little bit thicker.

Inside the case (laying on its left side) there are two decks. The lower deck contains the 3.5” hot-swappable S-ATA harddisk bays, the internal part of the power supply and the two fans for cooling the interal power supply components and the disks. The upper deck has space for the mainboard, a 2.5” harddisk, a slim-line optical drive slot and all the front-panel stuff (card reader, LEDs, USB sockets).

Both decks are divided in two section. The front section belongs to the case itself and the back section containing the mainboard mount points and the two fans can be easily unplugged after removing four screws and keeping an eye on the cables from the lower to the upper deck. That way the mainboard can be mounted very easily. So far a very convincing design.

To mount the 2.5 harddisk in between the mainboard and the front panel, it’s not really necessary, but convenient to remove the slim-line optical drive slot, since you then have better access to the harddisk’s IDE socket. To remove the slot, you need to remove the front cover. That sounded easier than it actually was and I nearly broke of one its catches. :-/

Although all parts of the case seems to fitting very well together, the bays for the hot-swappable drives weren’t perfect: The drive slots not always connected even if the latch iss already closed. This was definitely better with the TheCus N4100. Additionally the bays seem to be made for slightly larger disks, so mine had play and the screws pressed the it together and you need to take care that the screws don’t cant.

A big positive point of the case was that there were all necessary screws included and they were fitting. This was a bigger problem with the TheCus N4100, since many harddisks ship with their own screws, but those are seldom the needed flat-head ones.

Even a P-ATA to slim-line optical drive adapter was included, so I don’t need to buy one. (Would have costed CHF 42 at digitec.)

VIA EPIA SN18000G

While it’s surely not the most performant board out there, I’m quite satisfied with its performance. I installed BackupPC 3.1.0 as backup system on it and it works like a charm. It daily backs up up to 14 machines over ssh tunnels – more to come) and is way more performant than expected. But I probably had very low expectations due to everyone arguing about the bad performance of the VIA C7. ;-)

Not nice, but known is the problem that most (but not all) USB connectors on the SN mainboard have 2.00mm pitch while all the case’s plugs have 2.54mm pitch. Apropriate adaptors are available from Mini-ITX.com. Thanks to Akim for this tip!

Power consumption

I hoped to get more details into this posting, e.g. measured power consumption, etc. But then I recently read in the c’t magazine how inexact my watt meter (from Brennenstuhl) is, so its values would probably bring more confusion than help. Additionally I don’t feel like powering down the server just for measurement.

Feedback

I got quite a few mails with hints to further Mini-ITX boards and TDP but also with questions about the case. I hope that this blog post asnwers some of the questions also for other readers. Thanks to all who replied to my initial blog post about my Chenbro/VIA based home server, either by mail, or comment, or both. :-)

Further plans

For deploying music to my other computers I tried both, mediatomb and gmediaserver but none really convinced me. Currently I just mount the media directory using the FUSE and ssh based sshfs. Not sure if I’ll add NFS due to it’s user base syncing hell.

Further plans are an HTTP proxy with ad filtering and caching capabilities, it’ll be Privoxy combined with either Squid or Polipo. Maybe even a Tor SOCKS proxy.

Filed under: Blogging is futile » English » Computer » Hardware »
Tagged as: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
4 comments // show without comments // write a comment //

Tag Cloud

2CV, Automobiles, Berlin, bijou, Blogging, Blosxom, Blosxom Plugin, Browser, BSD, CDU, Chemnitz, Citroën, CLT, Conkeror, CX, Debian, Doofe Parteien, eBay, EeePC, Emacs, Epiphany, Etch, ETH Zürich, Events, Firefox, Fläsch, FreeBSD, Galeon, Gecko, GNOME, Google, GPL, Hacks, Hardware, Heise, identi.ca, IRC, Jabber, JavaShit, Kazehakase, Lenny, Linux, LinuxTag, LUGS, Lynx, maol, Meme, Microsoft, Mozilla, Music, mutt, München, nemo, Nokia, Open Source, Opera, Pentium I, Perl, Planet Debian, Planet Symlink, Quiz, Rant, ratpoison, Religion, RIP, Sarcasm, Sarge, Schweiz, screen, Shell, Sid, Spam, Stöckchen, SuSE, Symlink, Symlink-Artikel, Tagging, Talk, taz, Text Mode, ThinkPad, Ubuntu, USA, USB, VCFe, Ventilator, Vintage, Wahlen, Wikipedia, Windows, WML, Woody, WTF, X, Zürich, ÖPNV

Calendar

 2009 
Months
Jan
 January 
Mo Tu We Th Fr Sa Su
     
19
 

Tattletale Statistics

Blog postings by posting time
Blog posting times this month



Search


Advanced Search


Categories


Recent Postings

13 most recent of 198 postings total shown.


Recent Comments


AideRSS Top 10


Hackergotchi of Axel Beckert

About...

This is the blog or weblog of Axel Stefan Beckert (aka abe or XTaran) who thought, he would never start blogging... (He also once thought, that there is no reason to switch to this new ugly Netscape thing because Mosaïc works fine. That was about 1996.) Well, times change...

He was born 1975 at Villingen-Schwenningen, made his Abitur at Schwäbisch Hall, studied Computer Science with minor Biology at University of Saarland at Saarbrücken (Germany) and now lives in Zürich (Switzerland), working at the IT Support Group (ISG) of the Departement of Physics at ETH Zurich.

Links to internal pages are orange, links to related pages are blue, links to external resources are green and links to Wikipedia articles, Internet Movie Database (IMDb) entries or similar resources are bordeaux. Times are CET respective CEST (which means GMT +0100 respective +0200).


RSS Feeds


Identity Archipelago


Picture Gallery


Button Futility

Valid XHTML Valid CSS
Valid RSS Any Browser
PageRanker.org PageRanker.org
Free Google Page Rank Checker (that either doesn't work at the moment or you don't see images in general, if you see this. ;-) GeoURL
This content is licensed under a Creative Commons License (SA 3.0 DE). Some rights reserved. Hacker Emblem
Get Mozilla Firefox! Powered by Linux!
Typed with GNU Emacs Listed at Tux Mobil
XFN Friendly Button Maker
Weblog counter Blogstats

Blogroll

Blog or not?


People I know personally


Other blogs I like or read


Independent News


Interesting Planets


Web comics I like and read

Stalled Web comics I liked


Blogging Software

Blosxom Plugins I use

Bedside Reading

Just read

  • Bastian Sick: Der Dativ ist dem Genitiv sein Tod (Teile 1-3)
  • Neil Gaiman and Terry Pratchett: Good Omens (borrowed from Ermel)

Currently Reading

  • Douglas R. Hofstadter: Gödel, Escher, Bach
  • Neil Gaiman: Keine Panik (borrowed from Ermel)

Yet to read

  • Neil Stephenson: Cryptonomicon (borrowed from Ermel)

Always a good snack

  • Wolfgang Stoffels: Lokomotivbau und Dampftechnik (borrowed from Ermel)
  • Beverly Cole: Trains — The Early Years (getty images)

Postponed

Technorati


Lijit