-
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
AsteriskFor setup the card OpenVox A400P we need to disable these modules (we need use wctdm module of DAHDI):
hisax
netjetSo 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 hisaxAnd that’s all, now we can configure/start the Asterisk IP PBX.
-
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 usernameFor more info about what other things we could do with this command look the man page.
-
If you want to make fast work helped by the commands used time ago, maybe you fond useful this tip:
ctrl + r
-
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 -
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 -
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 -
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 -
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 -
How to see the process tree with ps command?
There’s some options:
ps -ejH
ps axjfOr also we can use other command:
pstreeMore info:
http://www.linfo.org/pstree.html
http://linux.die.net/man/1/ps -
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 17More 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 -
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 -
If you want to see all rules of you firewall with PF using terminal you can do it with:
pfctl -s rulesWe need to do it because the web manager of pfSense only shows the rules that you add by yourself, but there’s more roles created by default.
More info
