Ubuntu 14.04 快速创建无线接入点供移动设备连接上网遇到的坑

最近正在搭建创建无线接入点供移动设备连接上网,按照下面那个安装hostapd和dhcpd

https://my.oschina.net/eechen/blog/227230

装完报错了,希望大V们可以帮助一下,我对网络这块不太熟悉,谢谢各位了

启动hostapd报错:

root@liuyang:/home/qa_liuyang/qa_liuyang/hostapd# ./ap-start.sh 
错误:对象 “nm” 未知,尝试 “nmcli help”。
SIOCSIFADDR: 没有那个设备
wlan0: 获取接口标志时出错: 没有那个设备
SIOCSIFNETMASK: 没有那个设备
./ap-start.sh: 行 15: /home/qa_liuyang/hostapd/hostapd.log: 没有那个文件或目录
Internet Systems Consortium DHCP Server 4.3.3
Copyright 2004-2015 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/dhcp/dhcpd.conf
Database file: /var/lib/dhcp/dhcpd.leases
PID file: /var/run/dhcpd.pid
Can't open /var/lib/dhcp/dhcpd.leases for append.

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
UID        PID  PPID  C STIME TTY          TIME CMD
root     10011  9992  0 15:56 pts/17   00:00:00 grep -E dhcpd|hostapd
 

转载于:https://my.oschina.net/u/2848313/blog/787503

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值