Windows bootet nicht von Linux-Partitionen

Posted on April 5th, 2007

by Zhenech

Wer hätte das gedacht? ;-)

Ich habe gerade meine Festplatte etwas aufgeräumt, und unter anderem die Windows Partition ein wenig verkleinert. War soweit auch alles okay, aber fdisk unter Linux beschwerte sich, Partition würde nicht aufm Zylinder enden: "Partition 1 does not end on cylinder boundary". Kein Problem, dacht ich mir, löschst du sie, und erstellst neu, Daten gehen ja nicht verloren.

Also fdisk /dev/sda
u
p
Größe der Partiton notieren
n
p
1
63
<notierte Größe>
t
7 (fuer NTFS)
q

UPS! w für write vergessen. NOCHMAL!
fdisk /dev/sda
u
p
Größe der Partiton notieren
n
p
1
63
<notierte Größe>
w
q

Mal schauen obs geht, *reboot*. Bluescreen nach dem Bootlogo, Super-Sache. Also Linux gebootet, kann das NTFS ohne Probleme mounten, lesen. Naja, probierst du mal vonner WindowsCD zu reparieren. Aber zuerst /home sichern, man weiß ja nie was so eine WindowsCD macht, wenn sie eine verschlüsselte Linux-Partition entdeckt. rsync, 44GB Daten *schnarch* *wart*
Okay, fertig, reboot.

STOP! Was steht da in der Konsole? /dev/sda1 Type:Linux ??? Na scheiße. fdisk /dev/sda, t, 7, w, q, init 6 -> Windows bootet. Na toll, wegen 2 Zeichen hab ich jetzt hier 44GB Daten mit 3-4MB/s durch die Gegend geschoben?! FUCK!

Deswegen sollte man nie nie nie Windows benutzen, macht nur Stress. :(

ICQ aka “I seek you” got mad(e)

Posted on April 4th, 2007

Regarding to the latest problems the whole ICQ network is facing (yeah it’s not only the smartass guys using alternative clients this time but everybody) and the fact that our own jabber server and indeed all jabberservers in the world are running I want to say the following to ICQ:

nelson haha

I think this is just the perfect moment to tell people about jabber and that it will always keep working as long as one server in the internet is still working ;)

This isn’t about telling you how sweet our own jabberd is (it is in fact) but about telling people to use open standards as it’s really easy installing a messenger of your choice.

greetz to all jabber users, the teranetworks crew and my mum (who is also using jabber) :)

ejabberd mit PyICQ-t unter Debian Etch

Posted on April 3rd, 2007

by Zhenech

Nachdem die Jungs von teranetworks nun einen eigenen Jabber-Server haben, dachte ich mir, "das kannst du auch".

Gesagt getan, kurz im Netz gesurft und ejabberd für besser als jabberd gefunden, aufm Server eingeloggt und apt-get install ejabberd. Das zieht erstmal einige erlang Pakete, dann ejabberd und installiert diese. Während der Installation wird man von debconf nett gefragt, wie der Server heißen soll und wer Administrator ist. Schon war der Server online und ich konnte chatten - aber nur mit Leuten die Jabber haben, was leider nicht immer der Fall ist.

Also musste ein ICQ-Transport her. Ich entschied mich für PyICQ-t, und bereute diese Entscheidung sehr schnell, denn es gab keine Debian Pakete. Aber es ist ja Python, kann also nicht so schwer sein zum Laufen zu bekommen. Kurz das tar.gz von http://pyicq-t.blathersource.org/ runterladen, entpacken und schauen was es so an Dependencies hat - twisted, twisted-web und twisted-words. apt-get install python-twisted python-twisted-web python-twisted-wordsMOMENT! libgtk?! libglade?! WTF?! Also nochmal gucken. python-twisted ist kein wirkliches Paket, hängt aber von allen Unterpaketen ab. Was brauch ich davon wirklich? Nur python-twisted-web und python-twisted-words, zieht dennoch das ganze GTK und Glade Zeug mit, siehe http://bugs.debian.org/412684. Naja, also:
apt-get install python-twisted-web python-twisted-words python-crypto python-pyopenssl python-imaging
die letzten drei werden später noch benötigt, sonst rennt PyICQt nicht.

Jetzt noch kurz die /etc/ejabberd/ejabberd.cfg editieren - ICQ Transport aktivieren.
Ebenso in ~/pyicq-t-0.8/ die config.xml aus dem Beispiel erstellen, ebenso passend konfigurieren und fertig. "python PyICQt.py -b" tippen und das Ding rennt.

Jetzt habe ich einen eigenen Jabber-Server und ICQ-Transport! Yay!

Jabbert mir unter sargentd(AT/NOSPAM)jabber.die-welt.net

Getting Voice Software working with Audigy 4 and Nforce2 OnBoardsound

Posted on April 3rd, 2007

I tried to use TeamSpeak to speak with some friends while playing, but i didn’t succeed to get it working. I tried to put “aoss” in front of the “TeamSpeak” command, nothing changed. So i tried to find out, what i can do. First i merged audacity where i found out, that my microphone doesn’t work with the default device. I had to change from “Mic Capture” to “ALSA: Audigy4: Multichannel Capture/PT Playback (hw:0,2)”. But in TeamSpeak was no Option to use this devicepart.
After this i tried “mumble” a really nice voice software that is opensource and works unter Windows and Linux. More infos here [1]. I used the svn version, the ebuild didn’t compile. I used this [2] introduction to install it.
When i start mumble and joined a server i could here others, a step further to a solution (in TS i didn’t hear anything). Although mumble uses Alsa i still can’t talk, just crazy sounds coming over to others. After some time hacking around with the config i started to try my onboard Chip. I have a Asus A7N8X Deluxe 2.0 so i needed the “intel8×0″ driver. I made a new Kernel with emu10k1 for my Audigy 4 and intel8×0 for the Realtek Chip on board. I used ALSA and the drivers as modules. More infos here [3] especially 2.4.
So now i wanted to use the Audigy 4 for Output and the intel8×0 for input, because microphone with intel8×0 works fine. So i used [3] and [4] to make my Gentoo using both cards as one.
I had to modify some files:

/etc/make.conf:

ALSA_CARDS="emu10k1 intel8x0"

/etc/modules.d/alsa:

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

alias snd-card-0 snd-emu10k1
alias snd-card-1 snd-intel8x0
alias sound-slot-0 snd-card-0
alias sound-slot-1 snd-card-1
options snd-emu10k1 index=0
options snd-intel8x0 index=-2

.asoundrc:

pcm.!default {
    type plug
    slave {
        pcm {
            type    asym
            playback.pcm dmix:0
            capture.pcm dsnoop:1
        }
    }
}
pcm.dsp pcm.!default

Now i made sure that alsasound is added to the runlevel and configured Alsamixer.
So the Audigy is working for output and the Realtek Chip is working for the input.
Now i can use mumble and TeamSpeak. There is just one problem left with mumble. When more then 1 User speak it crashes, if anyone has a solution please report me:
ALSA lib pcm_dmix.c:914:(snd_pcm_dmix_open) unable to open slave

[1] http://mumble.sourceforge.net/
[2] http://www.linux-gamers.net/modules/newbb/viewtopic.php?topic_id=2896&forum=6
[3] http://www.gentoo.de/doc/de/alsa-guide.xml
[4] http://de.gentoo-wiki.com/Soundkarten_kombinieren

link conversion in urxvt / rxvt-unicode | clickable links

Posted on April 3rd, 2007

This article is deprecated. You can find an updated version here.

Using urxvt / rxvt-unicode very often as my prefered terminal emulator I thought it would be nice to have clickable links. Reading through the manpage and searching in google I found out about the built in urxvt’s perl extensions and that this was possible.

Just add the following to your .Xdefaults:

URxvt.perl-ext-common: default,matcher
URxvt.urlLauncher: firefox
URxvt.matcher.button: 2
URxvt.matcher.pattern.1: \\bwww\\.[\\w-]\\.[\\w./?&@#-]*[\\w/-]

Now you just need to replace firefox with your favorite browsers startup script and choose which mousebutton should be handled. Button 2 is the middle mouse button and clicking a link with it now opens it directly in firefox without copy and paste or other timewasting things ;)

The great advantage of this solution is that you don’t depend on things like the openurl.pl script for irssi which doesn’t work using irssi in a screen remotely as I (and many other) do.

links in urxvt


design: makequick.com | modificashuns and bugfixes by jesse
bottom