Configure IPV6 on Apple and Windows

ipv6

Do you have IPV6 network ready in your office? Lets configure IPV6 on your machine running on either Windows/Mac. We have IPV6 network running on our office network, running dual stack with IPV4, not running fully on IPV6 DNS at the moment. But will try it out and share soon.

How to Configure IPV6 on Windowx XP

Turn on your command prompt, try this command ipv6, you should see the command replies;


C:\Documents and Settings\takizo>ipv6
usage: ipv6 [-p] [-v] if [ifindex]
       ipv6 [-p] ifcr v6v4 v4src v4dst [nd] [pmld]
       ipv6 [-p] ifcr 6over4 v4src
       ipv6 [-p] ifc ifindex [forwards] [-forwards] [advertises] [-advertises] [
mtu #bytes] [site site-identifier] [preference P]
       ipv6 rlu ifindex v4dst
       ipv6 [-p] ifd ifindex
       ipv6 [-p] adu ifindex/address [life validlifetime[/preflifetime]] [anycas
t] [unicast]
       ipv6 nc [ifindex [address]]
       ipv6 ncf [ifindex [address]]
       ipv6 rc [ifindex address]
       ipv6 rcf [ifindex [address]]
       ipv6 bc
       ipv6 [-p] [-v] rt
       ipv6 [-p] rtu prefix ifindex[/address] [life valid[/pref]] [preference P]
 [publish] [age] [spl SitePrefixLength]
       ipv6 spt
       ipv6 spu prefix ifindex [life L]
       ipv6 [-p] gp
       ipv6 [-p] gpu [parameter value] ... (try -?)
       ipv6 renew [ifindex]
       ipv6 [-p] ppt
       ipv6 [-p] ppu prefix precedence P srclabel SL [dstlabel DL]
       ipv6 [-p] ppd prefix
       ipv6 [-p] reset
       ipv6 install
       ipv6 uninstall
Some subcommands require local Administrator privileges.

To configure IPV6, you need the command ipv6 if; Read the rest of this entry »

Symfony, Unable to get sequence id with PostgreSQL Database

postgresql-sequence-id-error

When doing Symfony development, I usually build the database schema manually through phpPgAdmin or writing my own schema file. I like propel-generate-crud in symfony, which can generate the admin form on the fly.

Previously I was having problem with PostgreSQL Database’s sequence id. When I did propel-build-model, the seq_id from Postgresql database is not sync with the model been built by symfony. To solve that, I did manual change on PostgreSQL by renaming the tablename_id_seq to tablename_seq. After I have did some testing, found a way to solve the sequence id problem.

Read the rest of this entry »

What is umask?

umask? What?

What is umask command use for in linux/unix system?

umask is uses to set the default file or directory permission when a user create a new file or directory. By default, when a user created new file/directory, Read the rest of this entry »

Configure Your Own screenrc file

screenrc

There are few shell scripts I need to run when I log on to my server. One of my favorite is to use screen to launch the scripts when I log on to the server or using screen to access multiple screen. screenrc file does help me on this, I can build my own screenrc file and update screenrc file whenever I have new script or command wanted to run when I log on to the server. Here is how I configure your personal screenrc file. Read the rest of this entry »

Check DNS Record with Dig Command

Check DNS Record with Dig Command

How do you find out a domain name A record, CName Record, MX record via command line? How to find out a domain name Time To Live and calculate when will the next refresh will happen? Dig command will give you the magic details how does a domain name record is configured. Read the rest of this entry »