Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Sep 1998 18:42:32 -0400
From:      "Steve Friedrich" <SteveFriedrich@Hot-Shot.com>
To:        "Tammi Fowles" <tfowles@hotmail.com>
Cc:        "FreeBSD Questions" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: multiple ppp connections
Message-ID:  <199809082242.SAA27294@laker.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
On Tue, 08 Sep 1998 12:44:47 PDT, Tammi Fowles wrote:

>my isp connection is named pppon 
>and connects fine and has a route (i can telnet, irc etc..).  my unc 
>connection is named default and it dials and logs on but gives me and 
>error "no route to host"  there is no socket, im not able to get 
>anywhere or do anything.  i have edited the ppp.conf w/the second 
>connection information and the resolv.conf w/the second domain and ip 
>addy.  im doing something really wrong.  dfwhat do i need to do to get 
>have ppp connections work properly.

the "default" tag in ppp.conf gets used for ALL connections.  You need
to take stuff that's specific to unc out of default and create a unc
tag.  The only stuff at default should be things that are performed for
both unc and pppon.  And I'd rename pppon to the name of the ISP.  I've
attached my ppp.conf (as ppp.cnf) which contains a setup for two ISPs. 
Compare it with your's.

[-- Attachment #2 --]
default:
 set server /var/tmp/internet 0177
 set log Phase Chat Connect Carrier LCP IPCP CCP tun command
 allow user *****
 set device /dev/cuaa1
 set speed 115200
 set ifaddr 0 0
 set timeout 0
# enable dns
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"

lakernet:
 set phone 8526304|4701274
 set authname ********
 set authkey ********
# use for unix login
# set login "TIMEOUT 15 login:-\\r-login: ******** word: \\P"
# use for PAP/CHAP login
 set login
# bogus class A address just to establish a default route and enable
# ppp-on-demand. Will be replaced by ppp.linkup
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0
 add default 10.0.0.2
# set ifaddr 208.0.233.1/24 208.0.233.2/24 255.255.255.0 0.0.0.0
# add default 208.0.233.2

eminet:
 set phone 9629727
 set authname ********
 set authkey ********
# use for unix login
# set login "TIMEOUT 15 login:-\\r-login: ******** word: \\P"
# use for PAP/CHAP login
 set login
# bogus class A address just to establish a default route and enable
# ppp-on-demand. Will be replaced by ppp.linkup
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0
 add default 10.0.0.2
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809082242.SAA27294>