15.4怎么创建wifi热点?
Tofloor
poster avatar
whxiaofeizai
deepin
2017-05-27 20:02
Author
https://bbs.deepin.org/post/132223#
这里的方法,终端提示创建成功,但是手机找不到热点。。。。
Reply Favorite View the author
All Replies
159******79
deepin
2017-05-27 20:28
#1
用creat_ap直接创建吧
Reply View the author
cgfeilishi
deepin
2017-05-27 20:32
#2
1.sudo apt-get install hostapd
2. sudo apt-get install dnsmasq
3.sudo apt-get install iptables
4.sudo git clone https://github.com/oblique/create_ap
5.cd create_ap/
6.sudo make install
7.sudo create_ap wlp3s0 enp4s0f1 热点名称 热点密码
8.OK
Reply View the author
Comments
olaohu
2017-08-25 01:50
按照这个方法,成功了!太爽了!
nalan
2017-05-27 21:32
技术贴,mark。
whxiaofeizai
deepin
2017-05-27 21:15
#3
本帖最后由 whxiaofeizai 于 2017-5-27 13:18 编辑

谢谢,但是7好像不对,我参照https://bbs.deepin.org/post/45024# 改成了
7. sudo create_ap wlp4s0 enp5s0f1 热点名称 热点密码 & 才成功
然而https://bbs.deepin.org/post/45024# 本身并不能在我的电脑上正常工作。。。。

Reply View the author
cgfeilishi
deepin
2017-05-28 00:38
#4
https://bbs.deepin.org/post/140098
谢谢,但是7好像不对,我参照https://bbs.deepin.org/post/45024# 改成了
7 ...

对啊,wl开头的代表wlan(无线),enp代表有线网卡。看个人情况而定的,忘记解释了。。。
Reply View the author
Comments
zhangsolomon
2017-05-28 15:17
正解,用ifconfig看一下自己的就ok了
jungle
deepin
2017-08-06 02:07
#5
https://bbs.deepin.org/post/140098
1.sudo apt-get install hostapd
2. sudo apt-get install dnsmasq
3.sudo apt-get install iptables

第二个就出错了
Reply View the author
lyxlgr
deepin
2017-09-06 16:32
#6
MARK一下           
Reply View the author
jingle
deepin
2017-09-06 16:51
#7

仓库有的。
  1. eepin@deepin:~$ apt-cache policy dnsmasq
  2. dnsmasq:
  3.   已安装:2.76-5
  4.   候选: 2.76-5
  5.   版本列表:
  6. *** 2.76-5 500
  7.         500 http://packages.deepin.com/deepin panda/main amd64 Packages
  8.         500 http://packages.deepin.com/deepin panda/main i386 Packages
  9.         100 /var/lib/dpkg/status
Copy the Code
Reply View the author
Lyvnee
deepin
2017-09-06 18:43
#8
jingle 发表于 2017-9-6 08:51
仓库有的。

这个包我终端安装有报错,你试试看
Reply View the author
jingle
deepin
2017-09-06 19:05
#9
https://bbs.deepin.org/post/140098
这个包我终端安装有报错,你试试看
  1. deepin@deepin:~$ sudo apt-get install --reinstall dnsmasq
  2. [sudo] deepin 的密码:
  3. 正在读取软件包列表... 完成
  4. 正在分析软件包的依赖关系树      
  5. 正在读取状态信息... 完成      
  6. 升级了 0 个软件包,新安装了 0 个软件包,重新安装了 1 个软件包,要卸载 0 个软件包,有 0 个软件包未被升级。
  7. 需要下载 0 B/15.9 kB 的归档。
  8. 解压缩后会消耗 0 B 的额外空间。
  9. (正在读取数据库 ... 系统当前共安装有 198899 个文件和目录。)
  10. 正准备解包 .../dnsmasq_2.76-5_all.deb  ...
  11. 正在将 dnsmasq (2.76-5) 解包到 (2.76-5) 上 ...
  12. 正在设置 dnsmasq (2.76-5) ...
  13. Job for dnsmasq.service failed because the control process exited with error code.
  14. See "systemctl  status dnsmasq.service" and "journalctl  -xe" for details.
  15. invoke-rc.d: initscript dnsmasq, action "start" failed.
  16. ● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
  17.    Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
  18.    Active: failed (Result: exit-code) since Wed 2017-09-06 11:05:30 CST; 7ms ago
  19.   Process: 4484 ExecStart=/etc/init.d/dnsmasq systemd-exec (code=exited, status=1/FAILURE)
  20.   Process: 4483 ExecStartPre=/usr/sbin/dnsmasq --test (code=exited, status=0/SUCCESS)

  21. 9月 06 11:05:30 deepin systemd[1]: Starting dnsmasq - A lightweight DHCP and caching D…er...
  22. 9月 06 11:05:30 deepin dnsmasq[4483]: dnsmasq: syntax check OK.
  23. 9月 06 11:05:30 deepin dnsmasq[4484]: dnsmasq: junk found in command line
  24. 9月 06 11:05:30 deepin dnsmasq[4484]: junk found in command line
  25. 9月 06 11:05:30 deepin dnsmasq[4484]: FAILED to start up
  26. 9月 06 11:05:30 deepin systemd[1]: dnsmasq.service: Control process exited, code=exite…tus=1
  27. 9月 06 11:05:30 deepin systemd[1]: Failed to start dnsmasq - A lightweight DHCP and ca…rver.
  28. 9月 06 11:05:30 deepin systemd[1]: dnsmasq.service: Unit entered failed state.
  29. 9月 06 11:05:30 deepin systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
  30. Hint: Some lines were ellipsized, use -l to show in full.
  31. 正在处理用于 systemd (233-10) 的触发器 ...
Copy the Code
Reply View the author
Lyvnee
deepin
2017-09-07 01:03
#10
  1. 9月 06 11:05:30 deepin dnsmasq[4484]: FAILED to start up
Copy the Code

dnsmasq服务启动失败。
  1. systemctl  status dnsmasq.service
Copy the Code
Reply View the author
jingle
deepin
2017-09-07 01:23
#11
https://bbs.deepin.org/post/140098
dnsmasq服务启动失败。

准备升级到 2.77-3
Reply View the author
comzhong
deepin
2017-09-07 02:26
#12
https://bbs.deepin.org/post/132223

2017.9.6   create_ap_2.5.sh ——创建快捷方式来打开关闭热点,更加方便,不用在终端输入命令了。
Reply View the author