====CC6 Wifi开启与配置==== DEY默认配置为通过DHCP来获取有线或无线Wifi的IP地址。您可以在运行时配置核心板的网络接口,也可以在生成镜像时为其配置合适的网络设置。 ===在DEY Linux系统运行时为核心板配置网络=== 您可以通过修改/etc/NetworkManager/system-connections/nm.wlanX配置文件来配置Wifi,或是通过nmcli命令行来配置。 比如,要加入一个名为DigiAP的WPA-PSA加密网络,命令行的方式如下: # nmcli con edit wlan0 ===| nmcli interactive connection editor |=== Editing existing '802-11-wireless' connection: 'wlan0' Type 'help' or '?' for available commands. Type 'describe [.]' for detailed property description. You may edit the following settings: connection, 802-11-wireless (wifi), 802-11-wireless-security (wifi-sec), 802-1x, ipv4, ipv6 nmcli> set wifi.ssid DigiAP nmcli> set wifi-sec.key-mgmt WPA-PSK nmcli> set wifi-sec.psk 12345678 nmcli> save nmcli> quit # /etc/init.d/networkmanager restart 注意,为了让新配置生效,上面的命令最后重新启动网络管理器。 ===在DEY镜像中预配置网络接口=== 待续