美文网首页
Armbian 配置 Wifi

Armbian 配置 Wifi

作者: v0cbc | 来源:发表于2018-01-29 00:19 被阅读2758次
    • 备份interface

    sudo cp /etc/network/interface /etc/network/interface_bak
    sudo rm /etc/network/interface

    • 创建新的interface

    sudo vim /etc/network/interface
    写入:
    auto lo
    iface lo inet loopback
    auto eth0
    allow-hotplug eth0
    iface eth0 inet dhcp
    allow-hotplug wlan0
    iface wlan0 inet manual
    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
    iface default inet dhcp

    • 创建wpa_supplicant.conf

    sudo vim /etc/wpa_supplicant/wpa_supplicant.conf
    写入:
    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
    update_config=1
    network={
    ssid="网络ID"
    psk="密码"
    }

    • 重启

    sudo reboot

    • 等候1-2分钟加入网络

    相关文章

      网友评论

          本文标题:Armbian 配置 Wifi

          本文链接:https://www.haomeiwen.com/subject/pgetzxtx.html