Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 23:06:09 +0200
From:      "eddy Smith" <eddy1005@hotmail.com>
To:        <freebsd-questions@FreeBSD.org>
Subject:   ADSL INTERNET GATEWAY PROBLEM
Message-ID:  <OE59liRtUvh18cbKTrR00008128@hotmail.com>

next in thread | raw e-mail | index | archive | help

------=_NextPart_001_0000_01C14B96.D2EC6590
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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 c=
onnect to my provider. Once is connected I can browse the internet from a=
ny my other clients within my LAN. Just exactly what I wanted to get work=
ing.
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 an=
d once is connected isn't there anything that would get the box reconnect=
ed 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. =20

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=3D"YES"
hostname=3D"firewall.homeip.net"
ifconfig_fxp0=3D"inet 192.168.10.1  netmask 255.255.255.0"
kern_securelevel_enable=3D"NO"
keymap=3D"german.iso"
moused_enable=3D"NO"
moused_type=3D"NO"
#nfs_reserved_port_only=3D"YES"
saver=3D"blank"
sendmail_enable=3D"NO"
sshd_enable=3D"YES"
tcp_extensions=3D"YES"
usbd_enable=3D"NO"
firewall_enable=3D"YES"
firwall_script=3D"/etc/rc.firewall"
firewall_type=3D"open"
firewall_quiet=3D"NO"
firewall_logging_enable=3D"YES"
natd enable=3D"YES"
natd interface=3D"tun0"
natd_flags=3D"dynamic"
ppp_enable=3D"YES"
ppp_mode=3D"auto"
ppp_nat=3D"YES"
ppp_profile=3D"ddial"
tcp_restrict_rst=3D"YES"
icmp_drop_redirect=3D"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 downl=
oad : http://explorer.msn.com

------=_NextPart_001_0000_01C14B96.D2EC6590
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML><BODY STYLE=3D"font:10pt verdana; border:none;"><DIV>Hi all,<BR></D=
IV> <DIV>I have recently decided to switch to FreeBSD for my Internet gat=
eway. (I was using Linux)&nbsp;And so far I'm pretty happy with it.<BR>I'=
m using Version 4.4. I have managed it to get the box dialing out and con=
nect to my provider. Once is connected I can browse the internet from any=
 my other clients&nbsp;within my&nbsp;LAN. Just exactly what I wanted to =
get working.<BR>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 dur=
ing boot time and once is connected isn't there anything that would get t=
he box reconnected in case of a connection lose for some reason. I'm abso=
lutely desperate and appreciate any kind of help that would help me to ge=
t this fixed. </DIV> <DIV>&nbsp;</DIV> <DIV>See my rc.config and ppp.conf=
 below</DIV> <DIV>&nbsp;</DIV> <DIV>Regards,</DIV> <DIV>Eddy<BR></DIV> <D=
IV>Please reply to <A href=3D"mailto:erdincb@web.de">erdincb@web.de</A></=
DIV> <DIV>&nbsp;</DIV> <DIV># -- sysinstall generated deltas -- # Mon Oct=
&nbsp; 1 19:21:03 2001<BR># Created: Mon Oct&nbsp; 1 19:21:03 2001<BR># E=
nable network daemons for user convenience.<BR># Please make all changes =
to this file, not to /etc/defaults/rc.conf.<BR># This file now contains j=
ust the overrides from /etc/defaults/rc.conf.<BR>gateway_enable=3D"YES"<B=
R>hostname=3D"firewall.homeip.net"<BR>ifconfig_fxp0=3D"inet 192.168.10.1&=
nbsp; netmask 255.255.255.0"<BR>kern_securelevel_enable=3D"NO"<BR>keymap=3D=
"german.iso"<BR>moused_enable=3D"NO"<BR>moused_type=3D"NO"<BR>#nfs_reserv=
ed_port_only=3D"YES"<BR>saver=3D"blank"<BR>sendmail_enable=3D"NO"<BR>sshd=
_enable=3D"YES"<BR>tcp_extensions=3D"YES"<BR>usbd_enable=3D"NO"<BR>firewa=
ll_enable=3D"YES"<BR>firwall_script=3D"/etc/rc.firewall"<BR>firewall_type=
=3D"open"<BR>firewall_quiet=3D"NO"<BR>firewall_logging_enable=3D"YES"<BR>=
natd enable=3D"YES"<BR>natd interface=3D"tun0"<BR>natd_flags=3D"dynamic"<=
BR>ppp_enable=3D"YES"<BR>ppp_mode=3D"auto"<BR>ppp_nat=3D"YES"<BR>ppp_prof=
ile=3D"ddial"<BR>tcp_restrict_rst=3D"YES"<BR>icmp_drop_redirect=3D"YES"</=
DIV> <DIV><BR>PPP.CONF</DIV> <DIV>default:<BR>&nbsp;set device PPPoE:fxp1=
<BR>&nbsp;set mru 1492<BR>&nbsp;set mtu 1492<BR>&nbsp;set ctsrts off<BR>&=
nbsp;set speed sync<BR>&nbsp;accept lqr<BR>&nbsp;disable deflate<BR>&nbsp=
;disable pred1<BR>&nbsp;disable vjcomp<BR>&nbsp;disable acfcomp<BR>&nbsp;=
disable protocomp<BR>&nbsp;enable dns<BR>&nbsp;set log Phase LCP IPCP CCP=
 Warning Error Alert<BR>&nbsp;nat enable yes<BR>&nbsp;nat same_port yes<B=
R>&nbsp;nat use_sockets yes<BR>&nbsp;set redial 15 28800<BR>&nbsp;set rec=
onnect 15 28800<BR>&nbsp;set cd 60<BR>&nbsp;set ifaddr 10.0.1.1/0 10.0.1.=
2/0 255.255.255.255 0.0.0.0<BR>&nbsp;add default HISADDR<BR>&nbsp;set log=
in<BR>&nbsp;set dial<BR>&nbsp;set authname&nbsp;&nbsp; XXXXXXXX<BR>&nbsp;=
set authkey&nbsp;&nbsp;&nbsp;&nbsp; XYZXYZXYZ</DIV> <DIV>&nbsp;</DIV> <DI=
V><BR>&nbsp;</DIV></BODY></HTML><br clear=3Dall><hr>Get more from the Web=
.  FREE MSN Explorer download : <a href=3D'http://explorer.msn.com'>http:=
//explorer.msn.com</a><br></p>

------=_NextPart_001_0000_01C14B96.D2EC6590--

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?OE59liRtUvh18cbKTrR00008128>