求助,ap-hotspot在ubuntu升级到14.02后无法使用

上网、浏览、聊天、下载等
回复
KEN622202
帖子: 1
注册时间: 2014-04-18 19:10
系统: ubuntu 20.04

求助,ap-hotspot在ubuntu升级到14.02后无法使用

#1

帖子 KEN622202 » 2014-04-18 21:12

具体情况如下:

代码: 全选

lu@lu:~$ sudo ap-hotspot debug
[sudo] password for lu: 
Starting Wireless Hotspot...
* Stopping advanced IEEE 802.11 management hostapd
...done.
* Stopping DNS forwarder and DHCP server dnsmasq
* (not running)
update-rc.d: warning:  start runlevel arguments (none) do not match hostapd Default-Start values (2 3 4 5)
update-rc.d: warning:  stop runlevel arguments (none) do not match hostapd Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/hostapd ...
Removing any system startup links for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd
/etc/rc1.d/K20hostapd
/etc/rc2.d/K80hostapd
/etc/rc3.d/K80hostapd
/etc/rc4.d/K80hostapd
/etc/rc5.d/K80hostapd
/etc/rc6.d/K20hostapd
Adding system startup for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd -> ../init.d/hostapd
/etc/rc1.d/K20hostapd -> ../init.d/hostapd
/etc/rc6.d/K20hostapd -> ../init.d/hostapd
/etc/rc2.d/K80hostapd -> ../init.d/hostapd
/etc/rc3.d/K80hostapd -> ../init.d/hostapd
/etc/rc4.d/K80hostapd -> ../init.d/hostapd
/etc/rc5.d/K80hostapd -> ../init.d/hostapd
update-rc.d: warning:  start runlevel arguments (none) do not match dnsmasq Default-Start values (2 3 4 5)
update-rc.d: warning:  stop runlevel arguments (none) do not match dnsmasq Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/dnsmasq ...
Removing any system startup links for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq
/etc/rc1.d/K85dnsmasq
/etc/rc2.d/K85dnsmasq
/etc/rc3.d/K85dnsmasq
/etc/rc4.d/K85dnsmasq
/etc/rc5.d/K85dnsmasq
/etc/rc6.d/K85dnsmasq
Adding system startup for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc1.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc6.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc2.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc3.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc4.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc5.d/K85dnsmasq -> ../init.d/dnsmasq
* Restarting DNS forwarder and DHCP server dnsmasq
...done.
net.ipv4.ip_forward = 1
如题,
14.02出来了好激动啊,马上打开软件更新器升级到14.02,升级过程中WIFI一切正常,但是升级完重启后整个ap-hotspot都不好了,具体情况还是见上图,启动到

代码: 全选

net.ipv4.ip_forward = 1
后就一直停止不动了。囧。
又上google搜了一下,搜到了在同一个论坛的viewtopic.php?f=122&t=456637,去看了一下二楼的https://help.ubuntu.com/community/Dnsmasq,虽不明但觉厉,完全不明白什么意思。然后再看了一下上面的信息,只知道问题可能出现在waring那一段:

代码: 全选

update-rc.d: warning:  start runlevel arguments (none) do not match dnsmasq Default-Start values (2 3 4 5)
update-rc.d: warning:  stop runlevel arguments (none) do not match dnsmasq Default-Stop values (0 1 6)
又另,在升级过程中有一步询问“是否要保留一系列的包”,身为处女座的我果断选择了“删除”,也木有出现什么问题。有可能和这有关吗?

手机WIFI不能用了简直是要死的节奏啊。
恩,跪求高手解答。
huangsh4123
帖子: 9
注册时间: 2012-04-08 19:19

Re: 求助,ap-hotspot在ubuntu升级到14.02后无法使用

#2

帖子 huangsh4123 » 2014-08-06 18:57

KEN622202 写了:具体情况如下:

代码: 全选

