Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jul 1996 23:55:52 +0200
From:      Beck Peccoz Amedeo <gea@masternet.it>
To:        Toshiharu OHNO <tony-o@iij.ad.jp>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   ppp doesn't go -auto
Message-ID:  <31FBE1E8.167EB0E7@masternet.it>

next in thread | raw e-mail | index | archive | help
I'm trying to run ppp with the -auto switch so that
it dials automatically and calls my provider. The process
actually runs, but if try to go outside my box (ping, telnet,
popclient....) I only get lots of "Host is down" of "Unknown host"
messages.
 Before ppp gets executed, netstat -r gives

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
10/24              link#1             UC          0        0 
socrate.gea.org    localhost.gea.org  UGHS        0        0       lo0
localhost.gea.org  localhost.gea.org  UH          1        0       lo0
224/4              link#1             UCS         0        0 

 while after it's

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
10/24              link#1             UC          0        0 
socrate.gea.org    localhost.gea.org  UGHS        0        0       lo0
localhost.gea.org  localhost.gea.org  UH          1        0       lo0
194.174.65.16      default            UH          0        0      tun0
224/4              link#1             UCS         0        0 

 Which looks good (doesn't it :-)

 My provider should give me dynamically an IP in the range 194.184.65.24-39, so
I assumed an IP 194.184.65.16 with a netmask of 255.255.255.240 wich simply covers
a wider range of addresses. Here are my ppp.conf and ppp.llinkyp files:

ppp.conf
default:
 set device /dev/cuaa1
 set speed 38400
 disable lqr
 deny lqr
 set dial "ATDT OK"
 set timeout 180
master:
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK \\dATDP$
 set phone 1234567
 set login "gin: xxxxx word: yyyyy >> ppp"
 set redial 1 999
 set ifaddr 0 194.174.65.16/28
 add 0 255.255.255.0 194.184.65.16/28

ppp.linkup
MYADDR:
  delete ALL
  add 0 194.184.65.16/28 HISADDR

 Is someone experienced with ppp -auto willing to help me?
 Please reply to me directly as I'm not subscribed to this mailing list.
 Thank you

-- 
Beck-Peccoz Amedeo				Tel. +39-125-366302
GEA Software S.r.l.				Fax. +39-125-366415
gea@masternet.it				GSM  +39-347-3837526



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31FBE1E8.167EB0E7>