หน้าเว็บ

About me

Hi, I'm cheer. My interest relates to artificial intelligence, machine learning, computer vision, network communication, security algorithm.
แสดงบทความที่มีป้ายกำกับ os แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ os แสดงบทความทั้งหมด

วันอังคารที่ 20 กรกฎาคม พ.ศ. 2553

How to install Windows on Netbook via thumb drive

What you will need:

  • Microsoft Windows XP intstallation files on a CD / DVD / Image
  • Another PC running Microsoft Windows XP or Vista
  • USB_PREP8 Download:Google,2shared.com
  • PeToUSB Download:Official site
  • Bootsect.exe Download:Google ,2shared.com
  • A USB stick large enough to hold the install files and possibly the Asus EEE PC drivers. In this tutorial a SanDisk Cruzer 4GB is used.
Use a 4 GB if you want to copy the Asus EEE PC Driver DVD. 1 Gigabyte is enough for XP install files only.

Preparing the Bootable USB flash drive

Extract USB_prep8 and PeToUSB.
Copy or move the file PeToUSB.exe from the PeToUSB folder to the USB_prep8folder. Your usb_prep8 folder should look like this:

image1

Double click the Command Script named usb_prep8.cmd. The command prompt window will look like this:

image2
Insert your USB-flash drive and press any key:

PeToUSB Flash stick settings
Make sure you have the right USB-stick selected. In the image above you see [SanDisk Cruzer USB Device 4025Mb [E:\]] Selected. Cross the “Quick Format” if you want to save some time (marked in red).

Click on Start. In the dialog box saying “Continue?”, click Yes:
Klick Yes to continue

Another dialog box appears, click Yes:
Click Yes

When the format is complete (probably immediately) you will get this:

image6

Click Ok.

Extract bootsect.zip to a folder of your choice. (In this example i useC:\bootsect\).
Open a command prompt (on XP click Start->Run and type “cmd”):
image7

Navigate to the directory where you extracted BootSect.exe using the “cd” command (this example uses folder c:\bootsect):

cd \bootsect\bootsect [Enter]
image8a

Then type:
bootsect /nt52 E: [Enter]

image8

This writes a bootable bootsector to your USB flash drive. Do not have any windows open displaying the contents of the USB drive. Bootsect.exe needs exclusive access to the USB disk and you will not be able to write a correct bootsector.

Close this command prompt. (Do not close the other running usbprep8).

The usbprep8 command line window should now look like this:

image9

Press enter, if it does not look like the window above.

Now we need to supply information for 1-3 in the image above.

Press 1 + [Enter] - Browse for the location of your Windows XP setup files (Your CD/DVD rom). A dialog box will appear:

image10

Select your source for the Windows XP install files (CD/DVD drive) and press OK.

Press 2 +[Enter] - enter a drive letter that is not currently in use. In this example we use T:\

Press 3 + [Enter] - enter the drive letter of your USB flash drive. You can use explorer to check.

Press 4 + [Enter] - To continue with the script.

After a short while the script will ask if you wish to format the drive T:

image12

Press Y + [Enter]. ( This is just a temporary drive to hold the windowsinstallation files)

When the formatting is done, Press enter to continue. You should now see the script copying files. When it has finished you should see this:
image131

You guessed it. Press any key to continue.

The script should copy a few files.

A popup asking if you want to “copy TempDrive Files to USB-Drive in about 15 minutes = Yes” should appear:

image14

Click Yes. The script starts copying files. This takes a while, so go get a cup of coffee or something.

Once it is done, a popup will ask you “Would you like USB-stick to be Preferred Boot Drive U:”:
image15

Select Yes.

Select Yes to unmount the Virtual drive.

Close the usbprep8 command line window and any others you have left open. You might want to copy drivers from your Asus EEE support DVD to the USB stick.

Now we are done with preparing the USB-flash drive. Next step is to make the correct changes to BIOS.

