หน้าเว็บ

วันพฤหัสบดีที่ 21 พฤศจิกายน พ.ศ. 2562

Windows 7 Remote RDP ใช้เวลานาน 15-30 วินาที ถึงเข้าได้

Windows 7 Remote RDP ใช้เวลานาน 15-30 วินาที ถึงเข้าได้
จะ Show ข้อความ Securring Remote Connecton นานมาก ประมาณ 15-30 วินาที
วิธีแก้
https://www.batchworks.de/remote-desktop-client-hanging-at-securing-remote-connection/

1. Start Run พิมพ์ mmc แล้ว Enter
2. เลือก Menu File Add/Remove Snap-ins
3. เลือก Group Policy Objects แล้ว Add แตกหัวข้อเข้าไปตามรูป Tab Network Retrieval ติ๊กตามรูป

วันอังคารที่ 19 พฤศจิกายน พ.ศ. 2562

Smart phone : RDP Windows แบบเต็มจอในมือถือ ใช้งานง่าย

Smart phone : RDP Windows แบบเต็มจอในมือถือ ใช้งานง่าย
ด้วยโปรแกรม Microsoft Remote Desktop
https://play.google.com/store/apps/details?id=com.microsoft.rdc.android&hl=en

1. Add Server
2. Add User และ Password จะได้ใส่ครั้งเดียว
3. Remote จะเต็มจอ
4. สามารถ Add ได้มากกว่า 1 เครื่อง

Zimbra : Status Error TLS: SSL

Zimbra : Status Error TLS: SSL
  1. /etc/init.d/zimbra status
Unable to start TLS: SSL connect attempt failed error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed when connecting to ldap master.
Cannot determine services - exiting
ต้อง run คำสั่ง
  1. zmlocalconfig -e ldap_starttls_required=false
  2. zmlocalconfig -e ldap_starttls_supported=0
  3. Zmcontrol start successfully.

ที่มา
https://forums.zimbra.org/viewtopic.php?t=65875
https://tweenpath.net/fix-unable-start-tls-ssl-connect-attempt-failed-error14090086ssl-routinesssl3_get_server_certificatecertificate-verify-failed-connecting-ldap-master-cannot-determine-services-exiting/

แล้ว Restart Service อีกครั้ง ถึงใช้งานได้ตามปกติ

วันอาทิตย์ที่ 17 พฤศจิกายน พ.ศ. 2562

QR Code แผนที่ Google Map

QR Code แผนที่ Google Map เพื่อ Link แผนที่เข้า QR Code และใช้งานใน Google Map
1. เข้า web google map
https://www.google.co.th/maps/@18.3170581,99.3986862,17z?hl=th

2. ค้นหาแผนที่ หรือจุดที่เราต้องการ เช่น sci corporation กด Shared

3. กด Copy link
4. นำ Link ไปวางที่ Address bar เพิ่ม .qr แล้วกด Enter

5. จะได้ QR Code มาแต่มีขนาดเล็ก
6. ปรับขนาด โดยแก้ ที่ Address bar ตรง 150X150 เป็นขนาดที่ต้องการ เช่น 500X500 แล้วกด Enter
7. คลิ๊กขวา ที่ QR Code Save Image ตั้งชื่อ แล้วนำรูปไปใช้งาน

วิธีใช้
1. Scan QR code
2. เลือกโปรแกรม Google Map

วันพฤหัสบดีที่ 7 พฤศจิกายน พ.ศ. 2562

Switch Cisco SG350-28 28-Port

Switch พ่วง Switch แล้วใช้งานไม่ได้ Error (*** รอ Test ***)
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC d0:2b:20:a4:e7:54 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 00:22:b0:bd:c9:15 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked
Warning %2SWPORT-W-LOCKPORTACTIVE: A packet with source MAC 48:5b:39:ad:2b:35 tried to access through port gi24 which is locked


เนื่องจาก Port Lock เพราะ Switch Cisco มีโหมดเรียนรู้ และ Lock Port เพื่อให้มีความปลอดภัยใช้งานได้ใน Mac Address ที่จำกัด โดย Default Port ที่ตั้ง Lock ไว้ให้ผ่านแค่ 10 Mac Address
ทำให้บางเครื่องผ่านได้ใน 10 Mac Address ที่ได้ไปก่อน นอกนั้นจะผ่านไม่ได้ และมี Warning เตือน เพราะเอา Switch ไปพ่วงกันจะมีหลาย Mac Address ที่วิ่งผ่าน Port ที่ใช้ พ่วง ไป Switch ตัวอื่น ทำให้ Ports นั้น Lock และ Mac ที่เกิน 10 ก็จะใช้งานไม่ได้
วิธีแก้
เปลี่ยน Post ที่ใช้เชื่อมโยงระหว่าง Switch ให้รองรับ Mac Address มากขึ้น เช่น 256
เข้าไปที่
Security --> Port Security --> เลือก Port ที่ใช้พ่วงระหว่าง Switch --> Edit
ติ๊ก Interface Status Lock ออก
แล้วแก้ Max No. of Addresses Allowed จาก 10 เป็น 256 แล้วกด Apply
https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-200-series-managed-switches/smb85-port-security-configuration-on-the-200-300-series-managed-sw.html



