From owner-freebsd-questions Wed Jan 8 12:42:15 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id MAA28198 for questions-outgoing; Wed, 8 Jan 1997 12:42:15 -0800 (PST) Received: from smtp-gw01.ny.us.ibm.net (smtp-gw01.ny.us.ibm.net [165.87.194.252]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id MAA28160 for ; Wed, 8 Jan 1997 12:42:05 -0800 (PST) Received: (from uucp@localhost) by smtp-gw01.ny.us.ibm.net (8.6.9/8.6.9) id UAA229018; Wed, 8 Jan 1997 20:41:55 GMT Message-Id: <199701082041.UAA229018@smtp-gw01.ny.us.ibm.net> Received: from slip166-72-229-214.va.us.ibm.net(166.72.229.214) by smtp-gw01.ny.us.ibm.net via smap (V1.3mjr) id smaAO4Grx; Wed Jan 8 20:41:25 1997 Reply-To: From: "Steve Sims" To: Cc: "questions" Subject: Re: tun0 PPP no go, take a look at this Date: Wed, 8 Jan 1997 15:41:10 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk From: "Patrick Kessen" > the connection is made, PPP is started but no IP traffic to/from my ISP is > possible. take a look and help please I wonder why you hard-wired the INET address of the tun0 device in /etc/sysconfig? In /etc/ppp/ppp.conf the "set ifaddr 0 0' line (or, better yet, "set ifaddr 1.1.1.1/0 2.2.2.2/0 255.255.255.0") will assign the appropriate values to the tun0 (and, implicitly, the local-side ppp interface) when the connection is made. Same deal with the default route stuff. Append 'add 0 0' to the 'simplex' section of ppp.conf and insert an appropriate section in /etc/ppp/ppp.linkup thus: simplex: delete ALL add 0 0 HISADDR (See the *.sample files in the base distribution for more info.) ...sjs... > > - ---a part of my sysconfig : > > network_interfaces="lo0 tun0 ep0" > ifconfig_ep0="inet 199.10.10.1 netmask 255.255.255.0" > > ifconfig_lo0="inet 127.0.0.1" > > ifconfig_tun0="inet 194.109.14.188 127.0.0.1 netmask 255.255.255.0" > > defaultrouter="199.10.10.1" > router="NO" > > - ---my ppp.conf > > default: > set device /dev/modem > set speed 57600 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK > \\dATDT\\T TIMEOUT 40 CONNECT" > set redial 10 9 > > simplex: > set phone 0206653388 > set login "TIMEOUT 5 login:-\\r-login: ppp word: ppp" > deny chap > accept pap > set authname > set authkey > set ifaddr 0 0 > dial > > - ---my ppp.linkup > > MYADDR: > add 0 0 HISADDR