Short abstract:
This post has a double purpose:
1. YES, you can use the opsi VMWare Appliance in VirtualBox (a 10min google search did not yield one hit of somebody who did this before, so: eat this google!)
2. It won't boot without modification, the very easy solution is below
Long version:
Wanted to check out opsi without installing it. So i downloaded the VMWare image that is also provided. However, i got rid of VMWare about a year ago in favour of VirtualBox (there were plenty of reasons for that...). The good thing about VirtualBox is also that it allows to use VMWare's vmdk files as virtual harddisks, so i thought it should be easy to check it out. After setting up the new machine in VirtualBox with the downloaded opsiserver.vmdk I booted for the first time and was greeted by:
Waiting for root file system ...
The fix is really easy though, once you understand what the problem is: the underlying system of the appliance is a Debian GNU/Linux with Grub as boot loader. The problem is that the original VMWare installation used virtual SCSI or SATA devices, so the line in /boot/grub/menu.lst contains /dev/sda2. On VirtualBox (at least with the default config) the system uses virtual IDE disks, so you need to simply change /dev/sda2 to /dev/hda2. To do this on every reboot you can use the built-in editor of grub (press "e") and change the device. Once you booted successfully, you can change it permanently by editing /boot/grub/menu.lst.
Now comes the fun part: learning how to use opsi to save me time. But as far as I know / read about it, it's just what I am looking for. I guess it even makes sense in a small environment like ours here (6 Windows clients but loads of common software that needs to be installed on all our machines...). Maybe I will blog about it again after I got to know it better.
If you don't know the DSL password which connects your Beetel 220BX to the ISP network (Airtel in India does never provide it to the customers, they'd rather send a guy to enter it by hand...), but the router still functions, you can get the passwords even though you only see ******** in the web-interface. It's really easy:
1. Connect to the router IP with telnet (user: admin, password is the same as for the web-interface)
2. Go to Management (press 9)
3. Go to Settings (press 1)
3. Dump settings (press 3)
4. Look for the line that starts with: ppp_conId1 userName="***********_dsl@airtelbroadband.in" password="cGFzc3dvcmQ=" ....
5. Copy and paste the value of password into a base64 decoder (locally or i.e. you can use an online decoder, such as here: http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/)
6. Congrats, you now have your DSL password which Airtel wouldn't tell you
As a foreigner in India one often enough has encounters of the strange kind. Fair enough...
As a German in India however, you are in for some odd encounters that non-German people most probably don't come across. Yes, you guessed it, it has got something to do with Adolf Hitler (ok, maybe the title gave you a good hint). So, I just give you an example of a situation that happened to me at least 5 or 6 times during the time i spent in India (which is altogether something like little less than 2 years):
You meet an Indian guy (never happened with girls so far) in a bar, hotel, tourist attraction or any other place, and once he finds out that you are German, the weird part starts usually with some words along the line of:
"Oh, you are German? I like Germany, Hitler was a great man!"
Most Germans in India I have asked about their own experiences can tell you some similar story. In discussions, both with Indians and Germans, I tried to find out why that is. There are a couple of theories that we came up with, none of which is entirely conclusive on its own. It might be because during the Indian independence struggle (which lasted throughout decades at the beginning of the 20th century and ended with independence in 1947) Hitler kept the British busy, and by doing so maybe forced them to quit India sooner than they had planned for. The fact that Britain was some kind of "common enemy" for Germany and India seems to create some admiration for him over here. But, whatever the reasons might be, one thing is certain: his popularity manifests itself in awkward ways. The latest seems to be that MBA students rely on his "wisdom" that he put into "Mein Kampf".
The funniest however was the one a friend on mine stumbled upon when reading the dessert section from the Italian restaurant we order pizza from regularly. Cake number SC16 features the name: "One for the Hitler"
We joked for weeks about ordering it, and finally found a good occasion and did so. And here it is:
Incredible India!
It tasted quite ok, but much too sweet for me to really like it...
Long time since I published something personal on my blog... anything at all for that matter...
In case you wondered what I've been up to during the last few months:
... relocated to India in Oct 2008
... to start a company with 2 friends of mine (however, we already had to employ 3 more people because we could not handle the workload...)
... which offers total educational solutions
... focussing on connecting South/Central Asia with the Western World / Europe
... providing career counseling, relocation services, language courses (European languages, Hindi, other Asian languages), cultural immersion trainings, internship placements, tailor-made travels throughout South Asia, and cultural events and event organisation
... either as separate modules or as an integrated solution for people who need / want the whole package
The name of our company is Knowledge Must, but we also promote our different divisions separately, namely: Career Must, Language Must, Training Must, Travel Must and Culture Must.
Visit our website for additional information, and please spread the word in case you know of anybody who could need our assistance. www.knowledge-must.com
A note to all my nerdy friends: I know the site is not valid HTML... I am working on it Feedback is anyway appreciated...
Please note however, that this is still work in progress, with more and more content coming over the next few weeks. We are also working on making the site multilingual, eventually offering our services in German, Hindi and Mandarin, too.
Since i have moved to India, getting a UPS for my work station was a must - with between 1 and 10 power-cuts a day, working without power backup is simply not possible.
However, having a UPS alone might not be enough, because in case the power is off for more than just a few minutes while your are not there, the battery will run empty and the computer will of course power off without doing a clean shutdown. So, nothing gained...
However, most UPS have either a serial or USB port, so that you can monitor its state and run scripts depending on certain conditions, such as the remaining capacity.
So, to make a long story short, i had to buy a serial-port expansion card for my machine, since the mainboard did not have a serial port bulilt-in. I went to the local computer wallah and bought a PCI card with 2 serial ports on it.
The card is identified by lspci as:
Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Googling for it gave me the impression, that the in-kernel serial driver should do the trick. In dmesg i found:
[ 0.636515] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.637319] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
Unfortunately, trying to hook up the UPS two one of the ports, ttyS0 remained dead.
After googling for quite some time, i discovered, that apparently the chip on the card not only provides two serial ports, but also a parallel port. However, since the chip is o cheap, many manufacturers use these chips also for serial-port only cards.
Now, the interesting part is, although the kernel finds some serial port (as dmesg shows), the kernel serial driver does not handle it. Instead, you need to build "parport_serial" either into the kernel or as a module. After I modprobe it, dmesg shows this:
47102.184128] parport_serial 0000:05:01.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[47102.184149] parport1: PC-style at 0xd200 [PCSPP(,...)]
[47102.184313] 0000:05:01.0: ttyS1 at I/O 0xd000 (irq = 19) is a 16550A
[47102.184434] 0000:05:01.0: ttyS2 at I/O 0xd100 (irq = 19) is a 16550A
And now i have two working serial ports on ttyS1 and ttyS2.
Just for completeness: Netmos sometimes sells this chip labeled as "NetMost 222N-2" and sometimes as "NetMos 9835". To all my knowledge, it is the same product...
Schamloser Versuch den Google-Page-Rank von Enrico Fabian, professioneller Mitbewohner und Photograph hier in Delhi, etwas nach oben zu pushen. Aber die Photos sind auch wirklich sehenswert...
Nachdem ich schon vor paar Monaten festgestellt hatte, dass der Akku aus meinem Powerbook evtl. explodieren könnte da er aus einer potentiell gefährlichen Charge stammt, hab ich endlich mal versucht das zu verifizieren.
Der Liste die man auf der entsprechenden Apple-Website finden kann, habe ich entnommen, dass mein Akku mit der s/n 3K552xxxxxxx tatsächlich ausgetauscht werden sollte. Also schnell die s/n vom Powerbook und die vom Akku in die entsprechenden Eingabe-Felder gehackt und auf abschicken gedrückt. Leider bekam ich dann eine Fehlermeldung, dass mein Akku nicht betroffen wäre. Laut der Liste sind jedoch alle Akkus mit s/n zw. 3K428 - 3K611 betroffen, und 3K552 liegt da ja wohl ziemlich mittendrin. Also WTF?
Habe daraufhin bei der Apple Support-Hotline angerufen und denen das versucht zu verklickern. Der Mitarbeiter war leider etwas überfordert, so dass ich mein Problem mehrmals erklären musste. Ich musste ihm auch die URL der "Apple-Battery-Exchange-Program"-Website mitteilen, da er die alleine nicht finden konnte. Dann fragte er mich nach der s/n meine Powerbooks (die beginnt mit "3R553...") und meinte dann: "Die Seriennummern sind ja nicht mal ähnlich..." NO SHIT SHERLOCK! (um's mal mit fefe's worten zu sagen *g*)
Nachdem ich ihn dann aber freundlich drauf hingewiesen hatte, dass sich die s/n des Akkus besser für diesen Vergleich eignet war's ihm wohl etwas peinlich. Aber immerhin konnte er jetzt das Problem nachvollziehen. Er meinte aber, dass er das jetzt nicht entscheiden dürfe, woraufhin ich ihn bat, "die Situation zu eskalieren" (dieser Satz hat mir schon öfter geholfen bei Support-Anrufen zu einem "Entscheider" verbunden zu werden). Nach nochmal 15min Wartezeit (Tip an Apple: Green Day hören in der Warteschleife stinkt!) hatte ich dann zwar wieder den "alten" Mitarbeiter dran, er begrüßte mich jedoch mit den Worten "Wir haben einen neuen Akku für Sie!".
Das ganze hat 35min gedauert insgesamt, und jede Minute kostet 14c (01805-xxxxxxx), aber dafür krieg ich jetzt nen neuen Akku für exakt 5,04€, und das war's wert.
Also, merken: Beharrlichkeit zahlt sich aus. Falls ihr ein ähnliches Problem habt, einfach anrufen und immer schön eskalieren...
Nachtrag: Habe gerade eine Email von Apple erhalten, dass sie mir - falls ich den alten Akku nicht zurückschicke - 96 € in Rechnung stellen werden. Der Akku kostet im Apple-Store jedoch 129€. WTF?
This post is meant to be a little overview on different viewers and editors to work with openldap. I tested all of these and just wanna give you my 0.02$... Of course there's nothing like the real thing - which is writing ldif files and adding them with slapadd, but then again...
- gtk app
needs: >=gtk+-2.6, openldap, openssl, libxml2, >=glib-2.6, pango, cyrus-sasl, gnome-keyring, libglade, libgcrypt"
- many dependencies
- countless options
- supports more than one ldap-server in config
- works with any schema
- best app i've seen to manage your ldap
thunderbird-3.0a1 (addressbook component)
(screenshot obsolete, not much to see there what you haven't seen already)
- read support 'out-of-the-box'
- though there is experimental support for writing to ldap servers (you need to change 1 line in 1 file and compile it yourself)
- seamless integration into thunderbird / emails
- needs mozilla-schema on ldap-server (THIS IS A HUGE MESS! much confusion there; moz-devs: please fix this and write a clear howto on developer.mozilla.org. The one that is currently there is almost useless.)
[UPDATE: clarification because of unclear language...]
Is this a bug or a feature?
Postfix cannot deliver mails to cyrus-mailboxes if a user has a cyrus-mailbox but no corresponding unix-account?
I could not find anything in the documentation that says so, but it just doesn't work without...
[UPDATE: i am currently writing a more detailed guide to using thunderbird and ldap for contacts management. It is not very complicated, but there are certain pitfalls and the documentation is lousy...]
I've been looking for this since ages, finally i found the holy grail of something that comes close to perfect unified contact management.
The idea:
- have an openldap server with all my contacts
- lookup contacts from any of my computers (that includes my Gentoo workstation, my Apple Powerbook and even Windows)
- WRITE / STORE / EDIT contacts from any computer on the ldap server in a CONVENIENT way
- don't fuck up
Previously i had an openldap server running and was able to lookup contacts from most of my addressbook-clients (thunderbird, kmail, sylpheed, OE, etc.), but none of them was able to store / edit contacts on the ldap directly. I had to do this either by feeding it an ldfi-file, or by using phpldapexplorer. The first way sucks badly, and the second is not much better (mostly because it takes too much time writing the ldif by hand, and with phpldapexplorer you'll have to wait and wait and wait for your browser to open up the list - if you have hundrets of contacts)...
So, what was needed was an addressbook application that can store and edit, too. Rumors float around the net that evolution can do so, but on a non-gnome system evolution is much PITA. I also found references that stated kaddressbook (the KDE-Addressbook) was able to do that, but either it is plain untrue, or i did not find the right options...
Anyway, after long search, i found this thread. In a nutshell: Thunderbird-3 has an experimental feature that enables write-support to openldap! w00t!
I compiled it with said option and it really works, here's a brief howto:
- Get openldap up and running
- Get the mozillaAbPersonAlpha.schema from here
- compile thunderbird-3 as described in the link above. More help on compiling can be found here
- Fill in all the info in the configuration - dialogue of the thunderbird addressbook (you need an ldap-account with write-support of course)
- In addressbook, search and edit exisiting contacts, or store new one on your openldap
Downside:
Seems that once you edited a contact, phpldapexplorer cannot "handle" this very contact anymore. Have to find out more why that is. But: other addressbook-clients display the newly edited contacts fine and without errors, so in the end i might not need phpldapexplorer anymore anyway...
Aus welchen Gründen auch immer: vor ca. 4 Wochen hat mein P1i sich mal wieder aus und - mit der lustigen aber dato schon fast langweiligen Meldung - "Ihr Telefon wurde zur Leistungsoptimierung neu gestartet" wieder angeschaltet. Doch diesmal war einiges anders, wie ich schnell feststellen konnte. Die Fortschritts-Anzeige des Boot-Screens hing bei geschätzten 80% fest, und zwar für mehrere Minuten (so 3-5 ca.). Dann schaltet es sich ab, bootet wieder, zeigt wieder die "... zur Leistungsoptimierung neu gestartet"-Witzmeldung und hängt erneut bei 80%, um sich nach danach auf ein Neues wieder aus- und anzuschalten.
Ich habe mir das Trauerspiel 5-6mal angeschaut und war dann erstmal angepisst davon, hab es abgeschaltet, und ne Nacht ohne Akku liegen lassen. Um das Ganze hier jetzt abzukürzen: nichts konnte das Telefon dazu bewegen wieder zu starten.
Da ich die letzten Wochen über viel zu tun hatte um endlich die Uni zu Ende zu bekommen (was ich nun geschafft habe), nahm ich erstmal mein Ersatz-Telefon für die Zeit. Nun, dieses Wochenende hab ich mich drangemacht und es nach 3 fehlgeschlagenen Versuchen beim 4. endlich geschafft, die Firmware wieder draufzuspielen, und siehe da: es lief wieder...
Ich kann angesichts der fehlenden Stabilität des P1i nur jedem Besitzer empfehlen: macht regelmäßig Backups von allem, je wichtiger die Sachen die ihr draufhabt, desto öfter...
Nachdem mein P1i die letzten 4 Wochen klinisch tot war und ich mich erst am Wochenende drum kümmern konnte, nun also mal wieder was neues aus der Technonomaden-Ecke...
Jedenfalls musste ich, da ich das P1i nur mittels neu geflashter Firmware wieder zum einschalten bringen konnte alle meine Programme die ich vorher genutzt habe wieder draufmachen. Das hier schon erwähnte "whereami" (aktuell in v0.11), lief jedoch derart instabil, dass ich es kurzerhand wieder entfernte und nach Alternativen gesucht habe.
Gefunden habe ich schließlich "MapNav", ein J2ME Programm das damit auf fast jedem aktuellen Telefon laufen sollte. Für ein paar Screenshots: siehe Website. Da es wirklich unüberschaubare viele Funktionen hat, hier mal eine total unvollständige Liste von Vorzügen gegenüber anderen Programmen die ich gefunden habe:
+ J2ME (läuft überall, und zwar auch super stabil bisher)
+ kann on-the-fly über beliebige Datenverbindungen Kartenmaterial von: Google-Maps, OSM, Yahoo-Maps, VirtualEarth, Ask und Gurtam laden; wenn vorhanden werden auch verschiedene Modes (wie z.B. bei Google-Maps die Kartenansicht, Satellit oder Hybrid angeboten)
+ rendert die Karten sehr flott
+ bietet Möglichkeiten den Viewport nach Belieben zu konfigurieren
+ erstellt, speichert und exportiert Tracks
+ exportiert Position an bestimmte Geo-Caching-Sites im Netz
+ Realtime Anzeige der Position im Intarwub (siehe http://mapnav.spb.ru/site/netradardemo.php)
+ vieles mehr
- Bisher noch nicht getestet wie Navigation im Auto o.ä. funktioniert, keine echten Strassenkarten, aber soll wohl dennoch gehen
- bisher keine Möglichkeit entdeckt, einmal heruntergeladene Karten systematisch zu speichern, aber immerhin landen sie in einem Cache (Größe kann festgelegt werden)
- Online-Verbindung damit tendenziell immer nötig, aber die Datenmengen sind klein (Fahrt im Zug über 100km mit gelegentlichem Wechsel der Zoomstufe und der Kartenanbieter knapp 1.1MB Traffic)
- Website leider nur teilweise auf Englisch (aber zumindest das Wichtige), Rest Russisch
Ich finde, alle die das Thema interessiert und die ein GPS im Telefon (oder extern mit Kabel oder Bluetooth) besitzen sollten MapNav unbedingt einmal ausprobieren. Und kostenlos ist es auch, wenn auch nicht quelloffen soweit ich das erkennen kann.
Bin gerade eben auf folgendes (anscheinend neu eingeführte) Feature bei Vodafone aufmerksam gemacht worden:
Teilnehmer 1 (bei Vodafone) hat sein Telefon ausgeschaltet / ist in einem Funkloch
Teilnehmer 2 ruft Teilnehmer 1 an
Teilnehmer 2 erfährt, dass Teilnehmer 1 gerade nicht erreichbar ist. Vodafone bietet dann an, Teilnehmer 2 eine SMS zu schicken sobald Teilnehmer 1 sein Handy wieder einschaltet / aus dem Funkloch raus ist.
Teilnehmer 1 schaltet Handy wieder ein.
Teilnehmer 2 erhält SMS mit Inhalt: 017xxxxxxxxx ist jetzt wieder erreichbar. Ihr Vodafone-Team!
Findet das noch jemand außer mir in höchstem Maße bedenklich?
hahahaha, da hat sich der Herr Edathy aber sehr unprofessionell beim Radio-Interview zum neuen BKA-Gesetz verhalten. Die Frage, ob er sich morgens nackt oder in Unterhose die Zähne putzt, hat ihn etwas konsterniert, und er hat einfach mit den Worten: "Was soll der Scheiss" aufgelegt.
Danke lieber unbekannter Radiomoderator - you made my day!
Das Interview (oder sagen wir besser die Einleitung dessen) gibts hier, oder mplayer-kompatibel hier
Da ch3ka damit angefangen hat, wollte ich auch mal wissen wie es um mein Wissen steht, und das ist das Ergebnis:
Sie haben 42 von 50 Fragen beziehungsweise 84 Prozent richtig beantwortet.
Auswertung nach Ressort:
100%
Umw
100%
Inf
75%
Mas
57%
Mat
85%
Bio
85%
Phy
100%
Che
Falsch lag ich bei den Fragen #: 6, 15, 32, 34, 36, 45, 49, 50
Woohoo, ich hab damit viel besser abgeschnitten als gedacht, und wirklich ohne schummeln - und ohne Taschenrechner, sonst hätte ich glaub noch 2 oder 3 mehr Richtige gehabt...
Wenn euer Opera unter Linux keine Flashfilmchen (youtube, googlevideo) abspielt, dann vielleicht deshalb:
Make sure the flash library is not in a directory where any of the path components is "netscape". For some reason, flash detects this case and then video playback doesn't work on youtube nor videos.google. However, in this case the flash should still work, it just does not show any video. [sic!]
Eirik Byrkjeflot Anonsen, Opera Developer. Auf: Google-Groups/opera.linux
Ich hab mich gestern mal bei twitter.com registriert. Weniger weil ich das technisch oder sonstwie so toll finde, sondern eher deshalb, weil es die einfachste und schnellste Art ist, von unterwegs (mit dem Telefon) was zu veröffentlichen. Für was ich das genau nutzen werde (oder ob überhaupt) weiss ich noch nicht so recht, mal schauen.
Auf Seite meines Telefons (P1i) mach ich das übrigens mit Fring. Fring is zwar closed source und insofern böse, aber es kann die gängigsten InstantMessenger Protokolle, außerdem auch Skype (Sprache, Chat und Datenversand), SIP, und eben Twitter. Fring is deshalb die eierlegende Wollmilchsau der Applikationen die ich so täglich benutze.
Jetzt ergeben die Reflexionen auf Dicks Sonnenbrille auch mehr Sinn...
Ach, und am tollsten ist eigentlich dabei, dass dieses Bild auf der original Website des White House zu finden ist. Ob das seine Frau schon gesehen hat? oO