免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: maxzhongcn
打印 上一主题 下一主题

刚刚装了宽带,上网成问题了,大侠帮忙。 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2003-04-06 18:29 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

大侠能否明确一点啊?
defaultrouter该设为多少?
DNS怎么设置?

我在winxp里用ipconfig查看到:

Ethernet adapter Realtek:
        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.10.2
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.10.1

用nslookup www.sina.com.cn查看到:
Ethernet adapter Realtek:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.10.2
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.10.1

那么我该如何设置呢?

论坛徽章:
0
12 [报告]
发表于 2003-04-06 18:51 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

ipconfig /all

Ethernet adapter Realtek:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-E0-4C-10-90-7C
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.10.2
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.10.1
        DHCP Server . . . . . . . . . . . : 192.168.10.1
        DNS Servers . . . . . . . . . . . : 202.99.224.68
        Lease Obtained. . . . . . . . . . : 2003年4月6日 18:34
        Lease Expires . . . . . . . . . . : 2005年7月18日 02:34

红袖大姐麻烦你帮我看看,OK?
我想现在我可以确定的是:
IP:192.168.10.2
DNS:202.99.224.68
GateWay:192.168.10.1
那么我该在FB里如何设置?
下面是我的一些配置文件现在的样子:

/etc/hosts:
::1                        localhost.localdomain localhost
127.0.0.1                localhost.localdomain localhost
192.168.10.2                microweb.localdomain microweb
192.168.10.2                microweb.localdomain.

/etc/rc.conf:
# -- sysinstall generated deltas -- # Sun Apr  6 10:38:14 2003
# Created: Sun Apr  6 10:38:14 2003
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#hostname="microweb"
#ifconfig_rl0="DHCP"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
nfs_reserved_port_only="YES"
sendmail_enable="NO"
sshd_enable="NO"
usbd_enable="YES"
# -- sysinstall generated deltas -- # Sun Apr  6 16:16:00 2003
ifconfig_rl0="inet 192.168.10.2  netmask 255.255.255.0"
#ipv6_enable="YES"
#router_flags="-q"
#router="/sbin/routed"
#router_enable="YES"
defaultrouter="192.168.10.1"
hostname="microweb.localdomain"

/etc/resolv:
domain        localdomain
nameserver        202.99.224.68

论坛徽章:
0
13 [报告]
发表于 2003-04-06 18:54 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

how?

我的那三个文件不用改了吗?

论坛徽章:
0
14 [报告]
发表于 2003-04-06 18:57 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

UP!UP!

论坛徽章:
0
15 [报告]
发表于 2003-04-06 19:06 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

越听越晕...............

问题是我的上网方式是DHCP获取IP,而且没有公网IP,DNS,GateWay,IP应该已经确认了,现在的问题是该如何设置rc.conf或者还有hosts,resolv这些东西。上面有个老大说开启DHCP Client。

唉,,,,各位高手能否花一点点时间给我说清楚啊?我提供的资料应该够了吧?

论坛徽章:
0
16 [报告]
发表于 2003-04-06 19:07 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

各位能否根据我提供的配置文件讲解一下啊?

拜托了!

论坛徽章:
0
17 [报告]
发表于 2003-04-06 19:18 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

我原来也是觉得很简单啊,在安装的时候配置网络介面的时候我就是选择DHCP的,当时还自动找到了DNS,GateWay,怎么安装好之后就over了?

在Linux里没这么复杂呀,很简单就可以实现了。

这个FB真是恼人,原来用modem上网就把我搞的半死。

论坛徽章:
0
18 [报告]
发表于 2003-04-06 19:22 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

原帖由 "红袖添香" 发表:


rc.conf 中设定

   ifconfig_fxp0="DHCP"
    dhcp_program="/sbin/..........


红袖姐,我原来的rc.conf里就是设置
ifconfig_rl0="DHCP"

不过没设置
dhcp_program="/sbin/..........
dhcp_flags=""

那个dhcp_flags=""设为空吗?

论坛徽章:
0
19 [报告]
发表于 2003-04-06 19:28 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

非常感谢!!!!!!

论坛徽章:
0
20 [报告]
发表于 2003-04-06 19:29 |显示全部楼层

刚刚装了宽带,上网成问题了,大侠帮忙。

我就是Nat,不用进入我知道。

要我进入modem,我哪有密码呀!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP