ubuntu使用ap-hotspot建立WIFI热点
2016-11-03 11:19
489 查看
具体方法如下:使用ap-hotspot来创建WIFI热点,而不要用Ad hoc。终端里输入:
$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install ap-hotspot
$ sudo ap-hotspot configure //这一步会检查ubuntu的网络和WIFI接口,确定后会提示你配置热点,输入ssid和密码之类的就行了
$ sudo ap-hotspot start
好了,Android手机顺利识别并连接上了。
参数使用说明:
tehero@tehero-pc:/tmp$ sudo ap-hotspot config
Usage: ap-hotspot [argument]
start start wireless hotspot//开始使用
stop stop wireless hotspot//停止使用
restart restart wireless hotspot//重启
configure configure hotspot//配置使用
安装成功后配置过程如下:
tehero@tehero-pc:/tmp$ sudo ap-hotspot configure
Detecting configuration...
Detected eth0 as the network interface connected to the Internet. Press ENTER if this is correct or enter the desired interface below (e.g.- eth0, ppp0 etc.)://默认按Enter即可
Detected wlan0 as your WiFi interface. Press ENTER if this is correct or enter the desired interface (e.g.- wlan1)://默认按Enter即可
Enter the desired Access Point name or press ENTER to use the default one (myhotspot):
//Wifi名字
Enter the desired WPA Passphrase below or press ENTER to use the default one (qwerty0987):
//wifi 密码
使用篇:
tehero@tehero-pc:/tmp$ sudo ap-hotspot start
Starting Wireless Hotspot...
Wireless Hotspot active
出现如上字样即可
ubuntu14.04
问题集锦篇:
1、无法出现Wireless Hotspot active,并一直保持Starting Wireless Hotspot...
hostapd默认版本有bug
解决方法:
移除hostapd
然后:
64 bit
32bit:
问题描述:This is the message displayed in my terminal screen when I typed
解决方法:I found this solution
I just fix the same problem, try this:
$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install ap-hotspot
$ sudo ap-hotspot configure //这一步会检查ubuntu的网络和WIFI接口,确定后会提示你配置热点,输入ssid和密码之类的就行了
$ sudo ap-hotspot start
好了,Android手机顺利识别并连接上了。
参数使用说明:
tehero@tehero-pc:/tmp$ sudo ap-hotspot config
Usage: ap-hotspot [argument]
start start wireless hotspot//开始使用
stop stop wireless hotspot//停止使用
restart restart wireless hotspot//重启
configure configure hotspot//配置使用
安装成功后配置过程如下:
tehero@tehero-pc:/tmp$ sudo ap-hotspot configure
Detecting configuration...
Detected eth0 as the network interface connected to the Internet. Press ENTER if this is correct or enter the desired interface below (e.g.- eth0, ppp0 etc.)://默认按Enter即可
Detected wlan0 as your WiFi interface. Press ENTER if this is correct or enter the desired interface (e.g.- wlan1)://默认按Enter即可
Enter the desired Access Point name or press ENTER to use the default one (myhotspot):
//Wifi名字
Enter the desired WPA Passphrase below or press ENTER to use the default one (qwerty0987):
//wifi 密码
使用篇:
tehero@tehero-pc:/tmp$ sudo ap-hotspot start
Starting Wireless Hotspot...
Wireless Hotspot active
出现如上字样即可
ubuntu14.04
问题集锦篇:
1、无法出现Wireless Hotspot active,并一直保持Starting Wireless Hotspot...
hostapd默认版本有bug
解决方法:
移除hostapd
sudo apt-get remove hostapd
然后:
64 bit
<code>cd /tmp wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_amd64.deb sudo dpkg -i hostapd*.deb sudo apt-mark hold hostapd</code>
32bit:
<code>cd /tmp wget http://old-releases.ubuntu.com/ubuntu/pool/universe/w/wpa/hostapd_1.0-3ubuntu2.1_i386.deb sudo dpkg -i hostapd*.deb sudo apt-mark hold hostapd</code>
Ubuntu下使用ap-hotspot出现“Another process is already running"问题的解决方案
sudo ap-hotspot start Another process is already runningWhich process is running and how do I stop it?
解决方法:I found this solution
sudo rm /tmp/hotspot.pidthis will delete the process id created temporarily and no more the error is displayed. This worked in my case.
关键连接
http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html
ubuntu12.04
I just fix the same problem, try this:
sudo nano /etc/NetworkManager/NetworkManager.confChange the line that says:
dns=dnsmasqTo:
#dns=dnsmasqRestart Network Manager:
sudo service network-manager restart
相关文章推荐
- ubuntu使用ap-hotspot建立WIFI热点
- 在Ubuntu14.04下使用ap-hotspot建立无线热点(AP mode)
- ubuntu 14.04 利用ap-hotspot建立wifi热点失效
- BCM4312等在ubuntu下用ap-hotspot建立可用的WIFI热点
- ubuntu下使用hostapd建立wifi热点
- Ubuntu14.04 下建立WiFi热点的两种方法
- Win7无线网卡开软ap的方法 | 建立WIFI热点 [图文教程]
- ubuntu建立wifi热点的方法
- W209 usb-wifi 模块 AP热点建立
- ubuntu下使用irtulbox虚拟winxp实现360wifi热点功能
- Ubuntu 下建立WiFi热点的方法
- Ubuntu14.04配置使用无线连接WiFi热点
- ubuntu系统下建立wifi热点
- ubuntu14.10建立热点wifi分享给手机
- W209 usb-wifi 模块 AP热点建立
- ubuntu 14.04 建立wifi热点
- Deepin Linux系统中开启ap-hotspot wifi热点供其他计算机和android手机上网
- Ubuntu下使用ap-hotspot出现“Another process is already running"问题的解决方案
- Win7 使用笔记本建立wifi热点
- 树莓派学习笔记——Wifi AP热点模式 使用RT5370