Configure Vlan on Vmware and Dynamips : step by step

From mmliac in hacki forum :

I have tested trunking between two 3660 with NM-16ESW and it works fine.
Connected 3 Wmware computers on each side in 2 different vlans.
Vlan information is being transferred from the VTP server to the VTP client.

I am using Vmware Workstation 5.0 and Dynamips is running on the host computer

Heres step by step configure vlan on vmware and dynamips :

Start by configuring new virtual interfaces in Vmware.

Continue reading

in Blog | 646 Words

Making pdf file : List of freeware

"I can’t upload my pdf file to ftp, whats wrong?", a student asked me that question this evening.

He make his report in MS Word and use adobe distiller to produce pdf file.

"Wait", I checked his ftp quota and see that still plenty of room there for him 🙂

Around 20MB of free space available.

One pdf file larger than 20MB (that thing crossing my mind till I try to use openoffice, using its export to pdf feature and produce 1,3 MB.

What the heck. I don’t know about setting that technician use in the class but thats big difference between 28MB ( pdf file produced by adobe distiller)  versus 1.3 MB from openoffice.

After solve his temporary problem I do search with google to find out other freeware that might help to produce pdf file and here my result :

Continue reading

trying vncserver @xubuntu

[email protected]:/home/three# vncserver
Couldn’t start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn’t start Xvnc process.

Couldn’t open RGB_DB ‘/usr/X11R6/lib/X11/rgb’
11/11/07 20:22:10 Xvnc version 3.3.7 – built Jul  4 2006 10:06:30
11/11/07 20:22:10 Copyright (C) 2002-2003 RealVNC Ltd.
11/11/07 20:22:10 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
11/11/07 20:22:10 All Rights Reserved.
11/11/07 20:22:10 See http://www.realvnc.com for information on VNC
11/11/07 20:22:10 Desktop name ‘X’ (three-desktop:1)
11/11/07 20:22:10 Protocol version supported 3.3
11/11/07 20:22:10 Listening for VNC connections on TCP port 5901
11/11/07 20:22:10 Listening for HTTP connections on TCP port 5801
11/11/07 20:22:10   URL http://three-desktop:5801
_FontTransSocketUNIXConnect: Can’t connect: errno = 2

trying another option :

[email protected]:~$ sudo vncpasswd /root/.vncpasswd
Password:
Verify:
[email protected]:~$ sudo /usr/bin/Xvnc :2 -query localhost -geometry 800×600 -depth 16 -once -fp /usr/share/X11/fonts/misc -dontdisconnect -nevershared -rfbauth /root/.vncpasswd
Couldn’t open RGB_DB ‘/usr/X11R6/lib/X11/rgb’
11/11/07 20:28:54 Xvnc version 3.3.7 – built Jul  4 2006 10:06:30
11/11/07 20:28:54 Copyright (C) 2002-2003 RealVNC Ltd.
11/11/07 20:28:54 Copyright (C) 1994-2000 AT&T Laboratories Cambridge.
11/11/07 20:28:54 All Rights Reserved.
11/11/07 20:28:54 See http://www.realvnc.com for information on VNC
11/11/07 20:28:54 Desktop name ‘x11’ (three-desktop:2)
11/11/07 20:28:54 Protocol version supported 3.3
11/11/07 20:28:54 Listening for VNC connections on TCP port 5902
Font directory ‘/usr/share/X11/fonts/misc’ not found – ignoring

Fatal server error:
could not open default font ‘fixed’

trying again : install vnc4server

[email protected]:/home/three# apt-get install vnc4server
Reading package lists… Done
Building dependency tree
Reading state information… Done
Suggested packages:
  vnc-java
The following NEW packages will be installed:
  vnc4server
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 1066kB of archives.
After unpacking 2470kB of additional disk space will be used.
Get:1 http://id.archive.ubuntu.com edgy-updates/universe vnc4server 4.1.1+xorg1.0.2-0ubuntu1.6.10.2 [1066kB]
Fetched 1066kB in 28s (37.1kB/s)
Selecting previously deselected package vnc4server.
(Reading database … 85336 files and directories currently installed.)
Unpacking vnc4server (from …/vnc4server_4.1.1+xorg1.0.2-0ubuntu1.6.10.2_i386.deb) …
Setting up vnc4server (4.1.1+xorg1.0.2-0ubuntu1.6.10.2) …

[email protected]:/home/three# vncserver

New ‘X’ desktop is three-desktop:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/three-desktop:1.log

[email protected]:/home/three# ps ax | grep vnc
18374 pts/1    S      0:00 /bin/sh /root/.vnc/xstartup
18378 pts/1    S+     0:00 grep vnc

need to download vnc viewer now 🙂

PHP 5.2.5 Released, 7 security enhancements & fixes

From php.net

The PHP development team would like to announce the immediate availability of PHP 5.2.5. This release focuses on improving the stability of the PHP 5.2.x branch with over 60 bug fixes, several of which are security related. All users of PHP are encouraged to upgrade to this release.

Further details about the PHP 5.2.5 release can be found in the release announcement for 5.2.5, the full list of changes is available in the ChangeLog for PHP 5.

Security Enhancements and Fixes in PHP 5.2.5:

  • Fixed dl() to only accept filenames. Reported by Laurent Gaffie.
  • Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887). Reported by Laurent Gaffie.
  • Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences. Reported by Rasmus Lerdorf
  • Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions. Reported by Laurent Gaffie.
  • Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications. Reported by SecurityReason.
  • Fixed bug #42869 (automatic session id insertion adds sessions id to non-local forms).
  • Fixed bug #41561 (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()).

