Stoppt die Vorratsdatenspeicherung! Jetzt klicken & handeln!Willst du auch bei der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien:

ASM-Gefrickel, gescripte, debugfs

Blogged by Max1 as Debian, Linux, bla... — Max1 Mo 1 Jun 2009 19:08
Tagged as: , , , ,

Da schaffe ich es doch tatsächlich, nach einem ohnehin schon recht komischen Wochenende, meine Arbeit von heute (gute 6 Stunden) mal eben zu löschen.

Aber der Reihe nach.

Zunächst habe ich mich die Tage doch tatsächlich mal am Patchen (man sollte hier vielleicht eher cracken sagen, aber das klingt für mein ‘Können’ zu hochtrabend) eines Programmes versucht. Nein, nicht weil ich es nicht kaufen will und auch nicht um den Patch zu veröffentlichen. (Was ich ganz sicher nicht tun werde…)
Mir waren nur Diskussionen aufgefallen, dass für die neue Version des Programms sogar der Patch/Crack/WasAuchImmer verkauft wird und es sonst keinen gäbe. Das hat mich dann doch dazu verleitet, mir einfach mal anzuschauen, ob das tatsächlich so schwer ist.
Ein (sehr gutes!) Flash-Tutorial zum Umgang mit OllyDBG und einige Stunden später war es dann geschafft, und es funktioniert sogar. Mehr schlecht als recht, da ich an einigen Stellen mehr auf gut Glück modifiziert habe… Es scheinen aber die richtigen Stellen gewesen zu sein.

So, dann gab es noch ein kleines Script um automatisiert (HTTP) POST-Requests zu fahren, in PHP. Auch das tut mittlerweile seinen Dienst.

Wenn ich dann nicht gerade eben meine Hausübung (es war etwas knifflig, mehrere Stunden Arbeit) gelöscht hätte, wäre soweit alles gut. Jetzt sitze ich hier von einer Gentoo Live-CD und krame mit debugfs in Inode-Tabellen rum. Die “DiskInternals Linux Recovery” bekommt aber auch mal eine Chance, ist vielleicht komfortabler als das Händische…sowas ärgert maßlos!

Nach langer Zeit…

Blogged by Max1 as Debian, Linux, bla... — Max1 So 17 Mai 2009 14:17

… nehme ich mir nun endlich mal wieder die Zeit ein bisschen was zu berichten.

Einiges hat sich getan, seit meinem letzten Beitrag.

Mit dem Abitur in der Tasche bin ich momentan als Student der Informatik (Bachelor of Science) an der TU-Darmstadt anzutreffen. (Wenn auch nicht für lang, aber dazu (hoffentlich) in den nächstan Tagen mehr Details.)

Nachdem die Krise mit meinen Seagate-Platten überstanden ist, habe ich dann meine Rechnerfamilie erweitert.
Ein Thinkpad R400 ist es am Ende geworden, (Core 2 Duo T5870 2GHZ), mit einer 7200 rpm Festplatte, 9-Cell Akku und 4 GB DDR3 RAM.

Ich bin mit dem Geräte bisher sehr zufrieden, nur an der Akkulaufzeit spürt man die schnellere Festplatte, aber vielmehr noch den nicht ganz aktuellen Core 2 Duo. Die in den Thinkpad T-Modellen (und auch den meisten anderen Rs, vorallem die 500er) verbauten Core 2 Duos mit der Bezeichnung PXXXX verbrauchen doch nochmal gut ein Drittel weniger Strom als der bei mir verbaute T5870.
Allerdings war es mir das für die Preisersparnis wert, wenn man wirklich am Gerät arbeitet hält der Akku bisher ca. 5,5 Stunden, das reicht mir. (In den Modellen mit P Core 2 Duo (besonders der Thinkpad T-Reihe) sollen es bis zu 9 Stunden sein, ich denke mal 7-8 ist realistisch.)
Es läuft ein Hybrid-System aus Debian Squeeze und SID, wobei momentan alle Pakete komplett auf SID (unstable) Stand sind. Das muss momentan für die neuen Centrino 2 Plattformen sein. Und seit Kernel 2.6.29.2 läuft auch bluetooth.

Das einzige was noch nicht ganz so will wie ich sind die Sondertasten, damit muss ich mich die Tage mal befassen, dem HAL die fehlenden Belegungen beizubringen.

