Aleš Zemene's Blog

Wednesday, March 21, 2007, 12:13 PM ( 1 view )
sudo apt-get install mingetty openbox
install Firefox version >= 2.0.0
install r-kiosk : https://addons.mozilla.org/mozilla/1659/
________________________________________
edit /etc/inittab, change :

#2:23:respawn:/sbin/getty 38400 tty2
2:2:respawn:/sbin/mingetty --autologin user tty2
_________________________________________________
~/.bashrc :

set DISPLAY=:0.0
if [ $(tty) == /dev/tty2 ];
then
echo "starting X ..."
./.xloop
fi
_________________________________________________
~/.xloop :

#!/bin/bash
while true
do
xinit
sleep 33
done
_________________________________________________
~/.xinitrc :

#!/bin/bash
xterm&
firefox my-home-site.net&
openbox
_________________________________________________

chmod a+x ~/.xinitrc ~/.xloop
_________________________________________________
reboot and enjoy

Sunday, March 11, 2007, 10:39 AM ( 17 views )
PROBLEM :

apt-get update
....
Release: The following signatures couldn't
be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: You may want to run apt-get update to correct these problems


SOLUTION :

gpg --keyserver wwwkeys.eu.pgp.net --recv-keys 07DC563D1F41B907

apt-key add /root/.gnupg/pubring.gpg

apt-get update ....
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
If we add the repository http://www.debian-multimedia.org on Debian testing
it can happen that when we try to execute the comand apt-get update, we see a GPG error:

W: GPG error: http://www.debian-multimedia.org squeeze Release:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907

To solve this problem we need to install the debian-keyring package

# apt-get install debian-keyring

And then execute this command:

# gpg --keyring /usr/share/keyrings/debian-keyring.gpg -a --export 07DC563D1F41B907 |apt-key add -

After that, when we try to execute apt-get update, there will be no the GPG error anymore.

Friday, March 9, 2007, 04:01 PM ( 81 views )
dpkg-reconfigure xserver-xorg

xserver-xorg postinst warning: not updating /etc/X11/xorg.conf;
file has been customized

sudo sh -c "readlink /etc/X11/X : md5sum > /var/lib/x11/X.md5sum"

Friday, March 9, 2007, 03:54 PM ( 65 views )



########################################################################
apt-get install kernel-package
apt-get install zlib1g-dev
wget ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.tar.bz2
tar xvjf linux-2.6.29.tar.bz2
ln -s linux-2.6.29 linux
cd linux
make mrproper
bzcat ../patch-2.6.29-rt3.bz2|patch -p1
make menuconfig
make-kpkg clean
make-kpkg --rev 01.X --initrd kernel_image
cd ../
dpkg -i mynewkernel.deb
########################################################################



########################################################################


Tuesday, February 20, 2007, 03:07 PM ( 17 views )
to create bug running over your canvas
and change color, send message containing
[<name> pos $1 $2< to your GUI object
for example like this :



then you put bang and change its properties :





Tuesday, February 20, 2007, 01:32 PM ( 18 views )
Traffic shaping is an attempt to control computer network traffic in order to optimize or guarantee performance, low latency, and/or bandwidth. Traffic shaping deals with concepts of classification, queue disciplines, enforcing policies, congestion management, quality of service (QoS), and fairness.

Traffic shaping provides a mechanism to control the volume of traffic being sent into a network (bandwidth throttling), and the rate at which the traffic is being sent (rate limiting). For this reason, traffic shaping schemes are commonly implemented at the network edges to control traffic entering the network. This control can be accomplished in many ways for many reasons.

Simple traffic shaping schemes like leaky bucket and token bucket rely on shaping all traffic uniformly by rate. More sophisticated techniques identify traffic using various means (matching bit patterns of data to those of known protocols is a simple, yet widely-used technique. An example to match the BitTorrent Protocol Handshaking would be a simple check to see if a packet began with character 19 which was then followed by the 19-byte string 'BitTorrent protocol'.[1]) and, upon identifying a traffic flow using a particular protocol, applies a policy on it and other flows to either guarantee a certain quality (as with VoIP) or to provide best-effort delivery. This may be applied at the ingress point (the point at which traffic enters the network) with a granularity that allows the traffic-shaping control mechanism to separate traffic into individual flows and shape them differently

Tuesday, February 20, 2007, 01:31 PM
your starting path will lead probably here :
http://www.netfilter.org/



Back Next