V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
lihuoqingfly
V2EX  ›  问与答

Ubuntu 如何开启 AP 热点

  •  
  •   lihuoqingfly · 2014-06-09 10:35:22 +08:00 · 4631 次点击
    这是一个创建于 3621 天前的主题,其中的信息可能已经有所发展或是发生改变。
    参考: http://my.oschina.net/eechen/blog/227230

    按照文章所说步骤,启动时提示错误:Can't create PID file /var/run/dhcp-server/dhcpd.pid: No such file or directory.
    第 1 条附言  ·  2014-06-09 13:37:53 +08:00
    已按@dafang @xiaoai 成功连接热点,感谢各位回复者。
    4 条回复    2014-06-09 13:18:44 +08:00
    gracece
        1
    gracece  
       2014-06-09 11:19:50 +08:00
    jamesxu
        2
    jamesxu  
       2014-06-09 11:24:51 +08:00
    很简单的东西,把 /home/eechen/hostapd/ap-start.sh 中的 dhcpd wlan0 -pf /var/run/dhcp-server/dhcpd.pid 后面部分改成 /var/run/dhcpd.pid,因为默认 dhcp-server 目录不存在
    xiaoai
        3
    xiaoai  
       2014-06-09 12:50:54 +08:00
    dafang
        4
    dafang  
       2014-06-09 13:18:43 +08:00
    按照这种方式创建成功,连接还可以:

    http://www.webupd8.org/2013/06/how-to-set-up-wireless-hotspot-access.html

    安装
    sudo add-apt-repository ppa:nilarimogard/webupd8
    sudo apt-get update
    sudo apt-get install ap-hotspot

    配置
    sudo ap-hotspot configure

    启动
    sudo ap-hotspot start

    停止
    sudo ap-hotspot stop
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1105 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 19:24 · PVG 03:24 · LAX 12:24 · JFK 15:24
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.