dystopianfuture …electronics and narcissism

27Aug/100

More ARM Development Notes

Und noch eine CrossCompileToolSuite:

http://www.scratchbox.org/

  • Unterstützt ARM and x86 targets (PowerPC, MIPS und CRIS targets sind noch experimentell.
  • Debian wird bevorzugt unterstützt
  • Wird von der Maemo DevPlattform genutzt
18Aug/100

Debian, Java and IPv6

Currently it is not possible ( and this problem exists than a few months already ) to get Java applications to connect to the network if you use the official JRE from SUN.

It is because Debian uses a BindIPv6-Setting in sysct-lconfig.

There are a few workarounds possible:

  1. start all Java applications with  the option: -Djava.net.preferIPv4Stack=true
  2. use another JRE, for example OpenJDK. (It's in the Debian repos )
  3. set net.ipv6.bindv6only = 1 to 0 in /etc/sysctl.d/bindv6only.conf
  4. Trash your Java apps :S ( It's an option! )
  5. Hope that Sun *cough* Oracle fixes it soon,  instead of only replacing vendor-strings in JRE. (Not really an option)

This only summarizes the possibilities so far.

Further discussion can also be found in the official Debian bug report #560044 with an easy to remember number ;) .

Tagged as: , , No Comments
14Aug/100

USB Debugging & Monitoring

This short article is a nice tool- and information-collection towards USB monitoring.

Before usbmon works, you have to activate Debugging via the following commands:

mount -t debugfs none_debugs /sys/kernel/debug

modprobe usbmon

But you don't even need those special tools if you got a recent version of  wireshark. It's got built-in USB Monitoring!

And here's more on USB-Monitoring (mainly tools).

28Feb/100

Mount ISO-Files

Um ISO-Files in *nix-System zu mounten, gib man folgenden befehl an:

mount -o loop -t iso9660 /tmp/image.iso /media/mountpoint

Wie man untypische CD-Images ins ISO-Format konvertiert ist in "Convert X to ISO" erläutert.

Tagged as: , , , No Comments
24Feb/102

Upgrade from Debian to Sidux

Ich habe meine Debian SID Installation auf Sidux umgestellt.

Dadurch erhalte ich für manche kapuuten SID Pakete oder Abhängigkeiten mitunter nen Fix.

Nach dem aktualisieren der Paketquellen installiert man sich das Sidux-Artwork und den Sidux-Kernel und freut sich über eine "neue" Distribution.

Wichtig sind die Sidux-Repos. Die restlichen Quellen sind meine Debian-Quellen.

Wenn man sich im SID-Zweig rumtreibt helfen die stable & testing Quellen das eine oder ander Mal ein Problem zu lösen.

#[MAIN]
deb http://ftp.de.debian.org/debian/ sid main contrib non-free
deb-src http://ftp.de.debian.org/debian/ sid main contrib non-free
deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb http://ftp.de.debian.org/debian/ stable main contrib non-free

# DEBIAN experimental
deb http://ftp.de.debian.org/debian/ experimental main contrib non-free
# deb-src http://ftp.de.debian.org/debian/ experimental main

# SIDUX Repos Free University Berlin/ spline (Student Project LInux NEtwork), Germany
deb ftp://ftp.spline.de/pub/sidux/debian/ sid main contrib non-free fix.main fix.contrib fix.non-free
deb-src ftp://ftp.spline.de/pub/sidux/debian/ sid main contrib non-free fix.main fix.contrib fix.non-free

13Dec/090

SSH/SSL Port Multiplexer

Ein höchst interessantes Tools kann man hier finden. Dabei handelt es sich um SSLH einen Port 443 Multiplexer.

Nach Installation und Konfiguration des kleinen Helfers, lauscht der Server auf  Port 443 gleichzeitig, ob es sich um eine eingehende SSL oder SSH Verbindung handelt und bedient die Anfrage mit dem korrekten Dienst.

Dies ist äusserst praktisch wenn man aus befeuerwallten Netzgebieten auf seinen Server zugreifen muss.

Viel Vergnügen.

Tagged as: , , , , No Comments
4Dec/090

Dynamic-Size VDI (Virtualbox Disk Images) verkleinern – [Compact VDi Image]

Jeder Virtualbox-Nutzer hat sich sicher schon gefragt, wieso dynamische VDI-Container imme größer sind als die eigentlichen Nutzdaten. Dies liegt darin begründet dass die Gastsysteme die Daten nicht wie bei dd am Stück in das Virtual Disc Image schreiben, sondern die Verteilung eher wie bei Festplatten ist. Wenn Blöcke in der Mitte gelöscht werden, rücken hintere Blöcke nicht automatisch nach.

Schön wär wenn dies irgenwann automatisch ginge, bis dahin ist hier eine Anleitung:

  1. Im Windows Gast : Start -> Zubehör -> Systemprogramme-> Defragmentierung starten oder alternativ ein Tool wie Defraggler nutzen.
  2. nullfile-1.02.exe downloaden und starten. Es wird aller freier Speicherplatz mit Nullen überschrieben. Das VDI-Image wächst dabei nicht. Der goße Null-Block wir automatisch gelöscht
    Alternativ kann "sdelete -c" genutzt werden.
  3. Gast-Windows herunterfahren
  4. "VBoxManage modifyvdi [Imagename ohne Pfad] compact" ausführen.

Nach beenden des Kommandos, hat das dynamische VDI-Image seine minimale Größe erreicht.

29Sep/090

Bluez 4.0++

Seit der Bluez Version 4.0 hat sich einiges getan in der Bedienung.

Hat man davor noch mittels "hidd -s" problemlos eine Mouse oder Tastatur verbinden können, geht das zumindest zur zeit noch nicht ganz so leicht.

Das Sidux-Wiki weiß hier aber Abhilfe.

Damit kann man eine Bluetoothmaus fast genauso einfach connecten wie mit bluez in der 3er Version.

Viel Erfolg damit :)

21Aug/090

4 GigaByte Ram

[Protz]...darf ich nun mein Eigen nennen[/Protz]

Worauf ich allerdings wirklich hinaus will, ist dass der i686 default Debiankernel nur max. 3 GB unterstützt :O

Neben der Möglichkeit den Kernel von Hand neu zu kompilieren und entsprechend bei den Memory Settings die Unterstützung von max. 64 GB Ram zu aktivieren oder auf ein x86_64 System umzusteigen, bieten fast alle Distribution Kernelimages an die den BigMem Support aktiviert haben. Dieses enden dann auf [KERNELNAME]-bigmem.

Eine Suche nach Bigmem im Paketmanager, anschließender Installation und einem Reboot sollte das Problem also in jedem Fall lösen ;)

htop Viel Spaß damit :D