HOWTO
Really very short descriptions


Simple (potentially dangerous) scanner configuration: backend mustek_pp using saned:

/etc/sane.d/dll.conf should contain uncommented lines:
net
mustek_pp

/etc/sane.d/net.conf has to contain:
localhost

/etc/sane.d/saned.conf should contain:
+

Add the following line in the /etc/inetd.conf
sane-port stream tcp nowait root.root /usr/sbin/tcpd /usr/sbin/saned

/etc/services has to contain the following line:
sane-port 6566/tcp



Debian lenny netinst using pendrive

Pendrive is seen as USB hard disk, so at first one has to find debian lenny hard disk installation files.
Four files are needed for all the installation process:
1. boot.img.gz
2. initrd.gz
3. vmlinuz
4. debian-LennyBeta2-i386-netinst.iso
First three filen can be found in the debian lenny hd-media directory, the last one is netinst CD image prepared for creating bootable installation CD.
The critical point here: all four files have to have the same creation date, and believe me: it is not easy to find such files in the debian web pages and ftp servers.
Collect all four files in the separate directory of the linux computer, put the USB pendrive into the USB socket, find the name of the special device created by the system for pendrive: let it be /dev/sdb.
If the system wants to mount pendrive, when it is plugged in, press cancel.
As root enter the directory, where all four files exist, then execute the command:
zcat boot.img.gz > /dev/sdb
DOS partitionless bootable system is created on pendrive. Now it is necessary to mount it somewhere in the file system: let the mount point will be /mnt/pen.
mount /dev/sdb /mnt/pen
Now copy the rest of files to pendrive:
cp initrd.gz vmlinuz debian-LennyBeta2-i386-netinst.iso /mnt/pen
and flush data to disks:
sync
Now umount pendrive:
umount /mnt/pen
and you can install debian lenny on another computer.




Wireless network configuration preparation for WPA encoding

Description of the configuration for linux debian OS.
Output of the following command

wpa_passphrase myssid mywpapassword

copy to the file /etc/wpa_supplicant.conf.
Example network configuration file /etc/network/interfaces can look as follows:

auto wlan0
iface wlan0 inet dhcp
    up wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
    down killall wpa_supplicant

When done, restart your notebook.