Tuesday, 29 March 2011

Junos on GNS3 (Part3-Put it on GNS3)

FINAL IMPORTANT SETP
Junos Installation ကိုျမင္ရရန္ Putty ကိုအဆင္သင့္ျပင္ရမည္…
Browse > juniperinstallation.txt (save)

Get Ready Session (Note***: ေအာက္ပါ command ကို run ၿပီးမွ Open လုပ္ပါ။)
C:\juniper\Qemu> qemu -L . -m 512 -hda junos-binary.img -serial telnet:127.0.0.1:1001,server,nowait,nodelay –localtime


Installation ၿပီးလ်ွင္(ကလိၾကည့္ပါ) putty ကိုပိတ္ပါ။ Prompt တြင္ Ctrl+Alt+2 ကိုနွိပ္ပါ… ၿပီးလ်ွင္ q နွိပ္ၿပီးထြက္ေလာ့။ GNS3 အတြက္ JUNOS ready ျဖစ္လတံ့။

Steps to Adding Juniper Routers in GNS3
1. QEMU Folder ထဲတြင္ရွိေသာ junos-binary.img ကို Folder အျပင္သို႔ copy လုပ္ပါ။
2. junos1.img ပာု ျပင္ပါ… (juniper router 2 လံုးသံုးလိုက junos2.img ကိုထပ္လုပ္ရမည္။)
3. GNS3 ကိုဖြင့္ပါ… Juniper router ကိုယူၿပီး right-click > configuration ကိုနွိပ္ပါ။
4. JunOs image တြင္ junos1.img ရွိရာလမ္းကိုထည့္ေပးပါ။ (eg: C:\juniper\juniper1.img)
5. OK!!! Run ၿပီး right-click > console (putty) နွင့္စတင္ ကလိနုိင္ၿပီျဖစ္သည္။
-THE END-
29/3/2011 

Junos on GNS3 (Part2- JunOs in Womb)

Steps to Install Junos on BSD OS
1. Download လုပ္ထားေသာ Junos part သံုးခုကို အရင္ Join ရပါမည္။ Hjsplit.exe ကို run ပါ။ Join ကို ေရႊးၿပီး input file အတြက္ part1 (xxx.001) ကိုေရႊးၿပီးေနာက္ Start လုပ္ပါ။ part2, part3 တို႕နွင့္ Auto Join သြားမည္။ jinstall-10.1R1.8-domestic-olive.tgz အမည္နွင့္ file ၁ခု ေပၚလာမည္။
Note***: Join မည့္ file အားလံုး directory ၁ခုတည္းတြင္ရွိရန္ လိုသည္။
2. Free ISO Creator ျဖင့္ junos.iso ထုပ္ရပါမည္။ Creator ကို install လုပ္ၿပီး run ပါ။ Add file ျဖင့္ Join ၿပီးသား file ကို junos.iso အမည္နွင့္ convert လုပ္ပါ။
3. ရရွိလာေသာ junos.iso ကို Qemu folder ထဲသို႔ထည့္ပါ။
4. junos-binary.img နွင့္ junos.iso ကို CD ကဲ့သို႔ boot လုပ္ရန္ ေအာက္ပါ command ကို run ပါ။ C:\juniper\Qemu> qemu -m 256 -hda junos-binary.img -cdrom junos.iso
5. Login: root & Password: <????>

Steps to Untar Signed Junos Image in Iso
#mount /cdrom
#cd /var/tmp
#mkdir junos
#cd junos
#tar zxvf /cdrom/jinstall-10.1R1.8-domestic-olive.tgz (စိတ္ရွည္ပါ ၾကာတတ္သည္။ Depend on Sys Conf:)

Then Untar the Unsigned Image
#mkdir jinst
#cd jinst
#tar zxvf ../jbundle-10.1R1.8-domestic.tgz (စိတ္ရွည္ပါ။)
#cd..

Extract the pkgtools.tgz File and Replace the Checkpic Binary Inside With /usr/bin/true
#mkdir pkgtools
#cd pkgtools
#tar zxvf ../pkgtools.tgz
#cd bin
#cp /usr/bin/true ./checkpic
#cd ..

Create Tar for pkgtools then remove the directory
#tar zcvf ../pkgtools.tgz *
#cd ..
#rm -rf pkgtools

Create Tar for the New jinstall Package With Modified checkpic
#tar zcvf /var/tmp/juniper.tgz * (ၾကာသည္။)

Then Install the New jinstall with BSD pkg_add Tool
#pkg_add -f /var/tmp/juniper.tgz (အလြန္ၾကာသည္။)
……….  ……….  ……….
Reboot လုပ္ၿပီး Installation ဆက္လုပ္ရန္ေမးလ်ွင္ #init 6 ပာုရိုက္ပါ။
Reboot ၿပီးလ်ွင္ Qemu ကိုပိတ္ပါ။

--------------------------------------
29/3/2011

Junos on GNS3 (Part1-BSD Installation)

လိုအပ္ေသာ File မ်ား (File အားလံုးကို C:\Juniper folder create လုပ္ၿပီး သိမ္းပါ)
1. Junos part1, part2, part3
2. BSD OS part1, part2, part3
3. HJsplit
4. ISO Creator
5. QEMU
6. Putty

