Tweeter buttonFacebook buttonLinkedin button
  • 17 Dec 2009 /  Bluetooth, GNU/Linux, Unix

    If you want to know how’s the signal with your bluetooth device maybe you want to make a ping to it, like common ping used in IP networks.

    So, for make it in bluetooth networks we have to use l2ping, for example:

    # l2ping 00:11:C0:19:C9:C1
    Ping: 00:11:C0:19:C9:C1 from 00:1A:6B:DC:F1:A1 (data size 44) ...
    44 bytes from 00:11:C0:19:C9:C1 id 0 time 14.61ms
    44 bytes from 00:11:C0:19:C9:C1 id 1 time 48.58ms

  • 10 Dec 2009 /  GNU/Linux, Unix

    Motion is a program that monitors the video signal from one or more cameras and is able to detect if a significant part of the picture has changed. Or in other words, it can detect motion.

    The program is written in C and is made for the Linux operating system.

    Motion is a command line based tool. It has absolutely no graphical user interface. Everything is setup either via the command line or via a set of configuration files (simple ASCII files that can be edited by any ASCII editor).

    The output from motion can be:

    * jpg files
    * ppm format files
    * mpeg video sequences

    Source:
    http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome

  • 08 Dec 2009 /  FreeBSD, GNU/Linux, Networking, Unix

    n2n is a layer-two peer-to-peer virtual private network (VPN) which allows users to exploit features typical of P2P applications at network instead of application level. This means that users can gain native IP visibility (e.g. two PCs belonging to the same n2n network can ping each other) and be reachable with the same network IP address regardless of the network where they currently belong. In a nutshell, as OpenVPN moved SSL from application (e.g. used to implement the https protocol) to network protocol, n2n moves P2P from application to network level.

    The main n2n design features are:

    * An n2n is an encrypted layer two private network based on a P2P protocol.
    * Encryption is performed on edge nodes using open protocols with user-defined encryption keys: you control your security without delegating it to companies as it happens with Skype or Hamachi.
    * Each n2n user can simultaneously belong to multiple networks (a.k.a. communities).
    * Ability to cross NAT and firewalls in the reverse traffic direction (i.e. from outside to inside) so that n2n nodes are reachable even if running on a private network. Firewalls no longer are an obstacle to direct communications at IP level.
    * n2n networks are not meant to be self-contained, but it is possible to route traffic across n2n and non-n2n networks.

    Source:
    http://www.ntop.org/n2n/

  • 08 Dec 2009 /  GNU/Linux, Unix

    PacketFence is a fully supported, Free and Open Source network access control (NAC) system. PacketFence is actively maintained and has been deployed in numerous large-scale institutions over the past years. It can be used to effectively secure networks – from small to very large heterogeneous networks. PacketFence has been deployed in production environments where thousands of users are involved. Among the different markets are :

    * banks
    * colleges and universities
    * engineering companies
    * manufacturing businesses
    * school boards (K-12)

    .. and many more!

    Released under the GPL, PacketFence offers an impressive amount of features.

    Source:
    http://www.packetfence.org

  • 08 Dec 2009 /  GNU/Linux, Unix

    It is an alternative for a NetworkManager who some time makes me crazy when it doesn’t work as I like. And I have to kill it for work.

    Wicd is an open source wired and wireless network manager for Linux which aims to provide a simple interface to connect to networks with a wide variety of settings.

    Some of Wicd’s features include:

    1. No Gnome dependencies (although it does require GTK), so it is easy to use in XFCE, Fluxbox, Openbox, Enlightenment, etc.
    2. Ability to connect to wired (Ethernet only, no PPPoE/DSL support yet) and wireless networks
    3. Profiles for each wireless network and wired network
    4. Many encryption schemes, some of which include WEP/WPA/WPA2 (and you can add your own)
    5. Remains compatible with wireless-tools
    6. Tray icon showing network activity and signal strength
    7. A full-featured console interface

    There are instructions for installing Wicd on Ubuntu, Debian, Arch, Fedora, Slackware, and Gentoo on the downloads page, although it should work on any Linux distro.

    Source:
    http://wicd.sourceforge.net/

  • 23 Nov 2009 /  GNU/Linux, Unix

    Open1X is an open source implementation of the IEEE 802.1X protocol. This project includes support for the supplicant, while other projects (e.g., FreeRADIUS) provide support for the authentication server.

    Source:
    http://open1x.sourceforge.net

  • 18 Nov 2009 /  GNU/Linux, Unix

    LiVES is a Video Editing System. It is designed to be simple to use, yet powerful. It is small in size, yet it has many advanced features.

    And the most important thing is … LiVES is a Free, Open Source video editor *and* a VJ tool.

    Source:
    http://lives.sourceforge.net/

  • 23 Sep 2009 /  FreeBSD, GNU/Linux, Software, Unix

    Scribus is an Open Source program that brings award-winning professional page layout to Linux/UNIX, Mac OS X, OS/2 Warp 4/eComStation and Windows desktops with a combination of “press-ready” output and new approaches to page layout. Underneath the modern and user friendly interface, Scribus supports professional publishing features, such as CMYK color, separations, Spot Colors, ICC color management and versatile PDF creation.

    Manual (Spanish) written by Antonio Cobo Cuevas, Profesor of informatics in I.E.S. Fuente de la Peña (jaen)

  • 22 Sep 2009 /  FreeBSD, GNU/Linux, Unix

    shebang/hashbang/haspling is…

    #! <- The first two characters used in Unix-like in a script file, they're read by the program reader looking for the interpreter of this script, that is specified after the shebang. For example:

    #! /bin/sh

  • 20 Aug 2009 /  GNU/Linux, Unix

    Edit your .vimrc settings file to include the following line:

    set enc=utf-8

    And you should be able to edit a UTF-8 file in Windows using gvim.
    For Linux, just set the locale to utf-8 such as:

    export LANG=en_SG.UTF-8

    Source: http://research.mosuma.com/faq/howto/vim-utf8

  • 20 Jun 2009 /  FreeBSD, GNU/Linux, Unix

    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.

  • 08 May 2009 /  Unix

    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.

  • 21 Feb 2009 /  pfSense, Unix

    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

  • 18 Feb 2009 /  GNU/Linux, Unix

    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

  • 20 Oct 2008 /  GNU/Linux, Unix

    Hace tiempo que no me veía en la necesidad de hacer uso de MySQL y he olvidado como crear usuarios con full privileges para una db.

    Aquí les dejo la linea que se ocupa para de crear un usuario test con password tester, con full access a la db test y con capacidad para acceder desde cualquier lugar(mientras el servidor y firewall lo permita cuando se cuenta con alguno).

    mysql> GRANT ALL PRIVILEGES ON test.* TO 'test'@'%' IDENTIFIED BY 'tester';

    Recuerden que hay que entrar por consola usando el cliente mysql y como administrador.