Installing Minicom to connect to Cisco router using console cable.

I bought this Connectland usb/serial connector to configure my Cisco routers. Since now I’m using Ubuntu, this Linux just picks up the connector.

[4309733.840000] usb 2-2: new full speed USB device using uhci_hcd and address 5
[4309733.936000] pl2303 2-2:1.0: PL-2303 converter detected
[4309733.940000] usb 2-2: PL-2303 converter now attached to ttyUSB0

Then I installed minicom.

$ sudo apt-get install minicom

Run the minicom program and using command CTRL-a z o (inside minicom) to configure the minicom serial port. Make sure the configuration look like this.

A - Serial Device : /dev/ttyUSB0
B - Lockfile Location : /var/lock
C - Callin Program :
D - Callout Program :
E - Bps/Par/Bits : 9600 8N1
F - Hardware Flow Control : Yes
G - Software Flow Control : No

Save the configuration with whatever name you want. In this case is “cisco”.

Next time you want to configure your router using minicom, just type “minicom cisco”

Installing and setting TFTPD in Ubuntu

1. Install tftpd and related packages.

$ sudo apt-get install xinetd tftpd tftp

2. Create /etc/xinetd.d/tftp and put this entry:

service tftp
{
protocol        = udp
port            = 69
socket_type     = dgram
wait            = yes
user            = nobody
server          = /usr/sbin/in.tftpd
server_args     = /tftpboot
disable         = no
}

3. Make /tftpboot directory

$ sudo mkdir /tftpboot
$ sudo chmod -R 777 /tftpboot
$ sudo chown -R nobody /tftpboot

4. Start tftpd through xinetd

$ sudo /etc/init.d/xinetd start

5. Testing. Tranfering file hda.txt from 192.168.1.100 (Client using tftp) to 192.168.1.100 (Server 192.168.1.100). Get an example file to transfer (eg. hda.txt)

$ touch /tftpboot/hda.txt
$ chmod 777 /tftpboot/hda.txt
$ ls -l /tftpboot/
total 0
-rwxrwxrwx  1 davids davids 0 2006-03-27 23:04 hda.txt
$ tftp 192.168.1.100
tftp> put hda.txt
Sent 722 bytes in 0.0 seconds
tftp> quit
$ ls -l /tftpboot/
total 4
-rwxrwxrwx  1 davids davids 707 2006-03-27 23:07 hda.txt

(Stupid) City Manager vs. Computer Engineer

Fate can sometimes lead someone who has inexorable stupidity to have big responsibilities. For those who has been working as an engineer, most of you, I believe, had come across to find somebody that inevitably stupid and be one of your supervisor.

CentOS engineers had several times trying to explain to this person the root of the problem yet he still arrogantly trying to report this case to FBI. It makes me wonder, It must be hard enough to manage a city and being a system administrator.

Complete email conversation is here.

Reporting a Bug to Microsoft(tm) and get charged 35 USD

I wrote an article about Fernando Gont, a person who had problem submitting a bug to Microsoft (and several other vendors). Actually he did manage to file the bug and I was not sure whether Microsoft(tm) charged him or not (probably not). However, this person got charged 35 USD for filing a bug on Outlook(tm) and Outlook Express(tm) and don’t forget this mere mortal had to go through complicated procedures just to file a bug!.