Archive for August, 2004

2004-08-13 01:41

Friday, August 13th, 2004

I’m finishing this, and going to sleep…

The day began with a paunch soup at “Divaka”, to get a bit better – it helped, but not a lot, because it was hot and spicy, and the weather wasn’t cold enough… Good thing the server room has AC.

Then followed some problem-solving. The first thing was that freebsd’s stack was behaving differently from the linux one, and this created a problem with the ADSL bridge, because it gives you an IP over DHCP, and the same one as a default gateway. In this situation linux starts sending everything directly through the interface, the bridge does proxyarp, and it works. FreeBSD, OTOH, routes that IP through the loopback, and fscked up the situation. In the end we had to write the configuration statically… It’s a problem of the damn bridge to use such a configuration…

The other thing was the config of the UPS to talk to the machines – it took some time, and I’ll have to explain to some more of them to ti shut down when needed, but I was able to tell the UPS over the serial port to shut down, and it was quite a view… But something more fun was to see it start again – the fuse couldn’t hold it, and snapped :)

There is some problem with the database, drbd and heartbeat, which I’ll fight with tomorrow, because I saw it sometime after the test of the UPS, and I wasn’t able to thing good enough.

The night finished with Chervarium in “Krivoto” (behind the Rectorate), to get something to eat and to drink a beer or two, we haven’t been there for a long time.

(And this was written while Velin was snoring. How can he sleep in this noise, I don’t know.)

(note – he woke up, and swore).

2004-08-13 01:32

Friday, August 13th, 2004

Пиша това, и отивам да спя…

Започнах деня със шкембе чорба в “Дивака”, за да се поосвестя малко – помогна, но не толкова, понеже беше гореща и люта, а времето не беше особено хладно… Добре, че в сървърното има климатик.

Последва оправяне на няколко проблема. Първия беше, че stack-а на freebsd се държи различно от linux-кия, и това създаде проблем с ADSL bridge-а, понеже той дава по DHCP някакво IP, и същото такова за default gateway. В такава ситуация linux почва да праща всичко директно по интерфейса, bridge прави proxyarp, и нещата работят. FreeBSD обаче рутира това ip през loopback-а си, и директно омаза ситуацията, та се наложи да забием настройките на ръка. В крайна сметка проблема си е на проклетия bridge, че се държи странно…

Друг проблем беше настройката на UPS-а да си говори с машините – това отне известно време, и ще трябва да обясня на няколко други машини да се гасят, но поне изтествах да кажа на UPS-а по серийния порт да угасне, и беше бая ефектно … Още по ефектно беше включването му, при което бушона не издържа и щракна :)

Има и някакъв проблем с базата, drbd и heartbeat, който ще боря утре на свежо, защото го забелязах чак около теста на UPS-а, и не бях в състояние да мисля достатъчно добре.

Вечерта завърши с червото в “Кривото” (зад ректората), да хапнем и да пийнем по бира, не бяхме ходили там от бая време.

(А това беше написано под звуците на хъркането на Велин. Как спи на звука на клавиатурата, идея си нямам.)
(допълнение – той се събуди и ме изруга)

2004-08-12 02:36

Thursday, August 12th, 2004

А, да не забравя – следващата IBB е в “Кривото” на пресечката на “Дондуков” и “Будапеща”, в сряда от 19:00.

2004-08-12 02:30

Thursday, August 12th, 2004

It’s nice when you’re drunk to get a bottle of tonic and some lemons, they help ….

Good thing I had brandy at home, to clean my wounds on the hands, I tried which things on the way home were good for punching, and my knuckles are bleeding a bit (I should get a punching bag already).

Today IBB was interesting (because “Pri Kmeta” was closed, we were at O!Shipka), we discussed all kinds of interesting things (Guninski, I’ll dig up the RFC for NTP, and will explain it to you someday :) ), after which we continued down in the basement, me, chervarium, and a guy that was called Georgi, and his nick was something with Alabala… It was great, we went through all kinds of optics, like the universe, the dimensions and the volumes, economics, sociology, Rome and Visitation empires, genetics, and I-can’t-remember-what-else….

