![Shutdown using Power Button [ClarkConnect]](http://www.maixblog.com/blog/wp-content/plugins/ttftitles/cache/0c17d9c8a42ed5706f13547a2e31b1e9.png)
ภพ ร้าน Room19 ถามว่าจะปิดเครื่อง clarkconnect ง่ายๆ ได้ไงโดยไม่ต้องใช้ command หรือเข้าไปปิดในเว็บ ไปค้นมาให้เจอวิธีการปรับใช้ปุ่ม Power ในการปิดเครื่อง อ่า แหล่มๆ จดๆๆ
Pressing the power button to shutdown a computer is always a bad thing to do, to properly shut down the system you must either log into the web interface and browse to 'Tools - Shutdown/Restart' or log in via PuTTY and enter the following:
shutdown -h now
This is a real problem especially as you will most probably have to power up one computer just to power down the other. A very useful tool can be installed that automatically runs the shutdown command for you when the Power Button is pressed safely shutting down the server.
Login in as root using PuTTY and type:
apt-get update
apt-get clean
apt-get install acpid
When you reboot you will find the power button now properly shuts down your computer.
(If this fails to work, it could be that your hardware doesn't support the Advanced Configuration & Power Interface (ACPI) standard - check your motherboard's BIOS settings and make sure it's switched on.)
ACPID can be configured to run other scripts when acpi events occur, the configuration file is found at /etc/acpi/events/sample.conf if you fancy developing this further.
other tweaking @ http://www.ulverston.myzen.co.uk/mini-itx/pages/tuning.htm
Popularity: 6%
[?]

เนื่องจากความซนทำให้ต้องลงกันใหม่บ่อยๆ วันนี้มาเขียน Step การ Install และรวมไฟล์ที่จำเป็นไว้ที่เดียวเลย คราวหน้า (ต้องมีแน่ๆ) จะได้ง่าย ขึ้น
1. Install CC ด้วยCD ธรรมดา จนเสร็จจัดการให้ต่อเข้าวง Lan ให้เรียบร้อย และต่อเข้า Internet ให้ได้ เนื่องจากเจ้า Lan Onboard ของ p5gc-mx 1333 นั้นเป็น attansic ซึ่ง CC ไม่สามารถใช้งานได้เลยต้องลง Driver เอง
2. เราก็จะต้องทำให้ Lan Onboard ใช้ได้ก่อนโดยการ Compile Driver ตามขั้นตอนต่อไปนี้
apt-get install cc-devel
apt-get install kernel-sourcecode#2.6.18-93.cc4
apt-get install kernel-devel#2.6.18-93.cc4
3. หลังจากจัดการ Download Tool ในการ Compile มาแล้วก็ Download Driver
wget ftp://ftp.hogchain.net/pub/linux/attansic/vendor_driver/l2-linux-v1.0.40.4.tar.gz
4.แตกไฟล์ Driver ด้วย
tar -zxvf l2-linux-v1.0.40.4.tar.gz
5.หลังจากนั้นต้อง Edit File kcompat.h เพราะ Compile เลยจะไม่ผ่านต้องแก้โดย Delete บรรทัดที่ 1084 ทิ้งไป
typedef irqreturn_t (*irq_handler_t)(int, void*, struct pt_regs *);
6. Compile
make install
7. Edit ไฟล์ /etc/modprobe.conf Add alias eth2 atl2 ลงไป ให้ Lan ตัวนี้เป็นตัวที่ 3
8. Call Driver
depmod
modprobe eth2
9. Reboot System ก็จะใช้งาน Lan Onboard ได้
10. Install Frox เพื่อเก็บ Patch Game ต่างๆ ใช้ตัว SiamCaFeTruefasterFroxV4.1 Download >>
siamcafe truefaster frox v4.1
11. tar --> ./install
12. Forward Port เพื่อ Create DotA, แยก Port Games กะ Internet
13.Config Proxy แบบ Transparent
14. Done.
Popularity: 12%
[?]