我是一个新的 Ubuntu 用户,并在我的 Acer Aspire One D255 上网本上安装了 Ubuntu 12.04 LTS 和 Intel Centrino N1000 无线网卡。我想要的只是将我的上网本设置为我的 android 设备的 wifi 热点。这在 Windows 7 中使用 Connectify 对我来说效果很好,但我正在尝试使用 hostapd 在 Ubuntu 中创建热点(http://nims11.wordpress.com/2012/04/27/hostapd-the-linux-way-to-create- virtual-wifi-access-point/comment-page-5/)但出现以下错误:
ali@ali-AOD255:~$ sudo hostapd ~/hostapd-test.conf
Configuration file: /home/ali/hostapd-test.conf
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=4 eloop_data=0x8178910 user_data=0x8178e80 handler=0x807c5e0
ELOOP: remaining socket: sock=6 eloop_data=0x817ac98 user_data=(nil) handler=0x8086770
Run Code Online (Sandbox Code Playgroud)
我想要的只是使用我的上网本设置一个 wifi 热点,以便我的 android 设备可以查看并连接到它。
昨天我安装了 Ubuntu 14.04 64-bit Daily Build 并遇到了这个问题。13.10没有任何问题。我有一台带英特尔 Wifi 的戴尔 Latitude D630,驱动程序:iwl4965。我已经尝试了http://www.webupd8.org/2013/01/fix-wireless-or-wired-network-not.html 中提到的解决方案,但它不起作用。这是 sudo lshw -C network 的输出:
*-network
description: Wireless interface
product: PRO/Wireless 4965 AG or AGN [Kedron] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:0c:00.0
logical name: wlan0
version: 61
serial: 00:1f:3b:d3:ce:01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwl4965 driverversion=3.13.0-18-generic firmware=228.61.2.24 ip=192.168.1.3 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn
resources: irq:44 memory:fe8fe000-fe8fffff
Run Code Online (Sandbox Code Playgroud)