LinuxSir.cn,穿越时空的Linuxsir!

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

河南网通的新问题

[复制链接]
发表于 2004-11-9 08:09:23 | 显示全部楼层
我不明白,什么是APT,因为我是这里最菜的。我装好了dhclient,是强制安装的,正如ikoody所说的,我也是红旗桌面4。1已经提示存在了,只好强制安装一遍,可我怎么SEARCH都没找到dhclient.conf这个文件?更不知道如何配置,还是我理解错了,郁闷ING。
发表于 2004-11-9 08:52:09 | 显示全部楼层
apt是debian发行版的包管理工具,用于方便安便软件包。
大多发行版都应该有dhclient这个包。
红旗中安装好后,没有dclient.conf这个配置文件,可能要手工建立,并做出修改,目前我的还在尝试中!
发表于 2004-11-9 09:39:20 | 显示全部楼层

大家好好试验一下,看看究竟能不能用

如果如轩子兄所言,可以解决我们河南广大adsl用户的上网问题,建议版主置顶
发表于 2004-11-9 10:30:50 | 显示全部楼层

回复: 大家好好试验一下,看看究竟能不能用

最初由 JIQIMAO 发表
如果如轩子兄所言,可以解决我们河南广大adsl用户的上网问题,建议版主置顶


老弟的解决了吗?我的暂时还不行!
发表于 2004-11-9 14:02:31 | 显示全部楼层
建议各位可以在,开机后,用网通认证程序ECOU认证成功后,在终端
输入
/sbin/dhclient -1 -d -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid -cf /etc/dhclient-eth0.conf eth0 -d


后加的-d参数,可以在前台看有没有出错信息,已便于我们修改各个文件的参数。

楼上兄台说的dhclient.conf如果没有也许是dhclient-eth0.conf这样类似的文件,
用的这个dhcp客户端是http://www.isc.org/products/ DHCP产品,也就是常说的ISC DHCP。

以前不知道我们这里(河南网通)的认证模式,解释也解释不清,现在总算知道个大概了,希望各位高手给予我们帮助,毕竟我是菜鸟,各个版本和系统文件根本搞不清(知道的全是看基础精华的内容),先谢谢大家了,我很想河南的向学者可以解决这个眼前的问题。

河南网通ADSL上网模式:
通过看好了DHCPCD ,这个东东先获取内网IP再用网通提供的java程序ECOU认证获得公网IP,然后dhclient客户端续约,想必这个各位高手都知道了,再次谢谢了。
以下在/var/log/messages得到:

