Some times we need to limit the traffic that uses some applications. In my case, when I download big files. So:

If we use wget, It is doted with –limit-rate option that permits set the limit of traffic.

Example:
# wget –limit-rate=50k http://lexo.lx-networks.net/testingfile.gz

This example limits wget to uses 50KBps maximum of download traffic.

But … ¿what’s up when we need use other application that it hasn’t the same option like this? Don’t worry, looking for it option I found a solution to do it. :D

trickle: is a portable lightweight userspace bandwidth shaper. It can run in collaborative mode (together with trickled) or in stand alone mode.

It works by taking advantage of the unix loader preloading. Essentially it provides, to the application, a new version of the functionality that is required to send and receive data through sockets. It then limits traffic based on delaying the sending and receiving of data over a socket. trickle runs entirely in userspace and does not require root privileges.

Example:
# trickle -s -d 120 -u 100 firefox

This example limits to firefox uses 120KBps for download and 100KBps for upload of traffic.

These are simple methods, because we can use traffic control at kernel level.

1. Enjoy The Silence (Future Mix)
2. Enjoy The Silence (Joachim Garraud Remix)
3. Enjoy The Silence (D’azzo At Night Exeteded GuiEh)
4. Enjoy The Silence (Gasparian 2008 Mix)
5. Enjoy The Silence (Growling Machines Remix 2008)
6. Enjoy The Silence (DJ Aptekar’ Crazy 2008 Edit)
7. Yvan & Dan Daniel - Enjoy The Silence (Minimal Chic 4 Big Room Remix)
8. Enjoy The Silence (Léo Master Private Mix)
9. Enjoy The Silence (Tony Costa House Mix)
10. Yvan & Dan Daniel - Enjoy The Silence

Download here

If you’re vexed of see the classic Tcl/Tk dialogs windows, now with this plugin you can forget some classic dialogs( Open File, Save As, Info Boxes and Yes-No Questions) wen you use aMSN.


*KNOWN ISSUES:

Only a dialog can be opened at a time.
It’s for KDE or GNOME.

Download plugin here.

These are good minimal live sets that you should download.

Richie Hawtin @Aztek Festival Slovakia 2008

Richie Hawtin @538 Dance Department 11-25-2007

Richie Hawtin @Bedroom 04-02-07, Essential Minimal Mix

Some times we don’t want that command print out messages, and we need to clean all out messages (error or standard out) that it generates. For to solve this, we are going to use the I/O facility provided by BASH.

BASH provide 3 file descriptors, and they are:
0 - stdin - Used for get data.
1 - stdout - Used for write standard data into screen.
2 - stderr - Used for write error messages into screen.

So, using redirector (>) we can redirect(obviously) this data/messages wherever we want and also files.

Examples:
¿How to redirect error messages(stderr) to standard out(stdout)?

ls this.file.doesnt.exist 2>&1

¿How to redirect error messages(stderr) to limbo(/dev/null)?

ls this.file.doesnt.exist 2> /dev/null

¿How to redirect error(stderr) and standard out(stdout) messages to limbo?

ls this.file.doesnt.exist &> /dev/null
or
ls this.file.doesnt.exist 2> /dev/null 1>&2



- Download it here: Lasgo - Something - (Club Mix).mp3

Today I was installing DAHDI Linux 2.1.0.4 with OSLEC support and this is my little experience with it…

I needed modify drivers/dahdi/Kbuild

# Only enable this if you think you know what you’re doing. This is not
# supported yet:
obj-m += dahdi_echocan_oslec.o
#
# A quick and dirty way to build OSLEC, if you happened to place it
# yourself in the dahdi source tree. This is experimental. See README
# regarding OSLEC.
#obj-m += ../staging/echo/
obj-m += ../staging/echo/echo.o

After I did it, I needed copy echo directory from the kernel linux-2.6.28.7 sources indahdi-linux-2.1.0.3/drivers/staging

cd dahdi-linux-2.1.0.3/
mkdir drivers/staging
cp -r /usr/src/linux-2.6.28.7/drivers/staging/echo drivers/staging

So… I installed the package and enabled the card with OSLEC echo canceller.

If you want to transform some pixmap image into vector, this is a tool for convert it into vector format.

potrace -s picmappic.bmp ; gimp picmappic.svg

More info: Link

Online alternatives: magnigraph



This is my little experience with pfSense 1.2.2…

Today I’m fixing my firewall. It was running with 4GB HDD and full install of pfSense 1.2.0. I’m fixing it because I have experimented problems with the HDD. It was running great years ago, but now it’s past.

So… What I need to do before to remove the HDD and power off the Contivity 100?
- Extract the full configuration. Don’t forget to enable serial console.
- Backup other files, because I installed extra packages.

What problems I experimented with the new installation?
- When it’s booting with DMA support.
For to resolve the problem:

echo hw.ata.ata_dma=\”0\” >> /boot/loader.conf

- When I turn off directly.
Replace in /etc/rc

/sbin/mount -a

for

/sbin/mount -a || /sbin/fsck -y && /sbin/mount -a || /sbin/fsck -y

If you have this problem maybe other program is using the snd resource, so, you need know which is the program is using it. You can do it with lsof, and kill the process.

~# lsof | grep pcm ; lsof | grep dsp
xmms 17613 lexo mem CHR 116,8 12785 /dev/snd/pcmC0D0p
xmms 17613 lexo 10u CHR 116,8 12785 /dev/snd/pcmC0D0p

~# fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: lexo 5468 F…. mixer_applet2
lexo 18351 F…. xmms
/dev/snd/pcmC0D0p: lexo 18351 F…m xmms
/dev/snd/timer: lexo 18351 F…. xmms


* /etc/init.d/alsa-utils reset card

¿A quién le ha pasado? Que mal día…



Hace tiempo que me encontré éste sitio: The Bongo Project, creado por Daniel Reid, un estudiante de Algoma University. Y no es más que un proyecto con el cual es posible conseguir trasmitir datos a través del sonido emitido por Bongos.

Las pruebas realizadas fueron hechas con un simple ping a una velocidad de 2bps.

Hace apenas unos días he recibido un correo por parte de un proveedor de servicio de telefonía ip (V2 de MCM - Megacable Comunicaciones de México), que por 1 peso mas iva te ofrecía la posibilidad de elegir entre un numero telefónico del df, gdl, o mty. Ahora llega a su muerte para el 31 de Diciembre del 2008.

En lo personal puedo decir que ya veía venir su muerte, pues desde un inicio el soporte no fue bueno, y unos meses mas tarde se torno pésimo. Pues era imposible conseguir soporte.

Ahora si que todo aquello parecía y parece, un lugar muerto. Y no se como es que duro de pie tanto tiempo, ya que nunca vi invirtieran en estrategias comerciales, y aun peor, sus tarifas no fueron nunca competitivas, y una de las estrategias que los condeno desde sus inicios fue, que nos querían hacer dependientes de un software para hacer uso del servicio(aunque existían formas de evitarlo).

Lastima, por 3 pesos tenia presencia telefónica local en 3 estados de la república.

-
http://v2.com.mx/
http://www.mcmtelecom.com.mx

Navegando por el sitio estrafalarius he encontrado unos vídeos que vale la pena no dejar de ver/escuchar.

Comenzando por una patética solución a la actual crisis económica.





Y terminando con una tremenda realidad.