network interface配置网络

修改文件/etc/network/interfaces为

allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug wlan0

iface wlan0 inet dhcp


修改后执行,链接wifi
sudo ifup wlan0

你可能感兴趣的:(红红火火恍恍惚惚)