ข้ามไปที่เนื้อหาหลัก

บทความ

กำลังแสดงโพสต์จาก 2018

Set up VPN Server on Windows 2016 Server. Fix Error 850 EAP required, Fix Error 812 ras/vpn on Win 8.1

1. Setup VPN Server follow by this youtube clip . 2. Fix "Error 850: The Extensible Authentication Protocol type required for authentication ... "  (ใส่ Error เต็มไม่ได้ เพราะ Google Adsense หาว่าไปลอกข้อมูลเว็บอื่นมา) ทำตาม  this link . 3. Fix " Error 812 : The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server ..."  (ใส่ Error เต็มไม่ได้ เพราะ Google Adsense หาว่าไปลอกข้อมูลเว็บอื่นมา)  ทำตามนี้    3.1 in Windows Server 2016 go to Computer management -> Local Users and Groups    3.2 right click user that want to allow access vpn -> Properties    3.3 in user properties windows go to "Dial-in" Tab -> Network Access Admin -> select "Allow access" -> click "Apply" button -> click "OK" button. 4. Enable 4 incoming/outgoing Rules in Windows Firewall

Fix NAVER LINE for PC show error "LoadLibrary failed with error 87: The parameter is not correct" very EASY.

Solved by change display card adapter from "ATi Radeon HD5570" to "Microsoft Basic Display Adapter" The problem cause by use Terminal Service Client (Remote Desktop) of Windows 10 Professional Solved by remote to win 10 using Chrome Remote Desktop when LINE login successfully then remote with mstsc again.

Error PlatformNotSupportException เกิดตอน เขียนโปรแกรม Visual Studio 2008(.NETCF3.5) กับ Windows Mobile 6 ติดต่อกับ Database MSSQL Server 2008 โดยตรง (ไม่ได้ใช้ SQLCE)

ปัญหานี้เคยแก้เมื่อ 6 ปีที่แล้ว จากบทความ  ตั้งค่า Windows Mobile 6 Emulator ให้ติดต่อกับ Database SQL Server 2008 ได้  แต่ดันหาไม่เจอ เพราะมันดันเปลี่ยนข้อความ Error จาก PlatformNotFoundException เป็น PlatformNotSupportException วิธีแก้ก็แนวทางเดียวกันติดตั้งโปรแกรม PDAMobizThaiEnabled.cab ก็เรียบร้อย

Cannot install Windows Mobile Device Center 6.1 on windows 2008 R2 Server x64

It show messagebox below.  Solve by install "Desktop Experience" Feature. Credit  Microsoft

Dell Vostro 3450 Connect wifi but cannot receive IP (Boardcom wifi 802.11n VEN_14E4&DEV_4727)

ปัญหาเกิดเมื่อต้องเชื่อมต่อกับ Access Point Cisco Aeronet คือแสดงสถานะเชื่อมต่อได้ แต่ไม่ได้รับ IP ที่จ่าย DHCP มา แก้โดยใช้ Driver Broadcom-wifi 5.100.196.18 ป.ล. ต่อกับ Access Point ตัวอื่นก็ไม่เป็นอะไรนะ

Moodle วิธีสร้าง Group จาก Cohort ด้วย Cohort Sync (เป็นวิธีที่ใช้ตอนแรกแล้วลืมสนิทแบบอัลซไฮเมอร์เลย) กลับมาระลึกได้เพราะเหตุบังเอิญ

สร้าง cohort เสร็จ ไปที่ Course Administrator --> Users --> Enrollment --> Enrollment Method --> Add Method --> Cohort Sync ที่ระลึกได้ด้วยเหตุบังเอิญก็คือพบว่าสมัคร นักเรียน ด้วย Cohort เมื่อวานมันหายเลยจะมาสมัครใหม่ก็ไปเลือกเจอ cohort sync เท่านั้นแหละ ระลึกชาติได้เลย จดไว้แบบนี้ลืมก็มาดูได้

moodle เพิ่มนักเรียนเข้า cohort ที่ละหลาย ๆ คน ตามเงื่อนไข

เข้าไปที่เมนู Site Administrator -> Users -> Account -> Bulk User Action แล้วเลือกตามภาพ

moodle แก้ปัญหา teacher upload file ได้ไม่เกิน 2MB (แต่ admin upload ได้ 200MB)

ไปที่  ไปที่ Course administration --> Edit settings --> Files and Uploads --> maximum upload size = 200MB

Moodle - วิธีการสร้าง Group จาก Cohort - จดไว้กันอัลซไฮเมอร์

