Friday, August 17, 2012

Ubuntu 12.04: Font Install/Uninstall

Install with Terminal
1. Make .font directory in your home directory
    $ mkdir .font
2. Download and put font file or files in the .font directory (e.g. Monaco_Linux.ttff)
    $ mv Downloads/Monaco_Linux.ttf.font
3. Register the font
    $ sudo fc-cache -f -v
3. Confirm the install
    $ fc-list | grep Monaco

Install with GUI

Uninstall
1. Delete font file (e.g. Monaco.Linux.ttf)
    $ rm Monaco_Linux.ttf
2. Unregister the font
    $sudo fc-cache -f -v
3. Confirm the uninstall
    $ fc-list | grep Monaco

It's better not to install custom fonts to "/usr/share/fonts".

Thursday, August 16, 2012

Monday, August 13, 2012

Wednesday, July 11, 2012

VIM is able to edit a remote file.

$ vim ftp://SERVER_NAME//DIRECTORY_NAME/FILE/NAME

"//" is used between SERVER_NAME and DIRECTORY_NAME


Saturday, April 14, 2012

Arp cache aging time

Cisco routers
    4 hours
Cisco switches
    5 min
Windows Server 2003 and before
    2 min ( 10 min, if the address is reused )
Windows Vista and after
    Between 15 sec and 45 sec (random)
Linux box
    Various aging time

Switches are able to learn destination MAC addresses from client stations' arp request/query (because switches have longer aging time than client hosts). Those time differences keep them from flooding.

Refferences for Windows box
View the Address Resolution Protocol (ARP) cache
http://technet.microsoft.com/en-us/library/cc786759%28v=WS.10%29.aspx

Description of Address Resolution Protocol (ARP) caching behavior in Windows Vista TCP/IP implementations
http://support.microsoft.com/kb/949589