Initial Configuration Steps to Install BSD as Virtual Machine
1. qemu-0.11.0.patched.win32.zip ကို Extract လုပ္ေပးရပါမယ္ (Qemu အမည္နွင္ၤ့ Folder တစ္ခု ေပၚလာပါမည္။
2. ရရွိလာေသာ Qemu Folder ထဲသို႕ 4.11-RELEASE-i386-miniinst.iso ကိုထည့္ပါ။
3. Junos Binary Image ျပဳလုပ္ရန္ ေအာက္ပါ Command ကို Command Line မွ Run ပါ။ C:\juniper\Qemu> qemu-img.exe create junos-binary.img -f qcow2 8G

4. ထို႔ေနာက္ junos-binary အမည္နွင္ၤ့ Image File (Max space of 8GB) တစ္ခု Qemu ထဲတြင္ရရွိလာမည္။
5. BSD OS ကို CD ကဲ့သို႔ Insert လုပ္ရန္ ေဖာ္ျပထားေသာ Command ကို Run ရပါမည္။ C:\juniper\Qemu> qemu -m 256 -hda junos-binary.img -cdrom 4.11-RELEASE-i386-miniinst.iso
6. Skip Kernal configuration and continue with installation ကိုေရြးပါ။
7. Installation စရန္ EXPRESS Installation ကိုေရြးပါ။ ထို႔ေနာက္ A နွင့္ Q ကို နိွပ္ပါ။ ၿပီးေနာက္ STANDARD Installation ကိုေရြးပါ။

Partition ခြဲျခင္း
1. C ကိုနိွပ္ပါ size ကို 2048M ထားၿပီး OK နွိပ္ပါ။ ထို႔ေနာက္ FS ကိုေရႊးၿပီး mount point အတြက္ / ကိုထားပါ။
 2. C ကိုနိွပ္ပါ size ကို 1024M ထားၿပီး OK နွိပ္ပါ။ ထို႔ေနာက္ Swap ကိုေရႊးပါ။
3. C ကိုနိွပ္ပါ size ကို 100M ထားၿပီး OK နွိပ္ပါ။ ထို႔ေနာက္ FS ကိုေရႊးၿပီး mount point တြင္္ /config ကိုထားပါ။
4. C ကိုနိွပ္ပါ က်န္ရွိေသာ Space ကို FS mount point /var အတြက္ ထားပါ။
5. Q ကိုိုနိွပ္ၿပီး ထြက္ပါ။

Starting BSD Installation
1. Option 8 [User] ကို Select လုပ္ပါ။ Port collection အတြက္ NO ကိုေရႊးပါ။  -EXIT-
2. Installation Media အတြက္ 1. CD/DVD ကိုေရႊးပါ။
3. User Confirmation Request တြင္ YES ကိုေရႊးၿပီးေနာက္ Installation စပါမည္။
4. Installation အၿပီးတြင္ ေနာက ္ ၁ႀကိမ္ User Confirmation Request အတြက္ YES ကိုထပ္ေရႊးပါ။
5. Root Password ေပးပါ။ ~~EXIT~~CLOSE~~
--- BSD Installation ၿပီးေလသတည္း။---
29/3/2011

Friday, 25 March 2011

6.8M earthquake in Myanmar on 24, March, 2011


  • The earthquake hit at 1355 GMT on Thursday and was centred about 70 miles (110 km) from the northern Thai city of Chiang Rai, the US Geological Survey (USGS) said. The quake was shallow, at a depth of 6.2 miles (10km). 
  • At least 75 people are reported to have been killed. 
  • The magnitude-6.8 quake struck near the Lao and Thai borders, and was felt as far away as the Thai capital Bangkok, and in the Vietnamese capital, Hanoi.
  • The town of Tachileik and surrounding villages in Shan state appear to have borne the brunt of the earthquake. Several hundred buildings collapsed north of Tachileik, in mountains near the border with Thailand. Roads and bridges have been damaged making affected areas hard to reach.
  • Burma is ill prepared to deal with natural disasters, says the BBC's Rachel Harvey in Bangkok. 
  • Communication systems and infrastructure are poor and the military government, still in charge until the handover to a new civilian-led administration, tends to limit the flow of information.
A Thai Buddhist monk inspects a fallen stupa of the Chedi Luang pagoda a day after a strong earthquake hit Myanmar.

Source: BBC News
25/3/2011

Wednesday, 16 March 2011

Help Japanese...

According to recent natural disaster (8.9-magnitude Earthquake & Tsunami) in JAPAN, more than 500,000 people have been made homeless. More than 3,300 people have been confirmed dead and thousands are missing after quake and tsunami. For reconstruction, it will cost more than hundred billion pounds.

The Japanese government has decided to accept the help from overseas as an exceptional measure to treat survivors of the devastating earthquake. The news agency says that several countries have offered to dispatch medical teams. JAPANESE RED CROSS SOCIETY heartily appreciate your kind offer of donation. Please help them as much as you can.

http://www.google.com/crisisresponse/japanquake2011.html



16/3/2011

Tuesday, 15 March 2011

Introduction

Hello,

My name is Kaung Wai Phyo from Myanmar. I am just a newbie for blogging. Here... I wanna share my knowledge and resources for various areas.

Best regards,
Kaung Wai Phyo
15, March, 2011