iPAS’s Technical Note

พฤศจิกายน 11, 2009

ต้องการ Disable Autorun ทำอย่างไร

Filed under: Uncategorized — ป้ายกำกับ: — ipass @ 12:29 pm

เบื่อ กลัวไวรัส

http://antivirus.about.com/od/securitytips/ht/autorun.htm

http://www.fortypoundhead.com/showcontent.asp?ArtID=2705

HKEY_CURRENT_USER
Software
Microsoft
Windows
CurrentVersion
Policies
Explorer
.
(Note: For help navigating the registry, see the Windows Basics System Registry tutorial).

0×1

Disables AutoPlay on drives of unknown type.

0×4

Disables AutoPlay on removable drives.

0×8

Disables AutoPlay on fixed drives.

0×10

Disables AutoPlay on network drives.

0×20

Disables AutoPlay on CD-ROM drives.

0×40

Disables AutoPlay on RAM drives.

0×80

Disables AutoPlay on drives of unknown type.

0xFF

Disables AutoPlay on all types of drives.

Technorati :
Del.icio.us :

พฤศจิกายน 10, 2009

File System บน Linux Embedded Device

Filed under: Uncategorized — ป้ายกำกับ:, , — ipass @ 2:51 pm

Linux Embedded จำเป็นต้องมี File System สำหรับลงโปรแกรม
แต่เนื่องจากการใช้งานในลักษณะ Home Appliance ที่ต้องปิดเปิดไฟ AC โดยไม่สั่ง shutdown โดยหลีกเลี่ยงไม่ค่อยไ้ด้ (หรือได้ ?)
ทำให้ทุกครั้งที่ boot เครื่องใหม่ต้องนั่งรอ check disk ทุกครั้งเสียเวลา .. เสียข้อมูล

ทางแก้ก็มีอย่างเช่นใช้ File System ที่มีการเก็บ Journal List เป็นระยะ

(เพิ่มเติม…)

Parameter ใน gcc ที่น่าสนใจ

Filed under: Uncategorized — ป้ายกำกับ:, , , , — ipass @ 9:18 am

ตามที่ Nathdodo ไปหามานั้น มีสอง parameter ที่น่าสนใจสำหรับ gcc คือ -fpack-struct และ -fPIC ครับ
อนึ่งหากขึ้นต้นด้วย -f นั้นหมายถึงเรากำลังคุยกับ gcc เพื่อกำหนดกรรมวิธี ในการ Generate Code .. เป็นอย่างไรมาลองดู

(เพิ่มเติม…)

พฤศจิกายน 9, 2009

Wake-On-LAN บน Linux & Windows

Filed under: Uncategorized — ป้ายกำกับ:, — ipass @ 12:56 pm

ไม่อยู่ Office แต่อยากเปิดปิด Server ทำอย่างไรดี ? รู้ว่า BIOS ก็มี Feature นี้อยู่แล้ว แต่เอ แล้ว Software ตัวไหนล่ะ

(เพิ่มเติม…)

Wake-On-LAN บน Linux & Windows

Filed under: Uncategorized — ป้ายกำกับ:, — ipass @ 12:56 pm

ไม่อยู่ Office แต่อยากเปิดปิด Server ทำอย่างไรดี ? รู้ว่า BIOS ก็มี Feature นี้อยู่แล้ว แต่เอ แล้ว Software ตัวไหนล่ะ

(เพิ่มเติม…)

ตุลาคม 13, 2009

’static’ declaration ของ function และ variable

Filed under: Experience, Office — ป้ายกำกับ:, — ipass @ 9:46 am

ทำไมต้อง declare : static function หรือ static variable ในภาษา C, C++ ??

เพราะว่าจะทำให้ อ้างอิงถึง static xx ได้ภายใน .c compile นั้น .. ลองอ่านปัญหา และสาเหตุดูใน

http://www.daniweb.com/forums/thread82504.html

http://tigcc.ticalc.org/doc/keywords.html#static

Technorati : ,
Del.icio.us : ,

ตุลาคม 10, 2009

Wireless Distributed System (WDS)

Filed under: Experience, Office — ป้ายกำกับ:, , , — ipass @ 7:02 pm

Wireless Distributed System (WDS) คือระบบที่เชื่อมต่อด้วย Access Point หลายตัวภายใต้ Protocol 802.11 ให้สามารถแลกเปลี่ยนข้อมูลระหว่างกันได้ แทนการใช้ Network Backbone ที่ใช้สายแบบที่เป็นตามปรกติทั่วไป ซึ่งแตกต่างจากวิธีอื่น คือใช้วิธีพินิจ MAC Address ของ Package ที่ส่งผ่าน

(เพิ่มเติม…)

ตุลาคม 1, 2009

Time Synchronization บน OpenWRT

Filed under: Uncategorized — ป้ายกำกับ:, — ipass @ 4:19 pm

ไว้ set เวลาใน Wireless Router OpenWRT platform

  • /etc/TZ ไว้ set time zone
  • opkg install ntpdate หรือ ntpclient
  • ลองดูกับ server : time.navy.mi.th

http://martybugs.net/wireless/openwrt/timesync.cgi

Technorati : ,
Del.icio.us : ,

มาใหม่ .. make kernel_config ใน OpenWrt

Filed under: Experience, Office — ป้ายกำกับ: — ipass @ 8:24 am

ตากที่ trunk 17802 ได้อ้างไว้ว่าพึ่งเพิ่มเติมมาได้ไม่กี่เดือนคือ

make kernel_menuconfig

ควรลองดูเพราะทุกที make menuconfig จะสามารถเลือกได้แค่ package ที่ต้องการใน firmware เท่านั้น

Technorati :
Del.icio.us :

กันยายน 30, 2009

Debian Sarge Repository หาย..Obsolete .. ทำไง

Filed under: Uncategorized — ป้ายกำกับ:, , — ipass @ 3:29 am

แผ่น Install : http://www.debian.org/releases/sarge/debian-installer/

Repository 3r8 และอื่นๆ : http://archive.debian.org/debian/

Technorati : , ,
Del.icio.us : , ,

เรื่องที่เก่ากว่า

บลอกที่ WordPress.com .