*BSD News Article 75655


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!news.vbc.net!samba.rahul.net!rahul.net!a2i!news.PBI.net!news.mathworks.com!newsfeed.internetmci.com!in2.uu.net!nntp.earthlink.net!usenet
From: rgonzale@mli-vtg.com (Robert Gonzales)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: PPP Doesn't Work
Date: Wed, 07 Aug 1996 23:08:27 GMT
Organization: Earthlink Network, Inc.
Lines: 324
Message-ID: <4ub7jf$e71@paraguay.earthlink.net>
References: <4trg08$c50@ecuador.it.earthlink.net> <4u5673$1cl@jraynard.demon.co.uk> <4uaogn$q4k@argentina.earthlink.net>
NNTP-Posting-Host: max1-rs-ca-48.earthlink.net
X-Newsreader: Forte Free Agent 1.0.82

Here are my crucial files for try to get ppp to work. Please feel free
to tell me what I'm doing wrong. I am try to connect via ppp with my
service provider with dynamic addressing.

# HOSTS FILE
#
127.0.0.1              localhost metro
# I HAVE NO IP JUST MADE ONE UP
10.0.0.2               metro.mli-vtg.com metro www

-----------------------------------------------------------------------

# HOST.CONF
# $Id: host.conf,v 1.2 1993/11/07 01:02:57 wollman Exp $
# Default is to use the nameserver first
bind
# If that doesn't work, then try the /etc/hosts file
hosts
# If you have YP/NIS configured, uncomment the next line
# nis

-------------------------------------------------------------------------

# NETWORKS
#
metronet	127.0.0				# my generic IPt
metromsk        255.255.255  			# subnet mask for metronett

---------------------------------------------------------------------------

# PPP  Configuration File
# PPP.CONF

default:
 set device /dev/cuaa1
 set speed 38400 
 set ifaddr 0 0 
 set timeout 0 
 set mru 1500 
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0M0
OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
host:
#put the phone number you want to dial in place.
 set phone 3430859
 set login "ogin: myname ssword: mypassword 1500 \r"
 add 0 0 HISADDR

----------------------------------------------------------------------------

# PPP.LINKKUP
MYADDR:
 add 0 0 HISADDR 

-----------------------------------------------------------------------------

#To define your isp's name server.
# Resolve.conf

domain earthlink.net 
search earthlink.net 
nameserver  198.68.160.2 
nameserver  204.157.3.2

------------------------------------------------------------------------------

#!/bin/sh
#
# SYSCONFIG
# This is sysconfig - a file full of useful variables that you can set

# to change the default startup behavior of your system.
#
#       $Id: sysconfig,v 1.14.4.5 1995/09/19 12:09:03 jkh Exp $

######################### Start Of Syscons Section
#######################

# Choose keyboard map from /usr/share/syscons/keymaps/* or NO if
default.
keymap=NO

# Set keyboard rate to: slow, normal, fast or NO if default.
keyrate=NO

# Change function keys default values (or no change if NO)
# Syntax: "<funkey_number> <new_value> [<funkey_number>
<new_value>]..."
keychange=NO

# Desired cursor type {normal|blink|destructive}, NO if no change
cursor=NO

# Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for
none)
scrnmap=NO

# Choose font 8x16 from /usr/share/syscons/fonts/* (or NO for default)
font8x16=NO

# Choose font 8x14 from /usr/share/syscons/fonts/* (or NO for default)
font8x14=NO

# Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default)
font8x8=NO

# Set blank time (in seconds) or "off" to turn it off (or NO for
default)
blanktime=NO

# Set to screen saver desired: blank, green, snake, star (or NO for
none)
saver=NO

# General russian setup for example:
# (koi8-r keyboard with cp866 screen font mapped to koi8-r)
#
# keymap=ru.koi8-r
# keyrate=fast
# keychange="61 "
# cursor=destructive
# scrnmap=koi8-r2cp866
# font8x16=cp866b-8x16
# font8x14=cp866-8x14
# font8x8=cp866-8x8
# blanktime=600
# saver=snake

######################### End Of Syscons Section
#######################

######################### Start Of Netconfig Section
#######################

# Set to the name of your host - this is pretty important!
hostname=metro.mli-vtg.com

# Set to the NIS domainname of your host, or NO if none
defaultdomainname=NO

#
# Some broken implementations can't handle the RFC 1323 and RFC 1644
# TCP options.  If TCP connections randomly hang, try disabling this,
# and bug the vendor of the losing equipment.
tcp_extensions=YES 

#
# Set to the list of network devices on this host.  You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#
#       network_interfaces="ep0 lo0"
#       ifconfig_ep0="inet 10.0.0.2 netmask 0xffffff00"
#
network_interfaces="lo0 ep0 tun0"
ifconfig_lo0="inet localhost netmask 0xffffff00"
ifconfig_ep0="inet 10.0.0.2 netmask 0xffffff00" 
ifconfig_tun0="inet metro.mli-vtg.com 206.85.92.2 netmask 0xffffff00"

#
# Set to the list of route add lines for this host.  You must have a
# route_${static_routes} line for each static route listed here.
#
static_routes="multicast loopback"
route_multicast="224.0.0.0 -netmask 0xffffff00 -interface ${hostname}"
route_loopback="${hostname} localhost"

# Set to the host you'd like set as your default router, or NO for
none.
defaultrouter=NO

# These are the flags you'd like to start the routing daemon with
routedflags="-s"

# timed flags, or NO if you don't want to start the time daemon
timedflags=NO

# xntpd flags, or NO if you don't want to start the xntpd daemon
xntpdflags="NO"

# this is inoperative unless xntpd is enabled; NO to disable
tickadjflags="-Aq"

# Set to the site you'd like to syncronize your clock from
(gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate="NO"

# Set to YES if you want to run rwhod
rwhod=NO

# Default sendmail flags.  -bd is pretty mandatory, -q<n>m sets the
queue scan
# time in minutes.  If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q30m"

# Set to appropriate flags if you want to use AMD
amdflags="NO"

# Set to YES if this machine will be an NFS client
nfs_client=NO

# Set to YES if this machine will be an NFS server
nfs_server=NO

# Set to appropriate flags if you want to start NIS for a client
nis_clientflags="NO"

# Set to host to ypset to if you need to do that
nis_ypsetflags="NO"

# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"

# Set to appropriate flags for yppasswdd, if you wish to run it.
# Typical flags might be "-m /var/yp/master.passwd -s -f"
yppasswddflags="NO"

# Set to appropriate flags for named, if you have a full-time
# connection to the Internet.
# For most hosts, flags should be "-b /etc/namedb/named.boot"
namedflags="NO"

# Set to YES if you run PC-NFSD (see /usr/ports/net/pcnfsd) for
# sharing filesystems with DOS/Windows PCs.
pcnfsd="NO"

# Set to YES if you have the Apache WEB server (see
/usr/ports/net/apache)
# installed and want to run it at system startup time (this is better
than
# running it from inetd if you're running a dedicated WWW server).
apache_httpd="YES"

# Set to YES if you want to run the X-10 power controller daemon
xtend=NO

# Set to the name of the device for kernel crashdumps, or `off' to
# disable any statically configured dumpdev, or NO for no change.
# The device should normally be one of the swap devices specified
# in /etc/fstab.
dumpdev=NO

# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO

# Set to YES if you want to run Kerberos authentication
kerberos_server=NO

# If you want this host to be a gateway, set to YES.
gateway="YES"

# Set to YES if you want to run gated
gated=NO

# Set to YES if you wish to check quotas.  NOTE:  For now this
probably
# doesn't work and should be left disabled.
check_quotas=NO

# Set to YES to turn on accounting.  NOTE: For now this probably
# doesn't work and should be left disabled.
accounting=NO

######################### End Of Netconfig Section
#######################

######################### Start Of Misc Section
#######################

# Set to YES if you want ibcs2 (SCO) emulation loaded at startup
ibcs2=NO

-------------------------------------------------------------------------------------

)
#

rgonzale@mli-vtg.com (Robert Gonzales) wrote:

>Actually, that is pretty close of what's happening. I didn't metrion
>that when I start the ppp service I lose the ability to ping anything
>with or without names. And when I type show IPCP in the ppp program my
>connection is still going. Puzzling? But my routes look correct to me,
>but then again I don't know much about tcp/ip.

>Still working on getting those files posted of my hosts, networks,
>ppp.conf and ppp.linkup.

>james@jraynard.demon.co.uk (James Raynard) wrote:

>>In article <4trg08$c50@ecuador.it.earthlink.net>,
>>Robert Gonzales <rgonzale@mli-vtg.com> wrote:
>>>
>>>I am able to get a connection and login with my service provider. A
>>>Perfect Connection! The IPCP negotiations get my IP address, which is
>>>dynamically allocated. The gateway and DNS are set correctly, I got
>>>the numbers directly from the service provider. My log shows that I
>>>have the perfect connection.
>>> 
>>>No errors. And still I am unable to communication via the internet. I
>>>can't ping, telnet, ftp, nothing. I followed the manuals and man
>>>pages. Could any tell me what could be happing? I know this account
>>>works because I can use it with my WIN95 tcpip stack.

>>Are you using names or IP addresses when pinging machines?   Try using
>>IP addresses.

>>If IP addresses work and names don't, it must be a DNS problem.  If 
>>you can ping the machine you are connected to, but nothing else, you 
>>are missing a "default route" (the output of 'netstat -rn' should show
>>a route from your IP address to 'default').

>>And if you can't ping anything at all, the connection has been lost. :-)

>>-- 
>>James Raynard, Edinburgh, Scotland
>>james@jraynard.demon.co.uk
>>http://www.freebsd.org/~jraynard/