配置文件1:/etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
netmask 255.255.255.0
gateway 10.9.3.254
address 10.9.3.xxx
dns-nameservers 10.9.0.140
wpa-driver wired
wpa-conf /etc/wpa_supplicant/wpa_wired.conf
配置文件2:/etc/wpa_supplicant/wpa_wired.conf
network={
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MACHAPV2"
identity="xxx"
password="xxx"
}
sudo service networking restart
sudo service NetworkManager restart
网友评论