使用筆記本建立免費無線熱點 Create Free Ad-Hoc NetWork

來源:互聯網
上載者:User

標籤:free wireless ap   使用筆記本建立免費無線熱點   



使用筆記本建立免費無線熱點 Create Free Ad-Hoc NetWork


秒殺各種“xx度WiFi ”,“xx星隨身WIFI”

win7作業系統通過測試,xp不能用


另存指令碼為Free_AP.bat

@echo offtitle JJ Wireless Access-Point Assistantver | find " 6." >nulif not %errorlevel%==0 ver | find " 7." >nulIf not %errorlevel%==0 GOTO ErrNotSupportOS:menuSET AP_SSID=%COMPUTERNAME%APSET AP_KEY=%username%1470258369call :test_statusclsecho.echo. Free Wifi Access Pointecho. ======================echo.                                               Ver 1.0, 20150107echo. echo. ** 無線 SSID ** : "%AP_SSID%"echo. ** 密碼 Key  ** : "%AP_KEY%"echo. ---------------------------------------------------------------echo. 菜單Menuecho. echo. 1. 啟動/停止無線路由 Start/stop service      "%AP_STATUS%"echo. 2. 查看詳細資料 Show detailecho. D. 禁用無線路由 Disableecho. echo. Q. 退出Quitecho.echo. 請輸入菜單號碼, 如果不知道要做什麼, 輸入數字 1 就好 :-)echo. Please select your menu:set userselect=set /P userselect=:^>if ["%userselect%"]==["1"] call :startstop_svcif ["%userselect%"]==["2"] call :show_detailif ["%userselect%"]==["D"] call :disable_apif ["%userselect%"]==["d"] call :disable_apif ["%userselect%"]==["Q"] goto :quitif ["%userselect%"]==["q"] goto :quitecho.echo.echo.goto :menu:initcall :call_wlan_cmd set hostednetwork mode=allow ssid=%AP_SSID% key=%AP_KEY%goto :eof:startstop_svcecho.call :test_statusif ["%AP_STATUS%"]==[""] call :initif ["%AP_STATUS%"]==["Not available"] call :initnetsh wlan show hostednetwork|find "Status                 :"|find "Not started" >nulif %errorlevel%==0 (  call :call_wlan_cmd start hostednetwork) else (  call :call_wlan_cmd stop hostednetwork)pausegoto :eof:test_statusset AP_STATUS=for /F "tokens=1,2 delims=:" %%s in ( 'netsh wlan show hostednetwork ^| find "Status                 :"') do set AP_STATUS=%%tSET AP_STATUS=%AP_STATUS:~1%goto :eof:call_wlan_cmdnetsh wlan %*if not "%errorlevel%" == "0" (  echo. 發生錯誤 Error Found  echo. 需要一個有管理員權限的帳戶登陸系統,且用滑鼠右鍵點“以系統管理員身份”運行  echo. You must run this command from a command prompt with administrator privilege.  echo.)goto :eof:disable_apcall :call_wlan_cmd set hostednetwork mode=disallowgoto :eof:show_detailcall :call_wlan_cmd show hostednetworkpausegoto :eof:ErrNotSupportOSecho. Error:echo.   Only Win7 is supported!echo.pausegoto :eof:quit




使用筆記本建立免費無線熱點 Create Free Ad-Hoc NetWork

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.