Date: 04 Oct 2001 15:38:31 +1000 From: Karun Dambiec <karun@dambiec.com> To: eddy Smith <eddy1005@hotmail.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ADSL INTERNET GATEWAY PROBLEM Message-ID: <1002173928.3712.14.camel@karun.lan> In-Reply-To: <OE59liRtUvh18cbKTrR00008128@hotmail.com> References: <OE59liRtUvh18cbKTrR00008128@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1002173928.3712.14.camel>