Thursday, November 27, 2008

Updating/patching my FreeBSD/NetBSD box

Today i"m updating my FreeBSD 7.0-RELEASE-p5 and NetBSD 3.1_STABLE box since there is security/bugfix patch for it, released on 24th... anyway i'm doing it regularly too..

Sysadmins, please make this as your practice.. always check for bugfix/patch everyday.. then patch it ASAP, if not your box could poosibly been hacked soon!






For my FreeBSD
trunasuci# csup -g -L 2 stable-supfile
Parsing supfile "stable-supfile"
Connecting to cvsup.Free.myBSD.org.my
Connected to 203.106.61.110
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection src-all/cvs
Edit src/UPDATING
Add delta 1.507.2.3.2.10 2008.11.24.17.39.39 cperciva
Edit src/sys/conf/newvers.sh
Add delta 1.72.2.5.2.10 2008.11.24.17.39.39 cperciva
Edit src/sys/dev/random/randomdev.c
Add delta 1.61.4.1 2008.11.24.17.39.39 cperciva
Edit src/sys/dev/random/randomdev_soft.c
Add delta 1.15.4.1 2008.11.24.17.39.39 cperciva
Shutting down connection to server
Finished successfully
trunasuci# uname -a
FreeBSD trunasuci.opensource.my 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #1: Fri Nov 14 20:06:40 MYT 2008 root@freebsd.localhost:/usr/obj/usr/src/sys/FIREWALL i386





For my NetBSD:
netbsd# cvsup -g -L 2 stable-supfile
Parsing supfile "stable-supfile"
Connecting to cvsup.jp.NetBSD.org
Connected to cvsup.jp.NetBSD.org
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection netbsd-src/cvs
Edit src/distrib/i386/floppies/common/dot.profile
Add delta 1.4.6.1 2008.11.10.16.55.30 snj
Edit src/distrib/i386/floppies/ramdisk-big/list
Add delta 1.22.2.1 2008.11.10.16.55.30 snj
Edit src/distrib/i386/floppies/ramdisk-rescuetiny/list
Add delta 1.15.2.1 2008.11.10.16.55.30 snj
Edit src/distrib/i386/floppies/ramdisk-small/list
Add delta 1.15.6.1 2008.11.10.16.55.30 snj
Edit src/distrib/i386/floppies/ramdisk-tiny/list
Add delta 1.16.2.1 2008.11.10.16.55.30 snj
Edit src/distrib/sets/lists/base/mi
Add delta 1.532.2.34 2008.11.18.21.33.17 bouyer
Edit src/doc/CHANGES-3.2
Add delta 1.1.2.149 2008.11.10.17.07.11 snj
Add delta 1.1.2.150 2008.11.14.03.24.24 snj
Add delta 1.1.2.151 2008.11.18.21.34.48 bouyer
Add delta 1.1.2.152 2008.11.18.23.06.29 snj
Add delta 1.1.2.153 2008.11.22.16.29.10 bouyer
Add delta 1.1.2.154 2008.11.23.17.58.25 bouyer
Edit src/share/zoneinfo/africa
Add delta 1.1.1.15.8.7 2008.11.18.21.33.17 bouyer
Edit src/share/zoneinfo/asia
Add delta 1.1.1.29.2.9 2008.11.18.21.33.17 bouyer
Edit src/share/zoneinfo/southamerica
Add delta 1.1.1.27.2.7 2008.11.18.21.33.17 bouyer
Edit src/share/zoneinfo/zone.tab
Add delta 1.1.1.21.2.5 2008.11.18.21.33.17 bouyer
Edit src/sys/arch/amd64/amd64/machdep.c
Add delta 1.31.10.1 2008.11.22.16.28.43 bouyer
Edit src/sys/arch/i386/conf/INSTALL
Add delta 1.262.2.11 2008.11.10.16.55.30 snj
Edit src/sys/arch/i386/conf/INSTALL_LAPTOP
Add delta 1.83.2.7 2008.11.10.16.55.30 snj
Edit src/sys/arch/i386/conf/INSTALL_SMALL
Add delta 1.112.2.3 2008.11.10.16.55.30 snj
Edit src/sys/arch/i386/conf/INSTALL_TINY
Add delta 1.86.2.3 2008.11.10.16.55.30 snj
Edit src/sys/arch/i386/conf/INSTALL_XEN2_DOMU
Add delta 1.1.2.5 2008.11.10.16.55.30 snj
Edit src/sys/arch/i386/conf/INSTALL_XEN3_DOMU
Add delta 1.1.2.4 2008.11.10.16.55.30 snj
Edit src/sys/dev/pci/if_wm.c
Add delta 1.100.2.11 2008.11.10.17.02.41 snj
Edit src/sys/dev/pci/pcidevs
Add delta 1.701.2.50 2008.11.10.17.02.41 snj
Edit src/sys/dev/pci/pcidevs.h
Add delta 1.702.2.48 2008.11.10.17.04.24 snj
Edit src/sys/dev/pci/pcidevs_data.h
Add delta 1.700.2.48 2008.11.10.17.04.25 snj
Edit src/sys/netinet/tcp_timer.c
Add delta 1.71.2.1 2008.11.18.22.57.09 snj
Edit src/usr.bin/fsplit/fsplit.c
Add delta 1.11.2.1 2008.11.23.17.58.01 bouyer
Edit src/usr.bin/gzip/gzip.c
Add delta 1.71.2.7 2008.11.14.03.08.32 snj
Edit src/usr.sbin/config/scan.l
Add delta 1.44.2.1 2008.11.14.03.16.54 snj
Shutting down connection to server
Finished successfully

netbsd# uname -a
NetBSD netbsd.trunasuci.opensource.my 3.1_STABLE NetBSD 3.1_STABLE (GENERIC) #0: Sat Mar 31 15:45:10 MYT 2007 root@server.arafat.org:/usr/obj/sys/arch/i386/compile/GENERIC i386
netbsd#

now it's time for compiling "MAKE WORLD"

:)

Monday, November 24, 2008

My new CASIO AW 82


Just got my new watch, casio AW82, it's simple but have one of my favourites features, FISHING!!

Have fish eating indicator, u can know when fish is eating, recommended time to fish etc, and also have moon phase indicator..

need to configure to match the exact longitude and latitude..

have also dual time, and sync for analog and digital time.. it's illuminator.. and have nice yellow/orange light...

nice and i love it...
very much

Sunday, November 23, 2008

Updating your dynamic domain in zonestraits using "manual mode"



I've registered one of my domain using zonestraits http://www.zonestraits.com and point it to old box belong to my old frens, maui.mine.nu. Due to some technical problems, all data and /home is corrupted and wiped off.. so i lost most of my old data. Some of it is fortunately backed up (unplanned) and it's my old linux how-tos and guide.

So now since I've my own box, FreeBSD + NetBSD at my home and it's up for long hours so i decided to switch the domain pointing it here ( to the FBSD box ). When i surf to the zonestraits, i discovered that they not yet provide the tools to update the domain dynamically ( zonestraits is just a new site, so they need time to build up and mature ) like i normally used "ddclient" in dyndns.org

so the only method exist is using web browser pointing to zonestraits. But i discover that we've given a "token" like an ID to our registation that can be used to update. Possibly and i do believe this token is fixed value.





So i create my own method to update the ip to the domain using the "old technique" in linux/unix/BSD by using LYNX to open a http connection to zonestraits, and this can run in crontab, keep on updating every 15mins or 1 hour. But i face a new problem, lynx need to confirmed the cookies "interactively" by answering yes or no while connecting, and this will make the connection "hang" until the question answered.

Look into he google, searching for it and i found out the answer wich solve the problem once and for all..


server# lynx --accept_all_cookies http://dyn.zonestraits.com/XXXXXXX

the full links is included the XXX that need to be replaced with your actual token that shown on screenshot above


.................valid token......................
.................trunasuci.opensource.my.................
Your new IP is XXXXXXX as at 23/11/2008 3:57 am




walla!! it's done!! so who say we need an exclusive software just to keep update out domain -> ip?


so now u just ned put that command in crontab, and kills it after few minutes it's done, that's it!


p/s: wahaha AMIRRRR ( zonestraits owner ) I want my credittttt!! :D






Tuesday, November 18, 2008

My Playlist..





Music is part of my soul, heart, belief, and life..
generally i listen to may tunes, such as blues, jazz, oldschool pop-disco, 60's rocknroll, ska, raggae, rock, METAL etc

above all, i choose METAL as my "beliefs" range from classic rock to heavy metal, thrash metal, speed metal, death metal, brutal death, grind death, grindcore and ultimately blackmetal..

my faves all time, even during working is:

1- IRON MAIDEN - Somewhere In Time



The superb album.. ( anyway all 1st 7 album from MAIDEN is legend!! ) track like "Caught somewhere in time", "The loneliness..", "Deja Vu", " Alexander the Great", the groovy and sweet solos on "stranger in the stranger land".. the popular tracks like "Wasted years", "Heaven can wait" amke mostly this album is one of the perfect rock/heavy metal album in history!




2- IRON MAIDEN - POWERSLAVE






3- KING DIAMOND - A Dangerous Meeting





4- RIOT - Thundersteel



The greatest and the best album from RIOT.. all speed/power/heavymetal aggresive fast riffs combined with crazy yet powerful solos and high pitched vocals.. made this album a legend!! try it by yourself..


5- TERRORIZER - World Downfall



legendary grindcore album from TERRORIZER, featuring Oscar Garcia ( vox/NAUSEA ), late Jesse Pintado ( RIP ) ( guitar/ NAPALM DEATH/LOCK UP ), David Vincent ( bass / MORBID ANGEL ), and Pete Sandoval ( drum/ MORBID ANGEL ).. this simple line up already produce something that never been challenge/beaten! even their later albums also is far less powerful ( more to crusty-tuned). It takes just 45 mins to crush your ear to pieces!!


6- DEATH - Leprosy





7- DEATH- Scream Bloody Gore






8- DEATH - Spritual Healing






9- KREATOR - Pleasure to Kill







10- KREATOR - Endless Pain






Sunday, November 16, 2008

Trip to Melaka.. again!

Well it's trip to Melaka.. again.. same place.. nice place and lovely.. i start to love this place.. nice place, nice people ( subjective.. ).. and the food is ok, cheap, rental, cost of living etc..

nuthing to tell much, just say, quite fun here ( on my 2 day trip ).. back on sunday and stop near pedas linggi highway exit, to buy "sembilang salai".. nice...






















Sunday, November 09, 2008

FOSS.my 2008



FOSS.my 2008, APIIT TPM

Arrive there, afternoon.. meet aizatto and get my badge.. join' up and meet some old frens Haris, sharuzzaman, piju ( with his booth ), adli, shakir (3boss), from kuantan my TKLUG team zamri and his frens shah, and many2 more..








some small booths, selling tshirt, books etc.. 2 tracks run on 2 halls.. just simple talks on oss community etc2.. then when i run to one of the halls.. one guys Fadhil Luqman is recognize me and say "hey dude! just give some speech/talks after this"

gosh..
i'm not prepared, since i just bring my "special box" with me to show to my fellow frens about it.. then after a few speeches from some guys, then suddenly he call my name..

well go the standing, blablablabla about my imvolvements since 1997, my projects on OSS and i've opened the "special box", show the hardware inside, what lies beneath the os NetBSD 3.1 and apps running..

got some Q&A then that's it..
well the corwd is giving me a good reponse.. TQ all..

Then other people give the speech..

closing the talks is vote for the best speech/talks... I never expected to be 1st runner-up and bring back nice and cute SELANGOR PEWTER's pic frame... TQ for who's voting me!

Meet someone i respect, mr Obiwan, malaysian kernel hacker and grid computing masta..


me, Obiwan and "my special box"..


After the event, called someone who want to sell me his old laser printer Canon LBP-800 for rm80! well it old, but it's hold and kickin ass hardware and using LPT/parallel port.. so i've decided it'll connected to old pc+OS+LPR/CUPSD/RAW@JETDIRECT port software as print server!



my other options/selections is HP Lasetjet PCL5/6, since it's old, robust, can fillup lots of paper, and driver is easy in any platform...

