วันอาทิตย์, พฤษภาคม 27, 2550

10 โปรแกรมโอเพ่นซอร์สที่คุณไม่ควรพลาด | 10 Open Source Apps that you don't miss

10 โปรแกรมโอเพ่นซอร์สที่คุณไม่ควรพลาด

1. Open Office
Compatibility: Windows and Linux (OS X users should look into NeoOffice)
Repalce for: Microsoft Office

2. Pidgin
Compatibility: Windows and Linux (OS X users should look into Adium)
Repalce for: Windows Live Messenger™

3. Firefox
Compatibility: Windows, Linux and OS X
Repalce for: Ie, Opera

4. Thunderbird
Compatibility: Windows, Linux and OS X
Repalce for: Mail, Microsoft Outlook

5. VLC media player
Compatibility: Windows, Linux and OS X
Repalce for: Windows Media Player, QuickTime

6. Songbird
Compatibility: Windows, Linux and OS X
Repalce for: Windows Media Player, Itunes

7. Evolution
Compatibility: Windows and Linux
Repalce for: Microsoft Outlook

8. Filezilla
Compatibility: Windows, Linux and OS X
Repalce for: ftp clients

9. GIMPShop
Compatibility: Windows, Linux and OS X
Repalce for: Adobe Photoshop

10. Audacity
Compatibility: Windows, Linux and OS X
Repalce for: LAME MP3 encoder


credit: itmanagement.earthweb.com

วันศุกร์, พฤษภาคม 18, 2550

ค้นหาข้อมูลในกูเกิ้ลอย่างไีร ให้ไร้โฆษณา ? | Search google without ads ?

ท่านกำลังประสพปัญหาโฆษณารบกวนสายตาเวลาค้นหาข้อมูลส่งอาจารย์ใช่ไหม ?
ถ้าใช่...

http://www.google.co.th/search?output=googleabout

ขอให้พลังกูเกิ้ลจงอยุ่กับท่าน

วันพุธ, พฤษภาคม 09, 2550

How-to search Windows XP and Vista cd-key on the internet

Windows Xp
"computer profile summary" "software licenses" "key:" "xp"

Windows Vista
"computer profile summary" "software licenses" "key:" "Vista"


Easy and works !!!

วันเสาร์, เมษายน 21, 2550

How-to rip mp3 from CD

เมื่อวานมีคนมาขอให้ rip เพลวให้หน่อย (rip เป็น mp3)
สิ่งที่เกิดคือ
1. พอเราใส่แผ่น cd เข้าไป Sound juicer CD Extracer จะเด้งขึ้นมาและ พร้อมให้กดฟัง หรือจะ rip ออกมาเป็น format อื่น
2. แต่... มันไม่มี mp3 ทั้งๆที่ใน Edit profiles มี
3. แต่... ตรง drop down menu ดันไม่มีให้เลือก
4. จึงกดปุ่ม Help ที่อยู่มุมล่างซ้าย ก็ได้คำตอบออกมา

If you need to store tracks in the MP3 format (for example,
if your portable music player only supports MP3 and not Ogg Vorbis),
you will need to create a new profile. To do this, click on
Edit Profiles, click New,
and name the profile MP3.

Select the MP3 profile and click the Edit
button. Set GStreamer Pipeline to

audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=0 bitrate=192 ! id3v2mux

Set the File Extension to
mp3, and select the Active
check box. You will have to restart Sound Juicer to see the new
audio profile.

This profile uses the LAME MP3 encoder,
so you will need to have the GStreamer LAME plugin installed.

How-to
1. sudo apt-get install gstreamer0.10-lame
2. กด Edit Profiles ใน Sound juicer CD Extracer แล้วกด new
3. ตั้งชื่อ profiles นี้ว่า mp3
4. ก๊อปปี้ข้อความต่อไปในี้ใส่ในช่อง GStreamer Pipeline
audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=0 bitrate=192 ! id3v2mux
5. ตรงช่อง File Extension ใส่ mp3
6. เช็คเครื่องหมายถูกตรง Active ด้วยนะครับ
7. ปิด Sound juicer CD Extracer แล้วเปิดขึ้นมาใหม่ก็จะสามารถ rip ออกมาเป็น mp3 ได้ละครับ

วันพฤหัสบดี, เมษายน 19, 2550

upgrade "Edgy Eft" to "Feisty Fawn"

บันทึกการติดตั้ง "Feisty Fawn"

เนื่องจากผมคิดว่าจะ upgrade เอาจึง เจ้าไปค้นที่ http://www.ubuntu.com/getubuntu/upgrading ก็เจอวิธีการ upgrade แต่พอเอาแผ่นใส่เข้าไป แล้วทำตามขั้นตอน Update Manager ดันไม่ทำงานเสียนี่ ยังกะไม่เห็น cdrom ประมมาณนั้น ก็เลย เข้า terminal สั่ง sudo apt-cdrom ก็ไม่เจออีก ทำยังไงดี -*-

ก็เลย ติดตั้งแบบ clean install เสียเลย

1. ใส่แผ่นเข้าไป ก็จะรันแบบ live cd
2. กด install แล้วก็ทำตามขั้นตอน (การติดตั้ง feisty จะนานกว่า edgy ไม่รู้คนอื่นเป็นหรือป่าว)
3. เอาแผ่น ออก แล้ว reboot ก็เสร็จแล้ว (ไม่ต้องใส่ cd-key นะ)

มีอะไรใหม่ ?
1. drver nvidia ติดตั้งง่ายมากแค่ sudo apt-get install nvidia-glx (แต่พอ search ว่า nvidia จะเจอหลาย nvidia มากชวนให้งงๆ ว่า จะเอาตัวไหน)
2. ติดตั้ง beryl ยิ่งง่ายเข้าไปใหญ่ แค่ทำตามนี้ http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Feisty_with_nVidia
3. ภาษาไทยที่ไม่โดด ดูสะอาดสวยงาม โดยไม่ต้องปรับแต่งอะไรอีก
4. เหมือนจะเร็วกว่า edgy นิดนึง ?
5. ตัวค้นหา codec ยอดเยี่ยมมากๆ ไม่ต้องกลัวว่าจะดู หรือ ฟังอะไรไมไ่ด้ :) (แน่นอน vista ไม่มีนะ)

อะไรที่ยังเหมือนเดิม ?
1. ยัง detect ไม่เจอจอ widescreen 19" เหมือนเดิม ต้องมานั่ง แก้ xorg.conf