BIOS settings

Turn on your EEE PC. When the screen below turns up, hit [F2]:

startup

You should now be in the BIOS.

Use the arrow keys to navigate to the Boot section of the bios.

Select Hard disk drives as in the image below and hit Enter.
Asus Bios

Press the + (plus) key to make the USB stick the first drive:
bios-boot-hard-disk-drives

Exit and save the changes:
bios-exit-save

Booting your Asus EEE PC into XP install

*IMPORTANT* Do not remove the USB-stick at any part of the installation process of Windows XP.

Reboot your EEE. You should be presented with the following screen:
first-boot
Select the bottom alternative (as in the image above) titled
“1.TXT Mode Setup Windows XP, Never unplug your USB-drive until After Logon”

From here on the Windows XP setup is pretty straight forward except for the partitioning…

Preparing partitions on the EEE XP Install

When you reach the partitioning portion of the setup you will see something similar to this:
partitioning-before

In order to install Windows XP on your Asus EEE, you need to delete each and every one of the partitions.

When done it should look like this:
partitioning-after

Recreate one primary partition on your Asus EEE and PC and format it using NTFS.

Once the text mode portion of the XP install is done, you will see this screen when booting up:
second-boot

This time select the top alternative titled:
“2. GUI Mode Setup Windows XP. Continue setup + Start XP.”

Complete the GUI part of the setup as usual. Once the GUI part is done and your EEE reboots, again select the top alt. “2. GUI Mode…”.

Now you should boot up at a normal Windows XP desktop. You can remove the usb flash drive if you wish.

วันเสาร์ที่ 10 กรกฎาคม พ.ศ. 2553

Things should be done after Ubuntu Lucid installation

0. update source

- nano /etc/apt/sources.list

add sources into this file

- system > administrator > software sources > other softwares


1. เลือก repository ที่โหลดไวที่สุด

เนื่องจากเราโปรแกรมต่างๆของ ubuntu นั้นส่วนมากจะต้องติดตั้งผ่าน apt-get ฉะนั้นแล้วเราต้องเลือก repository ที่ของไทยเราเพื่อการโหลด packet ต่างๆที่ไวขึ้น ให้ไปที่ System > Administration > Software sources

2. ติดตั้ง driver การ์ดจอก่อนเลยครับ เพื่อจะได้เล่น Compiz fusion ได้

ถึงแม้ ubuntu จะจับยัด driver ต่างๆมาให้พร้อมแล้ว แต่ก็ไม่ได้ใส่ driver การ์ดจอมาให้ครับ ฉะนั้นเราก็ต้องติดตั้งเพิ่มโดยการไปที่ System > Administration > Hardware Drivers เพื่อทำการโหลด driver มาติดตั้ง

3. ติดตั้ง Compiz fusion เพื่อใช้งาน Desktop 3D

Compiz fusion จะทำให้ ubuntu ของเราดูน่าใช้งานมากยิ่งขึ้นใครนึกไม่ออกว่าเป็นยังไงลอง search youtube ดูครับ

sudo aptitude install compizconfig-settings-manager compiz-fusion-plugins-extra

4. ติดตั้ง packet สำหรับเล่นไฟล์ mp3, mp4 และมีเดียต่างๆ

ด้วย ubuntu restricted extras เราจะไม่ต้องค่อยนั่งไล่ลง code เล่นไฟล์มีเดียต่างๆให้เมื่อยตุ่ม

sudo aptitude install ubuntu-restricted-extras

5. ติดตั้ง theme เพิ่มเติม

ubuntu lucid ได้มี theme มาพร้อมให้แล้วบางส่วนแต่อาจยังไม่ถูกใจหลายๆคน สามารถหาเพิ่มเติมได้จาก gnome-look.org หรือ

sudo aptitude install community-themes

6. ติดตั้ง Ubuntu Tweak

