主要工具:
- iw : A new nl80211 based CLI configuration utility for wireless
devices. - hostapd : A user space software access point capable of
turning normal network interface cards into access points and
authentication servers. - iptables : Used to set up, maintain, and inspect the tables of IPv4 packet filter rules in the Linux kernel.
- udhcpd : A very small DHCP server program geared towards embedded systems.
- udpcpc : A very small DHCP client program geared towards embedded systems.
- macchanger : A GNU/Linux utility for viewing/manipulating the MAC address of network interfaces.
安装方法:
sudo apt-get install iw hostapd iptables udhcpd udhcpc macchanger
各工具配置文件:
/etc/hostapd.conf
interface=new1
driver=nl80211
ssid=xxxxxxxxx
channel=11 #I sugest you to use the same channel as your wireless network
hw_mode=g
wme_enabled=1
macaddr_ac