日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

Ubuntu 無線熱點 Set Up A Wireless Hotspot (A

系統 2974 0
A wireless hotspot enables a computer to serve as a router over Wi-Fi. Ubuntu lets you easily create a wireless hotspot by using the Network Manager, but it uses an ad hoc network and most Android and Windows Phone devices can't connect to such networks.

?

?

For this reason, I've created ( in collaboration with Satya ) a script called AP-Hotspot that automatically creates an infrastructure (Access Point mode) wireless hotspot in Ubuntu that should work with Android and Windows Phone devices . The script uses hostapd and dnsmasq and it requires Access Point mode support for your wireless card - AP-Hotspot checks for this automatically and won't run if your wireless card doesn't support it.


So far, we've tested it in Ubuntu 13.04 with a Dell Inspiron 1545 (Wireless Card: Broadcom Corporation: BCM4312 802.11b/g LP-PHY) and a Dell XPS L702X (Wireless: Intel Centrino Wireless-N 1030) and the Android devices we've used have successfully connected to the Wi-Fi hotspot, unlike using the Ubuntu built-in hotspot feature. Because this depends on the hardware you're using, it isn't something easy to test and it may not work for everybody but hopefully it will work for most configurations .
?
AP-Hotspot is based on THESE instructions (which by the way, you can use if you don't want to use our script), however, using the script should be a lot easier to set up an Access Point mode wireless hotspot because it automatically checks if all the requirements are met: the wireless card supports AP mode, if the WiFi is turned on but not connected to any network (without this, the hotspot doesn't work) and so on. Also, the script tries to configure everything automatically so in most cases, the configuration should take just a few seconds.

Another script feature is that it displays notifications: when the hotspot becomes active and when a device connects or disconnects from the hotspot.

?

Install AP-Hotspot in Ubuntu

?

AP-Hotspot is available in the main WebUpd8 PPA (note: there are some other packages in the main WebUpd8 PPA which you can see HERE ) for Ubuntu 13.10, 13.04, 12.10 and 12.04, however, because this can't be tested in VirtualBox, it has only been tested on Ubuntu 13.04 and 13.10. The script requires Hostapd 1.0 which is available by default in Ubuntu 12.10, 13.04 and 13.10 - for Ubuntu 12.04, you can use a PPA to install Hostapd 1.0.

That said, let's proceed with installing AP-Hotspot:
      sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install ap-hotspot
    

?

If you're not using Ubuntu or don't want to add the main WebUpd8 PPA, you can get the script from HERE (but it has only been tested in Ubuntu). If you're not using the deb, make sure you also install the following packages, required by the script: hostapd , dnsmasq and iw .

?

Usage


To start AP-Hotspot, use the following command:

      sudo ap-hotspot start
    

?

The first time you run the script, it tries to automatically detect which network interface is connected to the Internet, the wireless network interface and so on, however, if the detection doesn't work correctly, you can enter these manually:

?


Then, you'll have to enter the desired hotspot Access Point name and password:


If later on you want to run the configuration again, use the following command:

      sudo ap-hotspot configure
    

?

To stop the wireless hotspot, use:

      sudo ap-hotspot stop
    

?

Or, if you want to restart it, use:

      sudo ap-hotspot restart
    

?

To see all the supported commands, simply type the following in a terminal:

      ap-hotspot
    

?

來源: http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html

更多: http://askubuntu.com/questions/180733/how-to-setup-a-wi-fi-hotspot-access-point-mode

?

Ubuntu 無線熱點 Set Up A Wireless Hotspot (Access Point Mode) That Supports Android


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 清涧县| 囊谦县| 太湖县| 井陉县| 邯郸市| 扶绥县| 富源县| 平潭县| 陇西县| 平陆县| 涿鹿县| 大埔区| 民丰县| 渝北区| 邻水| 湘潭县| 长岭县| 香格里拉县| 都昌县| 隆化县| 江门市| 东光县| 常山县| 金阳县| 龙海市| 通渭县| 陵川县| 峡江县| 玛曲县| 内乡县| 巴中市| 河曲县| 胶南市| 武穴市| 资溪县| 黎城县| 五河县| 亳州市| 滁州市| 沙雅县| 嘉鱼县|