lihuoqingfly
V2EX  ›  问与答

Ubuntu 如何开启 AP 热点

  •  
  •   lihuoqingfly · Jun 9, 2014 · 5238 views
    This topic created in 4448 days ago, the information mentioned may be changed or developed.
    参考: http://my.oschina.net/eechen/blog/227230

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

    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
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1257 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 36ms · UTC 23:46 · PVG 07:46 · LAX 16:46 · JFK 19:46
    ♥ Do have faith in what you're doing.