QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1804|回复: 1

求助xscupplicant问题

[复制链接]
发表于 2008-6-30 18:58:43 | 显示全部楼层 |阅读模式
不知道为什么xscupplicant无法正常工作

/usr/sbin/xscupplicant -i eth0 -f
You need wireless extensions > 17 in order to support detection of encryption methods.
No configuration information for network "(null)" found. Using default.

/sbin/ifconfig eth0 up
/sbin/sbin/dhclient

No DHCPOFFFRS received.
No working leases in persistnet database -sleepling

/etc/xscupplicant.conf如下:
conf文件如下:

network_list = all
default_netname = default

# EAP request identity messages may contain a network id field in it. This
# network ID can be useful for determining a network name on wired networks.
# For wireless networks, this ID usually matches the SSID so leaving it
# enabled is a good idea unless you have a reason not to.
# use_eap_hints = yes

logfile = /var/log/xsupplicant.log

default
{
type = wired
association_type = open
allow_types = eap-peap
identity = "beijing_domain/cloudiness"
eap-peap {
# inner_id = my_inner_id
# user_cert = /path/to/certificate
# As in tls, define either a root certificate or a directory
# containing root certificates.
#root_cert = /path/to/root/certificate
# root_dir = /path/to/root/certificate/dir
# crl_dir = /path/to/dir/with/crl
# user_key = /path/to/private/key
# user_key_pass = "password for key"

root_cert = NONE
chunk_size = 1398
random_file = /dev/urandom
cncheck = myradius.radius.com # Verify the server certificate
# has this value in it's CN field.
cnexact = yes # Should it be an exact match?
session_resume = yes

proper_peap_v1_keying = yes # Many RADIUS servers use the
# wrong string constant to dervie
# the keying material. Setting
# this to 'yes' will cause
# xsupplicant to use the value
# defined in the internet draft
# instead of the wrong one. The
# default is to use the wrong
# constant, since that is what
# most RADIUS servers do.

#Currently 'all' is just mschapv2
#If no allow_types is defined, all is assumed
#allow_types = all # where all = MSCHAPv2, MD5, OTP, GTC, SIM
allow_types = eap-mschapv2

# When doing EAP MS-CHAPv2 you need a password, or an ntpwdhash. If you
# have both, Xsupplicant will try to use the ntpwdhash.
eap-mschapv2 {
username = "beijing_domain/cloudiness"
# ntpwdhash = E653E6452753C97E46792567DFF599B6
password = "111111"
}
}

}
 楼主| 发表于 2008-7-1 10:07:30 | 显示全部楼层
已解决,封贴
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-21 22:11 , Processed in 0.052248 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表