Install xorg 7.2 via package, still error upgrading php4-gd

Finally I’m using xorg 7.2 🙂

Using package

kongja# pkg_add -vr xorg

kongja# portversion -v | grep ‘< '

[Updating the pkgdb in /var/db/pkg … – 405 packages found (-0 +256) …………………………………………………………………………………………………………………………………………………………………………………………………………………………………. done]
dri-6.5.3,2                 <   needs updating (port has 6.5.3_1,2) libGL-6.5.3_1               <  needs updating (port has 6.5.3_2) libungif-4.1.4_2            <  needs updating (port has 4.1.4_3) luit-1.0.2                  <  needs updating (port has 1.0.2_1) php4-gd-4.4.6               <  needs updating (port has 4.4.7) t1lib-5.1.1,1               <  needs updating (port has 5.1.1_1,1) xorg-server-1.2.0_1,1       <  needs updating (port has 1.2.0_2,1)

kongja# portupgrade php4-gd

Continue reading

in Unix | 17 Words

Dynamips 0.2.7 final release, update now

While reading tutorial of dynagen, I just read  this part :

There is a newer version of Dynamips available than the one bundled with the Dynagen Windows installer. / How do I use Dynagen with Windows 2000 or Windows XP SP1?

The version of Dynamips included with the Windows Dynagen installer requires Windows XP SP2. In either of the above cases, download the Windows binaries from the Dynamips site (http://www.ipflow.utc.fr/blog/). For Windows XP / 2003 rename the xxx file to “dynamips.exe”. For Windows 2000, use the xxx file instead. “dynamips.exe” and “cygwin1.dll” to “C:\Program Files\Dynamips”, replacing the existing files.

I visit the blog and voila!

Dynamips 0.2.7  final release :

The 0.2.7 final release is available. Compared to 0.2.7-RC3, it contains the following fix:

  • Cisco 2691/3725/3745: high packet loss on integrated FastEthernet ports when they were simultaneously enabled (incorrect interrupt clearing in TX ring handling, please see BTS entry #171 for details).

The development will continue with 0.2.8-RC1 to be published soon.

great, I can try how to use newer version of Dynamips right away 🙂

I download binaries file for my windows xp here

update_dynamips01.PNG

Continue reading

Logical Volume in FreeBSD with gconcat

New data come everyday make existing storage media no longer reliable, need to add new harddisk

New harddisk + old harddisk need to join in single volume

FreeBSD provide a few method, gvinum, gconcat and gstripe

Since I only have two harddisk I try use gconcat :

kongja# df -H

Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 5.2G 111M 4.7G 2% /
devfs 1.0k 1.0k 0B 100% /dev
/dev/ad0s1d 52G 38G 9.3G 80% /home
/dev/ad0s1e 7.3G 7.0G -295M 104% /usr
/dev/ad0s1f 11G 4.5G 6.0G 43% /var
/dev/ad2s1d 194G 137G 42G 77% /data3
/dev/ad1s1d 243G 1.9M 224G 0% /data2
/dev/ad3s1d 242G -12k 223G -0% /data4

unmount /data2 and /data4 for merger operation :

kongja# umount /data2
kongja# umount /data4

Merger :

kongja# gconcat label -v data5 /dev/ad1s1d /dev/ad3s1d

Metadata value stored on /dev/ad1s1d.
Metadata value stored on /dev/ad3s1d.
Done.

make new mount point :

kongja# mkdir /data5

kongja# mount /dev/concat/data5 /data5

Check size of new partition /data5

kongja# df -H /data5

Filesystem Size Used Avail Capacity Mounted on
/dev/concat/data5 485G 4.1k 446G 0% /data5

Great, to make it permanent, must add new entry in fstab and edit loader.conf :

geom_concat_load=”YES”

Yay, FreeBSD rocks

Can’t wait for 7.0 with ZFS 🙂

in Unix | 229 Words

Unzip / Uncompress Cisco IOS in Windows XP

[phpbay]cisco ios|cisco firewall,2[/phpbay]

While doing searching in hacki.at forum, I found post about unzip/uncompress cisco IOS.

Ouch, I didn’t know that 🙂

First option using winrar and the second is using unzip program from gnuwin32.

I try winrar and just fine, next step I try unzip program. Working well too.

Software for unzip can download here

After download I doubleclicking it then extract the files to C:\unzip using winzip. Continue reading

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

dynagen
dynamips
dynamips-devel

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
PORTVERSION= 0.9.0
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= dyna-gen

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