Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Sep 1997 00:13:44 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        "Brian D. McGlothlin" <dskyzd@netscope.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Problems setting up user PPP 
Message-ID:  <199709142313.AAA24759@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sun, 14 Sep 1997 16:35:20 EDT." <3.0.1.32.19970914163520.0068d014@netscope.net> 

next in thread | previous 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.LINKUP::::::::::::::::::::::::::::::::::::::::::::::::::::
> 206.240.85.250:

Missing: delete ALL

>  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

No you don't - see below.

> and the address of the machine I usually log into is 206.240.85.4

Your gateway....

> 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

The gateway

>  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)

Ppp now loops these packets back automatically :-)

> 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.

Getting warm.

> 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).

Ooooh.  Wrong gateway :-)

> 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.

Just add the "delete ALL" before the "add 0 0 HISADDR" in ppp.linkup. 
Your gateway is the machine that you're talking to, despite what your 
ISP may tell you.

> Brian D. McGlothlin
> dskyzd@netscope.net

-- 
Brian <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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