Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Sep 1997 16:35:20 -0400
From:      "Brian D. McGlothlin" <dskyzd@netscope.net>
To:        freebsd-questions@freebsd.org
Subject:   Problems setting up user PPP
Message-ID:  <3.0.1.32.19970914163520.0068d014@netscope.net>

next in thread | raw e-mail | index | archive | help
After following the steps outlined in the handbook I am able to dial, and
login
to my isp (which dynamically assigns IP addresses).  But I am unable to
perform
any online taks such as ping and telent.  Below are copies of relevent
sections
of the config files:

PPP.CONF::::::::::::::::::::::::::::::::::::::::::::::::::
# Default setup. Always executed when PPP is invoked.
#
default:
 set device /dev/cuaa0
 set speed 28800 
 disable lqr
 deny lqr
 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\\T TIMEOUT 120 CONNECT"

#Section for dialing my provider
k:
 set phone 9632224 
 set login "TIMEOUT 5 ogin:-\\r-ogin: MYUSERNAME word: MYPASSWORD"
 set timeout 120
 set ifaddr 206.240.85.250/0 206.240.85.1/0 255.255.255.0
 delete ALL
 add 0 0 206.240.85.1


PPP.LINKUP::::::::::::::::::::::::::::::::::::::::::::::::::::
206.240.85.250:
 add 0 0 HISADDR 
########################################################################

I have set 206.240.85.250 as my IP in /etc/hosts
      (beowulf.enterconnect.net in hosts and rc.conf)
I have included the nameservers for my isp in /etc/resolv.conf
I know that my isp's gateway is 206.240.85.1
and the address of the machine I usually log into is 206.240.85.4

Below is a ppp session::::::::::::::::::::::::::::::::::::::::
ppp ON beowulf> dial k
Dial attempt 1 of 1
Phone: 9632224
dial OK!
login OK!
ppp ON beowulf> Packet mode.
ppp ON beowulf> 
PPP ON beowulf> show ipcp
IPCP [Opend]
 his side: 206.240.85.4, 2d0f01
 my  side: 206.240.85.81, 2d0f00
connected: 23 secs, idle: 23 secs

Defaults:
 My Address:  206.240.85.250/0
 His Address: 206.240.85.1/0
 Negotiation: 0.0.0.0/0
PPP ON beowulf> 
ppp ON beowulf> 
ppp ON beowulf> Sep 14 15:26:03 beowulf routed[54]: interface tun0 to
206.240.85.250 turned off
Sep 14 15:26:03 beowulf routed[54]: interface tun0 to 206.240.85.250 turned
off
Sep 14 15:26:03 beowulf routed[54]: IP_DROP_MEMBERSHIP ALLHOSTS: Can't
assign requested address
Sep 14 15:26:03 beowulf routed[54]: IP_DROP_MEMBERSHIP ALLHOSTS: Can't
assign requested address
########################################################################

the routed messages come after several minutes of being
connected...possibly a disconnection due to inactivity?

Now here's a sample of some things I try to while connected::::::::::::::::
# ping 141.104.22.202
PING 141.104.22.202 (141.104.22.202): 56 data bytes
^C
--- 141.104.22.202 ping statistics ---
3 packets transmitted, 0 packets received, 100% packet loss
# ping www.netscope.net
^C
# ping 206.240.85.1
PING 206.240.85.1 (206.240.85.1): 56 data bytes
^C
--- 206.240.85.1 ping statistics ---
6 packets transmitted, 0 packets received, 100% packet loss
########################################################################

I am able to ping myself as 206.240.85.250 (what I assigned) and as 
206.240.85.81 (server assigned ..the number varies of course..but it's 
always pingable)

If I issue delete ALL at the PPP prompt and then try pinging some address
or machine names...*obviously* ping gripes about no route to host.

Then I add 0 0 206.240.85.1 (the gateway) ,but this produces the
same results from ping attempts (no complaints, but no responses from other
servers).

If you've stuck with me this long, I thank you deeply for that.  My real
question is:  What is wrong here?  I've searched the archives and FAQ,
tried to learn as much about this process as possible but can't understand
what's not working.  Do I not have a route to any of the hosts?
routedflags=-s  in rc.conf as instructed.  If anyone can help me, or if
(heaven forbid :-) ) you need more information, email me, I'm not currently
on the mailing list, so reply to me directly.  Thank you so much for your
precious time and help.  It is truely appreciated.

Brian D. McGlothlin
dskyzd@netscope.net



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