Dynagen in FreeBSD

After ports unfreeze, I do some directory ports walking ( wanna analogy it as blogwalking 🙂 ), find dynagen and dynamips ports. I thought dynagen not available in FreeBSD but I’m wrong 🙂

su-2.05b# whereis dynamips

dynamips: /usr/ports/emulators/dynamips

su-2.05b# whereis dynagen

dynagen: /usr/ports/emulators/dynagen

su-2.05b# ls /usr/ports/emulators | grep dyna


wow, try dynagen first 🙂

su-2.05b# cd /usr/ports/emulators/dynagen/

See version

su-2.05b#ee Makefile

# New ports collection makefile for: dynagen
# Date created: 2006-11-07
# Whom: trasz

# $FreeBSD: ports/emulators/dynagen/Makefile,v 1.6 2007/04/13 13:03:46 trasz Exp $
#PORTNAME= dynagen
CATEGORIES= emulators

MAINTAINER= [email protected]
COMMENT= Text-based front end for Dynamips

RUN_DEPENDS= dynamips:${PORTSDIR}/emulators/dynamips

Version 0.9, no time for installation but prepare the file is OK

su-2.05b# make fetch

On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE by itself so please help it a bit by setting X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set variable USE_NONDEFAULT_X11BASE.
*** Error code 1

Sigh, this box is 4.11 not 6.2, try add more option in ‘make’

su-2.05b# make USE_NONDEFAULT_X11BASE=1 fetch

===> Vulnerability check disabled, database not found
=> dynagen-0.9.0.tar.gz doesn’t seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://heanet.dl.sourceforge.net/sourceforge/dyna-gen/.
fetch: http://heanet.dl.sourceforge.net/sourceforge/dyna-gen/dynagen-0.9.0.tar.gz: Not Found
=> Attempting to fetch from http://nchc.dl.sourceforge.net/sourceforge/dyna-gen/.
dynagen-0.9.0.tar.gz 100% of 230 kB 2598 Bps 00m00s

ready to install, make install clean

P.S : I should learn about how to modifiy ports, dynagen has reach 0.9.2 but ports still 0.9 🙂

in Unix | 295 Words

php4-gd and xorg7.2

Try to upgrade php4-gd from ports, but still not work 🙁

kongja# portupgrade php4-gd

—>  Upgrading ‘php4-gd-4.4.6’ to ‘php4-gd-4.4.7’ (graphics/php4-gd)
—>  Building ‘/usr/ports/graphics/php4-gd’
===>  Cleaning for php4-4.4.7
===>  Cleaning for autoconf-2.59_2
===>  Cleaning for xorg-libraries-7.2
===>  Cleaning for php4-gd-4.4.7
===>  Found saved configuration for php4-gd-4.3.10
===>  Extracting for php4-gd-4.4.7
=> MD5 Checksum OK for php-4.4.7.tar.bz2.
=> SHA256 Checksum OK for php-4.4.7.tar.bz2.
===>  Patching for php4-gd-4.4.7
===>  Applying FreeBSD patches for php4-gd-4.4.7
===>   php4-gd-4.4.7 depends on executable in : phpize – found
===>   php4-gd-4.4.7 depends on file: /usr/local/bin/autoconf259 – found
===>   php4-gd-4.4.7 depends on file: /usr/local/libdata/xorg/libraries – not found
===>    Verifying install for /usr/local/libdata/xorg/libraries in /usr/ports/x11/xorg-libraries
Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.
*** Error code 1
Continue reading

in Unix | 453 Words

No more, avoid it in your network!

Sigh… I hate

Since a lot of router or access point built in ip configured for by default

Same ip make ipconflict and make my day ruined

Message for other newbie

don’t use as ip for your server

use other ip like : or it’s safer from

get it out from your master plan 🙂

Opening port remote desktop on firewall

Due to change of branch location make my friend need to remote his computer (windows xp) office for efficiency, we discussing about using remote desktop in reality.

Remote desktop use port 3389 so the schema to remote is :

outside –> port 500 –> firewall forward –> 3389

Since load balancing policy, specific address need to remote desktop, e.g :


then firewall will forward that request to port 3389

what if no firewall involve then direct public address accessible :


doh, no firewall ? Consider install zonealarm for free 🙂

In general :

Windows XP Remote Desktop PORT : 3389

80? no it’s web server

21? no, it’s ftp

25? no, it’s email

no more question please 😉

Learn cisco router with dynamips, know my router

Doh, additional stuff needed to run cisco router that just arrived in the lab. Its Cisco router 2801 series. Before handling it in “real world” I must know it first via cyber world 🙂

I think I must know the features, googling it, resulted this link :

Interactive Model of the Cisco 2801 Integrated Services Router

Product Spesifications

Key Features of the Cisco 2801 Integrated Services Router

Models comparison

Wow, frankly I no nothing around this stuff, but thats the challenge 🙂

From zero to one.

With 2801 IOS in my hand, ready to explore!


Ok, start learning :
1. I copy cisco 2801 to C:\Program Files\Dynamips\images

Continue reading