歡迎您光臨本站 註冊首頁

網通dhcp客戶端設置詳解

←手機掃碼閱讀     火星人 @ 2014-03-24 , reply:0

先說明我是新手套用了別人的方法修改而成。先向給我回復問題的朋友表示謝意
如果系統安裝的時候如果選的是自動 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:~#

[火星人 ] 網通dhcp客戶端設置詳解已經有572次圍觀

http://coctec.com/docs/linux/show-post-136166.html