(ขอบ่น) ทั้ง ๆ ที่เคยทำของชั้นสองมาแล้วรอบนึง แต่ทำไมจำไม่ได้เลย วิธีใหม่ที่เจอมานี่ ก็ไม่รู้สึกคุ้นว่าเคยทำแบบนี้เลยสักนิด อาการอัลซไฮเมอร์รุนแรงขึ้นเรื่อย ๆ แล้ว 1. ไปที่ รายวิชา -> Block Course Administrator -> Users -> Groups แล้วคลิ้กปุ่ม Auto-Create Group    "อย่าไปสร้าง Group เอง ให้เมื่อยมือ" หน้าจอ Group  2. ที่หน้า Auto-Create Group ตั้งค่าดังนี้ หน้าจอ Auto-Create Group       - General             - Naming Scheme = ชื่อ Group อ้างอิงตาม Cohort ก็ได้             - Auto create based on = Number of groups             - Group/member count = 1 (ยึด Cohort กลุ่มเดียว)       - Group members             - select members with role = Student             - Allocate members = Alphabetically by first name, last name             - include only active enrolments = True       - Grouping             - Grouping of auto-created groups = New grouping             - Grouping name = ชื่อเดียวกับ General -> Naming Scheme        3. ค

moodle ตั้งค่าแบบสอบถามให้เห็นเฉพาะกลุ่ม

เปิด Visible เป็น Show เสมอ ตั้ง Visible = Show       2. ไปที่ Edit Settings -> Common module settings -> Visible = Show, Group Mode = Visible Group      Edit Settings -> Restricted Access -> Access restriction -> Student "must" match the following, Disable Eye, Group "กลุ่มที่ 3" ตั้งค่าใน Edit Settings

Windows 10 cannot access share drive or printer from older windows

Solved by "Enable insecure access login" in Local Group Policy Editor Start -> Run -> gpedit.msc

ทำ TP-Link TL-WA850RE v1.2 ลง OpenWrt ทำเป็น Range Extender และ auto login Hotspot (WISP Mode)

(ลอกคำพูด  บทความเก่า ) สืบเนื่องจากได้รับการแจก Wifi Range Extender TP-Link TL-WA850RE มาเพื่อใช้กระจายสัญญาณ Wifi ของบ้านพัก ที่เป็น GPON ปัญหาคือ TP-Link มันกากกกกกกกกกก..............มากกกกกกกกกกกกกก กล่าวคือ 1. ปัญหา ping กากกกกก.......... เริ่มใช้งานก็ดีอยู่ ping ไป Gateway ได้ ราว 5-10ms แต่พอใช้ไปสัก 3-4 ชม. มันจะ ping ขึ้นเป็น  400-500ms รู้สึกได้เพราะใช้ Remote Desktop ตลอด เม้าส์มันจะกระตุก ๆ ๆ ๆ จนน่ารำคาญ วิธีแก้แสนง่าย (แต่ไม่ยั่งยืน) คือ สั่ง reboot หรือ ชักปลั๊กเสียบใหม่ 2. ปัญหาเนตตัด แน่นอน ระบบ authen พรบ.กำหนดว่า "ของมันต้องมี" ถึงแม้จะตั้งเวลา TimeOut ให้ถึง 24 ชม. แต่มันก็ไม่คล่องตัว เพราะติดกล้องวงจรปิดไว้ดูผ่านเนตตอนไม่อยู่บ้าน แต่พอจะดูกลับ "ดูไม่ได้" เพราะ "เน็ตตัด" ช่างเจ็บกระดองใจจริง ๆ เรื่องเนตตัดที่บ้านก็มี Router LinkSys WRT-350N อยู่ซื้อตอนทำวิจัยปี 51 รูดปรื๊ดมาตั้ง 6500 (ตอนนี้เสียดายตังค์มาก) ซึ่งลง DD-WRT v24sp2 เรียบร้อย ตั้งใจจะทำ auto login แต่ดันมาตายจากไปเสียก่อน ระหว่างพยายามหา Router Linksys WRT54GL ในตำน

IIS+PHP+WP cannot upload file larger than 28MB

ภารกิจแก้ปัญหาเว็บ IIS+PHP+WP upload file เกิน 28MB ไม่ได้ - แก้ config php แล้ว อาการ upload แล้วนิ่งค้าง เลยคิดว่าเป็นปัญหา WP 4.9 - เปลี่ยน version WP เป็น 3.8 แล้วใช้ upload ของ browser คราวนี้เจอว่า เกิด Error 404 HTTP Not found คงไม่เกี่ยวกับ WP แล้ว - ถ้าไม่ได้เกิดจาก PHP กับ WP ก็วิเคราะห์ว่า น่าจะเกิดจาก IIS - งมไปครึ่งวันก็เจอแนวทางน่าสนใจ เกี่ยวกับ Reqest Filtering ใน IIS  https://forums.iis.net/t/1165345.aspx - แก้โดยไปเปลี่ยน maxAllowedContentLength ให้เป็น 128 * 1024 * 1024 ซะ - ทดลอง upload file 100MB แล้วใช้ได้