首页 > Web开发 > 详细

Raspberry Pi 4B + Ubuntu 20.04 server for arm64 的wifi配置

时间:2020-10-05 08:59:05      阅读:177      评论:0      收藏:0      [点我收藏+]

1、查看网口

ip a

看到 eth0 lo wlan0等

2、进入 /etc/netplan/ ,复制备份内部现存的*.yaml文件,编辑原文件

network:
    version: 2
    ethernets:
        eth0:
            optional: true
            dhcp4: true
    
    wifis:
        wlan0:
            optional: true
            dhcp4: true
            access-points:
                "无线网名称":
                    password: "无线密码"    

3、 执行 sudo netplan --debug try 测试配置

    如果出错,执行 sudo netplan --debug generate 查看更多信息

ping www.baidu.com //是可以ping 通的

    如果没出错,执行 sudo netplan --debug apply 应用配置

ping www.baidu.com //是可以ping 通的

4. 如果没问题,重启应该就好了

 

Raspberry Pi 4B + Ubuntu 20.04 server for arm64 的wifi配置

原文:https://www.cnblogs.com/ucas123/p/13769296.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!