Blogs

bitfrost's picture

Ver Modelo de Computador o Servidor

Para ver la Marca del "chassis" de nuestro computador:

dmidecode | grep -A3 '^System Information'

Saludos

bitfrost's picture

Lista Georeferenciada

Para obtener un lista de direcciones Ip Por Paises:

http://www.ip2location.com/blockvisitorsbycountry.aspx

Así podremos proteger nuestro sitio de visitas externas.

Saludos

bitfrost's picture

TRACEROUTE

Esta es una manera de hacer traceroute a puertos especificos, util cuando bloquean el Ping y tu no puedes conocer la latencia a ese puerto:

traceroute -T xx.xx.xx.xx --port=9090

bitfrost's picture

Mikrotik Scripting

:global pepito 100
:foreach pepito in=[/ip dhcp-server lease find where !dynamic] do={:put [/ip dhcp-server lease get number=$pepito value-name=address]}

bitfrost's picture

Mikrotik + Snort

sudo ./trafr -s | sudo snort -A console -q -u snort -g snort -c /etc/snort/snort.conf -i enp0s16

sed -e 's/#.*$//' -e '/^$/d'

ipvar HOME_NET any
ipvar EXTERNAL_NET any

bitfrost's picture

Balanceo

/ip firewall address-list
add address=10.10.10.152/29 list=Connected
add address=10.10.11.64/30 list=Connected
add address=172.16.0.0/16 list=Connected
add address=172.16.0.0/16 list=LAN

bitfrost's picture

Adicionar Disco Duro PROXMOX

root@proxmox:~# cfdisk /dev/sdb

Disk has been changed.

WARNING: If you have created or modified any
DOS 6.x partitions, please see the cfdisk manual
page for additional information.

bitfrost's picture

Installing POS (Point of Sale) Printer

First we need to install some dependencies:

apt-get install libusb
apt-get install libusb-dev

After that

perl -MCPAN -e shell

cpan[6]> install Printer::ESCPOS

Happy Printing!!!

Proxmox Backup

Esta línea para realizar un respaldo hacia un contenedor:

bitfrost's picture

Deshabilitar Reglas Mikrotik Mediante Busquedas

Nuf Said!

[admin@MikroTik] > ip firewall filter print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; pepito de los palotes grandotes

bitfrost's picture

OpenDNS Family Control

Use to block Fariless sites:


208.67.222.123
208.67.220.123

You can input this dns on Mikrotik, or another router, it is not 100% but it will do its job.

bitfrost's picture

Configurar Wireshark en Ubuntu

Luego del acostumbrado apt-get install wireshark, debemos ingresar nuestro usuario a el grupo Wireshark de esta manera le damos acceso para captura pero sin darle demasiados permisos con usuario root

bitfrost's picture

Como ver y borrar caracteres especiales

Para ver los caracteres especiales con VI:


:set list

Para borrar los caracteres especiales en PERL


$str =~ s/\W//g;

bitfrost's picture

INSTALAR EL MEDIOAMBIENTE JAVA UBUNTU 10.04

PARA INSTALAR EL MEDIOAMBIENTE JAVA

INCIAR COMO USUARIO ADMINISTRADOR Y EN UNA TERMINAL(APPLICACIONES, ACCESORIOS, TERMINAL) EJECTURAR

sudo su (ingresar el password)

bitfrost's picture

CIDR Facebook para Mikrotik

"/ip firewall filter address list
add address=31.13.24.0/21 list=facebook_cdir
add address=31.13.64.0/18 list=facebook_cdir
add address=66.220.144.0/20 list=facebook_cdir

bitfrost's picture

Factory Reset Yealink T-18 / Reinicializar de Fabrica Yealink T-18

Para reinicializar este telefono a las configuraciones de fabrica es necesario presionar el boton "TRAN" por al rededor de 10 segundos, luego de que la luz parpadee seguido dos veces se debe presionar

bitfrost's picture

Bloquear Facebook por Horas en GNU/LINUX - IPFIRE

Saludos estimados,

Aquí les dejo como bloquear Facebook(u otra pagina) por horarios:

bitfrost's picture

Agregar Opcion TFTP para CISCO en Mikrotik 6.x

En la nueva version de Mikrotik es necesario agregar la ip como se indica abajo, caso contrario nos dará un error.

/ip dhcp-server option
add code=66 name=TFTP-CISCO value="'xxx.xxx.xxx.xxx'"

richi's picture

Administrar un ciber cafe con linux

Saludos amigos necesito administrar un ciber cafe con linux alguin conoce algun programa que haga este tipo de administracion? estoy utilizando Mint 14 en todas las maquinas.

richi's picture

Arparduino 100% software y Hardware Libre

Saludos amigos de Crice llego con un blog que abri hace mas o menos un año atrás es sobre un proyecto que hice 100% en software y hardware libre, el proyecto esta en http://arparduino.blogspot.com/ pu

bitfrost's picture

Netwatch Simple en Mikrotik

/tool netwatch
add down-script="/tool e-mail send \\\r\
\n to=monitoreo@mail.com \\\r\
\n subject=\"Perdida Conectividad\"\r\

bitfrost's picture

rdesktop CapsLock error

Para solucionar el error del CapsLock

http://brainextender.blogspot.com/2009/05/ubuntu-rdesktop-caps-lock-key-wont-work.html

"To fix it just edit the file

/usr/share/rdesktop/keymaps/common

bitfrost's picture

Facturacion en Perl en Debian 7.0

Para instalar la facturacion en PERL, debemos bajar los siguientes archivos una vez que el sistema este instalado al minimo:

apt-get install perl-tk
apt-get install libdbi-perl

bitfrost's picture

Convertir Direccion IP a formato Hexadecimal

A veces es necesario convertir la direccion IP normal que tenemos a formato Hexadecimal, existe una pagina web que nos ayuda en eso:

http://www.kloth.net/services/iplocate.php













Syndicate content