LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: ouzi770

用实达认证软件的在linux下怎么上网?

[复制链接]
 楼主| 发表于 2004-4-1 13:19:13 | 显示全部楼层
现在开机网卡能很容易激活,但运行xsupplicant报错如下:
[root@localhost root]# xsupplicant -i eth0 -u root -p 770778
Username override!  Using username root
Password passed in from command line!  (This isn't very secure!)
Setup on device eth0 complete
Specific Wireless Authenticator MAC not found, using default destination
Could not determine network name, assuming there is none
Using default network profile. (Network Name = default)
Done with init.
Connection Established, authenticating...
get_password returned a value!
Failed to Authenticate
Sending EAPOL-Start #1
Sending EAPOL-Start #2
Connection Established, authenticating...
get_password returned a value!
Failed to Authenticate
请给我看看什么回事?
发表于 2004-4-1 19:36:47 | 显示全部楼层
-u root -p 770778


这是上网的用户名和密码吗?

还有就是
Sending EAPOL-Start #1
Sending EAPOL-Start #2
在我这里偶尔也会出现,我想可能是网络流量太大,包没有即使收到的缘故,过几秒钟重新运行xsupplicant就好了!
 楼主| 发表于 2004-4-1 20:42:41 | 显示全部楼层
不是,那是我在linux下的用户名和密码,是不是这搞错了啊?
 楼主| 发表于 2004-4-1 22:18:46 | 显示全部楼层
换了上网的用户名和密码还是不行,还是同样的报错,看来没招了:(
发表于 2004-4-2 09:14:04 | 显示全部楼层
首先你要确定上网的用户名和密码是正确的,也就是-u user -p pass
而且只要上面的是正确的,很多时候认证失败也可以上,我这里是这样,前提是用户名和密码一定要正确。  看你上面的错误,肯定是和认证服务器连上了,应该没有什么问题。
 楼主| 发表于 2004-4-2 12:52:10 | 显示全部楼层
我还想问一下,ip地址这些怎么设,是自动获得吗?我在windows下ip每次认证后好像都固定的,是172.168.4.102,所以我在linux下也把ip设成这个,子网掩码是255.255.0.0,默认网关是:172.168.1.1,DNS是172.168.1.2你是怎么设这些东西的?谢谢:)
发表于 2004-4-2 13:17:35 | 显示全部楼层
先在windows下面ipconfig /all 看看ip ,mask,gateway 就可以了,dns没有必要,会自动从dhcp服务器获取的,然后修改你的配置文件,只用修改ip,mask和网关就可以了。

对了,你的mask确定是255.255.0.0而不是c网的255.255.255.0 吗,我有点怀疑是这里的问题。

设置完以后,ifup eth0 && xsupp...............就可以了。

有时侯必须要dhcp才能上,如果你dhcp可以获得ip的话,那就简单了,直接认证就可以了,如果要结合认证才能获得ip的话,我这里就是这样,可以这样解决,先设置网卡为固定ip,然后认证,过大约30秒钟后,ifdown eth0  接下来修改网卡为dhcp的  然后ifup eth0& xsupp.....就可以了,之所以可以这样是因为每一次认证的有效期大约是1分钟。
发表于 2004-4-2 16:27:21 | 显示全部楼层
用的是实达私有协议,实达自己都没有搞掂!
 楼主| 发表于 2004-4-2 17:36:15 | 显示全部楼层
Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.

C:\Documents and Settings\欧阳>ipconfig/all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : ouzi
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter 本地连接:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-E0-4C-02-7B-43
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 172.168.4.102
        Subnet Mask . . . . . . . . . . . : 255.255.0.0
        Default Gateway . . . . . . . . . : 172.168.1.1
        DHCP Server . . . . . . . . . . . : 172.168.1.2
        DNS Servers . . . . . . . . . . . : 202.112.128.51
                                            202.112.128.50
                                            202.106.0.20
        Lease Obtained. . . . . . . . . . : 2004年4月2日 17:32:45
        Lease Expires . . . . . . . . . . : 2004年4月5日 17:32:45

C:\Documents and Settings\欧阳>
 楼主| 发表于 2004-4-3 11:32:22 | 显示全部楼层
我安照下面的步骤设置,还是不行。
控制中心-网络设置-新建网络-把ip,子网掩码,网关等设好-点击完成。
xcuppliant -i eth0 -u S31022426 -p 770778 (上网用户名和密码)
然后控制中心-网络设置-查看网络联结(当时还没联结)-点击连接,过几秒后提示“连接完成”,不过几秒后又会自动提示“未连接”,怎么回事,我尝试让ip设成自动获得,然后查看网络连接,总是提示“连接失败”,是不是实达这个东西本来就有问题?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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