RE: ppp connection problem

2003-07-23 Thread fbsd_user
Please post /var/log/ppp.log   be sure to empty ppp.log before you
run last test so log only contains last 2 dials

Try  starting using this command  ppp -background -nat isp
 Also post your /etc/rc.conf

Add this to your ppp.conf isp section

 set timeout 0   # no idle time out, will not disconnect

 disable pred1 deflate lqr# compression features & line quality
reporting
 denypred1 deflate lqr  # compression features & line quality
reporting


 set log Phase Chat LCP IPCP CCP tun command   #use for testing
 #set log Phase tun   #use to avoid
excessive log sizes


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Brian
Henning
Sent: Wednesday, July 23, 2003 9:10 AM
To: freebsd
Subject: ppp connection problem

Greetings all:

I am connecting to my isp with the following ppp.conf using the
command
>ppp -auto isp
when i run the command i usually connect on the second try.
for some reason the connection drops after the first try, but my
true problem is i can ping internal ips and not ips outside the
network.
I think my problem is with my default route is not setup properly.

here is a snip of my ifconfig, for some reason i have two tun
devices.
i think that is caused by trying to dial up twice? any thought on
how to setup my default route properly?

Thanks,

brian

ifconfig

tun0: flags=8051 mtu 1500
inet 199.17.4.229 --> 199.17.4.4 netmask 0xff00
Opened by PID 111
tun1: flags=8051 mtu 1500
inet 10.0.0.1 --> 10.0.0.2 netmask 0xff00
Opened by PID 121



Routing tables

Internet:
DestinationGatewayFlagsRefs  Use  Netif
Expire
default199.17.4.4UGSc4 2620   tun0
10.0.0.2   10.0.0.1   UH  00   tun1
127.0.0.1  127.0.0.1  UH  00lo0
199.17.4.4199.17.4.229  UH  40   tun0


/etc/ppp/ppp.conf
-
default:
  set device /dev/cuaa1
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
   \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT"
  set timeout 180
  enable dns

isp:
  set phone xxx
  set authname xxx
  set authkey xxx
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
  add default HISADDR
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ppp connection problem

2003-07-23 Thread Adam
On Wed, 2003-07-23 at 09:10, Brian Henning wrote:
> I am connecting to my isp with the following ppp.conf using the command
> >ppp -auto isp
> when i run the command i usually connect on the second try.
> for some reason the connection drops after the first try, but my 
> true problem is i can ping internal ips and not ips outside the network.
> I think my problem is with my default route is not setup properly.

Removing the 'set ifaddr' line fixed some weird problems for me.
However, I use ppp for PPPoE. It might be worth a try, though. I know
several people that have removed that line successfully.

-- 
Adam <[EMAIL PROTECTED]>

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"