Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用WPA2个人版方式开启热点后,连接该热点请求超时,无法正常连接 #3732

Open
18202781743 opened this issue Feb 17, 2023 · 11 comments
Assignees

Comments

@18202781743
Copy link

SUMMARY | 问题概要

No response

SOFTWARE/OS VERSIONS | 软件/系统版本信息

deepin_V23-alpha2

镜像地址:https://cdimage.uniontech.com/daily-iso/image-beige/20230202

内核版本: 5.18.17-amd64-desktop-hwe #23.01.00.06

控制中心:6.0.8

PRE-REQUIREMENT | 预置条件

No response

STEPS TO REPRODUCE | 复现步骤

  1. 配置热点,使用WPA2个人版方式
  2. 设置ssid:test,密码:123456789
  3. 开启热点
  4. 使用笔记本或手机连接该热点
  5. 观察是否可以正常连接

OBSERVED RESULT | 观察到的结果

显示连接超时
image

EXPECTED RESULT | 期望的结果

其它设备能够正常连接此设备开启的热点

ADDITIONAL INFORMATION | 额外补充

  • 在deepin v23上开了个wap2个人热点,(用控制中心配置热点,或者network-manager-gnome的nm-connection-editor创建热点),结果:
    • 用v20的控制中心显示热点的详细信息,发现安全模式展示的是wap3,连接时输入了密码框,但过段时间仍然弹出密框,一直连接不上
    • 用手机连接,显示连接超时
  • 不用deepin上的dde-network-core的插件,也存在这个问题,希望底层的对NetworkManager熟悉的大佬看一下。
@ComixHe
Copy link

ComixHe commented Mar 7, 2023

原因是设备获取到的ap信息和原ap的加密方式不匹配

@ComixHe
Copy link

ComixHe commented Mar 7, 2023

考虑是NetworkManager的Bug

@ComixHe
Copy link

ComixHe commented Mar 10, 2023

bug已确认,是NetworkManager的Bug:https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1123

@ComixHe ComixHe self-assigned this Mar 14, 2023
@ComixHe
Copy link

ComixHe commented Mar 14, 2023

原因更新:是DBus上Accesspoint对象的RsnFlags字段错误导致加密方式不匹配,怀疑创建DBus对象时出错

@ComixHe
Copy link

ComixHe commented Mar 14, 2023

@ComixHe
Copy link

ComixHe commented Mar 23, 2023

更新至networkmanager 1.42.4后此问题消失

@ComixHe ComixHe closed this as completed Mar 23, 2023
ComixHe pushed a commit to ComixHe/Repository-Integration that referenced this issue Mar 28, 2023
ComixHe pushed a commit to ComixHe/Repository-Integration that referenced this issue Mar 28, 2023
ComixHe pushed a commit to ComixHe/Repository-Integration that referenced this issue Mar 28, 2023
ComixHe pushed a commit to ComixHe/Repository-Integration that referenced this issue Mar 28, 2023
@18202781743 18202781743 assigned Zeno-sole and unassigned 18202781743 and ComixHe Mar 30, 2023
@18202781743
Copy link
Author

集成network-manager后仍然存在问题,需重新定位

@zccrs
Copy link
Member

zccrs commented May 10, 2023

@18202781743 今天修复

@zccrs zccrs reopened this May 10, 2023
18202781743 added a commit to 18202781743/dde-network-core that referenced this issue May 11, 2023
  In WPA3-Personal Transition Mode, We change `802-11-wireless-security.proto`
from {`wpa`, rsn} to {wpa}
  In `network-manager` project `src/core/supplicant/nm-supplicant-config.c:908`.
`key_mgmt` will be added `SAE` if `pmf` isn't false, it will works
in unsupport `SAE` networkcard.
  We don't use `RSN` wireless-security proto for the Transition Mode.
  TODO: How should we configure it in WPA3-Personal Transition Mode?

Issue: linuxdeepin/developer-center#3732
18202781743 added a commit to 18202781743/dde-network-core that referenced this issue May 12, 2023
  In WPA3-Personal Transition Mode, We change `802-11-wireless-security.proto`
from {`wpa`, rsn} to {wpa}
  In `network-manager` project `src/core/supplicant/nm-supplicant-config.c:908`.
`key_mgmt` will be added `SAE` if `pmf` isn't false, it will works
in unsupport `SAE` networkcard.
  We don't use `RSN` wireless-security proto for the Transition Mode.
  TODO: How should we configure it in WPA3-Personal Transition Mode?

Issue: linuxdeepin/developer-center#3732
BLumia pushed a commit to linuxdeepin/dde-network-core that referenced this issue May 12, 2023
  In WPA3-Personal Transition Mode, We change `802-11-wireless-security.proto`
from {`wpa`, rsn} to {wpa}
  In `network-manager` project `src/core/supplicant/nm-supplicant-config.c:908`.
`key_mgmt` will be added `SAE` if `pmf` isn't false, it will works
in unsupport `SAE` networkcard.
  We don't use `RSN` wireless-security proto for the Transition Mode.
  TODO: How should we configure it in WPA3-Personal Transition Mode?

Issue: linuxdeepin/developer-center#3732
ComixHe pushed a commit to ComixHe/dde-network-core that referenced this issue Jun 2, 2023
  In WPA3-Personal Transition Mode, We change `802-11-wireless-security.proto`
from {`wpa`, rsn} to {wpa}
  In `network-manager` project `src/core/supplicant/nm-supplicant-config.c:908`.
`key_mgmt` will be added `SAE` if `pmf` isn't false, it will works
in unsupport `SAE` networkcard.
  We don't use `RSN` wireless-security proto for the Transition Mode.
  TODO: How should we configure it in WPA3-Personal Transition Mode?

Issue: linuxdeepin/developer-center#3732
@ComixHe
Copy link

ComixHe commented Jun 2, 2023

可能和这个有关:#3951

@SuperEffie
Copy link

SuperEffie commented Jun 7, 2023

【验证环境】
【镜像地址】:https://packagesupdate.uniontech.com/repo/uos-professional/image-beige/CUSTOM/lichenggang/20230516
【相关集成】:#4633
【验证结论】:验证通过,后端集成iwd模式后,使用WPA2个人版安全模式开启热点,PC和手机正常连接
【截图信息】:
iwd热点认证
【问题备注】:但后端切换为iwd模式后,热点安全模式设置为“无”或“WPA3个人版”出现异常,提示“该设备不支持热点模式”

@ComixHe
Copy link

ComixHe commented Jun 13, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 已提测
Status: Waiting Test
Status: 处理中
Development

No branches or pull requests

6 participants