Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!newsfeed.internetmci.com!vixen.cso.uiuc.edu!howland.reston.ans.net!torn!nott!bcarh189.bnr.ca!crchh327.rich.bnr.ca!rcisyk
From: rcisyk@bnr.ca (Rostyslav Cisyk)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Problems with user PPP
Date: 10 Jan 1996 16:10:43 GMT
Organization: Bell-Northern Research, Richardson, TX
Lines: 113
Message-ID: <4d0oe3$k12@crchh327.rich.bnr.ca>
NNTP-Posting-Host: crchhe94.rich.bnr.ca
Keywords: PPP
X-Newsreader: TIN [version 1.2 PL2]
Hi,
I am having problems getting user PPP to work. It dials OK to my Internet
providor and negotiates addresses. However, when I try to ping some host,
the packets seem to go out, but no incoming packets are ever received. Also,
netstat -r hangs when it tries to display routing tables.
I'm using FreeBSD 2.1-RELEASE, user PPP, and my ISP assigns dynamic addresses
to both a client and a server. Attached is the relevant information from
my config files, as well as a session script.
Does anybody happen to know why this is happening?
Thanks,
Rosty.
/etc/hosts:
-----------
127.0.0.1 localhost loghost eclipse
/etc/sysconfig:
---------------
network_interfaces="lo0 tun0"
ifconfig_lo0="inet localhost"
ifconfig_tun0="inet eclipse 206.42.5.253 netmask 0xffffff00"
/etc/ppp/ppp.conf:
------------------
default:
set device /dev/cuaa1
set speed 38400
disable lqr
deny lqr
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 15 \"\" ATE1Q0 OK-AT-OK \\dATDT\\\T TIMEOUT 60 CONNECT"
/etc/ppp/ppp.linkup:
--------------------
provider1:
delete ALL
add 0 0 HISADDR
MYADDR:
add 0 0 HISADDR
eclipse# ppp
User Process PPP. Written by Toshiharu OHNO.
Log level is 09
can't open /etc/ppp/ppp.secret.
Warning: No password entry for this host in ppp.secret
Warning: All manipulation is allowed by anyone in the world
Using interface: tun0
Interactive mode
ppp ON eclipse> term
Enter to terminal mode.
Type `~?' for help.
atz
OK
atdt7437777
CONNECT 24000/REL - LAPM
Welcome to Cyberramp.net, Dallas' finest provider. You are connected to tsa1.
login: rosty
Password:
Entering PPP Mode.
IP address is 206.42.5.15
MTU is 1500.
ppp ON eclipse> Packet mode.
PPP ON eclipse> show lcp
LCP [Opend]
his side: MRU 1500, ACCMAP 000a0000, PROTOCOMP 1, ACFCOMP 1 MAGIC 00000000
my side: MRU 1500, ACCMAP 00000000, PROTOCOMP 1, ACFCOMP 1 MAGIC c2e9aba7
Defaults: MRU = 1500, ACCMAP = 00000000 Open Mode: passive
PPP ON eclipse> show ipcp
IPCP [Opend]
his side: 206.42.5.253, 2d0f01
my side: 127.0.0.1, 2d0f00
connected: 24 secs, idle: 24 secs
Defaults:
My Address: 127.0.0.1/0
His Address: 0.0.0.0/0
Negotiation: 0.0.0.0/0
PPP ON eclipse> set ifaddr 206.42.5.15 206.42.5.253/20
PPP ON eclipse> add 0 0 HISADDR
PPP ON eclipse> show ipcp
IPCP [Opend]
his side: 206.42.5.253, 2d0f01
my side: 127.0.0.1, 2d0f00
connected: 65 secs, idle: 65 secs
Defaults:
My Address: 206.42.5.15/32
His Address: 206.42.5.253/20
Negotiation: 0.0.0.0/0
PPP ON eclipse> show route
default 206.42.5.253 ffffffff UG (4)
127.0.0.1 127.0.0.1 ffffffff UH (2)
206.42.5.253 127.0.0.1 ffffffff UH (4)
224.0.0.0 127.0.0.1 00000000 U (2)
PPP ON eclipse> show lcp
LCP [Opend]
his side: MRU 1500, ACCMAP 000a0000, PROTOCOMP 1, ACFCOMP 1 MAGIC 00000000
my side: MRU 1500, ACCMAP 00000000, PROTOCOMP 1, ACFCOMP 1 MAGIC c2e9aba7
Defaults: MRU = 1500, ACCMAP = 00000000 Open Mode: passive
PPP ON eclipse> close
ppp ON eclipse>
ppp ON eclipse> quit