Tweeter buttonFacebook buttonLinkedin button
  • 23 Apr 2012 /  FreeBSD, GNU/Linux, Unix

    Install Icecast from source code:
    Download and install http://downloads.xiph.org/releases/icecast/icecast-2.3.2.tar.gz
    if you are doing it, you aren’t a simple GNU/Linux user and you know install it without guide.

    Install Icevast with apt-get package management

    apt-get install icecast-server
    service icecast-server stop

    Download MP3-Info, MP3-Icecast and MP3-Icecast-Simple Perl modules

    wget http://search.cpan.org/CPAN/authors/id/D/DA/DANIEL/MP3-Info-1.24.tar.gz http://search.cpan.org/CPAN/authors/id/A/AL/ALLENDAY/MP3-Icecast-0.02.tar.gz http://search.cpan.org/CPAN/authors/id/G/GR/GREGORY/MP3-Icecast-Simple-0.2.tar.gz

    Install each package

    perl Makefile.PL
    make
    sudo make install

    Create file streaming.pl and use this code:

    #!/usr/bin/perl
    use MP3::Icecast::Simple;

    $icy = MP3::Icecast::Simple->new(
    description => “Station”,
    server => ’127.0.0.1:8000′,
    password => ‘password’,
    local_port => 1234, # port for stream
    bitrate => 96 # bit rate for stream
    );
    $icy->play(“/Mp3/”); # directory where is locate your mp3 that you want stream

    Now you can listen via http://youripadd:1234
    Use XMMS, mplayer, Winamp, or something like that

  • 11 May 2011 /  GNU/Linux

  • 14 Jan 2011 /  Asterisk IP-PBX, GNU/Linux, VoIP

    There’s just a “issue” for better configuration of Asterisk PBX/DAHDI with OpenVox A400P card under Slackware GNU/Linux 13.1 and here we’re going to see how to fix it.

    Lets go… Obviously, we need to install first (this isn’t a topic of installation):
    DAHDI
    Asterisk

    For setup the card OpenVox A400P we need to disable these modules (we need use wctdm module of DAHDI):

    hisax
    netjet

    So well, we just add these next lines into /etc/modprobe.d/blacklist.conf and next boot there won’t be more conflicts between these modules.

    blacklist netjet
    blacklist hisax

    And that’s all, now we can configure/start the Asterisk IP PBX.

  • 22 Sep 2010 /  GNU/Linux, Unix

    This experience happened when I was changing my home directory to other place/partition, you know there isn’t more free space xD

    The inconvenient for me went when I tried to execute a bash script, and I only got to see:

    /bin/sh: bad interpreter: Permission denied

    And I asked me: WTF? I checked first the script, then the permissions but all were ok, so again I asked me: WTF? so I looked the PATH variable and it was ok… and it was the moment when I decided to ask to san google xD

    And I found the solution!!, the partition was mounted with noexec option and that’s why I couldn’t execute my bash script.

    So the lesson for me was: If you want to execute something, don’t forget use exec option when mount the partition :)

    Have a nice execution!!

  • 21 Sep 2010 /  GNU/Linux

    Some times for some reason it’s necessary to change a home directory of a user and the correct form is using the command usermod:

    usermod -d /new/home username

    For more info about what other things we could do with this command look the man page.

  • 15 Sep 2010 /  FreeBSD, GNU/Linux, Unix

    If you want to make fast work helped by the commands used time ago, maybe you fond useful this tip:

    ctrl + r

  • 20 Jul 2010 /  FreeBSD, GNU/Linux, Unix

    HAProxy is a free, very fast and reliable solution offering high availability, load balancing, and proxying for TCP and HTTP-based applications. It is particularly suited for web sites crawling under very high loads while needing persistence or Layer7 processing.

    HAProxy is known to reliably run on the following OS/Platforms :

    * Linux 2.4 on x86, x86_64, Alpha, SPARC, MIPS, PARISC
    * Linux 2.6 on x86, x86_64, ARM (ixp425), PPC64
    * Solaris 8/9 on UltraSPARC 2 and 3
    * Solaris 10 on Opteron and UltraSPARC
    * FreeBSD 4.10 – 6.2 on x86
    * OpenBSD 3.1 to -current on i386, amd64, macppc, alpha, sparc64 and VAX (check the ports)

    Source:
    http://haproxy.1wt.eu

  • 09 Jul 2010 /  GNU/Linux, Hardware

    The goal of the CMUcam project is to provide simple vision capabilities to small embedded systems in the form of an intelligent sensor. The CMUcam3 extends upon this idea by providing a flexible and easy to use open source development environment that complements a low cost hardware platform. The CMUcam3 is an ARM7TDMI based fully programmable embedded computer vision sensor. The main processor is the NXP LPC2106 connected to an Omnivision CMOS camera sensor module. Custom C code can be developed for the CMUcam3 using a port of the GNU toolchain along with a set of open source libraries and example programs. Executables can be flashed onto the board using the serial port with no external downloading hardware required.

    Source:
    http://cmucam.org

  • 12 May 2010 /  FreeBSD, GNU/Linux, Unix

    Gluster Storage Platform is an open source clustered storage solution. The software is a powerful and flexible solution that simplifies the task of managing unstructured file data whether you have a few terabytes of storage or multiple petabytes. Gluster Storage Platform integrates the file system, an operating system layer, and a web-based management interface and installer.

    Source:
    http://www.gluster.org

  • 11 May 2010 /  GNU/Linux, Unix

    The Nano-X Window System is an Open Source project aimed at bringing the features of modern graphical windowing environments to smaller devices and platforms. Nano-X allows applications to be built and tested on the Linux desktop, as well as cross-compiled for the target device. The Nano-X Window System was previously named Microwindows, but has been renamed due to conflicts with Microsoft’s Windows trademark. There are two APIs implemented in the system, a Win32 API and an Xlib-like API.

    Source:
    http://www.microwindows.org

  • 28 Feb 2010 /  GNU/Linux, Unix


    coreboot (formerly known as LinuxBIOS) is a Free Software project aimed at replacing the proprietary BIOS (firmware) you can find in most of today’s computers. It performs just a little bit of hardware initialization and then executes a so-called payload.

    With this separation of hardware initialization and later boot logic, coreboot is capable of scaling from specialized applications run directly from firmware, operating systems in Flash, and custom bootloaders to implementations of firmware standards like PCBIOS and EFI without having to carry features not necessary in the target application, reducing the amount of code and flash space required.

    Source:
    http://www.coreboot.org

  • 11 Feb 2010 /  GNU/Linux, Unix

    How to see the process tree with ps command?

    There’s some options:

    ps -ejH
    ps axjf

    Or also we can use other command:

    pstree

    More info:
    http://www.linfo.org/pstree.html
    http://linux.die.net/man/1/ps

  • 10 Feb 2010 /  GNU/Linux, Unix

    If you want to know the speed and type of your computer RAM module, it’s a method who helps you.

    So lets begin, we need to use biosdecode command, and this is the correct option:

    dmidecode --type 17

    More info about this:

    http://www.cyberciti.biz/faq/check-ram-speed-linux

    http://linux.die.net/man/8/biosdecode

  • 14 Jan 2010 /  GNU/Linux, Networking, Unix

    trapper is a sniffer & ARP poisoning tool made in perl. The current version supports sniffing protocols like HTTP, FTP, telnet POP3, IMAP, SMTP, MSN, IRC, SMB, SIP, TeamSpeak and VCN. Also this tool include the attack known as APR ( ARP Poison Routing ). More protocols and types of attacks will be added in the future. The development of Trapper was inspired in the excellent tool Cain, but we wanted a tool that also worked under Linux/Unix.

    Features:
    1. Supported protocols: HTTP, SMPT, IMAP, SMB, SIP, POP3, FTP, Telnet, IRC
    2. HTTP Cookie Sniffing
    3. IRC Chat Sniffing
    4. SMPT sniffing (attachments supported)
    5. MSN Chat Sniffing
    6. ARP poison tool
    7. Different types of ARP attack
    8. Fake MAC tool
    9. Firefox cookie injector
    10. Passwords are saved automatically
    11. Lenght of the packet option
    12. Automatic Network Detection
    13. Trapper.conf: You can add your own parameters to sniff HTTP values (yes like Cain); also choose if you wanna save or not the sniffed data and put your own ports on supported protocols

    Source:
    http://nediam.com.mx/trapper/home.html

  • 08 Jan 2010 /  GNU/Linux, Unix

    LXDE is an energy saving and extremely fast and performing desktop solution. It works well with computers on the low end of the performance spectrum such as new generation netbooks and other small mobile computers.

    Source:
    http://lxde.org