From owner-freebsd-questions Fri May 30 22:40:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id WAA08326 for questions-outgoing; Fri, 30 May 1997 22:40:22 -0700 (PDT) Received: from obie.softweyr.ml.org ([199.104.124.49]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id WAA08316 for ; Fri, 30 May 1997 22:40:19 -0700 (PDT) Received: (from wes@localhost) by obie.softweyr.ml.org (8.7.5/8.6.12) id WAA27819; Fri, 30 May 1997 22:50:07 -0600 (MDT) Date: Fri, 30 May 1997 22:50:07 -0600 (MDT) Message-Id: <199705310450.WAA27819@obie.softweyr.ml.org> From: Wes Peters To: "Gary B. Corell" CC: questions@freebsd.org Subject: pap,chap and user ppp In-Reply-To: <199705270856.RAA25591@msw0.attnet.or.jp> References: <199705270856.RAA25591@msw0.attnet.or.jp> Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Gary B. Corell writes: > I am running FreeBSD 2.1.6 at the moment along with user ppp ( with tun ). > I have configured /etc/ppp.conf to be as close to the examples as possible > but so far no luck. I am having to use Win95 to log into my ISP for the > 32bit tcp/ip stack and their canned configuration of which I know little > about. they don't or won't even tell you whether its pap or chap. They > discourage sternly even trying to use unix here on attnet.or.jp Misawa A.B. > Japan. > the login ID is some 31 characters long consisting of a specific ID > followed by the @msw0.attnet.or.jp The primary DNS is 165.76.26.2 and > thru some experimentation I have discovered that my dynamic address will be > a class C variant of that. but I don't know what their port address will > be. ( they won't even tell me what kind of computer or operating system > they're using. > Also I've heard that I must put something in my /etc/ppp.secrets file but I > don't understand what especially for the password. Can someone please help! This sounds like CHAP, but you can't be certain without seeing the actual packets themselves. There are a couple of things you can try, however. Using user ppp, if you accept both chap and pap, and turn on LCP debugging, you'll probably be able to trace their server starting the authentication conversation with your ppp. I.e, if they are using PAP, you'll see something like: 01-29 23:26:36 [203] Phase: Authenticate 01-29 23:26:36 [203] his = c023, mine = c023 01-29 23:26:36 [203] PAP: username (password) in the log file. If you're using CHAP, the protocol type (c023) will be different, and I assume you'll get a few log lines starting with CHAP:, and telling you about the challenge and response packets. I believe your best bet would be to find another ISP that is not so unfriendly toward UNIX. This company obviously has their collective heads planted in Bill'$ lap and doesn't really want your money all that badly. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.xmission.com/~softweyr softweyr@xmission.com