Today a user of the CBL that I’m mirroring wrote to me, and I’m about to mirror the lists of spamhaus, blitzed and njabl (I have to mail them and do a little talking, I just have to be awake and sober). I hope it help some users.

I’ll probably be moving marla in the next week – I still don’t have a final confirmation, but let this serve as an early warning to the people reading this, I’ll announce the final decision in a few days.

2004-08-12 02:23

Thursday, August 12th, 2004

Хубаво е човек като е пил да си купи една бутилка тоник и няколко лимона, помагат…

Е, добре и че имам ракия вкъщи, да си промия раните на ръцете, реших да проверя кои предмети по пътя стават за удряне, и от някои си разкървавих сериозно ръцете (трябва най-накрая да си взема боксова круша).

Днес IBB беше интересно (понеже “При Кмета” беше затворено, бяхме в О!Шипка), обсъждахме всякакви интересни неща (Гунински, ще ти изровя RFC-то за NTP, и ще ти го обясня някой ден :) ), след което продължихме долу в клуба, аз, chervarium, и още един човек, чието име беше Георги, и nick-а му нещо, което започва с Алабала… Продължението беше страхотно, минахме през всякакви теми, като вселената, измеренията и обемите, икономиката, социологията, римската и византийските империи, генетиката, и не помня какво още…

Днес ми писа един потребител на CBL-а, който съм mirror-нал на ludost.net, ще взема да говоря със spamhaus, blitzed и njabl за mirror на техните листи (всичко се свежда до едно писмо, само трябва да съм в състояние да го напиша). Надявам се да помогне на потребителите.

Мисля да местя marla следващата седмица – още нямам пълно потвърждение, но нека хората, четящи blog-а ми да го имат в предвид, ще го обявя допълнително няколко дни, преди да го направя.

2004-08-11 12:25

Wednesday, August 11th, 2004

Shortly, before I go out on errands…

Yesterday I watched Zatoichi (a nice movie, but the effects were not really good), after which I went out for a beer with minix, we drank and walked around until21-22, after which I went home, and fell asleep. For a first time in a long time I was able to get up in 10 in the morning…

After moving ludost.net to openintegra, I’m thinking about moving dobrich.net too (e.g. I’ve already initiated the transfer), I hate network solutions… It will be transferred in a week.

I’m still thinking on a GPS clock for marla, to have one stratum 1 NTP server in Bulgaria, but it comes about $200-$300 (this is one of the variants). I should check the way to put the antenna out, too…

2004-08-11 12:20

Wednesday, August 11th, 2004

Накратко, преди да изляза по задачи….

Вчера изгледах Затоичи (добър филм, въпреки че ефектите на места си личаха), след което излязох на биричка с minix, пихме и се мотахме до около 21-22, след което се прибрах, и заспах. За пръв път от много време успях да стана в 10 сутринта…

След като преместих ludost.net при openintegra, мисля да преместя и dobrich.net (т.е. вече пуснах трансфера), мразим network solutions… До около седмица ще е прехвърлен.

Още мисля по въпроса за GPS часовник за marla, да има един stratum 1 NTP сървър в България, само че излиза около $200-$300 (това е единия вариант). Трябва да видя и как мога да изведа антената…

2004-08-10 01:16

Tuesday, August 10th, 2004

I tested the ups for a hour and 55 minutes, and then plugged it in again, because of the thunders outside, I didn’t wanted to be caught by some sudden power outage.

Today chervarium installed the fbsd that will be a router/firewall for the project, and there were some problems with running the dhclient on a specified vlan. He’ll work on it remotely, to see what will happen (on the debian machine it was really easy to run, and worked from the start :) ).

After that we met tfl0ps, and the three of us went to have dinner at Don Domat (Don Tomato), and I again tried that great beans with bacon… It’s good to be nice to yourself one in a while.