mac vista or linux ?

วันศุกร์, เมษายน 13, 2550

How-to convert *.flv to *.avi by ffmpeg

ลองมาหลายอันละครับ
อันนี้ง่ายที่สุด

$ ffmpeg -i videoname.flv -vcodec msmpeg4v2 outfilename.avi

วันเสาร์, กุมภาพันธ์ 24, 2550

Top 10 Most Common Passwords

Life these days has become largely dependent on passwords - whether we're checking our emails, transferring funds or shopping online, passwords have their part to play. We're constantly bombarded with horror stories of security breaches, fraud, and phishing sites. Users are consistently told that a strong password is essential these days to protect private data. Why is it, then, that users on websites opt for the same, consistent, insecure passwords time after time?

Taking an aggregate sample of passwords (primarily from the UK), we take a look at the most commonly occurring. If you spot your own password listed - it might just be time for a change!

10. 'thomas' (0.99‰)

First off, at number 10, is the most common format of passwords - the name. Thomas is a perennially popular name in the UK (2nd most popular in 2000), so it is perhaps no surprise that it makes the top 10, with nearly 1 in 1,000 people opting for this ubiquitous forename as their password.

We can only guess that there are a lot of fans of Thomas Jefferson or Thomas Edison out there! The high prevalence of Christian names only further reinforces the fact that loved ones are a common choice when it comes to passwords.

9. 'arsenal' (1.11‰)

Football teams tend to be another popular choice, and the gunners fall in 9th place. This may or may not be reflective of the fact that the word 'arsenal' starts with a 4-letter swear word - another popular choice when it comes to passwords.

Arsenal are ranked 6th overall in average attendance rankings, and are the 2nd most popular football-related password.

8. 'monkey' (1.33‰)

Quite why the monkey makes it into 8th place is beyond me, but the fact that it's a 6-letter word (6 letters is a typical minimum length for passwords), is easily typed and is memorable probably helps cement its position as ideal password material.

Still, it's quite worrying that there's such a trend - perhaps the internet and monkeys are inextricably linked?

7. 'charlie' (1.39‰)

Another name - nowhere near as common a name as No. 10, Thomas, but it's our most popular name-based password overall.

Could of course, be a homage to a number of famous Charlies - Chaplin, Sheen, or those of a Chocolate Factory persuasion. Or, of course, it could just be the case that they're referring to it's slang usage.

6. 'qwerty' (1.41‰)

I wonder where the inspiration for this one came from? Perhaps when faced with a blinking cursor and an instruction to choose a password people will tend to look to the things closest to them - which would explain why 1 in 700 people choose 'qwerty' as their password.

5. '123456' (1.63‰)

Can you count to 6? It's the most common minimum required length of password - and the 5th most common password.

4. 'letmein' (1.76‰)

A modern-day version of 'open sesame' - and 1 person in 560 will type 'letmein' as their password. Quite why is beyond me.

I could be mistaken, but I have a hunch that 'letmein' has been featured in a movie or TV series - Fox Mulder's password from the X Files - 'trustno1' - also ranked quite highly.

3. 'liverpool' (1.82‰)

The most popular football team by some margin, Liverpool was the third most popular password overall. Does this mean that 1 in 550 people is such a devout Liverpool fan that they would be willing to entrust private data to the team they love?

Liverpool ranked 3rd in the average attendance ratings - leaving the 2 most popular teams, Manchester United and Newcastle United, out of the top 10 list - perhaps because they're too long and difficult to type.

2. 'password' (3.780‰)

Akin to pressing the 'any' key, when told to enter a 'password', it would seem that users aren't the sharpest tool in the box - with almost 1 in 250 people choosing the word 'password'.

1. '123' (3.784‰)

With nearly 4 people in 1,000 opting for a simple numerical sequence as their password (it should be noted that there was no lower length limit specified), '123' must be the first thing a lot of people think of when asked to specify a password. One dreads to think what their PIN number might be!


Credit:

http://www.modernlifeisrubbish.co.uk/article/top-10-most-common-passwords



วันพฤหัสบดี, กุมภาพันธ์ 15, 2550

How To Recover Files in ubuntu and *uix

ดู vdo นี้มาแล้วดีมากๆเลย
จึงอยาก แบ่งปันความรู้

VDO

1. ติดตั้ง foremost ก่อน
sudo aptitude install foremost

2. ต่อไปทำ image จาก device ที่ต้องการจะ recovering เช่น cdrom=/dev/cdrom usb=/dev/sda hdd=/dev/hda เป็นต้น
dd if=/dev/sda of=~/Desktop/recov.img (คือดึงข้อมูลจาก usb มาเป็น image ที่หน้าจอ desktop ชื่อไฟล์ recov.img)

3. สร้าง folder ว่างๆขึ้นมา เพื่อทำการเก็บไฟลืที่กู้ได้ลงไป
mkdir ~/Desktop/recover

4. กู้ข้อมูลขึ้นมา :) โดยใช้ foremost ซึ่งมี คำสั่งพิเศษสำคัญๆคือ -i image file -o output directory -t types of file to recover
foremost -o ~/Desktop/recover -t all -i ~/Desktop/recov.img

5. เสร็จแล้วครับ :) ดูไฟล์ที่กู้ได้ ที่ folder ที่สร้างขึ้นมาใหม่เลย

วันพฤหัสบดี, มกราคม 04, 2550

vmware server on ubuntu linux 6.10

1. Download vmware-server
2. ก่อนที่จะ download จะมีช่องให้กรอกข้อมูล ใส่ไปตามจริงซะ เพราะ serial-number จะถูกส่งให้ทาง เมลย์
3. บลาๆๆๆๆ ขี้เกียจเขียนละ ตามอ่านที่ blog คนอื่นละกัน

ไทย
english

วันพฤหัสบดี, พฤศจิกายน 30, 2549

How-to set up samba in ubuntu for working with windows.

ติดตั้ง samba ก่อน
sudo apt-get install samba

จากนั้นปิดการทำงานของ samba เพื่อเข้าไปแก้ไข config
sudo /etc/init.d/samba stop

samba จะเก็บค่า config ไว้ที่ /etc/samba/smb.conf
ซึ่งข้างในจะมีรายละเอียดในการปรับแต่งอยู่พอสมควร
"อย่าไปสนใจ" ย้ายไปทีอื่นซะ (เผื่อพัง)
sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.template

แล้วก็สร้าง smb.conf ขึ้นมาใหม่
sudo nano /etc/samba/smb.conf

