From owner-freebsd-questions Mon Oct 8 0:20:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.dambiec.com (CPE-61-9-149-42.vic.bigpond.net.au [61.9.149.42]) by hub.freebsd.org (Postfix) with ESMTP id C992137B403 for ; Mon, 8 Oct 2001 00:20:10 -0700 (PDT) Received: from [10.0.1.3] (unknown [10.0.1.3]) by mail.dambiec.com (Postfix) with ESMTP id A3AC13C49; Thu, 4 Oct 2001 03:39:32 +0000 (UTC) Subject: Re: ADSL INTERNET GATEWAY PROBLEM From: Karun Dambiec To: eddy Smith Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/0.13 (Preview Release) Date: 04 Oct 2001 15:38:31 +1000 Message-Id: <1002173928.3712.14.camel@karun.lan> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Are you running ppp as ppp -ddial connectionname? Karun On Wed, 2001-10-03 at 07:06, eddy Smith wrote: > Hi all, > > I have recently decided to switch to FreeBSD for my Internet gateway. (I was using Linux) And so far I'm pretty happy with it. > I'm using Version 4.4. I have managed it to get the box dialing out and connect to my provider. Once is connected I can browse the internet from any my other clients within my LAN. Just exactly what I wanted to get working. > However the dial out has to happen manually which I don't think is good. My actual question is how do I get the box to connect during boot time and once is connected isn't there anything that would get the box reconnected in case of a connection lose for some reason. I'm absolutely desperate and appreciate any kind of help that would help me to get this fixed. > > See my rc.config and ppp.conf below > > Regards, > Eddy > > Please reply to erdincb@web.de > > # -- sysinstall generated deltas -- # Mon Oct 1 19:21:03 2001 > # Created: Mon Oct 1 19:21:03 2001 > # 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. > gateway_enable="YES" > hostname="firewall.homeip.net" > ifconfig_fxp0="inet 192.168.10.1 netmask 255.255.255.0" > kern_securelevel_enable="NO" > keymap="german.iso" > moused_enable="NO" > moused_type="NO" > #nfs_reserved_port_only="YES" > saver="blank" > sendmail_enable="NO" > sshd_enable="YES" > tcp_extensions="YES" > usbd_enable="NO" > firewall_enable="YES" > firwall_script="/etc/rc.firewall" > firewall_type="open" > firewall_quiet="NO" > firewall_logging_enable="YES" > natd enable="YES" > natd interface="tun0" > natd_flags="dynamic" > ppp_enable="YES" > ppp_mode="auto" > ppp_nat="YES" > ppp_profile="ddial" > tcp_restrict_rst="YES" > icmp_drop_redirect="YES" > > PPP.CONF > default: > set device PPPoE:fxp1 > set mru 1492 > set mtu 1492 > set ctsrts off > set speed sync > accept lqr > disable deflate > disable pred1 > disable vjcomp > disable acfcomp > disable protocomp > enable dns > set log Phase LCP IPCP CCP Warning Error Alert > nat enable yes > nat same_port yes > nat use_sockets yes > set redial 15 28800 > set reconnect 15 28800 > set cd 60 > set ifaddr 10.0.1.1/0 10.0.1.2/0 255.255.255.255 0.0.0.0 > add default HISADDR > set login > set dial > set authname XXXXXXXX > set authkey XYZXYZXYZGet more from the Web. FREE MSN Explorer download : http://explorer.msn.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message