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

บทความ

Add User for FTP Only in Windows Server 2016

reference 1  ,  reference 2 in Computer Management Create Group "InternetFileAccess" Create User "ftponly" Add ftponly to group "InternetFileAcess" and remove from group "Users" In ftponly Properties -> Remote control tab -> uncheck "Enable remote control" checkbox in Explorer at directory ‪C:\Users\Public\Downloads Properties -> Security  tab -> add ftponly user -> set permission to Read, Write, Modify, List in IIS Add FTP Site "ftponly" Physical path is ‪C:\Users\Public\Downloads in FTP Authentication -> Basic Authentication = Enable in FTP Authorization -> Add Allow Rule -> Specified users: ftponly, Premissions : Read, Write in FTP Firewall support set External IP to this Server internal Machine 192.168.1.10 <---- important for fix bug ftp can login but fail to receive directory in FTP SSL Settings set SSL Certificate to "IIS Express Development Certificate", SS...

Setup VPN Server on Win 2008 Server

1.ตั้งค่า Rouing and Remote Access ตามรูป คลิ้กขวาที่ Routing and Remote Access เลือก Properties จะเจอหน้านี้ 2. ที่ Router อย่าลืม Forward Port 1723 (มี VPN Pass Through ก็ไม่รู้จะทำอะไรได้)

[Solved] How to fix "No audio output deviced" when using Remote Desktop in Win 2008 Standard

1. run tsconfig.msc 2. in "Connections List", right click "RDP-TCP" list then click "Properties" 3. Click "Client Settings" tab then uncheck "Audio" 4. Log off and Log on again

ทำ Linksys WRT54GL v1.1 ลง DD-WRT ให้เป็น auto login Hotspot (WISP Mode)

สืบเนื่องจากได้ Router Linksys WRT54GL มา เลยอยากเอามาทำ auto login ให้เหมือน NanoStation M5  ก็เลยต้องพึ่งพา Firmware DD-WRT v24 SP2 mini build 12548M NEWD Eko แต่ทว่า มันไม่มี Station Mode ให้เลือก จากการหาข้อมูลถึงให้รู้ว่าต้องเลือกเป็น Client Mode จากนั้นก็ตั้งค่าปกติ แต่ทำแล้วติด dns cannot resolve ต้องตั้งค่าปลด  UseDNSMasq on DHCP ออก ก็สามารถใช้งาน DNS ได้ เริ่มใส่ script auto login แต่ติดที่ว่า DD-WRT ไม่มี persistence storage พอสร้างไฟล์ script เสร็จ มันก็หายตอนเครื่อง restart ค้นหาข้อมูลก็เจอแนวทางให้ใช้ Startup Script สร้าง script file ตอนเริ่มบูตเครื่องเลย ดังภาพ - script มีการเปลี่ยนนิดหน่อย เพราะ wget ใช้เหมือนเดิมไม่ได้ Startup Script มีดังนี้ echo '#!/bin/sh' > /tmp/autologin.sh echo 'count=$(ping -c5 -w5 8.8.8.8 | grep "100% packet loss" | wc -l)' >>/tmp/autologin.sh echo 'if [ "$count" -gt 0 ]; then' >> /tmp/autologin.sh echo ' wget -O /dev/null "http://172.168.1.1/CheckVali...

ปัญหา Linksys WRT54GL v1.1 ลง DD-WRT v24 SP2 ,Client Mode เปิด DHCP แล้ว DNS ใช้งานไม่ได้

แก้โดยไปที่ Setup --> Basic Setup -> Network Addres Server Setting (DHCP) ปลด  UseDNSMasq on DHCP ออก

ใช้งาน GIT กับ Visual Studio Online

1. Create project เลือก Git Source Control 2. ไปที่ Project หน้า Code คลิ้กปุ่ม Clone จะให้  git URL มา 3. ใช้ git bash ไปที่ Working directory สั่งคำสั่ง git clone <git URL> 4. ตั้งค่า remote repositories ด้วย git URL จากนั้นลอง Push