ubuntu在使用hostapd配置无线AP

使用官网:http://linuxwireless.org/en/users/Documentation/hostapd的方法配置。

之前使用网上的那些方法,一直配置不成功。查看了下hostapd的版本,是0.7的,想想也许是因为版本太低的原因,就从官网上下载了hostapd1.1的重新安装,在编译的时候,出现的两个问题:

1、错误:netlink/genl/genl.h:没有那个文件或目录,

解决方法:sudo apt-get install libnl-dev

2、报错openssl/ssl.h: 没有那个文件或目录

解决方法:sudo apt-get install libssl-dev


当安装官网的那边的说明配置好了,要链接的时候,出现如下错误:

random:not enough entropy in random pool for secure operations

我使用的方法是:

mv /dev/random 
ln -s /dev/urandom /dev/random
但是有出现

wlan0: STA 08:10:74:d7:e5:81 IEEE 802.11: authenticated
wlan0: STA 08:10:74:d7:e5:81 IEEE 802.11: associated (aid 1)
wlan0: STA f0:7b:cb:9f:c5:e5 IEEE 802.11: authenticated
wlan0: STA f0:7b:cb:9f:c5:e5 IEEE 802.11: associated (aid 2)
wlan0: STA 08:10:74:d7:e5:81 IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA 08:10:74:d7:e5:81 IEEE 802.11: authenticated
wlan0: STA 08:10:74:d7:e5:81 IEEE 802.11: associated (aid 1)
wlan0: STA f0:7b:cb:9f:c5:e5 IEEE 802.11: deauthenticated due to local deauth request
wlan0: STA f0:7b:cb:9f:c5:e5 IEEE 802.11: authenticated
wlan0: STA f0:7b:cb:9f:c5:e5 IEEE 802.11: associated (aid 2)

这个问题,连接不上,等待解决


你可能感兴趣的:(ubuntu在使用hostapd配置无线AP)