Ansonsten habe ich noch das Standardproblem (ist momentan bei allen meinen Rechnern der Fall) der fehlenden System-Sounds (Systemklänge) in Gnome. Egal ob EsoundD oder pulseaudio, die Server laufen, aber die Systemsounds nicht. Das muss also auch noch in Angriff genommen werden.

/home finally RAID-protected

Blogged by Max1 as Debian, Linux, bla... — Max1 Di 3 Feb 2009 12:28

I finally found the time to protect at least some partitions by a RAID1 array.

debian:/home/max# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md2 : active raid1 sda7[2] sdb7[1]
50395776 blocks [2/1] [_U]
[=======>.............] recovery = 36.1% (18207488/50395776) finish=6.5min speed=82215K/sec

unused devices:

Why not the whole disk? Well, for my root partition I, at least for now, prefer backing up my data manually. As RAID1 protects my data from a failing harddrive, it does NOT protect it from a failing user (i.e. me). So if I accidently delete something important (who knows), I can at least restore it.

Why we love Microsoft – Outlook Express 6 and SASL Auth / SSL

Blogged by Max1 as Debian, English, Linux, bla... — Max1 Di 1 Jul 2008 10:57

Since I’m using Thunderbird for my emailing I didn’t know about that problem. But one site I’m hosting recently has Emailusers that are using Microsoft’s Outlook Express 6 (The one that ships with XP).

What I didn’t know is that OE6 neither handles SSL handshakes correctly, nor is able to authenticate the user properly via SASL auth.

So you either get an error saying the server doesn’t support SSL, but you see the server’s reply code being ‘250 OK’.
Or you get an error depending on sender-, helo-, and recipient restrictions you’ve got. In my case I have implemented various checks concerning the hostname of the qualified client and of course RBL. Both will reject the ‘normal’ user connecting with OE6.
Normally, when the client authenticates himself none of the above mentioned checks will be done, and for that matter none of the authenticated clients will be blocked.

But if you’re using OE, you will be. (Is that actually a bad thing? ;) )

So I hope the solution I’m going to test later on is going to work:

For the SSL thing you can add ssl_wrapper_mode to postfix’s main.cf and connect on port 465. That SHOULD be working.

The SASL Auth thing should be fixed by adding ‘broken_sasl-auth_clients = yes’ to main.cf .

I’ll post here whether it worked or not.

Kernel 2.6.24-1 and Ralink WIFI

Blogged by Max1 as Debian, English, Linux, bla... — Max1 Mo 18 Feb 2008 20:21

I ran into this issue about two weeks ago, but didn’t get through to writing about it.

The new (Debian) Kernel 2.6.24-1-amd64 no comes with ‘built in’ drivers and firmware for various Ralink WIFI devices. E.g. there are drivers for both PCI and USB devices (rt2×00 chipsets, including rt2500 (pci), rt2400) from rt2×00.serialmonkey.com compiled as modules into the kernel.
Unfortunately, those drivers really didn’t work out for me. My WIFI PCI Card has got a Ralink rt2500 chipset. I used to compile the module myself, using the rt2500 drivers from rt2×00.serialmonke.com CVS.
But with kernel 2.6.24-1 various modules, such as rt2×00, rt2×00pci, rt2500, rt2500pci, were loaded automatically. But the result wasn’t what I had hoped for. Even though my WIFI card was recognized immediately and connecting to my WIFI was really easy, because of the new GNOME network manager that includes WIFI connections, the transferrate always went down to 1 Mbit/s.

I could not manage to get it faster.

So the conclusion, I built the kernel again, manually, without any WIFI support included. Then I used those nice rt2500 CVS drivers from serialmonkeys.org and all works fine again :)

Currently I’m spending my very rare free time (I’m pretty busy with school right now) on getting my gentoo installation to work properly ;)

Edit: (Thanks adlerweb): Yeah I know I could’ve blacklisted the built-in modules, but I was in the mood (and found some time ;) ) for some ‘handicrafts’

logcheck and SPF

Blogged by Max1 as Debian, Linux, bla... — Max1 Mo 10 Dez 2007 20:49

Since I’m trying out logcheck an logcheck-database (the etch packages) and SPF I had to add some lines for logcheck to ignore. However some of them are not really SPF related.

