|
发表于 2003-8-14 13:28:04
|
显示全部楼层
最初由 777 发表
我把文件给你们看看
[root@localhost bsdconf]# cat resolv.conf
# MADE-BY-RP-PPPOE
nameserver 202.103.229.40
nameserver 202.103.224.68
我是用电信的ADSL 上网的
[root@localhost bsdconf]# cat rc.conf
# -- sysinstall generated deltas -- # Wed Aug 6 15:31:27 2003
# Created: Wed Aug 6 15:31:27 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
linux_enable="YES"
defaultrouter="192.168.0.1" kern_securelevel_enable="NO"
sendmail_enable="NO"
sshd_enable="YES"
nfs_reserved_port_only="YES"
amd_flags="-a /.amd_mnt -l syslog /host /etc/amd.map /net /etc/amd.map "
moused_flags="-z 4"
moused_port="/dev/cuaa1"
moused_type="microsoft"
moused_enable="YES"
hostname="local.202.103.229.68"
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="adsl"
那个网关怎么设置?
要设置什么文件啊 ??
我就看这几个的 。
/etc/ppp/ppp.conf
/etc/ppp.conf
/etc/hosts
/etc/resolv.conf
/etc/rc.conf
内核的不懂 好象用用户级的ppp就能上了
defaultrouter 这行去掉
你这个hostname是怎么设置的?你自己设置的?
最后这个ppp_profile 也删掉
或者你先别急着设置开机是启动ppp,把rc.conf中ppp相关的都注释掉,在控制台下运行ppp -ddial,如果出错,看看提示的信息是什么? 也可以看看 /var/log/ppp 的log。
那个ipfw,你必须要加载IPFIREWALL,是防火墙的东西,和ppp没有必然关系。 |
|