วิกิฮาวเป็น "wiki" ซึ่งหมายความว่าบทความหลายๆ บทความของเรานั้นเป็นการร่วมมือกันเขียนของผู้เขียนหลายคน ในการเขียนบทความชิ้นนี้ ผู้คน 23 คน ซึ่งบางคนไม่ขอเปิดเผยตัว ได้ร่วมกันเขียนและปรับปรุงเนื้อหาของบทความอย่างต่อเนื่อง
บทความนี้ถูกเข้าชม 11,991 ครั้ง
บทความวิกิฮาวนี้จะแนะนำวิธีสร้าง WiFi hotspot ด้วยหน้าต่าง command prompt โดยคำสั่งในขั้นตอนนี้ใช้ได้เฉพาะกับ Windows 7 หรือ Windows 8 Ready PC เท่านั้น
ขั้นตอน
- เปิดหน้าต่าง Run. กดปุ่ม "Windows key" กับ "R" พร้อมกัน หน้าต่าง Run จะโผล่ขึ้นมา
- เปิดหน้าต่าง Command Prompt. พิมพ์ "cmd" ในหน้าต่าง Run แล้วกด "Enter" หรือ OK หน้าต่าง Command Prompt จะโผล่ขึ้นมาพร้อม Administrative Privileges (สิทธิ์ของแอดมินประจำเครื่อง)
- เช็คว่าเครื่องคุณสร้าง WiFi hotspot ได้หรือเปล่า. พิมพ์
netsh wlan show drivers
ในหน้าต่าง command prompt แล้วกด enter
ผลที่ได้จะออกมาเหมือนในรูป
ถ้าออกมาว่าHosted network supported :Yes
แปลว่าคอมของคุณสร้าง hosted networks ได้ นี่คือจุดสำคัญที่คุณต้องเช็คก่อน - สร้าง hotspot. พิมพ์
netsh wlan set hostednetwork mode=allow ssid=Hotspotname key=password
ในหน้าต่าง Command prompt เพื่อสร้าง Hotspot แต่ตอนนี้จะยัง offline อยู่ - เปิด hotspot. พิมพ์
netsh wlan start hostednetwork
ในหน้าต่าง command prompt เพื่อเปิด hotspot ที่เพิ่งสร้าง - ปิด hotspot. พิมพ์
netsh wlan stop hostednetwork
ในหน้าต่าง command prompt เพื่อปิด hotspot - เช็คสถานะ. พิมพ์
netsh wlan show hostednetwork
เพื่อเช็คสถานะของ hotspot - แชร์สัญญาณอินเทอร์เน็ต. คุณแชร์สัญญาณอินเทอร์เน็ตจาก hotspot นี้ได้โดยไปที่ Network and sharing center แล้วคลิก Change adapter settings จากนั้นคลิกขวาการเชื่อมต่อเน็ตปัจจุบันของคุณ แล้วเลือก properties ใน properties ให้ไปที่ tab Sharing แล้วติ๊กช่อง "Allow other network users to connect through this computer's internet connection" แล้วเลือกชื่อการเชื่อมต่อที่ hotspot แชร์สัญญาณเน็ตไป (ให้เลือก Network Connection Window แล้วหาการเชื่อมต่อที่เขียนว่า Microsoft Hosted Network Virtual Adapter) จากนั้นให้เซฟ เท่านี้คุณก็แชร์สัญญาณเน็ตของคุณเรียบร้อยโฆษณา
เคล็ดลับ
- คุณอ่านแล้วอาจจะบ่นว่า โห พิมพ์อะไรกันนักกันหนา แต่จริงๆ แล้วก็พอมีวิธีอื่น ให้คุณเปิด Notepad แล้วพิมพ์คำสั่งทั้งหมดลงไป จากนั้นเซฟไฟล์เป็น ".bat" เช่น hots.bat
- ให้คุณพิมพ์คำสั่งไว้ในไฟล์ .bat แล้วเซฟเก็บไว้ที่หน้า desktop เลยจะได้ใช้สะดวก
- แค่ใส่คำสั่งที่ว่าในหน้าต่าง Run ในฐานะแอดมินของเครื่อง คุณก็เปิด hotspot แชร์สัญญาณได้แล้ว
คำเตือน
- คุณต้องพิมพ์คำสั่ง CMD ในหน้าต่าง Run ในฐานะแอดมินของเครื่อง (ใช้ Administrator privileges) เท่านั้น ไม่งั้นจะขึ้น error
ข้อมูลอ้างอิง
- นี่คือลิงค์ไปยังหน้าหนึ่งของเว็บ Microsoft MSDN ที่ได้รวบรวมคำสั่งอื่นๆ ที่มีประโยชน์ต่อการสร้าง Wireless Hosted Network ไว้ "http://msdn.microsoft.com/en-us/library/windows/desktop/dd815243(v=vs.85).aspx"
บทความนี้เป็นประโยชน์กับคุณไหม
⚠️ Disclaimer:
Content from Wiki How ไท language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.
- - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
- - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
- - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
- - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.