我一直在寻找关于这个问题的永远,我没有找到任何人与我独特的情况。我试着用Ubuntu建立一个wifi热点。我可以通过Windows 7实现这一点,但是我的笔记本电脑没有Win7,所以我尝试在我的笔记本电脑上创建相同的设置。
我使用的适配器是ALFA AWUS036NHR V.2。据我所知,这些驱动程序是预装在Ubuntu中的,因为它能够连接到网络。
我在网络上设置了每个不同指令的ap热点。
我正在使用命令
sudo ap-hotspot config
sudo ap-hotspot start我所有的设备都可以看到网络,但是android会出现身份验证错误,iphone会不断收到“错误的密码”,而raspberry pi将进入"4路握手(站)“断开/重新连接循环。
当我在Windows 7上进行这段摘录时,我不得不手动强制适配器使用不同的驱动程序,直到我找到一个作为热点的驱动程序。我担心这可能也是这里的问题,但我甚至不能让我的系统安装驱动程序从alfa.com.tw网站。我正在使用一个新的Ubuntu12.04安装在惠普Elitebook 8530笔记本电脑上。下面是ap- the调试的输出。
sudo ap-hotspot debug
Starting Wireless Hotspot...
* Stopping DNS forwarder and DHCP server dnsmasq
* (not running)
update-rc.d: warning: hostapd start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: hostapd stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/hostapd ...
Removing any system startup links for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd
/etc/rc1.d/K20hostapd
/etc/rc2.d/K80hostapd
/etc/rc3.d/K80hostapd
/etc/rc4.d/K80hostapd
/etc/rc5.d/K80hostapd
/etc/rc6.d/K20hostapd
Adding system startup for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd -> ../init.d/hostapd
/etc/rc1.d/K20hostapd -> ../init.d/hostapd
/etc/rc6.d/K20hostapd -> ../init.d/hostapd
/etc/rc2.d/K80hostapd -> ../init.d/hostapd
/etc/rc3.d/K80hostapd -> ../init.d/hostapd
/etc/rc4.d/K80hostapd -> ../init.d/hostapd
/etc/rc5.d/K80hostapd -> ../init.d/hostapd
update-rc.d: warning: dnsmasq start runlevel arguments (none) do not match LSB Default-Start values (2 3 4 5)
update-rc.d: warning: dnsmasq stop runlevel arguments (none) do not match LSB Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/dnsmasq ...
Removing any system startup links for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq
/etc/rc1.d/K85dnsmasq
/etc/rc2.d/K85dnsmasq
/etc/rc3.d/K85dnsmasq
/etc/rc4.d/K85dnsmasq
/etc/rc5.d/K85dnsmasq
/etc/rc6.d/K85dnsmasq
Adding system startup for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc1.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc6.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc2.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc3.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc4.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc5.d/K85dnsmasq -> ../init.d/dnsmasq
* Restarting DNS forwarder and DHCP server configuration syntax check
...fail!
net.ipv4.ip_forward = 1
Wireless Hotspot active我在这方面很新,所以我不知道出了什么问题,但似乎有很多事情要做。如果需要进一步的信息,请告诉我。
发布于 2014-07-27 13:29:31
您需要在/etc/sysctl.conf中取消对以下行的注释:
net.ipv4.ip_forward=1然后重新启动,一切都会正常的。
发布于 2014-04-01 19:29:33
您可以使用内置的Ubuntu热点功能。只需进入网络,进入无线,然后点击开始使用热点。对我来说,连接Win笔记本电脑,android设备,掌上设备是可行的。
还可以从网络连接和编辑网络类型更改各种其他设置。

https://askubuntu.com/questions/442079
复制相似问题