建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

笔记本/便携移动设备,手机平板等软硬件
头像
iamfbi
帖子: 1081
注册时间: 2009-02-06 9:18
来自: 小僧乃吐蕃国大雪山大轮寺护国法师座下四大护法之西域妖僧是也

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#16

帖子 iamfbi » 2013-07-12 16:14

oneleaf 写了:好吧,开了手机版。
:em05 可喜可贺
Laptop: i5-460m hm55 4g 320g hd5470 14'led 2.3kg (acer 4738g)
Windows XP 7 8 all in one partition.
Ubuntu 10.04 LTS
Mac OS X 10.6.7
折腾笔记
论坛随手记
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#17

帖子 eexpress » 2013-07-12 21:23

家里usb无线网卡测试了。不要改。
● 鸣学
头像
kissdb
帖子: 578
注册时间: 2008-03-28 10:18
来自: 淮安and徐州

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#18

帖子 kissdb » 2013-07-12 22:59

这个要mark下
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#20

帖子 eexpress » 2013-07-27 23:56

g6672.png
附件
g6672.png
● 鸣学
头像
b33e
帖子: 3864
注册时间: 2011-06-07 14:20
系统: Mint18

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#21

帖子 b33e » 2013-08-16 15:14

学习了。 :em01
sanz
帖子: 1010
注册时间: 2006-09-29 5:11

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#22

帖子 sanz » 2013-08-17 14:03

这个不错。正需要。试试
Dell D620 -> Asus U44SG
Dapper->Edgy->Feisty->Gutsy->Hardy->Karmic->Lucid -> Oneric -> Precise->Trusty
Python+JS
chole
帖子: 482
注册时间: 2010-05-11 17:27

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#23

帖子 chole » 2013-09-02 9:23

手机提示 一直处于获取ip地址中
chole
帖子: 482
注册时间: 2010-05-11 17:27

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#24

帖子 chole » 2013-09-02 9:39

别的xp本子连接 ,提示网络正在准备中。
chole
帖子: 482
注册时间: 2010-05-11 17:27

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#25

帖子 chole » 2013-09-02 9:40

别的xp本子连接 ,提示网络正在准备中。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#26

帖子 eexpress » 2013-09-02 11:42

chole, https://github.com/eexpress/eexp-bin/bl ... er/ap.bash
你需要安装 dhcp3-server 和 hostapd
● 鸣学
chole
帖子: 482
注册时间: 2010-05-11 17:27

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#27

帖子 chole » 2013-09-02 19:56

好的 非常感谢
chole
帖子: 482
注册时间: 2010-05-11 17:27

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#28

帖子 chole » 2013-09-02 20:18

手机有网的感觉实在太美好了 再次感谢ee大神
chole
帖子: 482
注册时间: 2010-05-11 17:27

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#29

帖子 chole » 2013-09-07 11:42

在另一台电脑上出错 用的是pci接口的无线网卡
提示

代码: 全选

		 * AP: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
		 * AP/VLAN: 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x0060 0x0070 0x0080 0x0090 0x00a0 0x00b0 0x00c0 0x00d0 0x00e0 0x00f0
		 * AP: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
		 * AP/VLAN: 0x0000 0x0020 0x0040 0x00a0 0x00b0 0x00c0 0x00d0
SIOCSIFADDR: 没有那个设备
wlan0: 获取接口标志时出错: 没有那个设备
SIOCSIFNETMASK: 没有那个设备
net.ipv4.ip_forward = 1
Internet Systems Consortium DHCP Server 4.1-ESV-R4
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Wrote 0 leases to leases file.

No subnet declaration for wlan0 (no IPv4 addresses).
** Ignoring requests on wlan0.  If this is not what
   you want, please write a subnet declaration
   in your dhcpd.conf file for the network segment
   to which interface wlan0 is attached. **


Not configured to listen on any interfaces!
Configuration file: /tmp/hostapd.conf
nl80211: Register Action command failed: ret=-19 (No such device)
nl80211: Register Action match - hexdump(len=1): 06
nl80211: Failed to register Action frame processing - ignore for now
nl80211: Add own interface ifindex 0
Could not read interface wlan0 flags: No such device
nl80211 driver initialization failed.
ELOOP: remaining socket: sock=4 eloop_data=0x227a1c0 user_data=0x227a9e0 handler=0x433940
ELOOP: remaining socket: sock=6 eloop_data=0x227d0e0 user_data=(nil) handler=0x43cd90
chole
帖子: 482
注册时间: 2010-05-11 17:27

Re: 建立无线热点-脚本-AP-hostapd-dhcpd,给没root的android手机使用。

#30

帖子 chole » 2013-09-07 11:49

好了 自我解决了 我的网卡是wlan3 不是wlan0
回复