ShiXueshu / ruijieclient

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

DHCP错误 #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
这一般是什么原因? 
我的配置文件参数是按照WINDOWS的参数设置的。
===OUTPUT:===

ruijieclient - a powerful ruijie Supplicant for UNIX, base on mystar.
Copyright Gong Han, Chen Tingjun, Microcai, sthots, and others

Please see/send bug report to 
http://code.google.com/p/ruijieclient/issues/list
or mail to gong@fedoraproject.org 

>> Searching for server...
@@ Server found, requesting user name...
>> Sending user name...
@@ User name valid, requesting password...
>> Sending password... 
@@ Password valid, SUCCESS:
## Server Message: 欢迎,xxxxx
Internet Systems Consortium DHCP Client V3.1.2
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Usage: dhclient [-1dqrx] [-nw] [-p <port>] [-s server]
                [-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
                [-sf script-file] [interface]
DHCP error!

===CONFIG===

<?xml version="1.0" encoding="UTF-8"?>
<ruijie.conf version="0.8.1svn129">
  <!--This is a sample configuration file of RuijieClient, change it
appropriately according to your settings.-->
  <account>
    <Name>xxxxx</Name>
    <Password>xxxxxx</Password>
  </account>
  <settings>
    <!--Network Adapter Name-->
    <NIC>eth0</NIC>
    <!--0: Standard, 1: Private-->
    <AuthenticationMode>1</AuthenticationMode>
    <EchoInterval>25</EchoInterval>
    <!--IntelligentReconnect: 0: Disable IntelligentReconnect, 1: Enable
IntelligentReconnect -->
    <IntelligentReconnect>1</IntelligentReconnect>
    <!--AutoConnect: 0: Disable AutoConnect, 1: Enable AutoConnect (only
available in gruijieclient) -->
    <AutoConnect>1</AutoConnect>
    <!--Fake Version for cheating server-->
    <FakeVersion>2.51</FakeVersion>
    <!--Fake IP for cheating server-->
    <FakeAddress></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>3</DHCPmode>
    <!--Add if you don't want ruijieclient to ping the default gateway-->
    <PingHost></PingHost>
  </settings>
</ruijie.conf>

Original issue reported on code.google.com by wws...@gmail.com on 5 Feb 2010 at 12:30

GoogleCodeExporter commented 8 years ago
看输出似乎是dhclient用法弄错了,由于其是内嵌用法的不可调
,建议用mentohust

Original comment by hustsoft...@gmail.com on 12 Feb 2010 at 1:39