Nov  7 22:18:06 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 22:18:06 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 22:18:06 localhost dhclient: bound to 221.13.150.119 -- renewal in 559 seconds.
Nov  7 22:27:25 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 22:27:25 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 22:27:25 localhost dhclient: bound to 221.13.150.119 -- renewal in 585 seconds.
Nov  7 22:37:10 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 22:37:10 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 22:37:10 localhost dhclient: bound to 221.13.150.119 -- renewal in 537 seconds.
Nov  7 22:46:07 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 22:46:07 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 22:46:07 localhost dhclient: bound to 221.13.150.119 -- renewal in 546 seconds.
Nov  7 22:55:13 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 22:55:13 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 22:55:13 localhost dhclient: bound to 221.13.150.119 -- renewal in 504 seconds.
Nov  7 23:03:37 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 23:03:37 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 23:03:37 localhost dhclient: bound to 221.13.150.119 -- renewal in 563 seconds.
Nov  7 23:13:00 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 23:13:00 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 23:13:00 localhost dhclient: bound to 221.13.150.119 -- renewal in 569 seconds.
Nov  7 23:19:22 localhost gconfd (root-2412): 正在启动(版本 2.4.0),pid 2412 用户“root”
Nov  7 23:19:22 localhost gconfd (root-2412): 解析的地址“xml:readonly:/etc/gconf/gconf.xml.mandatory”指向位于 0 的只读配置源
Nov  7 23:19:22 localhost gconfd (root-2412): 地址“xml:readwrite:/root/.gconf”解析为位于 1 的可写入配置源
Nov  7 23:19:22 localhost gconfd (root-2412): 解析的地址“xml:readonly:/etc/gconf/gconf.xml.defaults”指向位于 2 的只读配置源
Nov  7 23:22:29 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 23:22:29 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 23:22:29 localhost dhclient: bound to 221.13.150.119 -- renewal in 529 seconds.
Nov  7 23:31:18 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 23:31:18 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 23:31:18 localhost dhclient: bound to 221.13.150.119 -- renewal in 554 seconds.
Nov  7 23:40:32 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 23:40:32 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 23:40:32 localhost dhclient: bound to 221.13.150.119 -- renewal in 474 seconds.
Nov  7 23:48:26 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 23:48:26 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 23:48:26 localhost dhclient: bound to 221.13.150.119 -- renewal in 526 seconds.
Nov  7 23:57:12 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  7 23:57:12 localhost dhclient: DHCPACK from 218.29.0.253
Nov  7 23:57:12 localhost dhclient: bound to 221.13.150.119 -- renewal in 503 seconds.
Nov  8 00:05:35 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  8 00:05:35 localhost dhclient: DHCPACK from 218.29.0.253
Nov  8 00:05:35 localhost dhclient: bound to 221.13.150.119 -- renewal in 540 seconds.
Nov  8 00:14:35 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  8 00:14:35 localhost dhclient: DHCPACK from 218.29.0.253
Nov  8 00:14:35 localhost dhclient: bound to 221.13.150.119 -- renewal in 523 seconds.
Nov  8 00:23:18 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  8 00:23:18 localhost dhclient: DHCPACK from 218.29.0.253
Nov  8 00:23:18 localhost dhclient: bound to 221.13.150.119 -- renewal in 534 seconds.
Nov  8 00:32:12 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  8 00:32:12 localhost dhclient: DHCPACK from 218.29.0.253
Nov  8 00:32:12 localhost dhclient: bound to 221.13.150.119 -- renewal in 568 seconds.
Nov  8 00:41:40 localhost dhclient: DHCPREQUEST on eth0 to 218.29.0.231 port 67
Nov  8 00:41:40 localhost dhclient: DHCPACK from 218.29.0.253
Nov  8 00:41:40 localhost dhclient: bound to 221.13.150.119 -- renewal in 575 seconds.
发表于 2004-11-9 14:20:43 | 显示全部楼层
不知道网络版的高手看不看基础讨论版。。。。斑竹要负责啦。 :thank
发表于 2004-11-9 16:12:24 | 显示全部楼层
按轩子老弟的指导操作,显示出错信息如下:
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth0/00:04:61:5e:4e:dc
Sending on   LPF/eth0/00:04:61:5e:4e:dc
Sending on   Socket/fallback
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPOFFER from 219.154.168.14
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 219.154.168.14
bound to 221.13.191.133 -- renewal in 522 seconds.
receive_packet failed on eth0: Network is down
发表于 2004-11-9 16:29:37 | 显示全部楼层
我在2000下
查的。
C:\>ipconfig /all

Windows 2000 IP Configuration

        Host Name . . . . . . . . . . . . : home
        Primary DNS Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Broadcast
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter 本地连接:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8029(AS) PCI Ethernet Adap
ter
        Physical Address. . . . . . . . . : 52-54-AB-36-EF-61
        DHCP Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 61.54.76.16
        Subnet Mask . . . . . . . . . . . : 255.255.255.224
        Default Gateway . . . . . . . . . : 61.54.76.30
        DHCP Server . . . . . . . . . . . : 218.29.0.231
        DNS Servers . . . . . . . . . . . : 202.102.224.68
                                                                          202.102.227.68
        Lease Obtained. . . . . . . . . . : 2004年11月3日 14:50:42
        Lease Expires . . . . . . . . . . : 2004年11月3日 16:30:42


10分钟续租一次。。
我的dhclient-etho.lease续约 文件和这个大致一样。
ikoody兄的如何???
我的这里是这样的。
DHCPREQUEST on eth0 to 218.29.0.231 port 67
DHCPACK from 218.29.0.253
bound to 61.54.76.5 -- renewal in 580 seconds.
....
DHCPREQUEST on eth0 to 218.29.0.231 port 67
DHCPACK from 218.29.0.253
bound to 61.54.76.5 -- renewal in 563 seconds.
DHCPREQUEST on eth0 to 218.29.0.231 port 67
DHCPACK from 218.29.0.253
bound to 61.54.76.5 -- renewal in 520 seconds.
发表于 2004-11-9 16:37:57 | 显示全部楼层
ikoody兄,网络高手应该对于这样的东西很熟,虽然搞清楚一点,但毕竟我们技术上实属“残疾” ~~~!!!希望他们可以给予指导,
斑竹大人、各位兄弟多多帮忙。。。。:thank :thank :thank :thank
发表于 2004-11-9 17:36:14 | 显示全部楼层
不知道什么搞的!我的总是10分种掉一次!
我想应该跟dhclient-etho.lease没有太大的关系,dhclient只是尝试去请求原来未超期的IP。我想即使删除dhclient-etho.lease也应该不会出问题的。
关键是我的系统在续约时总是failed,然后network is down.
没办法了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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