Copy/Paste ค่า config ข้างล่างนี้ลงไปเลย
[global]
; General server settings
netbios name = YOUR_HOSTNAME
server string =
workgroup = YOUR_WORKGROUP
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192

passdb backend = tdbsam
security = user
null passwords = true
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast

wins support = yes

printing = CUPS
printcap name = CUPS

syslog = 1
syslog only = yes

; NOTE: If you need access to the user home directories uncomment the
; lines below and adjust the settings to your hearts content.
;[homes]
;valid users = %S
;create mode = 0600
;directory mode = 0755
;browseable = no
;read only = no
;veto files = /*.{*}/.*/mail/bin/

; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = Administrator
;valid users = %U
;read only = no

; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = yes
;browseable = no

; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775

[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no

; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
;path = /media/cdrom
;browseable = yes
;read only = yes
;guest ok = yes

[MyFiles]
path = /media/samba/
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = YOUR_USERNAME
force group = YOUR_USERGROUP

แล้วเราก็มาแก้ YOUR_HOSTNAME กับ YOUR_WORKGROUP กัน
Q: YOUR_HOSTNAME คืออะไร ?
A: เปิด terminal ขึ้นมา ข้างหลังตัว @ นั่นแหละ YOUR_HOSTNAME (มันก็คือชื่อเครื่องนั่นแหละ)

Q: YOUR_WORKGROUP หละ
A: วงแลนที่คุณอาศัยอยู่ชื่ออะไร ? (ส่วนมากจะเป็น WORKGROUP หรือไม่งั้นก็ MSHOME)

Q: YOUR_USERNAME กับ YOUR_USERGROUP หละ
A: ชื่อที่ใช้ใน login (เปิด terminal ขึ้นมาตัวที่อยู่หน้า @ นั่นแหละชื่อ login ของคุณ)

Q: อยากเก็บ file ไว้ที่ path อื่นทำยังไง (folder อื่นนั่นแหละ)
A: ตามค่า config มันจะเก็บไว้ใน /media/samba ถ้าคุณอยากเก็บไว้ที่อื่นก็เพียงแค่แก้ตรง
path = /media/samba/ เป็นอย่างอื่น เช่น /home/files/
อย่าลืม สร้าง folder ขึ้นมารองรับนะครับ ด้วยคำสั่ง mkdir

Q: ใช้ mkdir ไม่เป็น
A: - - จะสร้าง folder files ใน folder home ก็พิมพ์ไป ว่า sudo mkdir /home/files

หลังจากนั้นก็ ปิด nano ด้วยปุ่ม ctrl+x ซะ
nano จะถามว่า จะบันทึกการเปลี่ยนแปลงไหม ให้กด y
แล้วเราก็จะมาโผล่ที่หน้าจอมืดๆเหมือนเดิม
sudo chmod 0777 /media/samba

คำสั่งนี้เพื่อให้เครื่องอื่นๆสามารถเข้ามาใช้ folder ที่เรา share ไว้ได้
อย่าลืม เปลี่ยน /media/samba ถ้าคุณเปลี่ยนเป็นอย่างอื่น

จบการ config samba ในส่วนของ smb.conf

ที่หน้าต่าง terminal สั่งเปิดบริการ samba
sudo /etc/init.d/samba start

แล้ว add ชื่อเราให้เป็น samba user
sudo smbpasswd -L -a your_username
sudo smbpasswd -L -e your_username

ถ้าอยากให้คนอื่นเข้ามาใช้โดยมี username เป็นของตัวเองก็ adduser ใหม่เข้าไป
sudo useradd -s /bin/true mark
sudo smbpasswd -L -a mark
sudo smbpasswd -L -e mark

จบการ config samba แบบ newbie เพียงเท่านี้

credit:
ubuntuforums.org

วันพฤหัสบดี, สิงหาคม 17, 2549

SCP Man Page

NAME

scp - secure copy (remote file copy program)


SYNOPSIS

scp [-pqrvBC46] [-F ssh_config] [-S program] [-P port] [-c cipher]
[-i identity_file] [-o ssh_option] [[user@]host1:]file1 [...]
[[user@]host2:]file2


DESCRIPTION

scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provides the same security as ssh(1). Unlike rcp, scp will ask for passwords or passphrases if they are needed for authentication.

Any file name may contain a host and user specification to indicate that the file is to be copied to/from that host. Copies between two remote hosts are permitted.

The options are as follows:

-c cipher
Selects the cipher to use for encrypting the data transfer. This option is directly passed to ssh(1).

-i identity_file
Selects the file from which the identity (private key) for RSA authentication is read. This option is directly passed to ssh(1).

-p Preserves modification times, access times, and modes from the original file.

-r Recursively copy entire directories.

-v Verbose mode. Causes scp and ssh(1) to print debugging messages about their progress. This is helpful in debugging connection, authentication, and configuration problems.

-B Selects batch mode (prevents asking for passwords or passphrases).

-q Disables the progress meter.

-C Compression enable. Passes the -C flag to ssh(1) to enable compression.

-F ssh_config
Specifies an alternative per-user configuration file for ssh. This option is directly passed to ssh(1).

-P port
Specifies the port to connect to on the remote host. Note that this option is written with a capital `P', because -p is already reserved for preserving the times and modes of the file in rcp.

-S program
Name of program to use for the encrypted connection. The program must understand ssh(1) options.

-o ssh_option
Can be used to pass options to ssh in the format used in the ssh(1) configuration file. This is useful for specifying options for which there is no separate scp command-line flag. For example, forcing the use of protocol version 1 is specified using scp -oProtocol=1.

-4 Forces scp to use IPv4 addresses only.

-6 Forces scp to use IPv6 addresses only.


DIAGNOSTICS

scp exits with 0 on success or >0 if an error occurred.


AUTHORS

Timo Rinne and Tatu Ylonen


HISTORY

scp is based on the rcp program in BSD source code from the Regents of the University of California.

---------------------------------------------------------------------------------------------

ยากไป ?

scp -option source_file username@hostname:target_file

เช่น

scp -P 222 /home/bluestulip/xxx.zip root@192.168.1.1:/home

-P คือสั่งให้ใช้ port 222 ในการใช้ scp

วันอังคาร, สิงหาคม 15, 2549

compiz + xgl + ati + ubuntu

http://www.compiz.net/viewtopic.php?id=389

http://www.cin.ufpe.br/~cinlug/drupal/?q=node/61

จะว่ายากก็ยาก

จะว่าง่ายมันก็ง่าย

วันอังคาร, สิงหาคม 01, 2549

rape

ดาราสาววัยรุ่นผู้มีไหวพริบ ..ถูกข่มขืน


เป็นข่าวหน้าหนังสือพิมพ์...ว่า...ดาราวัยรุ่นผู้มีไหวพริบ
ปฏิภาณดีมากคนหนึ่ง..ถูกข่มขืนขณะเดินเข้า
บ้านในซอยเปลี่ยว..ยามค่ำคืน...

ปวีณา : ทำไมถึงกลับบ้านดึกดื่นล่ะจ๊ะหนู... ? แล้วหนูกลับบ้านยังไง .?

ดาราสาว : มีดาราหนุ่มรุ่นพี่มาส่งค่ะ...แต่ด้วยไหวพริบของหนูหนูสังเกตว่าเขาเป็นคนขี้หลี...ถ้าให้รู้จักบ้านก็จะตามมาตื้อจนรำคาญ
จึงให้ส่ง แค่ปากซอย...แล้วหนู เดินเข้ามา

ปวีณา :แล้วเกิดอะไรขึ้น...?

ดาราสาว :มีผู้ชายคนหนึ่ง..รูปร่างสูงใหญ่..ล่ำสัน.มีอาการเมาเล็กน้อยเดินตามหนูมา..ด้วยไหวพริบ
ของหนู..หนูรู้ได้เลยว่าไม่ได้มาดีแน่...

ปวีณา : แล้วยังไงต่อจ๊ะ... ?

ดาราสาว :หนูตัดสินใจออกวิ่ง..แต่ชายคนนั้นก็วิ่งตามทันที..ด้วยไหวพริบหนูรู้ว่าวิ่งยังไงก็คงไม่เร็วกว่าผู้ชายอยู่ดียังไงเขาก็ต้องตามทัน..และใช้กำลังแน่นอน

ปวีณา : ยังไงต่อจ๊ะ.. . ?

ดาราสาว :ด้วยไหวพริบของหนู..หนูตัดสินใจหยุดวิ่ง..เพื่อไม่ให้ต้องเจ็บตัวหนู
ตัดสินใจ เจรจาต่อรอง....

ปวีณา : ผลการเจรจาเป็นอย่างไรจ๊ะ. ?

ดาราสาว :หนูบอกเขาว่า..ไม่มีประโยชน์ที่จะต้องใช้กำลัง..
ไม่เกิดผลดีต่อทั้งสอง ฝ่าย.. หนูยินยอม ทำตามที่ เขาต้องการ...

ปวีณา :เรื่องเป็นอย่างไรต่อจากนั้น... ?

ดาราสาว :ด้วยไหวพริบของหนู...หนูชวนเขาเข้าไปในซอกตึกลับตาคน
แล้วต่างคนต่างถอดเสื้อผ้าของตัวเอง
หนูถกกระโปรงขึ้นมาเหนือเอว.ส่วนเขาปลดกางเกงตกลงมากรอมเท้า

ปวีณา : เรื่องเป็นยังไงต่อจ๊ะ... ?

ดาราสาว :ลองใช้ไหวพริบคิดดูสิ..ว่า.ชายที่รูดกางเกงลงไปกองที่ตาตุ่ม..กับหญิงสาวที่ถกกระโปรงขึ้นเหนือเอว...ใครจะวิ่งเร็วกว่ากัน...?


ปวีณา : แต่อย่างน้อยเค้าก็เห็นของหนู??

ดาราสาว : ด้วยไหวพริบ? หนูก็ไม่ยอมเสียเปรียบหรอกค่ะ
หนูใช้ก็เวลาครู่หนึ่งเพื่อจ้องดูของเขาเหมือนกันก่อนวิ่งหนี??

ปวีณา : (ทำหน้าเอ๋อ)?????....แล้วหนูรู้สึกยังล่ะค่ะ ??
ดาราสาว : เสียดาย????

วันศุกร์, กรกฎาคม 14, 2549

words

นิ​โคโปลิดิส​ (1440 - 1495) ​นักปราชญ์ชาวกรีซกล่าว​ไว้​ว่า​
​"​ผู้​หญิงเริ่ม​เป็น​สาวเมื่อหัด​ใส่​บรา​ ​และ​ ​ผู้​ชายเริ่ม​เป็น​หนุ่มเมื่อหัดถอดบรา​"

วันพฤหัสบดี, มิถุนายน 22, 2549

rapideshare

Login: 826783
Password: 4059595

Login: 810569
Password: 1667962

Login: 808338
Password: 1782146

Login: 797226
Password: 2298669

Login: 796793
Password: 4972196

วันเสาร์, มิถุนายน 17, 2549

Some program

microsoft BootVis 1.3.36.0 328.9kb
hxxp://download.microsoft.com/download/whistler/BTV/1.0/WXP/EN-US/bootVis-tool.exe

microsoft DirectX 9.0 RC 2 221.6kb
hxxp://ftp2.ttdown.com/D/DirectXv9.0 RC 2.rar

microsoft DirectX 9.0 Final 31.83mb
hxxp://we.promocja.net/p/dx90_redist.exe

microsoft DirectX 9.0 Control Panel 106kb
hxxp://hxxp.ttdown.com/D/DirectX 9 Control Panel.exe

microsoft DirectX 9.0 Uninstaller 32.4kb
hxxp://ftp.pconline.com.cn/pub/download/200206/directx-dx9uninstaller.zip

microsoft DirectX 9 (98-ME-NT-2000-XP) 33.88 mb
hxxp://www.goesp.com/downloads/Software/DirectX 9(98-ME-NT-2000-XP)/DirectX 9 (98-ME-NT-2000-XP).exe

microsoft DirectX v9.0 Final MINI-INSTALLER
hxxp://download.microsoft.com/download/2/2/3/22371837-c4dc-4f8b-af21-00c80d8b235c/dxwebsetup.exe

microsoft eMbedded Visual Tools v.3.0 304.86mb
hxxp://a144.ms.a.microsoft.com/f/144/1611/2h/download.microsoft.com/download/wince/Install/3.0/W9X2K/EN-US/EN_W

INCE_EMBDVTOOLS30.exe

microsoft Encarta Reference Library 2003 CD1.ISO 572.02M
hxxp://free.techno-link.com/twins/-=SOFTWARE=-/microsoft Encarta 2003/CD1/microsoft Encarta Reference Library

2003 CD1.ISO

microsoft Encarta Reference Library 2003 CD2.bin 735.05M
hxxp://free.techno-link.com/twins/-=SOFTWARE=-/microsoft Encarta 2003/CD2/microsoft Encarta Reference Library

2003 CD2.bin

microsoft Encarta Reference Library 2003 CD3.bin 710.51M
hxxp://free.techno-link.com/twins/-=SOFTWARE=-/microsoft Encarta 2003/CD3/microsoft Encarta Reference Library

2003 CD3.bin

microsoft Internet Explorer 6 SP1 (Full Installation)
hxxp://helpdesk.uvic.ca/how-to/support/win32/MSIEXPL/ie60sp1.exe
hxxp://ftp.gentoo.skynet.be/pub/ftp.microsoft.com/internet-explorer/6.0sp1/ie60sp1.exe
hxxp://debian.goldweb.com.au/microsoft/internet-explorer/6.0sp1/ie60sp1.exe
hxxp://public.planetmirror.com/pub/microsoft/ie/6.0sp1/ie60sp1.exe
hxxp://ftp.up.ac.za/pub/windows/microsoft/updates/internet-explorer/6.0sp1/ie60sp1.exe
hxxp://smokeping.planetmirror.com/pub/www/clients/ie/6.0sp1/ie60sp1.exe
hxxp://tucows.iinet.com.au/pub/microsoft/internet-explorer/6.0sp1/ie60sp1.exe

microsoft Money 2003 Deluxe ENG 103.98m
fxp://homelinux.serveftp.com/PUB/FILES UPLOADED/microsoft Money 2003 Deluxe ENG/microsoft Money 2003/Deluxe ENG.zip

microsoft Money 2004 232 mb
hxxp://download.microsoft.com/download/0/4/9/049e6dd3-e66d-4845-917f-ad740bde176c/M12USWEB.exe

microsoft Money 2004 Small Business 232 mb
fxp://24.73.254.226/microsoft.MONEY.2004.SMALL.BUSINESS-PHX.iSO

microsoft MSN Internet Explorer 8.0 17.88mb
hxxp://ftpgz3.pconline.com.cn/pub/download/200204/msnsetup_min.exe

microsoft Plus! Digital Media Edition 38.68mb
hxxp://download.microsoft.com/download/d/d/a/dda3be4e-4515-4421-ad12-e3b394d41302/plusdme_full.exe

microsoft Pocket PC 2003 SDK 86.09M
hxxp://download.microsoft.com/download/6/9/5/69570242-44e8-45e6-a252-9bd56db8ec83/microsoft Pocket PC 2003 SDK.msi

microsoft Office XP Professional SP2 .iso 642.73M
fxp://ftpx.balticom.lv/software/Office%2P by
Pycckuu/Microsoft_Office_XP_Professional_SP2_integrated.Balder.ShareReactor.iso

microsoft Office XP 324.04mb
hxxp://users.matrix.com.br/elton/coisas/iso/officexp.iso

microsoft Office XP Plus Pack 301.59mb
fxp://download.zj165.com/screen/WinXP.Plus.iso

microsoft.-.Route.66.Europa.Professional.2003..CD3 697.31mb
hxxp://gracchi.dyndns.org/apollo/kazaa_dwnld/microsoft.-.Route.66.Europa.Professional.2003

microsoft Visual Basic .net 60.79M
hxxp://download.microsoft.com/download/8/2/7/827b98b9-0450-4882-bde6-9c70f843bb39/moving to microsoft visual basic .net.exe

microsoft Visual C 4.41 325.82mb
hxxp://download.microsoft.com/download/WindowsCENETPlatformBuilder/Install/4.0/NT5XP/EN-US/eVC4.exe

Mocosoft Visual Fox-Pro V8.0 144 mb
hxxp://www.yahoo.com/*hxxp://gz.htun.net/down0day/microsoft Visual FoxPro 80.rar

microsoft Windows.NET 562.74mb
hxxp://www.songtoday.com/modules.php?name=Downloads&d_op=getit&lid!0

Windows Server 2003 Enterprise ISO
hxxp://download.microsoft.com/download/5/2/b/52beb621-1a93-41bb-a57d-ea5c7aef7f76/x09-22207.iso

Windows Server 2003 Security Guide 2.33 mb
hxxp://download.microsoft.com/download/c/8/6/c86b1b59-0388-4945-8bd9-06f04db13136/Windows_Server_2003_Security_

Guide.exe

Windows Server 2003 6in1.v2 ISO 557.00mb
hxxp://www.qatarzone.net/new/aun_wsi.zip

Windows Server 2003 Corporate 6 in 1 CD.iso 704.08mb
hxxp://www.freeware.ru/disk2/ISO/Windows.2003.Server.Corp.Ed.6in1/Windows Server 2003 Corporate 6 in 1 CD.iso



Windows Server 2003 US 3in1 web-std-ent 663.04mb
fxp://androxius.homelinux.com/windows 2003 server US 3in1 web-std-ent.rar

microsoft.Visual.Studio.NET.2003.Enterprise.Architect 1,517.09mb
fxp://lloydzq.bingle.org.cn/iso/microsoft2003/microsoft.Visual.Studio.NET.2003.Enterprise.Architect.EN/microsof

t.Visual.Studio.NET.2003.Enterprise.Architect.iso

Windows XP PLUS!.ISO 308.83mb
hxxp://rack4.free.evro.net/server29/Mordeth2/ Programs/Windows%2P Plus!/WINDOWS%2P PLUS!.ISO

Windows XP VLK CN.ISO 576.49mb
fxp://www.mofang.net/software/ms/Windows_XP_VLK_CN.ISO

Windows XP Corporate.iso 500.33mb
fxp://sonikteam.dyndns.org/pub/Windows%2P Corporate Edition/win xp corporate.iso

Windows XP Home FULL.iso 520.48mb
fxp://computersolutions.gotdns.com/windows xp home (full iso).exe

Windows XP Plus! Mirror 172.00mb
hxxp://users.matrix.com.br/elton/downloads/xp/Plus
for Windows%2P (THIS ONE WORKS - NOT THE 149MB VERSION!!!!!).exe

microsoft Plus! XP
fxp://61.241.82.27/screen/WinXP.Plus.iso

PC Edition Code: 2in1
hxxp://cdr-soft.host.sk/xptabletpc.html

microsoft Windows Preinstallation Environment (WinPE) ISO
fxp://143.192.1.18/pub/other/
/ 4tune/Temp/microsoft.WINDOWS.PE.ISO-RiSE/

microsoft Virtual PC v5.2
hxxp://down.ttdown.com/SoftDown.asp?ID2415

microsoft Office 2003 R2 (All In One) ISO (Beta)
hxxp://61.156.38.34/lcdown/Office.2003.b2.AIO-WiNBETA.iso
SN:
Chicken Link

microsoft windows2003 Server Enterprise ISO (556.002 MB)
hxxp://download.microsoft.com/download/5/2/b/52beb621-1a93-41bb-a57d-ea5c7aef7f76/x09-22207.iso

microsoft MSDN subscriptions 2003 - 3 CD\`s
CD 1 ISO (656.204 MB)
hxxp://www.tlkd.net/download1/book/en_library_cd1.iso
CD 2 ISO (654.390 MB)
hxxp://www.tlkd.net/download1/book/en_library_cd2.iso
CD 3 ISO (552.700 MB)
hxxp://www.tlkd.net/download1/book/en_library_cd3.iso

microsoft Windows CE.NET (482 MB)
hxxp://download.microsoft.com/download/wince/install/ee/nt5xp/en-us/winceemul.exe

microsoft WINDOW XP PLUS ISO (308 MB)
fxp://61.241.82.27/screen/WinXP.Plus.iso

Windows Server 2003 SP1 Build 1039-2
hxxp://www.flexbeta.net/main/comments.php?catid=1&idB41

Microsoft Plus! for Windows XP (308.826 MB)
UNRAR PASSWORD: fastdls
Chicken Link
fxp://0day:0FugNGwG8Q@download.cncday.com/0day/MICROSOFT_PLUS_FOR_WINXP.ISO
fxp://0day:0FugNGwG8Q@download.nbip.net/0day/MICROSOFT_PLUS_FOR_WINXP.ISO


Microsoft Office Visio Professional 2003 (262.582 MB)
UNRAR PASSWORD: fastdls
fxp://0day:0FugNGwG8Q@download.cncday.com/0day/visio_pro_2003.rar
fxp://0day:0FugNGwG8Q@download.nbip.net/0day/visio_pro_2003.rar

UNRAR PASSWORD: fastdls
CD-Key: Chicken Link
fxp://0day:0FugNGwG8Q@download.cncday.com/0day/office_project_pro_2003_eng.rar

Microsoft Exchange Server 2003 Enterprise Edition RETAIL (131.924 MB)
UNRAR PASSWORD: fastdls
fxp://0day:0FugNGwG8Q@download.cncday.com/0day/mid-mses2k3enterprise.rar
fxp://0day:0FugNGwG8Q@download.nbip.net/0day/mid-mses2k3enterprise.rar

Microsoft Office FrontPage 2003 RETAIL (226.000 MB)
UNRAR PASSWORD: fastdls
CD-Key: Chicken Link
fxp://0day:0FugNGwG8Q@download.cncday.com/0day/frontpage2003_eng.rar
fxp://0day:0FugNGwG8Q@download.nbip.net/0day/frontpage2003_eng.rar

Microsoft Digital Image Suite v9.0.603.0 (1.061.055 GB)
UNRAR PASSWORD: fastdls
fxp://0day:0FugNGwG8Q@download.cncday.com/0day/ms_di9suite.rar
fxp://0day:0FugNGwG8Q@download.nbip.net/0day/ms_di9suite.rar

วันพฤหัสบดี, เมษายน 20, 2549

squid tip

สำหรับวง Lan หรือเล่นคนเดียว brock d/l ได้ 100 % และยัง brock www ได้อีกแต่ต้องสร้าง url.conf ไว้ใน C:/squid/etc/ แล้วใน url.conf ให้ใส่ชื่อที่ต้องการ brock คำใน www เข้าไปได้เลย เช่น sex xxx fuck

http_port 8080
icp_port 3130
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 42 MB <<< เอาแรมในเครื่อง หาร 3 นะครับ
cache_replacement_policy heap GDSF
memory_replacement_policy heap GDSF
maximum_object_size 4096 KB
minimum_object_size 0 KB
cache_dir ufs C:/squid/cache 128 16 256 <<< ท่าใครคิดว่าเครื่องส่งถ่ายข้อมูลดี ก็เพิ่ม ได้นะครับ
cache_access_log C:/squid/var/logs/access.log
cache_store_log C:/squid/var/logs/store.log
cache_log C:/squid/var/logs/cache.log
mime_table C:/squid/etc/mime.conf
pid_filename C:/squid/squid.pid
buffered_logs on
logfile_rotate 7
ie_refresh on
reference_age 2 hours <<< ส่วนนี้ใส่ไว้ 2 ชม. เพื่อให้ referen cache มั้งครับทุก 2 ชม. แล้วแต่ใครจะตั้งเท่าไหร่ตามใจท่าน
refresh_pattern -i \.(gif|jpg|jpeg|png|bmp|tif|xbm|tiff)$ 604800 20% 2419200 <<< ส่วนนี้เป็นการเพิ่ม buffer ให้พวกนามสกุล jpg gif อะไรพวกนี้ที่อยากให้โหลดเร็วขึ้น
refresh_pattern ^http:// 4320 20% 43200 <<< อันนี้เป็นส่วนของ www
refresh_pattern ^ftp: 4320 20% 43200 <<< อันนี้เป็นส่วนของ ftp
refresh_pattern . 86400 20% 2419200 <<< อันนี้เป็นส่วนของ .
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl localnet src 192.168.0.0/255.255.255.0
acl manager proto cache_object
acl lock url_regex 'C:/squid/etc/url.conf'
http_access deny lock
acl download urlpath_regex -i \.exe$ \.zip$ \.rar$ \.mp3$
http_access deny download
acl Safe_ports port 80 443 210 70 21 1025-65535
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access allow localhost
http_access allow localnet
http_access deny !Safe_ports
http_access deny CONNECT
http_access deny all
icp_access allow all
dns_nameservers 203.121.130.39 <<< ส่วนนี้คือค่า DNS ของ ISP ที่เราใช้อยู่ท่าใช้เน็ต 2 ISP ก็ใส่ไป 2แถว
dns_nameservers 203.113.93.1
cache_effective_user squid
cache_effective_group squid
cache_mgr Administrator
visible_hostname Jasda
delay_pools 2 <<< 4 บรรทัดนับจากนี้ไปเป็นการจำกัดแบนวิทให้กับคนที่ใช้ www ผ่าน squid
delay_class 1 2
delay_access 1 allow all <<< allow all นี้คือทั้งหมดนะครับ
delay_parameters 1 -1/-1 5000/5000 <<< อันนี้จำกัดไว้ที่ 50 kbps

******************************************************************จบ********************************************************* ปล ท่าเอาไปใช้อย่าลืมลบ <<< คำที่เขียนต่อท้ายด้วยหละ
หมายเหตุท่าจาให้ squid จำกัดแบนวิท ได้ต้องใช้ squid เวอร์ชั่น squid-2.5.STABLE5-NT-bin-DELAYP.zip ด้วยนะครับ หา d/l ได้ที่ http://www.serassio.it/ ครับ
ส่วนร้านใครที่เปิดให้ d/l ได้แต่อยากจะกำจัด แบนวิท ในการ d/l ก็ทำได้ครับโดยการทำตามนี้เลยครับ

acl zip url_regex -i (\.zip$|\.exe$|\.rar$)
delay_pools 2
delay_class 1 2
delay_access 1 allow all !zip
delay_parameters 1 -1/-1 5000/5000

อันนี้จาจำกัดเฉพาะ zip exe rar ให้ d/l ได้ 50 kbps ครับ

acl บรรทัดแรกบอกสควิดว่า ไฟลล์แบบไหนไม่คุม D/L
บรรทัด ที่มี 5000/5000 เป็นตัวกำหนด ความเร็วD/L สูงสุด ; 5000=5kชุดแรก
คือแต่ละเครื่อง ; 5000ชุดสองกำหนดแต่ละเครื่องรวมกันไม่เกิน5000=5k
ถ้ากำหนดไว้ 5000/5000 ยังไงก้อD/Lไม่เกิน5เค
ถ้ากำหนดไว้ 3000/5000 ก้อแต่ละเครื่อง3k ไม่เกิน5k






block ราย บุคคล



คร่าวๆนะครับ
ทำ transparent proxy ถ้าหากต้องการบล็อก download ไปเลยก็กำหนด acl โดยประมาณตามนี้ครับ (ตัดมาบางส่วน ติ๊ต่างว่าคนถามเข้าใจเรื่องพวกนี้พอควร)
acl mynet src xxx.xxx.xxx..xxx/xxx.xxx.xxx.xxx ----- xxx แทนด้วย ip/subnet mask
acl daytime time 09:00-16:30 MTWHFAS
acl download urlpath_regex \.exe$ \.EXE$ \.zip$ \.ZIP$ \.rar$ \.RAR$ \.mp3$ \.MP3$ \.mov$ \.MOV$ \.mpg$ \.MPG$ \.mpeg$ \.MPEG$ \.avi$ \.iso$ \.AVI$
....
....

http_access deny download daytime
http_access allow mynet

ส่วนถ้าหากต้องการอนุญาติให้บางคนโหลดได้หรืออยู่นอกเหนือกฏต่างก็ กำหนด

acl allowall src "/etc/squid/allow.ip" ---- เก็บหมายเลขไอพีที่ต้องการอนุญาติ
acl mynet src xxx.xxx.xxx..xxx/xxx.xxx.xxx.xxx ----- xxx แทนด้วย ip/subnet mask
acl daytime time 09:00-16:30 MTWHFAS
acl download urlpath_regex \.exe$ \.EXE$ \.zip$ \.ZIP$ \.rar$ \.RAR$ \.mp3$ \.MP3$ \.mov$ \.MOV$ \.mpg$ \.MPG$ \.mpeg$ \.MPEG$ \.avi$ \.iso$ \.AVI$
....

http_access allow allowall
http_access deny download daytime
http_access allow mynet





------------------------------------------------------------------------
วิธีการ block เวบที่ไม่พึงประสงค์ทั้งหมด ใน linux RH XX ทำได้ดังนี้ครับ

1. พิมพ์บัญชีดำ รายชื่อเวบที่ไม่ต้องการให้เข้าไป (ในที่นี้สมมติ) suwanun.txt ในไฟล์มีข้อความ
#<=================>
http://www.sexy.com/
http://www.ddd.com/game/*
http://......................ฯลฯ
<=================>

2. แก้ไขไฟล์ squid.conf ในหัวส่วนต่อไปนี้ acl และ http_access

#<==================>
acl lockschool url_regex '/etc/squid/suwanun.txt' ( บรรทัดนี้ เอาไว้บนสุดของ acl ...... เลยนะครับ)
http_access deny lockschool ( บรรทัดนี้เอาไว้บนสุดของ http_access.........)
<====================>

3. copy ไฟล์ suwanun.txt ไปไว้ที่ ไดเรคตอรี่ /etc/squid/ (ตามที่ระบุใน path อาจพิมพ์โดยตรงด้วย pico ใน path ดังกล่าวก็ได้ครับ)

4. เครื่องลูกทุกเครื่องให้ fix IP เพราะง่ายต่อการตรวจสอบภายหลัง

หมายเหตุ
1 'lockschool' เป็นการตั้งชื่อ acl (ตั้งเป็นชื่ออะไรก็ได้ตามถนัด) แต่เวลาอ้างใน http_access deny ก็ต้องอ้างตามชื่อที่เราตั้งไว้

ทำ 4 ข้อที่กล่าวข้างต้นก็พอเพียงแล้วนะครับ โดยบัญชีรายชื่อเวบไม่พึงประสงค์เพิ่มลงไนไฟล์ suwanun.txt ได้ตลอดเวลา




------------------------------------------------------------------------------
สำหรับ SquidGuard ตัวนี้เป็นนำฐานข้อมูล .db มาใช้เก็บเว็บที่ไม่ต้องการและ สามารถเรียกตรวจสอบเวบที่มีอยู่ในฐานข้อมูลอย่างรวดเร็ว ซึ่งจะแตกต่างจากการใช้การ block โดยการเก็บรายชื่อเว็บแบบธรรมดา ซึ่งจะมีตรวจสอบเว็บที่ช้าถ้าหากมีรายชื่อเว็บในปริมาณที่มาก มาดูกันว่าการลงแบบนี้มีขั้นตอนอย่างไรบ้างครับ

1. ดาวน์โหลด squidGuard-1.2.0-3.i386.rpm
2. ดาวน์โหลด squidGuard-1.2.0-3.src.rpm
3. ติดตั้ง squidGuard-1.2.0-3.i386.rpm

[root@NicNack squidstuff]# rpm -Uvh --nodeps ./squidGuard-1.2.0-3.i386.rpm
Preparing... ########################################### [100%]
1:squidGuard ########################################### [100%]


4. ติดตั้ง squidGuard-1.2.0-3.src.rpm

root@NicNack squidstuff]# rpm -Uvh ./squidGuard-1.2.0-3.src.rpm
1:squidGuard ########################################### [100%]


[root@NicNack squidstuff]# cd /usr/src/redhat/SOURCES/
[root@NicNack SOURCES]# ls
blacklists.tgz squidGuard.conf squidguard.logrotate
squidGuard-1.2.0.tar.gz squidguard.crond update_squidguard_blacklists



[root@NicNack SOURCES]# tar -zxvf ./squidGuard-1.2.0.tar.gz
[root@NicNack SOURCES]# cd squidGuard-1.2.0
[root@NicNack squidGuard-1.2.0]#./configure
[root@NicNack squidGuard-1.2.0]# make
[root@NicNack squidGuard-1.2.0]# cd src
[root@NicNack src]# cp ./squidGuard /usr/sbin/squidGuard
cp: overwrite `/usr/sbin/squidGuard'? y

5. แก้ไขไฟล์ squid.conf
[root@NicNack src]# vi /etc/squid/squid.conf
เพิ่มบรรทัดต่อไปนี้
redirect_program /usr/sbin/squidGuard -c /etc/squid/squidGuard.conf
redirect_children 5

6. การ update ไฟล์ เข้าไปที่ /var/squidGuard/blacklists ใช้ pico หรือ vi จัดการเพิ่มหรือลบเว็บที่ต้องการจากนั้นใช้คำสั่ง
[root@NicNack src]# /usr/sbin/update_squidguard_blacklists เพื่อแปลงเป็นฐานข้อมูล .db เช่น url เป็น url.db ครับ

7. แก้ไขไฟล์ squidGuard.cgi ใน /var/www/cgi-bin ดังนี้ครับ
7.1 ลบข้อความที่อยู่หลัง #! /usr/bin/perl ออก
7.2 ตรง# CONFIGURABLE OPTIONS: เปลี่ยน yourdomain เป็นตามที่ต้องการ สร้างไฟล์หรือดาวน์ไฟล์ที่ชื่อ blocked.gif มาเก็บไฟล์ในห้อง /var/www/html/images (อาจเปลี่ยนชื่อรูปภาพเป็นชื่ออื่นก็ได้)
$image = "/images/blocked.gif"; # RELATIVE TO DOCUMENT_ROOT
$redirect = "http://www.yourdomain/images/blocked.gif"; # "" TO AVOID REDIRECTION
$proxy = "www.yourdomain"; #
$proxymaster = "webmaster@yourdomain"; #

และ

%logo->{"default"}->{"url"}
= "http://www.yourdomain/images/blocked.gif";
%logo->{"default"}->{"href"}
= "http://www.yourdomain/";
8. ในการ redirect สามารถเข้าไปเปลี่ยนที่ SquidGuard.conf ใน /etc/squid ครับ

วันเสาร์, เมษายน 08, 2549

Keyword

1. MUST This word, or the terms "REQUIRED" or "SHALL", mean that the definition is an absolute requirement of the specification.

2. MUST NOT This phrase, or the phrase "SHALL NOT", mean that the definition is an absolute prohibition of the specification.

3. SHOULD This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course.

4. SHOULD NOT This phrase, or the phrase "NOT RECOMMENDED" mean that there may exist valid reasons in particular circumstances when the particular behavior is acceptable or even useful, but the full implications should be understood and the case carefully weighed before implementing any behavior described with this label.

วันอังคาร, มีนาคม 14, 2549

NetworkManager

configure: error: wireless-tools >= 28pre9 not installed or not functional

then just do

apt-get install libiw-dev (Thanks to Erik for the tip! :-)


http://gridpt1.fe.up.pt/mlopes/blog/index.php/2005/11/23/networkmanager-on-ubuntu-breezy-repository/trackback/

Ati 8.23.7 drivers in Ubuntu Dapper

ในที่สุด...
ก็ทำได้.... ดีใจจัง

Important Change: Installation of this driver no longer requires removing the linux-restricted-modules package in order to work. There is a new blacklist feature in Ubuntu Dapper that you can use to go around this.

When running the dpkg-reconfigure command you should answer the questions that you know and take the defaults for the rest. You might want to say no to the monitor detection--it has caused X-Windows to crash for some people.
[edit]
Remove existing fglrx driver

Enable a blacklist for linux-restricted-modules

sudo gedit /etc/default/linux-restricted-modules-common

Edit DISABLED_MODULES to include fglrx


Remove Dapper's included drivers if they are installed:

sudo apt-get remove xorg-driver-fglrx
sudo apt-get remove fglrx-control
sudo dpkg-reconfigure xserver-xorg #select the "ati" module

Reboot.
[edit]
Installing the new driver

Download the ATI driver installer: Click here

Change to the download directory. Make sure that you have the universe and multiverse repositories enabled in /etc/apt/sources.list before doing these steps.

Install necessary tools:

sudo apt-get install module-assistant build-essential
sudo apt-get install fakeroot dh-make debconf libstdc++5 gcc-3.3-base

Create .deb packages:

chmod +x ati-driver-installer-8.23.7-i386.run
LANG=C LC_ALL=C ./ati-driver-installer-8.23.7-i386.run --buildpkg Ubuntu/dapper

Install .deb packages:

sudo dpkg -i xorg-driver-fglrx_8.23.7-1_i386.deb
sudo dpkg -i fglrx-control_8.23.7-1_i386.deb
sudo dpkg -i fglrx-kernel-source_8.23.7-1_i386.deb

Compile the kernel driver:

Remove any old fglrx deb's from /usr/src/

sudo rm /usr/src/fglrx-kernel*.deb

sudo module-assistant prepare
sudo module-assistant update
sudo module-assistant a-i fglrx

Note: If sudo module-assistant a-i fglrx doesn't work then run the following:

sudo dpkg -i fglrx-kernel-source_8.23.7-1_i386.deb
sudo module-assistant build,install fglrx

This is because the current fglrx kernel source package in Dapper is broken yet marked "newer" than the one created by the ATI Installer.

Update the xorg.conf file:

sudo aticonfig --initial

Ctrl-Alt-Backspace to restart your session.
[edit]
Confirm that it worked

$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9700 Generic
OpenGL version string: 2.0.5695 (8.23.7)


credit:http://wiki.cchtml.com/