lu@lu:~$ sudo ap-hotspot debug
[sudo] password for lu: 
Starting Wireless Hotspot...
* Stopping advanced IEEE 802.11 management hostapd
...done.
* Stopping DNS forwarder and DHCP server dnsmasq
* (not running)
update-rc.d: warning:  start runlevel arguments (none) do not match hostapd Default-Start values (2 3 4 5)
update-rc.d: warning:  stop runlevel arguments (none) do not match hostapd Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/hostapd ...
Removing any system startup links for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd
/etc/rc1.d/K20hostapd
/etc/rc2.d/K80hostapd
/etc/rc3.d/K80hostapd
/etc/rc4.d/K80hostapd
/etc/rc5.d/K80hostapd
/etc/rc6.d/K20hostapd
Adding system startup for /etc/init.d/hostapd ...
/etc/rc0.d/K20hostapd -> ../init.d/hostapd
/etc/rc1.d/K20hostapd -> ../init.d/hostapd
/etc/rc6.d/K20hostapd -> ../init.d/hostapd
/etc/rc2.d/K80hostapd -> ../init.d/hostapd
/etc/rc3.d/K80hostapd -> ../init.d/hostapd
/etc/rc4.d/K80hostapd -> ../init.d/hostapd
/etc/rc5.d/K80hostapd -> ../init.d/hostapd
update-rc.d: warning:  start runlevel arguments (none) do not match dnsmasq Default-Start values (2 3 4 5)
update-rc.d: warning:  stop runlevel arguments (none) do not match dnsmasq Default-Stop values (0 1 6)
Disabling system startup links for /etc/init.d/dnsmasq ...
Removing any system startup links for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq
/etc/rc1.d/K85dnsmasq
/etc/rc2.d/K85dnsmasq
/etc/rc3.d/K85dnsmasq
/etc/rc4.d/K85dnsmasq
/etc/rc5.d/K85dnsmasq
/etc/rc6.d/K85dnsmasq
Adding system startup for /etc/init.d/dnsmasq ...
/etc/rc0.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc1.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc6.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc2.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc3.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc4.d/K85dnsmasq -> ../init.d/dnsmasq
/etc/rc5.d/K85dnsmasq -> ../init.d/dnsmasq
* Restarting DNS forwarder and DHCP server dnsmasq
...done.
net.ipv4.ip_forward = 1
如题,
14.02出来了好激动啊,马上打开软件更新器升级到14.02,升级过程中WIFI一切正常,但是升级完重启后整个ap-hotspot都不好了,具体情况还是见上图,启动到

代码: 全选

net.ipv4.ip_forward = 1
后就一直停止不动了。囧。
又上google搜了一下,搜到了在同一个论坛的viewtopic.php?f=122&t=456637,去看了一下二楼的https://help.ubuntu.com/community/Dnsmasq,虽不明但觉厉,完全不明白什么意思。然后再看了一下上面的信息,只知道问题可能出现在waring那一段:

代码: 全选

update-rc.d: warning:  start runlevel arguments (none) do not match dnsmasq Default-Start values (2 3 4 5)
update-rc.d: warning:  stop runlevel arguments (none) do not match dnsmasq Default-Stop values (0 1 6)
又另,在升级过程中有一步询问“是否要保留一系列的包”,身为处女座的我果断选择了“删除”,也木有出现什么问题。有可能和这有关吗?

手机WIFI不能用了简直是要死的节奏啊。
恩,跪求高手解答。
请问有没有解决
头像
vickycq
帖子: 4507
注册时间: 2011-03-20 13:12
系统: Debian
来自: 山东省寿光县
联系:

Re: 求助,ap-hotspot在ubuntu升级到14.02后无法使用

#3

帖子 vickycq » 2014-08-06 21:37

试试降级hostapd。
Debian 中文论坛 - forums.debiancn.org
欢迎所有 Debian GNU/Linux 用户
回复