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
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
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

16Aug/090

ext3 Reservierter Speicherplatz (Reserved Space)

Wer sich schon immer mal gefragt hat wieso seine ext3 Partition zu 100% voll  ist,  obwohl nur 95GB von den 100GB belegt sind, kann es mit folgendem Befehl abstellen:

1. umount /dev/[DEVICENAME] oder umount /[Pfad zur Partition]
2. tune2fs -m 0 /dev/[DEVICENAME]

3. wieder mounten und fertig.

Das sollte helfen. Ist zwar allgemein bekannt aber ein paar Beginnertricks können nicht schaden.