[deepin exploration] Deepin 支持同时打开 WIFI 和热点
Tofloor
poster avatar
绿巨人
deepin
2025-02-07 11:44
Author

使用 create_ap

  • 准备

在 deepin 下,修复未完成的安装或配置。
运行以下命令:(如果有提示,选择 Y


  • 安装
git clone https://github.com/oblique/create_ap
cd create_ap
sudo make install
  • 配置

查询无线网的接口名,如 wlp1s0

iw dev
# phy#0
#         Interface wlp1s0
#                 ifindex 2
#                 wdev 0x1
#                 addr e8:6f:38:ac:1f:0d
#                 ssid NWUNET
#                 type managed
#                 channel 157 (5785 MHz), width: 40 MHz, center1: 5795 MHz
#                 txpower 20.00 dBm
#                 multicast TXQ:
#                         qsz-byt qsz-pkt flows   drops   marks   overlmt hashcol tx-bytes        tx-packets
#                         0       0       0       0       0       0       0       0               0
  • 运行
# Internet sharing from the same WiFi interface:
# MyAccessPoint: 热点名称
# MyPassPhrase: 密码
sudo create_ap wlp1s0 wlp1s0 MyAccessPoint MyPassPhrase
  • 启动 create_ap 服务 (可选):
systemctl start create_ap
  • 开机启动 create_ap 服务 (可选):
systemctl enable create_ap

Reply Favorite View the author
All Replies
jjcui8595
deepin
Resources Team Moderator
2025-02-07 12:52
#1

like

Reply View the author
潘老施主
deepin
2025-02-08 09:42
#2

like

Reply View the author