您的位置:首页 > 运维架构 > Linux

linux AP hostapd 建构

2017-07-08 15:03 274 查看
使用工具:virtualboxcentos7 1511.iso环境配置:eth0 NAT网路eth1 Host-onlywlan0 网路介面
先将selinux、firewalld关闭
vim /etc/selinux/config

将SELINUX后面改成disabled
关闭NetworkManager

开启networkifconfig eth0 upifconfig eth1 up systemctl restart network
将网卡开启:ifconfig wlan0 up

**这时后wlan0还没有ip netmask 要自己设定**

***以上完成基本架构**安装EPEL 源yum update #先更新系统yum install epel-release #安装EPEL源

安装hostapd yum install hostapd

vim /etc/hostapd/hostapd.conf 最小化配置

开启AP/usr/sbin/hostapd /etc/hostapd/hostapd.conf

安装dhcpd server yum install dhcp

编辑dhcpd.conf

开启dhcpd server 服务:systemctl start dhcpd
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux AP hostapd 建构