Today I convinced myself how fallen am I – installed Descent Freespace 2, and I’m still playing it… I like flying, can’t help it :) There were some minor problems, like being unable to use the right ctrl for fire (because ctrl-z makes descent go crazy), but I fixed them… Let’s see how long will it take to finish it all.

2004-08-10 01:08

Tuesday, August 10th, 2004

UPS-а го пробвах до час и 55 минути, и после го включих, защото навън гърмеше, да не остана на сухо около тестовете…

Днес chervarium инсталира fbsd-то, което ще се ползва за router/firewall за проекта, и имаше проблем с подкарването на dhclient по определен VLAN. Ще го бори отдалечено, да видим какво ще излезе (а на debian-а тръгна елементарно и адски лесно :) ).

След това се видяхме с tfl0pz, и тримата отидохме да вечеряме в Дон Домат, пак да опитам оня страхотен боб с бекон… Хубаво е човек да си угажда от време на време.

Днес тотално се убедих колко съм пропаднал – инсталирах си Descent Freespace 2, и го играя от време на време… обичам да летя, какво да се прави :) Имаше няколко дребни проблема, като например невъзможността да се използва левия ctrl за стрелба (понеже ctrl-z кара descent-а да се шашне), но ги оправих … Да видим за колко време ще го превъртя пак.

2004-08-09 16:14

Monday, August 9th, 2004

Yesterday it was a very sleepy day… We had breakfast with Velin, and went to get our laundry, and were able to, with some small problems (it was already 18:30). After that I went home, and lied for a nap, and got up at around 22-23…

I should go to a doctor, every morning I feel weak, probably my blood pressure is low…

Today microphobic found me No Coracao Dos Deuses (soundtrack of a brazilian film, project of Andreas Kisser and Igor Cavalera from Sepultura), something that I’ve been seeking for a long time in some listen-able format (I have it on tape, but it just doesn’t count). He found me a .rar file, with mpc files in it, which turned out to be in musepack format. Good thing that there was a plugin for xmms, it sounds like a good format for high-quality audio (and doesn’t take as much space as FLAC :) ).

Today is a day to test the UPS, until now it held for hour and 45 minutes, and looks like somewhere in the middle of the battery :)

Tonight I’ll start working on the test for the september’s exams on network security…

2004-08-09 16:06

Monday, August 9th, 2004

Вчера ми беше много заспал ден… Закусихме с Велин, отидохме да си вземем прането, и успяхме с малко зор (вече беше 18:30). След това се прибрах, и си легнах уж за малко да дремна, и спах до около 22-23…

Трябва да ида на лекар най-накрая, твърде често сутрин ми се вие свят, май пак ми пада кръвното…

Днес microphobic ми намери No Coracao Dos Deuses (soundtrack на един бразилски филм, проект на Андреас Кисер и Игор Кавалера от Sepultura), нещо, което търсех от много време в някакъв приличен формат (имах го на касетка, ама то това просто не се брои). В крайна сметка ми намери един .rar, с .mpc файлове в него, които се оказаха в musepack формат. Добре, че имаше plugin за xmms, изглежда добре като формат качествено съхраняване на музика (и не заема място колкото FLAC :) ).

Днес е ден за тест на UPS-а, до момента издържа час и 45 минути, и ми изглежда някъде на средата на батерията :)

Довечера ще започна подготовката на теста по мрежова сигурност за септемврийската сесия…

2004-08-08 06:17

Sunday, August 8th, 2004

I feel sleepy.

Pratchett is bad for your health – at around 2:30 I started reading the last book – “Night Watch”, and finished it some minutes ago. And found out that outside it’s bright and the sun is rising.

Other stuff – went to listen to Karajan again, and maybe today I’ll go, too. Watched “Troy” with Velin, dubbed in spanish, because that was the file he had found… And Homer must be rolling in his grave.

I came with an interesting solution of the problem of a X session to someplace and the dying of the connection, through Xvfb and vnc server, I might describe it later.

2004-08-08 06:13

Sunday, August 8th, 2004

Спи ми се.

