红联Linux门户
Linux帮助

学习记录6 xsupplicant 认证

发布时间:2009-05-01 21:37:25来源:红联作者:jcair
setup 设为自动获取
使用身份认证软件
下载软件xsupplicant-1.2.8.tar.gz
http://www.open1x.org
解压软件
#tar -xzvf xsupplicant-1.2.8.tar.gz
安装软件
#makedir /usr/local/xsupplicant
#./configure --prefix=/usr/local/xsupplicant
#make
#make install
#make clean
#make distclean


#vi xsupplicant.conf
将空的default配置块删除,改后面的my_network为default
找到 identity = myid@mynet.net这一行,把 myid@mynet.net 改成你的用

户名
找到
eap-md5 {
username = testuser
password = “testuserpass”
}
分别把testuser和testuserpass字段改成你的用户名和密码
把这个配置文件xsupplicant.conf 复制到 /etc下,以后xspplicant运行

时会首先调用这个配置文件

allow_types=eap-md5


#cd /usr/local/xsupplicant/sbin
#./xsuppliant -i eth0 -c /etc/xsupplicant.conf
#dhclient eth0

eth0 dns 61.139.2.69 (才可以上网)
将eth0的dns设为静态的一个
文章评论

共有 1 条评论

  1. drzh 于 2009-05-02 23:11:55发表:

    怎么不能收藏主题呀?太好的主题!