For users upgrading to PHP 5.2 from PHP 5.0 and PHP 5.1, an upgrade guide is available here, detailing the changes between those releases and PHP 5.2.5.

Download now.

in PHP | 215 Words

Fedora 8 (Werewolf) is out : Iso Download Link

Fedora 8 is out, interesting "song"  from  here:

It’s close to midnight and something cool is coming through the "tubes"
It’s looking real tight, a distro for the experts and the n00bs
With Live CDs* so you can try it out before installing
Or DVDs so you can have the packages you choose
No way to lose

‘Cause it’s Fedora, Fedora 8
We’d love to have you join us and together we’ll be great
Using Fedora, Fedora 8
Just click the link and rescue your computer’s future today

Hotplugging speakers, you realize PulseAudio is sweet
You feel the power of kernel 2.6.23
You close your eyes but then you can’t see all the gorgeous artwork
You want online? New NetworkManager helps you explore
And try out BigBoard

‘Cause it’s Fedora, Fedora 8
This is the leading edge of free and open source today
You’ve got Fedora, Fedora 8
A brand-new shiny desktop with the latest, greatest awaits

(BRIDGE)
Now firewalls, you will find, are a ball to configurate
Virtual hosts you can manage the most secure way
(It makes your day)
Now you can authenticate

They’re out to get you, security enhancements stop them cold
You want your codecs? Codeina is the legal way to go
We’ve got the spins — developers, electronics, and gaming
And that’s not all, we wanted to make sure your Java’s free
So we’ve got IcedTea

Inside Fedora, Fedora 8
We promise Number 9 is no more than six months away, world
Fedora, Fedora 8
So get aboard the torrent, share Fedora, score a new Fedora, by next May
‘Cause it’s Fedora, Fedora 8
You get to keep both pieces anytime that something breaks, girl
Fedora, Fedora 8
If only Vincent Price could read this killer filler:

"Werewolf" moves across the land
Router meltdowns close at hand
Sysadmins in search of blood
For those who caused this bandwidth flood
And whosoever took the risk
But failed to make an extra disc
Must face the Bastard Op from Hell
And lose his access to the shell

The best of Linux now is here
To kill the FUD and strike with fear
The hearts of those who steal your rights
And hide their code far from your sight
Closed source takes away what’s yours
But you’ll never shake the horror
Until you taste the freedom and
The power of FEDORA!

 Even tutorial on installing fedora 8 already made too, cool :

Fedora 8 Installation Guide

some location for download :

 Links :