dimarts, 27 de setembre del 2011

My Cisco Labs: GNS3 Duplex Mismatch Messages

My Cisco Labs: GNS3 Duplex Mismatch Messages: When Cisco devices are connected to one another and CDP is enabled (which it is by default), if one port is configured as full duplex but th...  

R3(config)#no cdp log mismatch duplex

divendres, 20 de maig del 2011

dimecres, 27 d’abril del 2011

nginx + PHP + FreeBSD

Investigació bibliografica per internet...



Instal·lació:
[root@nginx ~]cd /usr/ports/www/nginx && make install clean
[...]
[root@nginx ~]# echo "nginx_enable="YES"" >> /etc/rc.conf


Configuració a /usr/local/etc/nginx/nginx.conf

Acceleració:
Fer servir un volum tmpfs per accelerar encara mes la cache del nginx:
Cal fer coincidir el punt de muntatge del tmpfs amb la conf del nginx on guarda la cache.

  • Versio a manija:

[root@nginx ~]#mount -t tmpfs tmpfs /data/nginx/cache

  • Versio automatica pesistent a reinicis:


No s'ha d'oblidar l'advertencia:

Jan  4 11:05:07 nginx kernel: WARNING: TMPFS is considered to be a highly experimental feature in FreeBSD.



Accessoris:



Instal·lar VMware tools en una VM


Es interessant instal·lar desde el repositori de la propia VMware:


I instal·lar el paquet que vulguis. Si es per un server, es recomanable el -nox-

Bibliografia:

divendres, 15 d’abril del 2011

Ubuntu 10.10 en un Toshiba Dynabook UX/ NB200 / NB205

Cal retocar els parametres d'arrencada del nucli que venen en el GRUB:

sudo vim /etc/default/grub

Buscar la linia
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

i canviar-la per:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nolapci_timer clocksource=jiffies"

Actualitzar el GRUB:
sudo update-grub

reboot

Altres formes:

LiveCD:
  • Despres del boot, despres de la BIOS premer [ESC] per entrar al prompt del syslinux
  • escriure "live intel_idle.max_cstate=0" i [enter]

Despres d'instal·lar:
  • Despres del boot, despres de la BIOS, premer [shift] esquerra per tenir el prompt del GRUB
  • Premer [e] per editar els parametres de boot, afegir "intel_idle.max_cstate=0" despres de "splash"
  • Premer [ctrl + x] per fer el boot.

dijous, 17 de març del 2011

VLAN Access Control Lists (VACLs)


When you want to filter traffic that is moving from one VLAN to another, things are real CCNA-like and friendly :-)We use an Access Control List. In fact, we should elaborate on that term a bit now in light of this discussion. We actually use a Router-based Access Control List or RACL.
But what if we want to filter traffic that is flowing within a VLAN? On no, a Router-based Access Control List cannot help us! This is when we turn to the VLAN Access Control List. To help us understand this feature, let us create a topology and a sample scenario.
NOTA: es un recordatori, cal traduir i adaptar l'article.
Suposant que volem filtrar la VLAN 55, quan s'enrouta. En el switch que fa el IVR, apliquem la llista d'acces següent:

Literatura:



dijous, 10 de març del 2011

Configurar el Syslogd del MacOS X

Editar l'arxiu /etc/syslog.conf :
Afegir
*.*                                       @192.168.1.12
o
*.*                                       @192.168.1.12:5140
si no fem servir el port estandad, i reniciar el syslogd:

Per saber si esta en marxa i enviant els logs, podem injectar algo en el syslog:

i el el servidor de syslog hem de veure:


dimarts, 1 de març del 2011

Enabling High Performance Data Transfers


System Specific Notes for System Administrators (and Privileged Users)


These notes are intended to help users and system administrators maximize TCP/IP performance on their computer systems. They summarize all of the end-system (computer system) network tuning issues including a tutorial on TCP tuning, easy configuration checks for non-experts, and a repository of operating system specific instructions for getting the best possible network performance on these platforms
This material is currently under active revision. Please send any suggestions, additions or  corrections to us at nettune@psc.edu so we can keep the information here as up-to-date as possible.

dimarts, 1 de febrer del 2011

Eliminar Apple Remote Desktop

Per desinstal·lar totalment el Apple Remote Desktop, s'ha d'esborrar a manija:
Esborrar l'aplicació i


Instruccions d'Apple: Uninstalling the Administrator Software


Mes info en els Forums de suport d'Apple: http://discussions.info.apple.com/message.jspa?messageID=10056322

Si la rao d'esborrar es perque l'aplicació casca, abans de posar el SN ni obrir, cal actualitzar l'aplicació descarregant de la web l'actualitzador: http://support.apple.com/downloads/#appleremotedesktop

dimecres, 26 de gener del 2011

Exportar directoris via NFS amb Snow Leopard

Robat de: How to Share Directories over NFS with Mac OS X by Chris BeHanna, chris@behanna.org


Edita /etc/exports:

Afegeix una linia com la següent (suposant que la xarxa es 192.168):

/Users -alldirs -network 192.168.0.0 -mask 255.255.0.0

Activa nfsd:

O reinicia el nfsd:

Verifica els exports: showmount -e

Munta el directori desde una alte maquina:

Per un altre Unix, pot haver-se de fer servir la comanda mount -t nfs.

divendres, 7 de gener del 2011

ghettoVCBg2 - Free alternative for backing up VMs in ESX(i) 3.5 and 4.x


This tool is the follow up release of the ghettoVCB backup utility which allows users to perform backups of virtual machines residing on ESX(i) 3.5+/4.x+ servers using methodology similar to VMware's VCB tool. By incorporating highly constructive feedback from the VMware  community and utilizing the existing VI API, ghettoVCB’s framework was  completely rewritten to be harder, better, faster, stronger.

The primary motivation for ghettoVCBg2 was to provide ESXi users with  access to the utility without relying on unlocking and utilizing the  unsupported console. To satisfy this requirement, the rebuilt framework  takes advantage of the
VI Perl Toolkit/vSphere SDK for Perl which is present in the
VIMA/vMA virtual appliance provided by VMware. As a result, ghettoVCBg2 provides  a more proper backup solution that administrators can utilize in their  virtual infrastructure.



TextMate Bundle Management

Installing and managing TextMate bundles has always been a pain. You have to check it out from source, figure out where in the filesystem it goes, and restart TextMate.

Fortunately, someone was clever enough to make an automated solution to this problem. It handles all these cases: fetching the source, putting it in the right place, and reloading TextMate.

It’s available on GitHub as a gem, so you’d think you’d be able



Not so much. The executable the gem seems broken. Let’s install it by hand:



Now let’s see what’s available:



Lots of goodies. Let me just install a few for the stuff I regularly use…



If you happened to installed one of these in the past, you’ll need to uninstall it first.



That’s all there is to it.

By josh on technical stuff @ http://technicalpickles.com/

dilluns, 3 de gener del 2011

Estat de la memoria en FreeBSD

Necessites l'estat de la memoria per traçar amb el Cacti, amb la sortida de Linux?
Hi ha varies opcions:





i si ho hem de cridar desde un script:

Una altre opció força xula, pero la sortida no es igual a la de linux es l'script freebsd-memory:

Font de l'script: