Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Feb 1999 14:46:32 -0500
From:      gkaplan <gkaplan@castle.net>
To:        Mark Ovens <marko@uk.radan.com>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ppp -> browser
Message-ID:  <36C09098.C17BD2C1@castle.net>
References:  <36BCFB0C.7D910513@castle.net> <36BD88A0.1414A443@uk.radan.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
The attached is the result of my last attempt to run lynx. It does show that
PPP went into packet transmission mode and then failed.

Mark Ovens wrote:

> Gilbert Kaplan wrote:
> >
> > I have a pnp modem installed . When executing user ppp under 2.2.8 I am
> > able to connect to my isp where the user and password are accepted. From
> > that point I am at a loss as to how to proceed. I have tried invoking
> > lynx at the ppp prompt;
>
> You don't start your browser from the ppp prompt. As you're using Lynx
> am I right in thinking you're not running X?. If this is the case,
> change to a different vt (Alt-Fn) and run Lynx there.
>

I do have Xwindows running, but I am not comfortable with it yet .

> > but in fact I don't understand the relationship
> > of the browser task to the parent process .
>
> If a ppp connection is established (i.e. the ``PPP'' in the ppp prompt
> is _all_ upper case) then all you need to do is enter a URL. If that
> doesn't work, check that all the peripheral config files for ppp are
> setup, /etc/host.conf, /etc/resolv.conf, and /etc/ppp/ppp.linkup. The
> last one might not be necessary depending on the ppp source code version
> you used. If you're running the ppp that came on the CD then you will
> need it.
>
> > Is there a log that would
> > help me correlate my keyboard input with activity over the communication
> > line? How is the browser process associated with the communication line?
> > ( does it involve an configuration file or is it know by default as a
> > result of being a spawned process ?)
>

I have found a transaction log for ppp located at   /var/log/ppp.log   by

> Maybe someone will give a more technical asnswer to this, but the
> association is through TCP/IP, the info in the files mentioned above
> define the address of the DNS nameserver(s) and setup the route to them.
> That's the beauty of Unix, TCP and stuff is such a fundamental part of
> the OS that these things work automagically :-)
>
> HTH.
>
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
> --
>   Q. How many Software Engineers does it take to change a light bulb?
>   A. None. It's a hardware problem
>
>       FreeBSD - The Power To Serve http://www.freebsd.org
>       My Webpage http://www.users.globalnet.co.uk/~markov
> _______________________________________________________________
> Mark Ovens, CNC Apps Engineer, Radan Computational Ltd. Bath UK
> CAD/CAM solutions for Sheetmetal Working Industry
> mailto:marko@uk.radan.com                  http://www.radan.com



[-- Attachment #2 --]

/-------content of /etc/host.conf---------------\
# $Id: host.conf,v 1.2.10.1 1998/11/23 10:24:02 jkh Exp $
# First try the /etc/hosts file
hosts
# Now try the nameserver next.
bind
# If you have YP/NIS configured, uncomment the next line
# nis
/-------content of /etc/resolv.conf-------------\

nameserver	198.6.114.2
nameserver	198.6.114.27
domain		intac.com

/-------content of /etc/ppp/ppp.linkup----------\

MYADDR:
 delete ALL
 add 0 0 HISADDR

\------------------------------------------------/
the following was recorded in the file /var/log/ppp.log
which for the GENERIC FreeBSD is the default ppp log file

/----------------------------------------------------\
Feb  9 13:01:20 myname ppp[263]: Phase: Using interface: tun0 
Feb  9 13:01:20 myname ppp[263]: Phase: deflink: Created in closed state 
Feb  9 13:01:20 myname ppp[263]: Phase: PPP Started (interactive mode). 
Feb  9 13:01:23 myname ppp[263]: Phase: bundle: Establish 
Feb  9 13:01:23 myname ppp[263]: Phase: deflink: closed -> opening 
Feb  9 13:01:23 myname ppp[263]: Phase: deflink: Connected! 
Feb  9 13:01:23 myname ppp[263]: Phase: deflink: opening -> ready 
Feb  9 13:02:23 myname ppp[263]: Phase: deflink: PPP packet detected, coming up 
Feb  9 13:02:23 myname ppp[263]: Phase: deflink: ready -> lcp 
Feb  9 13:02:35 myname ppp[263]: Phase: deflink: lcp -> open 
Feb  9 13:02:35 myname ppp[263]: Phase: bundle: Network 
Feb  9 13:02:56 myname ppp[263]: Phase: bundle: Terminate 
Feb  9 13:02:56 myname ppp[263]: Phase: deflink: open -> lcp 
Feb  9 13:03:11 myname ppp[263]: Phase: deflink: Disconnected! 
Feb  9 13:03:11 myname ppp[263]: Phase: deflink: Connect time: 108 secs: 744 octets in, 660 octets out 
Feb  9 13:03:11 myname ppp[263]: Phase:  total 13 bytes/sec, peak 119 bytes/sec on Tue Feb  9 13:03:11 1999 
Feb  9 13:03:11 myname ppp[263]: Phase: deflink: lcp -> closed 
Feb  9 13:03:11 myname ppp[263]: Phase: bundle: Dead 
Feb  9 13:03:11 myname ppp[263]: Phase: deflink: Carrier lost 
\--------------------------------------------------/
The above log is the result of the following command sequence:
/--------------------------------------------------\
myname# ppp
Working in interactive mode
Usisng interface tun0
ppp ON myname> term
deflink: Entering terminal mode on /dev/cuaa4
Type `~?' for help     
at                            # keyboard input 
OK
atdt4084422                   # keyboard input
CONNECT 50666/ARQ/x2/LAPM/V42BIS

Welcome to 3Com Total Control HiPer ARC (TM)
Netgorks That Go The Distance (TM)

login: gkaplan                # name entered
Password:                     # password entered
PPP session from (199.173.8.65) to 0.0.0.0 beginning ppp ON myname>
\--------------------------------------------------/
an attempt was made to run lynx 'url' from a second vertual terminal, with out 
success.
---------------------------------------------------

help

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