3
找回已连接Wifi的密码
source link: https://www.lujun9972.win/blog/2020/05/14/%E6%89%BE%E5%9B%9E%E5%B7%B2%E8%BF%9E%E6%8E%A5wifi%E7%9A%84%E5%AF%86%E7%A0%81/index.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
找回已连接Wifi的密码
根据Wifi管理组件的不同,存储Wifi密码的配置文件路径也不同。
NetworkManager
在 Ubuntu 中默认是使用 NetworkManger
来进行管理Wifi。
其配置文件存储在 /etc/NetworkManager/system-connections/
目录中,且密码对应字段为 psk
,因此我们可以通过下面命令找回密码:
sudo grep -r '^psk=' /etc/NetworkManager/system-connections/
netctl
我在archlinux下使用 netctl
来管理Wifi。
其配置文件存储在 /etc/netctl
目录下,且密码对应字段为 Key
(注意第一个字符大写),因此我们可以通过下面命令找回密码:
sudo grep -r '^Key=' /etc/netctl/
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK