Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Nov 1998 11:44:38 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Jerry <jerryr@ComCAT.COM>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Network/PPP 
Message-ID:  <199811081144.LAA23492@woof.lan.awfulhak.org>
In-Reply-To: Your message of "Sat, 07 Nov 1998 13:37:05 EST." <Pine.GSO.4.02A.9811071316040.16798-100000@uw> 

next in thread | previous in thread | raw e-mail | index | archive | help
> I recently got a domain name and I was making changes to the /etc/hosts,
> /etc/rc.conf /etc/resolv.conf, /usr/local/etc/apache/(files)
> 
> I'm not sure what I've done everything has always run smooth until now.  I
> can telnet into my freebsd box from my networked win95 but I can't see out
> over the ppp connection on either machines.  I can ping my ip (static) on
> my isp's end.
> 
> Also when I start the PPP -alias it takes a very long time before I get a

This is because your `hostname` doesn't resolve.  Make sure 
/etc/host.conf says ``hosts'' before ``bind'' and put your hostname 
in /etc/hosts.

> prompt to dial.  When I do finally get a prompt it looks like this when I
> dial:
> 
> # ppp -alias
> User process PPP. Written by Toshiharu OHNO.
> Using Interface: tun0
> Interactive mode
> ppp ON ma> dial ISP
> 0: Invalid command
> Dial attempt 1 of 1
> 
> 
> then it dials and connect fine.  I never got the 0: Invalid command
> before.  If someone could help with some of my problems I really need it.
> I have a feeling its one line somewhere and I can't find it!

Turn on command logging.  Your ISP config entry in /etc/ppp.conf has 
an indented line starting with ``0 ''.
-- 
Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org>
      <http://www.Awfulhak.org>;
Don't _EVER_ lose your sense of humour....



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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