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

บทความ

Filezilla Client Error GnuTLS error -8: A packet with illegal or unsupported version was received. (Win2008R2 IIS)

cause by TLS version Solution 1 (insecure) Goto Filezilla menu -> Edit ->Settings -> Connectons -> TLS Option --> Minimum allow TLS version -> TLS 1.0 (insecure)

OpenWRT NanoStationM5 bypass VPN

 ถ้าติดตั้ง vpn ไปแล้ว อยาก bypass ไม่ต้องต่อ vpn ก็เข้า net ได้ ทำได้โดยไปที่ Network -> Firewall -> Zone Forwarding จาก lan => VPN เป็น lan => wan

OpenWRT Luci NanostationM5 ตั้งค่าให้ LAN1 และ LAN2 ใช้งานเป็นวงแลนเดียวกัน

 เดิมก่อนลง OpenWRT Lan1 และ LAN2 ใช้งานได้ทั้งคู่ แต่พอลง OpenWRT ใช้ได้เฉพาะ LAN1 ช่อง LAN2 กลายเป็น WAN แก้ไขดังนี้ ไปที่ Network -> Interface ลบ Interface WAN และ WANุ6 ไปที่ Network -> Switch ลบบรรทัด Port 2 และแก้ไข LAN กับ WAN ให้เป็น Untagged ทัั้งคู่ ref https://forum.openwrt.org/t/solved-creating-vlan-interfaces/75619  https://openwrt.org/docs/guide-user/network/vlan/switch_configuration

OpenWRT ติดตั้ง VPN Client PP2P

1. ทำตาม ลิงก์ นี้ 2. ถ้าต่อแล้วขึ้น Error Unknown error (User Request) รอสักพักจะขึ้น Negotiate Fail รอสักพักจะขึ้น Authenticate topeer fail .ให้ไปแก้ไขไฟล์ /etc/ppp/options.pptp โดยให้ remark refuse-mschap และ refuse-chap ตามรูปด้านล่าง 3. reboot

another user cannot remote login to windows 2008 r2 workstation except administrator.

Set Config in Group Policy like these.

Cannot play flashplayer website in windows 10

ref 1. Open html file with Internet Explorer 2. Click "Allow Block Content" 3. Goto Control Panel -> Flash Player -> Advance Tabl -> Trust Location Settings -> Add -> select folder that html exist -> confirm

Moodle ตั้ง Permission ให้ Student สามารถ ลากวางไฟล์บน topic ได้

เจอโจทย์ให้แสดง Topic เฉพาะกลุ่ม แล้วสามารถลากวางไฟล์ได้ มีแนวทางแก้ปัญหาดังนี้ 1. Topic แสดงเฉพาะกลุ่ม ไปตั้งค่า Access Restriction ใน Topic ให้เห็นเฉพาะกลุ่มได้ แต่ Role จะต้องเป็น Student เท่านั้น 2. การลากวางไฟล์บน Topic หรือบน Course จะต้องได้สิทธิ์ Role เป็น อาจารย์ เท่านั้น ซึ่งขัดแยังกับข้อ 1 แนวทางการแก้ไข ข้อ 2 มีเมนู Permission ให้ Override สิทธิ์ของ Student ได้ โดยไปที่เมนู Course Administration -> User -> Permission เลือก dropdown Student แล้วกำหนด Override Permission ตามสิทธิ์ 4 ข้อต่อไปนี้ 1. Activity : File -> Add new a resource : allow 2. Activity : URL -> Add new URL resource : allow 3. Course  ->  Manage Files : allow 4. Course -> Manage Activities : allow Course Administration -> User -> Permission Student Permission

ปลดล็อค disableSelection ของ Internet Banking

ปกติจะเข้า Internet Banking เพื่อ Copy Transaction ลง Excel จริง ๆ เขามี CSV file ให้ download ด้วยนะ แต่ copy จากหน้าเว็บ แล้ว paste ลง excel เลยมันสวยกว่าแล้วไม่ต้องโหลดไฟล์มาให้รกเครื่อง มี Internet Banking เจ้าหนึ่ง แต่ก่อนก็เคยให้ copy & paste ข้อมูลใน datagrid ได้ วันดีคืนดี ก็ล็อคไม่ให้ copy ซะงั้น ให้ดูอย่างเดียว ทำเพื่ออะไรก็ไม่เข้าใจเหมือนกัน มันจะไม่ปลอดภัยตรงไหน? เลยลองไล่แกะ css ดู ปรากฏว่า เขาเพิ่ม class "disableSelection" ทุก Label เลย (เดิมจะกำหนดที่ table ที่เดียวไปลบ class ออกก็จบ) ก็เลยต้องไปแก้ class โดยเอา webkit-user-selection ออก เท่านี้ก็ copy transaction เหมือนเดิมได้แล้ว หมายเหตุ ต้องคลิกที่ row 1 Col 1  ใต้ row header ถึงจะเจอ class disableSelection

OpenWRT LUCI 18.06 ไม่สามารถเชื่อมต่อ VPN PPTP ได้

