DSL Disconnects

2004-12-01 Thread bryan cassidy
Hello. My ISP is through Bellsouth FastAccess DSL and
I am trying to get my connection to stay up without
disconnected and having to run /etc/netstart everytime
it disconnects. I am very confused about how
connections are in general. I think it is a PPPoE. I
have to use a user name and password to connect. I
have a static IP address if that matters. This is what
I have in /etc/ppp/ppp.conf

default:
 set log Phase Chat LCP IPCP CCP tun command
 nat enable yes
 nat same_ports yes
 nat use_sockets yes
 set redial 15 28800
 set reconnect 15 28800

pppoe:
 set device PPPoE:xl0:
 set mru 1492
 set mtu 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set authname [EMAIL PROTECTED]
 set authkey password
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
0.0.0.0
 add default HISADDR# Add a
(sticky) default route
 enable dns

And this in rc.conf

gateway_enable=YES
hostname=localhost.localdomain
portmap_enable=NO
network_interfaces=auto
rwhod_enable=YES
ppp_enable=YES
ppp_profile=pppoe
ppp_mode=direct
pccard_ifconfig=DHCP
dhcp_program=/sbin/dhclient


Not sure what should be added and/or removed.



__ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DSL Disconnects

2004-12-01 Thread Ed Budd
bryan cassidy wrote:
Hello. My ISP is through Bellsouth FastAccess DSL and
I am trying to get my connection to stay up without
disconnected and having to run /etc/netstart everytime
it disconnects. I am very confused about how
connections are in general. I think it is a PPPoE. I
have to use a user name and password to connect. I
have a static IP address if that matters. This is what
I have in /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun command
 nat enable yes
 nat same_ports yes
 nat use_sockets yes
 set redial 15 28800
 set reconnect 15 28800
pppoe:
 set device PPPoE:xl0:
 set mru 1492
 set mtu 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set authname [EMAIL PROTECTED]
 set authkey password
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
0.0.0.0
 add default HISADDR# Add a
(sticky) default route
 enable dns
And this in rc.conf
gateway_enable=YES
hostname=localhost.localdomain
portmap_enable=NO
network_interfaces=auto
rwhod_enable=YES
ppp_enable=YES
ppp_profile=pppoe
ppp_mode=direct
pccard_ifconfig=DHCP
dhcp_program=/sbin/dhclient
Not sure what should be added and/or removed.
Try disabling lqr (i.e. 'disable lqr') and/or lowering the mtu setting 
(e.g. 1448) and removing the mru line and see if that helps. I've read 
somewhere (sorry can't remember where - try google) that some Telco 
equipment acts flaky with lqr enabled and the mtu set to max 1492.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: DSL Disconnects

2004-12-01 Thread Scott Mitchell
On Wed, Dec 01, 2004 at 07:34:29AM -0800, bryan cassidy wrote:
 Hello. My ISP is through Bellsouth FastAccess DSL and
 I am trying to get my connection to stay up without
 disconnected and having to run /etc/netstart everytime
 it disconnects. I am very confused about how
 connections are in general. I think it is a PPPoE. I
 have to use a user name and password to connect. I
 have a static IP address if that matters. This is what
[...]
 And this in rc.conf
 
 gateway_enable=YES
 hostname=localhost.localdomain
 portmap_enable=NO
 network_interfaces=auto
 rwhod_enable=YES
 ppp_enable=YES
 ppp_profile=pppoe
 ppp_mode=direct
 pccard_ifconfig=DHCP
 dhcp_program=/sbin/dhclient

It's been a long time since I used PPP, and I've never had to deal with
PPPoE, but if you want to reconnect automatically when the link goes down
you probably want to run ppp in 'ddial' mode, ie:

ppp_mode=ddial

This will bring the link up the first time you try to send any data over it
and try to bring it back up again if it ever drops.

Hopefully someone else can help you stop the connection from dropping in
the first place :-)

Cheers,

Scott

-- 
===
Scott Mitchell   | PGP Key ID | Eagles may soar, but weasels
Cambridge, England   | 0x54B171B9 |  don't get sucked into jet engines
scott at fishballoon.org | 0xAA775B8B |  -- Anon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]