Ubuntu Tweak เป็นซอฟแวร์ที่ไว้ปรับแต่งระบบของ ubuntu ร่วมทั้งยังสามารถติดตั้งซอฟแวร์ตัวอื่นๆเพิ่มเติมได้อีกด้วย ใช้แทน Ubuntu Software Center ได้เลยทีเดียวครับ ซึ่งจะคล้ายๆของ Tweak UI ทางฝั่ง windows นั้นเอง

sudo add-apt-repository ppa:tualatrix/ppa
sudo aptitude update && sudo aptitude install ubuntu-tweak

7. เพิ่ม repository "Medibuntu"

เป็นแหล่งดาวน์โหลดแพกเกจที่เน้นสำหรับงานบันเทิงของ Ubuntu ทำให้เราสามารถติดตั้งโปแกรมต่างๆ ได้ง่ายขึ้น เช่น Google earth, Opera , Sun Java ,Acrobat Reader และ อื่นๆ อีกมากมาย

sudo add-apt-repository ppa:medibuntu-maintainers/ppa
sudo aptitude update

8. ติดตั้ง VLC และ SMplayer ไว้เล่นไฟล์หนัง

เนื่องจาก Tottem ที่ ubuntu ให้มานั้นไม่สามารถตอบสนองตัณหาการดูหนังของเราได้หมดฉะนั้นเราต้องหา โปรแกรมตัวอื่นมาช่วยผมจึงแนะนำ vlc และsmplayer ครับ

sudo aptitude install vlc mozilla-plugin-vlc smplayer


credit : http://www.ubuntuclub.com/node/1968

วันพุธที่ 7 กรกฎาคม พ.ศ. 2553

pfSense OS : Distro for Internet Cafe

pfSense is an open source customized distribution of FreeBSD tailored for use as a firewall and router. More intriguingly, it natively includes a long list of related features and a package system allowing further expandability without adding bloat and potential security vulnerabilities to the base distribution. Here is network diagram for pfSense ideally,



วันเสาร์ที่ 3 กรกฎาคม พ.ศ. 2553

iPhone tethering on Ubuntu(10.04 Lucid)

Ive done experiment engineering tethering on Koala as well, yet it's, however, kind of waste of time , too many error, too many dependency. After my last energy burned, I decided stepping up to Lucid without second thought. Bingo !! I unfortunately faced with boot loader malfunction, which make me go crazy for a day.
Therefore, anyone who are reading this article please forgot upgrading plan for a while. All right I gotta take you guys to the core of the intention, internet tethering on Ubuntu at this moment. I lists steps below
  1. add 2 information in system/admin/software sources
    deb http://ppa.launchpad.net/pmcenery/ppa/ubuntu lucid main
    deb-src http://ppa.launchpad.net/pmcenery/ppa/ubuntu lucid main

  2. apt-get update
  3. apt-get upgrade
  4. apt-get install git-core
  5. apt-get install libusb-dev libusb
  6. apt-get install libtool automake autoconf git-core swig build-essential python-dev libusbmuxd-dev libglib2.0-dev libgnutls-dev libplist-dev libplist++-dev libplist++1 libzip-dev libclutter-1.0-dev libclutter-gtk-0.10-dev intltool
  7. cd libimobiledevice --> โหลดเอาจาก web http://www.libimobiledevice.org/
  8. cd ../
  9. git clone git://github.com/dgiagio/ipheth.git
  10. cd ipheth/ipheth-pair
  11. ./configure
  12. make
  13. make install
  14. cd ../
  15. cd ipheth/ipheth-driver
  16. make
  17. insmod ipheth.ko


  • http://ubuntuforums.org/showthread.php?t=1471018

Ubuntu 10.04 (Lucid)

security changes
  • disable root account by default
To enable it...
A@B$ sudo passwd root
[sudo] password for A: ....
Enter net UNIX password: ....
ReType new Unix password: ....
passwd: password updated successfully