跳至主要内容

raspberry的netplan设置

WPA2 Personal

network:
    version: 2
    wifis:
        wlan0:
             renderer: NetworkManager
             match: {}
             dhcp4: true
             access-points:
                 "wpa2 network":
                     password: "Our passphrase for our network"

Open network

network:
    version: 2
    wifis:
        wlan0:
             renderer: NetworkManager
             match: {}
             dhcp4: true
             access-points:
                 "open network": {}
 
 
 
$ sudo netplan –debug try 
$ sudo netplan –debug generate 
$ sudo netplan –debug apply 
 
 
sudo reboot  

评论

此博客中的热门博文

ubuntu 添加root登录

Login to your server as root. As the root user, edit the sshd_config file found in  /etc/ssh/sshd_config : vim /etc/ssh/sshd_config ( For details on working with Vim check out our article here !) Add the following line to the file, you can add it anywhere but it’s good practice to find the block about authentication and add it there. PermitRootLogin yes Save and exit the file. Restart the SSH server: systemctl restart sshd or service sshd restart