Пратчет е направо вреден за здравето – към 2:30 почнах да чета последната книжка – “Нощна стража” – и преди малко я свърших. И открих, че навън е светло.

Друго – пак ходих да слушам Караян, може би и днес ще ида. Гледахме “Троя” с Велин, със дублаж на испански, понеже такъв беше намерил… Омир как се върти в гроба, направо не ми се мисли.

Измислих едно забавно решение на проблема с X сесия донякъде и прекъсването на връзката, чрез Xvfb и vnc сървър, може да го опиша по-късно.

2004-08-07 13:41

Saturday, August 7th, 2004

I felt too lazy last night to blog…

Yesterday through the day I had a funny task – a script to convert html to tiff, which was needed by a friend. It turned out to be really interesting, especially because it needed to have working cyrillic :) Because someone else might need it, here it is:

#!/bin/sh

# by 

#requirements in debian packages:
# apt-get install htmldoc xpdf-reader imagemagick gs-common  libtiff-tools

if [ -z "$2" ]; then
        echo Usage: $0 input-file output-file-prefix
        exit 2
fi

k=`tempfile`
rm -f $k && mkdir $k || exit 8
htmldoc --webpage --continuous $1 -t ps --charset cp-1251 -f $k/OUTPUT.ps
cdr=`pwd`
cd $k || exit 4
ps2pdf OUTPUT.ps
pdftoppm OUTPUT.pdf output
convert output*ppm  $cdr/$2.tiff
cd $cdr || exit 5
rm -rf -- $k

It could probably be written better, especially the thing with that temporary directory, but it’s just a proof-of-concept. The conversion fom postscript to PDF is needed, because htmldoc has a bug in the pdf files generation, and convert doesn’t handle pdf well, and I have to go through ppm. It was a lot of tweaking, until it worked.

Nothing else interesting, except going again at the square to listen to the concerts, and reading Quicksilver. This time they played concert for piano and orchestra number I-can’t-remember-which by Tchaykovski, it was great (on the piano there was Evgeny Kissin, who then has been 15 years old …:) )

I’m having weird dreams, with some known female friends, really weird, second night in a row… Looks like Velin has such too, and I think that probably the apartment is cursed…

2004-08-07 13:31

Saturday, August 7th, 2004

Снощи твърде много ме мързеше да блогвам…

Вчера през деня се занимавах с нещо забавно – скрипт за конвертиране на html към tiff, който трябваше на един приятел. Оказа се много забавна задача, особено поради момента, че кирилицата трябваше да работи :) Понеже на още някой може да потрябва, ето го тук:

#!/bin/sh

# by 

#requirements in debian packages:
# apt-get install htmldoc xpdf-reader imagemagick gs-common  libtiff-tools

if [ -z "$2" ]; then
        echo Usage: $0 input-file output-file-prefix
        exit 2
fi

k=`tempfile`
rm -f $k && mkdir $k || exit 8
htmldoc --webpage --continuous $1 -t ps --charset cp-1251 -f $k/OUTPUT.ps
cdr=`pwd`
cd $k || exit 4
ps2pdf OUTPUT.ps
pdftoppm OUTPUT.pdf output
convert output*ppm  $cdr/$2.tiff
cd $cdr || exit 5
rm -rf -- $k

Вероятно може да се напише и по-добре, особено с тая временна директория, но така или иначе си е proof-of-concept. Конвертирането от postscript до PDF се налага, защото htmldoc-а има бъг в генерирането нa pdf-и, а convert-а не се оправя добре с pdf-и и трябва да се мине през ppm. Бая играчка си беше да го подкарам.

Друго интересно няма, освен че ходих пак да слушам на площада пред театъра различни концерти, и си чета Quicksilver. Пуснаха концерт за пиано и оркестър не-помня-кой-номер на Чайковски, беше наистина страхотно (на пианото беше Евгени Кисин, който тогава е бил на 15 години … :) ).

