ºìÁªLinuxÃÅ»§
Linux°ïÖú

ÍøÍ¨dhcp¿Í»§¶ËÉèÖÃÏê½â

·¢²¼Ê±¼ä:2006-04-27 22:42:00À´Ô´:ºìÁª×÷Õß:pengcheng4989
ÏÈ˵Ã÷ÎÒÊÇÐÂÊÖÌ×ÓÃÁ˱ðÈ˵ķ½·¨Ð޸Ķø³É¡£ÏÈÏò¸øÎһظ´ÎÊÌâµÄÅóÓѱíʾлÒâ
Èç¹ûϵͳ°²×°µÄʱºòÈç¹ûÑ¡µÄÊÇ×Ô¶¯ dhcp·½Ê½ÉèÖÃÍøÍ¨µÄ¿Í»§¶Ë¿É°´ÒÔÏ·½Ê½ÉèÖ㬿ÉÒÔ°ÑÎÒÏÂÃæµÄ·½·¨Ö±½Ó¸´ÖÆÕ³Ìùµ½Öն˼´¿É¡£

1.´ò¿ªhttp://218.29.0.252/self.html

ÏÂÔØÄǸö¹Ù·½µÄ¡¯Linux¿Í»§¶ËÈí¼þ°²×°°ü2005¡®ÀïµÄlinux¿Í»§¶Ë£¨¾ÍÊÇûÓбêfor XXXµÄÄǸö£©

2.°ÑÏÂÔØµÄѹËõÎļþ½âѹµ½homeĿ¼ÄÚ(×¢£ºÔÚlinuxÏ¿ÉÄܽâѹ´íÎ󣬿ÉÏÈÔÚwindowsϽâѹºó£¬¸´ÖÆ¡¢Õ³Ìùµ½homeĿ¼Ï£©¡£ÎÒÊÇ×°µÄ˫ϵͳÏÈ×°win2ooo,ºó×°µÄлªÀØ1.5ϵͳ¡£

3.´Ó¿ªÊ¼£­¸½¼þ´ò¿ªÖÕ¶Ë´°¿ÚÊäÈ룺 export RACERC=/home£¯racer(Õâ¸ö¾ÍÊǽâѹµÄÎļþÃû£© »Ø³µ

ÔÚÊäÈë export PATH=$PATH:/home£¯racer »Ø³µ £¨×¢£ºÕâÑùÉÏÃæÁ½¸öÉÏÃæÁ½¸ö»·¾³±äÁ¿¶¼¼Óµ½Á˵±Ç°Óû§ÏÂÁË¡££©

ÔÚÊäÈë $dest_path/racer/ecou.sh start »Ø³µ £¨Õâ¸öΪ¿Í»§¶ËµÇ½£©»Ø³µºó¾Í»á³öÏÖÈçÏÂÌáʾ
All names of your net interface installed
-----------------------------------------
eth0 0
Input one name to hace access with Internet (eth0): Ôڻسµ¾Í»á×Ô¶¯¼ì²âadslèµÄÅäÖÃÐÅÏ¢ÀýÈ磺×Ô¶¯»ñµÃµÄIP Íø¹Ø£¬×ÓÍøµÈ£»ÔÚÌáʾ·ûÏ£¬ÊäÈëÕ˺š¢ÃÜÂ루ע£ºÃÜÂëÊäÈëʱ¿´²»µ½£¬·ÖÇå´óСд£©ÊäÈëÍêºó»Ø³µ£»´ò¿ªä¯ÀÀÆ÷¾Í¿ÉÒÔÉÏÍøÁËÎÒÏÖÔÚ¾ÍʱÔÚлªÀØÏµÍ³·¢µÄÕâ¸öÌû×Ó¡£ ÎÒµÄÏêϸÅäÖùý³ÌÈçÏ£º
wo:~# export RACERC=/home/racer
wo:~# export RACERC=/home/racer
wo:~# $dest_path/racer/ecou.sh start
All names of your net interface installed
-----------------------------------------
eth0 0
Input one name to hace access with Internet (eth0):
The name of interface is: eth0
The process is checking your IP address, please hold on ...
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:00:e8:7d:8b:18
Sending on LPF/eth0/00:00:e8:7d:8b:18
Sending on Socket/fallback
DHCPRELEASE on eth0 to 218.29.0.234 port 67
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:00:e8:7d:8b:18
Sending on LPF/eth0/00:00:e8:7d:8b:18
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 2
DHCPOFFER from 61.54.121.500
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 61.54.121.500
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPACK from 61.54.121.500
bound to 10.166.214.220 -- renewal in 537 seconds.
Please Enter your LOGIN:
Input a password: and your PASSWORD:
Your passwd is correct, please wait for renewing IP address ...
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:00:e8:7d:8b:18
Sending on LPF/eth0/00:00:e8:7d:8b:18
Sending on Socket/fallback
DHCPRELEASE on eth0 to 218.29.0.234 port 67
Internet Systems Consortium DHCP Client V3.0.3
Copyright 2004-2005 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:00:e8:7d:8b:18
Sending on LPF/eth0/00:00:e8:7d:8b:18
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPOFFER from 61.54.121.500
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 61.54.121.500
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPNAK from 192.168.1.1
DHCPACK from 61.54.121.500
bound to 61.54.121.27 -- renewal in 542 seconds.
You have got a CORRECT ip address with 61.54.121.27, so could you keep your surfering with INTERNET
racer has been started successfully
wo:~#
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 0 ÌõÆÀÂÛ