https://sichedelic.wordpress.com/2011/01/02/port-security-by-default-opps/

Mode Ports Security : หน้า 130

Switch Cisco มีปัญหา ไม่ส่งสัญญาณไปที่ Switch ตัวอื่น

Switch Cisco มีปัญหา Ports Switch ปิดตัวเองใช้งานไม่ได้ เมื่อมีการโยกสายเปลี่ยนสาย ตอนที่เปิดเครื่อง
ทำให้ Ports บาง Ports ถูกปิดใช้งานไม่ได้ โยงไปหา Switch ตัวอื่นก็ทำให้ตัวอื่นใช้งานไม่ได้เช่นกัน
เกิดจาก ตัว Switch เปิดโหมด Spanning tree State ไว้
ถ้าเปิดโหมดนี้ไว้แล้วสายไหนที่พ่วงเข้ากับ Swich ตัวอื่น หรือ Server แล้วมีการโยกสายไปต่อ Ports อื่น จะทำให้ Ports เดิมใช้งานไม่ได้
ที่ Ports จะฟ้อง Down (BPDU Guard) ตามรูป
ถ้าเปิดโหมดแล้ว สลับสาย Lan ที่ต่อกับ Switch ตัวอื่นไปมา ก็จะเป็นอีก Ports นั้นจะขึ้น Down (BPDU Guard) และใช้งานไม่ได้
วิธีแก้ ถ้าเป็นแบบนี้
1. ปิด Spanning Tre State แล้ว Apply
2. ไปที่ spanning Tree --> STP Interface Settings
เลือก Ports ที่มีปัญหา สัยเกตุ BPDU Guard จะเป็น Guarding
เลือก Edit ด้านล่าง
แก้ BPDU Guard จะติ๊ก Enable ไว้ให้ติ๊กออก แล้วกด Apply
3. กดเลือก Port Management --> Error Recovery Settings แล้ว ติ๊กเลือก Interface ที่ มี STP BDU Guard แล้วกด Reactivate ตามรูป
4. เข้าไปที่ Port Settings Ports ที่ใช้งานไม่ได้ก็จะใช้ได้ เอาสาย Lan ต่อเข้าจะใช้งานได้
ถ้าติ๊กปิด STP ไปแล้วตามข้อ 1 ก็จะสามารถโยกสาย Lan เปลี่ยน Ports สลับไปมาได้

Axapta : Reports เกินแล้วต้องการลบยอดทิ้ง

Axapta : Reports เกินแล้วต้องการลบยอดทิ้ง
เช่น PD19-019817 : 003016922225 มีการ Reports 1 ตัวเมื่อวันที่ 1/10/2562 ไม่ได้ Pickinglist ทำ Jobcard ยังไม่ได้ Update Costing
ฝผล. ต้องการให้ยกเลิกออก และ ลบ PD ไปเลยเพราะไม่ได้ใช้แล้ว เพราะมีการเปลียน Code ไปทำ PD อื่น แต่ไม่ได้แจ้ง งทส.

ทำได้ 2 วิธี
1. MAA01 ปรับยอดออก และ End PD นั้นไป ควรทำแบบนี้ซึ่งเป็นวิธีที่ถูกต้องและง่ายกว่า
2. ลบและแก้ ไข Transaction ให้เป็นเหมือนว่า PD นี้ไม่ได้ทำขึ้น
วันนี้จะปิด Inventory จึงต้องใช้วิธีที่ 2 ถ้าใช้วิธีที่ 1 ต้องรอทำ MAA01 อนุมัติ (กรณีที่ยังไม่ได้ตัด Pickinglist ถ้าตัด Pickinglist ไปต้องเอายอดกลับคืนมาก่อน และจะใช้วิธีที่ 2 ไม่ได้ เพราะต้องเหลือประวัติว่าของมาจากไหน)
โดย
1. ลบ ข้อมูลออก จาก Inventtrans
2. ลบ ข้อมูลออก จาก InventtransEx
3. Run Job recalcInventSum เพื่อให้ ยอดและมูลค่า Update
4. ลบ Reports ที่ Reports ไปออก ที่ Table ProdJournalProd และ ProdJournalTable
5. ลบ Jobcard ที่ได้ Post ไป ที่ Table ProdJournalRoute และ ProdJournalTable
6. ตรวจสอบรายงาน Stockcard และ รายงาน Inventory ว่าไม่มียอดที่เราลบไป ต้องไม่มีข้อมูล
(สำคัญต้องทำใน Local ก่อน ค่อยทำในของจริง)