如题,新装的freebsd5.5,因为上学很长时间没动freebsd了,好多东西生疏了,搞了一下午的adsl配置都没成功!看看我的配置吧!
:ask
ppp.conf
- #################################################################
- # PPP Sample Configuration File
- # Originally written by Toshiharu OHNO
- # Simplified 5/14/1999 by wself@cdrom.com
- #
- # See /usr/share/examples/ppp/ for some examples
- #
- # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $
- #################################################################
- default:
- set log Phase tun command
- set ifaddr 10.0.0.1/0 10.0.0.2/0
- cncdsl:
- set device PPPoE:xl0
- set authname xxxxxx
- set authkey xxxxxxx
- set dial
- set login
- add default HISADDR # Add a (sticky) default route
复制代码
rc.conf
- # -- sysinstall generated deltas -- # Mon May 29 08:25:26 2006
- # Created: Mon May 29 08:25:26 2006
- # 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.
- usbd_enable="YES"
- # -- sysinstall generated deltas -- # Tue May 30 14:59:28 2006
- keyrate="fast"
- # -- sysinstall generated deltas -- # Tue May 30 10:13:06 2006
- ifconfig_xl0="inet 192.168.1.2 netmask 255.255.255.0"
- hostname="pipydog.org"
复制代码 |