Vroting / ruijieclient

Automatically exported from code.google.com/p/ruijieclient
GNU Lesser General Public License v3.0
0 stars 0 forks source link

dhclient 错误 #20

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 认证成功,ping 不通DNS服务器
2. 配置文件
#This is settings
#Network Adapter Name
NIC=eth0
#0: Standard, 1: Private
AuthenticationMode=1
EchoInterval=25
#IntelligentReconnect: 0: Disable IntelligentReconnect, 1: Enable :
IntelligentReconnect=1
#AutoConnect: 0: Disable AutoConnect, 1: Enable AutoConnect (only 
available in gruijieclient) 
AutoConnect=1
#Fake Version for cheating server
FakeVersion=3.33
#Fake IP for cheating server
FakeAddress=
#DHCP mode 0: Disable, 1: Enable DHCP before authentication, 2: Enable 
DHCP after authentication 3: DHCP after DHCP authentication andre-
authentication(You should use this if your net env is DHCP)
DHCPmode=1
#Add if you don't want ruijieclient to ping the default gateway
PingHost=

3.

What is the expected output? What do you see instead?
>> Searching for server...
@@ Server found, requesting user name...
>> Sending user name...
@@ User name valid, requesting password...
>> Sending password... 
Internet Systems Consortium DHCP Client 4.1.0
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Usage: dhclient [-4|-6] [-SNTP1dvrx] [-nw] [-p <port>] [-s server]
                [-cf config-file] [-lf lease-file][-pf pid-file] [-e 
VAR=val]
                [-I <dhcp-client-identifier>] [-B]
                [-H <host-name> | -F <fqdn.fqdn>] [-timeout <timeout>]
                [-V <vendor-class-identifier>]
                [-R <request option list>]
                [-sf script-file] [interface]

This version of ISC DHCP is based on the release available
on ftp.isc.org.  Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report for this software via the Red Hat Bugzilla site:
    http://bugzilla.redhat.com

exiting.
@@ Password valid, SUCCESS:
## Server Message: 
Daemonize and Keeping sending echo...

What version of the product are you using? On what operating system?
ruijieclient-0.8.1-1.fc11.i586.rpm
fedora 11
Please provide any additional information below.
之前有正常认证并上网正常过,但换了寝室后认证成功不能pi
ng 通DNS服务器、不能上网。在
windows xp 下能够正常认证、上网。还有就是在centso 
5.3下编译安装ruijieclient-
0.7.9.tar.bz2 不成功以下为make 错误的信息:
make  all-recursive
make[1]: Entering directory `/home/spring/Desktop/ruijieclient-0.7.9'
Making all in src
make[2]: Entering directory `/home/spring/Desktop/ruijieclient-0.7.9/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/spring/Desktop/ruijieclient-0.7.9/src'
make[2]: Entering directory `/home/spring/Desktop/ruijieclient-0.7.9'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/spring/Desktop/ruijieclient-0.7.9'
make[1]: Leaving directory `/home/spring/Desktop/ruijieclient-0.7.9'

 附件中为config的log

Original issue reported on code.google.com by xinchu...@163.com on 18 Jul 2009 at 9:56

Attachments:

GoogleCodeExporter commented 8 years ago
编译没有错误阿,重新编译要先 make clean
不过应该不是编译的问题。

似乎出在DHCP上

Original comment by sthots on 19 Jul 2009 at 2:20

GoogleCodeExporter commented 8 years ago
that maybe dhcpclient problem
maybe ...... dhcpclient does not support the cmdline ?

Original comment by microcai...@gmail.com on 28 Jul 2009 at 11:25

GoogleCodeExporter commented 8 years ago
修改源代码,修改cmd[]="dhclient -4",在后面加个空格

Original comment by guotao...@gmail.com on 30 Aug 2010 at 2:32

GoogleCodeExporter commented 8 years ago
... 源代码已经 out of mantain ..... 请使用 mentohust ....

Original comment by microcai...@gmail.com on 3 Sep 2010 at 12:19