页次: 1
使用gnome自带的打开热点组件,开启一段时间自动关闭(这段时间也连不上)
直接命令行启动
$ nmcli con up Hotspot
错误:连接激活失败:IP 配置无法保留(无可用地址、超时等)
提示:使用 'journalctl -xe NM_CONNECTION=e94244f5-80bc-41c9-8936-42926b4f687f + NM_DEVICE=wlp0s20f3' 来获得更详细的信息。
journalctl -xe NM_CONNECTION=e94244f5-80bc-41c9-8936-42926b4f687f + NM_DEVICE=wlp0s20f3
10月 23 15:52:36 cm-pc NetworkManager[339]: <info> [1634975556.9769] device (wlp0s20f3): Activation: starting connection 'Hotspot' (e94244f5-80bc-41c9-8936-42926b4f687f)
10月 23 15:52:36 cm-pc NetworkManager[339]: <info> [1634975556.9770] device (wlp0s20f3): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
10月 23 15:52:36 cm-pc NetworkManager[339]: <info> [1634975556.9932] device (wlp0s20f3): set-hw-addr: reset MAC address to 00:42:38:F7:AC:2E (preserve)
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.1941] device (wlp0s20f3): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.1943] device (wlp0s20f3): Activation: (wifi) access point 'Hotspot' has security, but secrets are required.
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.1943] device (wlp0s20f3): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.1957] device (wlp0s20f3): supplicant interface state: disconnected -> interface_disabled
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.1963] device (wlp0s20f3): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.1971] device (wlp0s20f3): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.1976] device (wlp0s20f3): Activation: (wifi) connection 'Hotspot' has security, and secrets exist. No new se>
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.2239] device (wlp0s20f3): supplicant interface state: interface_disabled -> disconnected
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.4784] device (wlp0s20f3): supplicant interface state: disconnected -> completed
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.4784] device (wlp0s20f3): Activation: (wifi) Stage 2 of 5 (Device Configure) successful. Started Wi-Fi Hotspo>
10月 23 15:52:37 cm-pc NetworkManager[339]: <info> [1634975557.4786] device (wlp0s20f3): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
10月 23 15:52:37 cm-pc NetworkManager[339]: <warn> [1634975557.5284] device (wlp0s20f3): Activation: Stage 5 of 5 (IPv4 Commit) start sharing failed: could not start dnsmas>
10月 23 15:53:08 cm-pc NetworkManager[339]: <info> [1634975588.9042] device (wlp0s20f3): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state:>
10月 23 15:53:08 cm-pc NetworkManager[339]: <warn> [1634975588.9051] device (wlp0s20f3): Activation: failed for connection 'Hotspot'
10月 23 15:53:08 cm-pc NetworkManager[339]: <info> [1634975588.9054] device (wlp0s20f3): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
10月 23 15:53:09 cm-pc NetworkManager[339]: <info> [1634975589.1455] device (wlp0s20f3): set-hw-addr: set MAC address to 3E:B9:BD:82:AF:63 (scanning)
10月 23 15:53:09 cm-pc NetworkManager[339]: <info> [1634975589.3535] device (wlp0s20f3): supplicant interface state: completed -> disconnected
10月 23 15:58:09 cm-pc NetworkManager[339]: <info> [1634975889.8012] device (wlp0s20f3): set-hw-addr: set MAC address to AE:E1:39:C9:6A:43 (scanning)
10月 23 15:58:09 cm-pc NetworkManager[339]: <info> [1634975889.9977] device (wlp0s20f3): supplicant interface state: disconnected -> interface_disabled
10月 23 15:58:10 cm-pc NetworkManager[339]: <info> [1634975890.0714] device (wlp0s20f3): supplicant interface state: interface_disabled -> disconnected
请问应该如何解决呢? 顺带一提我是使用ppp拨号的,是不是和我的有线方式有关系?
离线
就是失败了而已。
离线
就是失败了而已。
那arch下开热点一般是怎么操作的?
离线
Arch 给用户选择,所以不同人开热点的方式是不一样的。
另一个比较流行的工具是 create_ap 脚本。
我是直接使用 hostapd 的。我本地有 DHCP 服务(反正我也要给虚拟机用)。
离线
Arch 给用户选择,所以不同人开热点的方式是不一样的。
另一个比较流行的工具是 create_ap 脚本。
我是直接使用 hostapd 的。我本地有 DHCP 服务(反正我也要给虚拟机用)。
试了一下create_ap 有用,但是下行速率好低,只有5mbps左右,看视频会卡。。
离线
iwconfig 看看速率呢?
有手机的话用「Wifi 分析仪」看看信道占用,然后自己挑个不那么挤的。
离线
页次: 1