From owner-freebsd-questions Sun Sep 14 16:15:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA09659 for questions-outgoing; Sun, 14 Sep 1997 16:15:42 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA09634 for ; Sun, 14 Sep 1997 16:15:25 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id AAA24759; Mon, 15 Sep 1997 00:13:45 +0100 (BST) Message-Id: <199709142313.AAA24759@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Brian D. McGlothlin" cc: freebsd-questions@FreeBSD.ORG Subject: Re: Problems setting up user PPP In-reply-to: Your message of "Sun, 14 Sep 1997 16:35:20 EDT." <3.0.1.32.19970914163520.0068d014@netscope.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Sep 1997 00:13:44 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > 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 , Don't _EVER_ lose your sense of humour....