All articles, tagged with “debian”

Об уважении

Назвал человек админов красноглазыми, а они возьми и обидься. И посоветуй ему в sources.list вставить ссылки на Debian experimental.

Будет плакать и жалеть, что никто не предупредил. А будет поздно.

Update: говорил же, что будет плакать

Замена glibc в Debian

В очереди новых пакетов Debian появилась бибилиотека eglibc, которая придет на замену glibc.

Точно говорю вам, что небо налетит на земную ось!” (с)

Новая библиотека обеспечивает совместимость с API/ABI glibc (хотелось бы верить).

Из интересного лично мне в eglibc улучшена поддержка embedded архитектур.

Потому что Дреппер — такой Дреппер.

Installing Debian on D-Link DNS-323

Advice and update: If you want to install Debian Lenny on your D-Link DNS-323 I suggest you reading HOWTO’s on Martin Michlmayr site and consider this post as an example of building installer.

Big thanks are going to Matthew Palmer and Martin Michlmayr for their part in bringing native Debian support on D-Link DNS-323.

Alas, the patches for debian-installer with support of DNS-323 were too late to include in Lenny. But right now they are integrated in d-i codebase already.

There is another obstacle: debian-installer’s build scripts are strictly against cross-compilation (making d-i cross-compile is an effort comparable to making the sun go down faster with own bare hands).

 

Создание пакетов Debian из пакетов Python

Решил еще раз посмотреть на Orbited (который с последнего раза успел подрасти на четыре версии).

Сразу задумался о том, что если ставить пакеты Python рекомендуемым в их туториале методом (easy_install), то потом придется долго и мучительно все это вычищать.

 

Sub-pixel font rendering in Debian

Just in case I’ll need it later.

To turn on sub-pixel font rendering (w/o KDE/GNOME) in Debian you should run

$ sudo dpkg-reconfigure -fdialog fontconfig-config

and chose Autohinter and Always. Then restart X Window.

Setting up PPPoE connection in Debian

This is repost from old times when I worked at local ISP.

To get working PPPoE connection in Debian you need to install pppoe and pppoeconf packages.

$ sudo aptitude install pppoe pppoeconf

In file /etc/ppp/chap-secrets add string like this:

"login" * "password" *

File /etc/ppp/peers/dsl-provider must contain these commands:

user login_from_chap_secrets
pty "/usr/sbin/pppoe -I eth0 -T 80 -m 1452"
noipdefault
defaultroute
hide-password
lcp-echo-interval 20
lcp-echo-failure 3
connect /bin/true
noauth
persist
mtu 1500
noaccomp
default-asyncmap

File /etc/network/interfaces must contain PPP interface definition:

auto ppp0
iface ppp0 inet ppp
        provider dsl-provider

As result PPPoE connection will be established at boot through xDSL bridge connected to network interface eth0.

python-openid bug resolved

Looks like python-openid bug I stumbled upon earlier that prevented Byteflow OpenID server interaction with OpenID 1.0 RP was resolved both in upstream (darcs repo) and via patch for current Debian package.

--- a/openid/server/server.py   2008-03-20 21:31:33.000000000 +0200
+++ b/openid/server/server.py   2008-03-20 21:31:45.000000000 +0200
@@ -609,6 +609,8 @@ class CheckIDRequest(OpenIDRequest):
                  "claimed_id")
             raise ProtocolError(message, text=s)

+        elif self.identity:
+            self.claimed_id = self.identity
     else:
         self.claimed_id = None

Orbited dependency on Python 2.5

Looks like Orbited depends on Python 2.5 (instead of 2.4+). With default 2.4 in Debian it becomes a little problem.

With if you (like me) are using Orbited/Django/Debian combination you should use easy-install-2.5 during installation and add python2.5 instead python in the beginning of manage.py.

It will be necessary until 2.5 becomes default python in Debian (dottedmag, I’m looking at you).

VMware tools in out of box Fedora

Just finished installing Fedora 8 in VMware (personally I prefer using Debian on my desktops; Fedora is for “Linux for Dummies” russian translation) and know what? It automagically installed all drivers (video and mouse) to nicely integrate virtual machine to my main desktop.

No more manual installations of VMware Tools.

Byteflow setup

First we need to setup Apache and mod_python to serve our blog.