before slam my body to bed ( hey I'm working tomorrow!! SUNDAY!! ).. just downloaded+burn PCBSD 7.0.1-i386 ( 3 CD full ) and AMD64 ( 3cd full ) for testing...

time to shutoff everything and be prepared...






Saturday, November 08, 2008

With REVENGE on latte @ 8TV



Rockin bebeh!
Rock n Metal till u drop..

me and my fellow REVENGE been to Starbucks Sunway for "latte@8" with Jason Lo.. nuthing much we can say, but it's awesome since it's live shows.. the guest is Joe Flizzow ( TooPhat ), some theather comedians lady ( she's cool! ) and last.. it REVENGEEEEEEEEEEEEE!!

we're rocking the nite!
but actually we still need to behave since u can't move much, turn off your cellphones, can't "headbanging gila2" or do such chaotic stuffs..

when everythings done.. that's it.. time to gather with our fellow metal mates/frens and taking pictures, having some fun!




me and RINA of 8TV.. she got evil image dude!














later we have some lepaking+drinking sembang2.. then ok.. ride back home... anyway some guys do acknowledge us since they watch us on TV just now.. tq for the compliment dude!

Thursday, November 06, 2008

Got my Net.. now the development begins...



Got my net installed..
gosh no choice i have to take TMNUT because there's no coverage of other ISP in my area.., just need to activate! sheeshh ) 1st i applied it thru agents, it take 1 full month ( stewped! ) with lots of excuses to install even my landline! ( anyway the cables is already there )..

Then i rush ( terjah! ) the TMPOINT, register it myself, blabbering blabla and u what happen? within 2 days the cable guy came and start to do their work.. 1-2 more days for activate the phone.. then now my Screamyx accounts issue..

**SIGH** abit frustrated when i discover, my area is not covered for 4MB (?) connection but just maximum 1MB.. well i really need it since i need some faster connection for my pc/server.. anyway.. 1MB pun 1MB lah..

when the accounts is activated, i'm rushed to my project office, take spare modems ( since the TM tech will just came tomorrow, feel so damn late! ).. it's DANCALL and AZTECH.. take it home, turn on my old ( it's ready+installed ):



pentium 187MMX +
40MB RAM (it's EDO RAM!!)
2 3Com XL PCI NIC
20GB HDD
preinstalled with FreeBSD 7.0-RELEASE, customised kernel

put the cable and start the ppp dialing... walla!! it's connected!!





later just simple script of ipnat and such simple thing, cable it thru old 8port 3com switch, make it as fw/gateway.. and that's all!.. other server/pc is waiting to connected.. then i link to 1 boxes of CeleronD 2.4, one "Special Devices" running on NetBSD 3.1-STABLE..



my "SPECIAL DEVICES"


actually it's an old TV decoder for hotels that been scrapped off, cyrix233, AMD geode chip, 3Com FXP onboard NIC, 1PCI+1ISA slot, 6GB HDD with 64mb PC100 SDRAM.. so far it runs on NetBSD, no problem at all... apps I've run on it is SAMBA 3.x, apache 1.x, ipf/ipnat, and other thingy.. BitchX!!

Next day, the TM guys came and bring the RIGER modem.. just put it on for few minutes, try if it's worked, then i decided to use AZTECH.. since it's performance is really2 good..

Then I've contacted one guy who post the CPU for sale in mudah.com.my.. price is reasonable so he came, tested, and decide to take the deal..

it's:
AMD Athlon64 3000+
512 MB RAM ( I've added another 512MB from my extra RAM )
ABIT uGURU motherboard
Leadtek Nvidia GeForce5900XT 256bit 128MB
120GB HDD

well it's fair enuff for me, because I'm planning to start working on
1-PCBSD PBI pkg development/creation.. since it's runs on amd64, then it's targeted for AMD64 platform ( previously the target was i686 )..
2- bug test for PCBSD 7 and above/beta
3- other BSD/oss test for apps performance tuning etc..






Just thinking to add 1-2 more of this box ( later ) and 1-2 Mac box (ppc) eMac/iMac etc then 1 brandnew/latest spec of AMD boxes ( AM2 X2 6000 or Phenom )... for the time being, this is enuff..