21 авг. 2009 г.

maemo sdk get dns to work

When I have installed Maemo-4.1 SDK on my Gentoo Linux desktop, I found out that name resolving isn't working. Even when I adjust /etc/resolv.conf in the scratchbox I couldn't get dns to work.

The solution is simple. There is another copy of resolv.conf which used for name resolving purposes. It is in the /scratchbox/etc/resolv.conf. But I can edit and save this file only from host system.

5 авг. 2009 г.

ssh unable to initialize mechanism library [/usr/lib/gss/gl/mech_krb5.so]

[ tuxr @ ~  ] $ ssh user@host

unable to initialize mechanism library [/usr/lib/gss/gl/mech_krb5.so]

xmalloc: zero size

Знакомая ошибка на solaris 9? Решение: в конфиг /etc/ssh/ssh_config добавить строки

GSSAPIAuthentication=no GSSAPIKeyExchange=no StrictHostKeyChecking no

Тоже  самое для сервера:

 /etc/ssh/sshd_config GSSAPIAuthentication=no GSSAPIKeyExchange=no