debian的802.1认证网络设置:
/etc/wpa_supplicant/wired_connection.conf :
ap_scan=0
ctrl_interface=/var/run/wpa_supplicant
network={
proto=WPA
key_mgmt=IEEE8021X
pairwise=TKIP
group=TKIP
eap=PEAP
eapol_flags=0
identity="username"
password="passwd"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
}
/etc/network/interfaces:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
pre-up wpa_supplicant -B -c/etc/wpa_supplicant/wired_connection.conf -ieth0 -Dwired&> /dev/null
(最后一句的意思为在ifce前先认证)
然后:killall wpa_supplicant ;
sudo /etc/init.d/networking restart
有时候开机后,偶尔会认证不成功,可以直接运行以下脚本:
#!/bin/sh
killall wpa_supplicant
ifdown eth0
wpa_supplicant -B -D wired -i eth0 -c /etc/wpa_supplicant/wired_connection.conf &> /dev/null
ifup eth0
dhclient3 eth0
分享到:
相关推荐
docker-ce_18.06.3~ce~3-0~debian_arm64.deb
Debian 7.X.X 详细图解安装教程 7以上都可以用 很详细
mysql-connector-java_8.0.13-1debian9_all.deb,一个linux的驱动
debian 10.4 的docker影像 export的结果,用于给wsl1 更新debian 里面只增加了sudo nano ping 建议再装点软件。。。 apt update && apt upgrade -y && apt install sudo tzdata htop w3m wget inetutils-ping nano...
# deb http://ftp.debian.org/debian/ experimental main deb http://mirrors.ustc.edu.cn/debian/ jessie main contrib non-free deb-src http://mirrors.ustc.edu.cn/debian/ jessie main contrib non-free deb...
Debian The Perfect Setup.chm
合并成 chromeplus-1.3.3.3_ubuntu_debian_i686.tar.gz.bat
透视Debian GNU/Linux.pdf
securing-debian-howto.en,refcard.en,debian-faq.en,install
Debian下体验Enlightenment.docx
无论您是快速发展的网络资产、技术 ISV 还是大型企业,MySQL 都可以经济高效地帮助您交付高性能、可扩展的数据库应用程序。 适用于Debian Linux 10 (x86, 64-bit) 压缩包内容: mysql-community-server_8.0.25-1...
之debianlinux(1.docx
因为官网版本更替后,在红框位置显示的就可能不是Debian 10.4网络安装版的镜像,所以我做了一个百度云盘的永久分享 2.安装步骤 3.Debian 10.4系统安装开始 二、zabbix安装前准备 1.固定IP地址 2.使用Xshll(Xshll是...
rabbitmq-server_3.7.12-1.debian.tar.xz包 配合erlang在debian系统运行
HP准备扩大对Debian Linux的支持.pdf
wiley.ubuntu.linux.toolbox.1000.plus.commands.for.ubuntu.and.debian.power.users.nov.2007.pdf
构建Docker Debian QT编译环境.docx
Debian. Countless companies, universities, and public administrations rely on Debian daily for their operations, delivering services to millions of users around the world... and its orbit!
MongoDB Community Server(mongodb-linux-x86_64-debian10-5.0.4.tgz)适用于Debian10 MongoDB是一个基于分布式文件存储的数据库。由C++语言编写。旨在为WEB应用提供可扩展的高性能数据存储解决方案。 MongoDB是一...
使用backupninja备份Debian系统的教程.docx