Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 1999 23:21:37 -0400
From:      Laurence Berland <stuyman@confusion.net>
To:        "D.Schneider" <mrtyler@earthlink.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: PPP dialup problems
Message-ID:  <3802A941.5D8A7C08@confusion.net>
References:  <001001bf145c$4c699d80$5943a8c0@GENOCIDE>

next in thread | previous in thread | raw e-mail | index | archive | help
Your rc.conf should contain an entry for tun0
so with your rc that'd be 
network_interfaces="xl0 lo0 tun0"
then ifconfig_tun0="ppp -auto provider"
or better yet instead of the second line could be replaced by making the
file start_if.tun0 which contains just

ppp -auto provider

Lots of good information on both userland and kernel ppp are in the
handbook, I'll do you a favor and tell you that
http://www.freebsd.org/handbook/ppp-and-slip.html#USERPPP will take you
to the precise spot you're looking for.  Also, it doesn't look like
you've tried to do anything on the net.  Try pinging an external IP, or
something that'll ask for an ip not on your lan.  The point of auto is
that it wont dial until it needs to.  Then if it ever disconnects it
should reconnect when you need it again.  Hope that solves any problem
you might have, RTFM next time, it's a wonderful resource.

Laurence

> "D.Schneider" wrote:
> 
> PPP wont dial modem.
> 
> Starting  PPP using :    ppp -auto provider
> response is : Working in auto mode
>                     Using interface: tun0
> 
> returns to a command prompt. No modem activity.
> 
> PRE-STARTING PPP (after reboot) netstat -rn results:
>        Destination     Gateway     Flags      Refs     Use     Netif
> Expire
>        127.0.0.1        127.0.0.1    UH           0         0
> lo0
>        192.168.67      link#1         UC          0         0
> xl0
> 
> 
> POST STARTING PPP netstat -rn results :
>         Destination       Gateway        Flags
> Refs           Use      Netif Expire
>          default              10.0.0.2         UGSc
> 0               0          tun0
>          10.0.0.2            10.0.0.1         UH
> 1               0          tun0
>          127.0.01            127.0.0.1       UH
> 0               0           lo0
>          192.168.67        link#1             UC
> 0               0           xl0
> 
> attached are the ppp.conf , ppp.linkup, rc.conf
> 
> thanks
> 
> 
> 
>               Name: rc.conf
>    rc.conf    Type: unspecified type (application/octet-stream)
>           Encoding: quoted-printable
> 
>                  Name: ppp.linkup
>    ppp.linkup    Type: unspecified type (application/octet-stream)
>              Encoding: quoted-printable
> 
>                Name: ppp.conf
>    ppp.conf    Type: unspecified type (application/octet-stream)
>            Encoding: quoted-printable

-- 
Laurence Berland, Stuyvesant HS Debate
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Windows 98: n.
        useless extension to a minor patch release for 
        32-bit extensions and a graphical shell for a 
        16-bit patch to an 8-bit operating system 
        originally coded for a 4-bit microprocessor, 
        written by a 2-bit company that can't stand for
        1 bit of competition.
http://stuy.debate.net
icq #7434346                    aol imer E1101
The above email Copyright (C) 1999 Laurence Berland
All rights reserved


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3802A941.5D8A7C08>