Сънувам странни сънища, с разни мои познати девойки, ама наистина странни сънища, втора вечер подред… Велин май има подобни такива, и мисля, че има някакво проклятие над тоя апартамент…

2004-08-06 00:16

Friday, August 6th, 2004

Laziness, apathy. I’m going out for a walk.
.
It’s nice after a day of apathy, laziness and depressing to go out for a walk… The beer that I drank while walking, and the big box of ice cream, that I bought for home, helped. It was a great box, and didn’t give up easy, but in the end I finished it… I just hope that I won’t get a cold (and I don’t feel like warming myself with heated brandy, it will be too much :) ).

Velin with his last sms message was a killer: “/etc/init.d/boiler start”. Probably he has written a script, that sends me this exact message…

I’m thinking about going back to Dobrich for a few days, I haven’t visited in a long time, to see if the city is still there :)

2004-08-06 00:11

Friday, August 6th, 2004

Мързел, апатия. Излизам да се разходя малко.

Приятно е след цял ден апатия, мързел и депресиране да излезеш да се разходиш … Едната бира, която изпих в движение, и голямата кутия сладолед, която си взех за вкъщи, помогнаха. Страшна кутия беше, и не се даде лесно, но в крайна сметка свърши… Само се надявам да не настина (а не искам да се сгрявам с греяна ракия, много ще ми дойде :) ).

Велин с последния си sms изби рибата: “/etc/init.d/boiler start”. Може да си го е направил на script, който всъщност да ми праща това съобщение на мене …

Обмислям дали да се прибера до Добрич за няколко дни, че отдавна не съм се връщал, да видя дали градът все още си е на мястото :)

2004-08-05 19:27

Thursday, August 5th, 2004

Having traffic analysis of you homepage is a great source of fun. I just found in the stats what search strings are leading to my page, and one of them is “100 голи студентки” (100 naked female students) (http://marla.ludost.net/STATS/vasil.ludost.net/usage_200408.html, at Search strings, right now it’s 14th). I’ll start looking around, there could be some of those around… :)

2004-08-05 19:25

Thursday, August 5th, 2004

Да поддържаш статистика за страницата си е купон. Току-що в анализа видях един от search стринговете, по които ме намират в разни търсачки – “100 голи студентки” (http://marla.ludost.net/STATS/vasil.ludost.net/usage_200408.html, на Search strings, в момента на 14то място). Ще почна да се оглеждам, може някоя от тези студентки да е наоколо … :)

2004-08-05 00:34

Thursday, August 5th, 2004

To blog, and to do some more work …

Today I woke up at around 14:30, and went to finish some things on the servers. Chervarium still hasn’t come back from Yambol, so the gateway will be installed later…

There was a strange problem, the ASDL bridge was grabbing the incoming port 80 connections – that was it’s command interface (the previous one (the USB variant) didn’t do that). I spoke with the people from BTK-net, and one of their support explained the situation to me (and killed all the will I had to configure such thing (not that they give us user and password :) ), the terminology there is idiotic as hell). In the end they flashed a new firmware, and it started working normally (e.g. like a real bridge/router). The support at BTK.net did a great job, all this was fixed quickly and cleanly :)

The network topology is starting to grow bigger, with 5-6 vlans (and 5 servers, one of which still isn’t installed :) ). Most of the things are cleaned up, there are only some minor things left on the control machine (to configure syslog-ng and some other small stuff), and to see when will the big software come, to be installed (which will probably be a problem on it’s own, and will create some more :) ).

After that I went to IBB, where I didn’t stay too much – it started raining (as it turned out – not for too long), and I decided to go home, and on my way to pass through the square at the Theater, where there was a projection of some concerts of Herbert fon Karajan. I managed to pull there Ylith (who hid under my umbrella, and didn’t want to get wet), and Bobson (who came by his own will :) ).

The event turned out fine, nevermind the technical problems, and the long speeches by the conductor. They played the overture to “Vihlelm Tel”, “Poltava” by I-can’t-remember-who, and Symphony no 9 by A. Dvorak. The sitting on the hard bench was well worth it :)