ตอนแรกนึกว่าตั้งค่า VPN Client ผิด แต่พอใช้ 4G ต่อดันต่อได้ ต้องเป็นที่ OpenWRT แน่ ๆ เลย งมอยู่เป็นเดือนทำไม่ได้ วันนี้มาลองอีกทีแบบไม่ได้ตั้งใจ เจอ ลิงก์ นี้ สรุปทำได้ดังนี้ 1. ไปที่ System -> Software -> คลิก Update list เพื่อ update package ล่าสุด 2. Filter Package "ppp-mod-pptp" แล้วกด Install 3. Filter Package "kmod-nf-nathelper-extra" แล้วกด Install 4. ไปที่ Network -> Firewall -> Custom Rule แล้วใส่คำสั่ง iptable iptables -t raw -A OUTPUT -p tcp \ -m comment --comment "!fw3: PPTP connection tracking" \ -m tcp --dport 1723 -j CT --helper pptp 5. ถ้าใช้ VPN Connect บน Windows แล้วเกิด Error : 806... (GRE) ดังภาพนี้ แก้ไขโดย  login เข้า ssh แก้ไขไฟล์ /etc/sysctl.conf โดยใส่ค่า net.netfilter.nf_conntrack_helper = 1

OpenWRT ตั้งค่าให้ DHCP จ่าย static IP ให้อุปกรณ์

ปัญหาคืออยาก remote เครื่อง notebook แต่ต้องมานั่งหาว่า IP อะไร 1. ถ้าอยากทำบน Command-line ทำตาม Link นี้ได้เลย 2. ถ้าหน้า WebUI ก็มีให้ตั้งค่าไปที่เมนู Network -> DHCP and DNS -> Static Leases แล้วก็ตั้งค่าได้เลย OpenWRT มี dropdown ให้เลือก MAC Address ที่เคยเกาะด้วย ไม่ต้องงมหา

OpenWRT แก้ปัญหาเนตบ้านพัก เปิดเว็บ Internet ได้ แต่เข้าเว็บ Intranet ไม่ได้เพราะ DNS ไม่ resolve

[ต่อจาก บทความเก่า ] ปัญหาเกิดจาก DNS ที่ Client ได้รับมาเป็น IPv6 แต่ Network บ้านพักเป็น IPv4 พอ resolv เว็บนอกที่รองรับ IPv6 ก็เข้าได้ แต่พอ resolv เว็บภายในเป็น IPv4 ก็หาไม่เจอ แก้ไขโดยลบ ipv6 suffix ตาม [ อ้างอิง ] ดังนี้ ตั้งค่า custom DNS เป็น IPv4 ตามนี้ 1.ไปที่ Network -> Interface ->  LAN -> Common Configuration    1.1 Use custom DNS servers : 192.168.1.1, 8.8.8.8 2.ไปที่ Network -> Interface ->  LAN -> Edit -> เลื่อนมาด้านล่าง DHCP server -> Advanced Settings    1.1 Dynamic DHCP : true    1.2 DHCP-Options : 6, 192.168.1.1, 8.8.8.8

Ubiquiti NanoStation M5 ลง OpenWRT แก้ปัญหา RDP Drop เปิด Youtube ในเครื่อง Remote แล้วกระตุก

[ อ้างอิง บทความเก่า ] มี M5 ทำ HotSpot 5GHz กับเครื่อง Calix เนตบ้านพัก อุตส่าห์ได้ความแรง -45dB แล้วแต่ดัน remote เข้าเครื่องแล้วกระตุก แต่ใช้ FTP Transfer ไฟล์ ได้ 10MByte/s  เลยสงสัยว่าทำไม TP-Link TL-WA850RE ที่ต่อแค่ 802.11n 2.4GHz ถึงไม่กระตุก ทดลองใช้ firmware XW.v6.2.0.33033.190703.1117.bin ก็ยังกระตุกเหมือนเดิม พอมา Update firmware openwrt-18.06.4-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin มันดันฟ้องว่า Error "Firmware image check failed. Error Code -45" ลองหาข้อมูลพบว่า ตัว firmware XW v6.2.0 มันมีตรวจสอบ Firmware ที่มันไม่ Sign เลยไปโหลด firmware XW.v5.6.15-sign.31612.170908.1440.bin มาก็ Upload ได้  มาลอง Update firmware openwrt-18.06.4-ar71xx-generic-ubnt-nano-m-xw-squashfs-factory.bin มันดันฟ้องว่า Error "This firmware not trust by aisOS" ถามอากู๋เจอว่าต้อง update firmware XW.v6.0.6-beta.30875.170526.0023.bin พอเสร็จแล้วลองลง firmware OpenWRT ก็ผ่าน Update :20 ธ.ค. 66 ไปซนจน brick แล้วลง firmware XW.v5.6.15.30572.17...

Moodle นักเรียนมองไม่เห็นคะแนนในงานมอบ

ต้องไปตั้งค่า Gradebook setup 1. Grade administrator -> Gradebook setup 2. ติ๊กถูกเลือกที่งานมอบ 3. กำหนด weight > 0.0 4. แก้ไข -> แสดง

Filezilla can login to IIS 7 FTP Server with SSL but failed to retrieve directory.

in FTP Firewall Support -> External IP Address of Firewall -> Enter Internal IP of Server Only!!!

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 ตัวอื่นก็ไม่เป็นอะไรนะ