(weiterlesen…)

Flash and Debian etch amd64

Blogged by Max1 as Debian, English, Linux — Max1 Mi 2 Mai 2007 20:55

I got it running, finally :)

Thanks to debianforum.de my flashplayer is working now :).

The whole story: The (Macromedia) Adobe Flashplayer and the plugin for Firefox (Iceweasel on Debian) is not available for amd64 architecture.

So you have to trick it out a little. Here’s how it worked (this works as well for Iceweasel):

- At first you have to install “alien”
apt-get install alien

- Then you need to download the plugin and the viewer from
http://gwenole.beauchesne.info/en/projects/nspluginwrapper#downloads

- After that edit the files using alien -d on both of them

- Now here’s a list how to proceed:

dpkg -i nspluginwrapper*.deb

apt-get install linux32 ia32-libs-gtk gsfonts-x11

(Note: as Debian etch got stable, the package ia32-libs-gtk is no longer available. I just downloaded it from HERE and installed it.)

Then download the flash plugin from a i386 mirror.
I got one from here:
http://gulmer.funmrd.gov.ve/debian/pool/contrib/f/flashplugin-nonfree/?N=D

dpkg -i –force-architecture flashplugin-nonfree_9.0.31.0.1_i386.deb

dpkg -L flashplugin-nonfree|grep so | xargs rm -f

cd /usr/lib/mozilla/plugins

nspluginwrapper -i /usr/lib/flashplugin-nonfree/libflashplayer.so

Here’s where the entry on debianforum.de endet, but someone postet further information, which is good ( :) ) because so far it didn’t work for me (using Iceweasel)

The next step would be to create symlinks (ln -s) in ~./mozilla/plugins (if the directory doesn’t exist, fell free to create it!) to /usr/lib/mozilla/plugins/npwrapper.so and /usr/lib/mozilla/plugins/npwrapper.libflashplayer.so

Restart Iceweasel and Flash should be working fine :)

Source: www.debianforum.de

______________________________________________________

Update: 11th May: Okay, I think that OpenOffice issue is solved and doesn’t really have anything to do with this FlashPlayer thing ;)
The problem seemed to be the fglrx driver I installed. I used the package built by the ATI installer, which requires libstdc++5 ! And it seems as if OpenOffice stops working right after libstdc++5 is installed! So I used the package provided by Debian non-free, and ran module-assistant prepare, which updates the whole thing, so it’s using libstdc++6 afterwards (at least I think so, from what it was prompting ;) ). After running module-assistant update and the rest that is said here: http://wiki.cchtml.com/index.php/Debian_Installation_Guide ; the fglrx is working AND OpenOffice is working. :)

Errormessage:

max@debian:~$ openoffice
/usr/lib/openoffice/program/soffice: line 254: 8987 Gleitkomma-Ausnahme "$sd_prog/$sd_binary" "$@"

** (process:8971): WARNING **: Unknown error forking main binary / abnormal early exit ...

Update: 28th May: So, I tested the whole Flash on amd64 thing for a little while now, and it’s working out pretty much okay. I’m still having some problems while e.g. watching lots of youtube vids in a row, as the flash player stops working from time to time (you just can’t see any of the flash things anymore). I didn’t get around this yet, but what works for me right now is, just when the flashplayer stops working, I switch to epiphany browser… and if it stops working there as well after a while, I switch back to iceweasel ;)
But this only keeps happening if I really watch a lot stuff in flash in a row. I’ll post here if I find a solution ;)

Update: 2nd June: If I forgot to say so… PLEASE don’t do this shown above unless you know what you’re doing. As I figured out, the procedure can cause some problems updating the system. Like destroying the software index list etc… didn’t find a fix for that yet.

Update: 18th August: Soooo I’ve got some news. There is an official flashplugin-nonfree package available for amd64 architecture (of course you have to add non-free sources to sources.list). As I’m using Debian SID right now, I don’t know whether it’s as well available for lenny or etch, but you can get it from backports.org. Simply installing that using apt worked perfectly for me!


Proudly powered by wordpress 2.9.2 - Theme Back in Black 2 by neuro
Copyright © 2006-2007 schlaflos-in-mainz.de - All rights reserved
Impressum / Disclaimer