From owner-freebsd-questions Thu Mar 25 1:46:10 1999 Delivered-To: freebsd-questions@freebsd.org Received: from ingate.uk.neceur.com (ingate.uk.neceur.com [193.116.254.1]) by hub.freebsd.org (Postfix) with ESMTP id ECA6014DAB for ; Thu, 25 Mar 1999 01:46:03 -0800 (PST) (envelope-from Jeff.Bond@nectech.co.uk) Received: by ingate.uk.neceur.com id JAA18530; Thu, 25 Mar 1999 09:42:49 GMT Received: from internal-mail.uk.neceur.com by ingate.uk.neceur.com id JAA18524; Thu, 25 Mar 1999 09:42:48 GMT Received: from exchange.nectech.co.uk by internal-mail.uk.neceur.com id JAA01977; Thu, 25 Mar 1999 09:43:25 GMT from exchange.nectech.co.uk (exchange.nectech.co.uk [193.116.199.241]) id JAA01977 (2.4-8.8.8/3.1.31); Thu, 25 Mar 1999 09:43:25 GMT Received: by exchange.nectech.co.uk with Internet Mail Service (5.0.1460.8) id ; Thu, 25 Mar 1999 09:42:28 -0000 Message-ID: From: "Bond, Jeffery" To: "'MALCOLM BOFF'" Cc: Brian Somers , "'questions@freebsd.org'" Subject: RE: PPP AND Compuserve AND UK Date: Thu, 25 Mar 1999 09:42:28 -0000 X-Mailer: Internet Mail Service (5.0.1460.8) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Malcolm, The chat script is comprised of 'expect' 'send' pairs rather that 'send' 'expect' pairs as you suggest. To wait for the 'PPP' string, just use a line like this as the last line of your chat script. PPP "" (PPP followed by two quotes in case the email buggered it up). I use a similar line to initialise my modem: "" ATZ OK ATDTxxxxx ie. expect nothing, then send ATZ to reset it, then expect OK (from the ATZ command), then dial etc... Hope this helps, Jeff > -----Original Message----- > From: MALCOLM BOFF [SMTP:Malcolm_Boff@compuserve.com] > Sent: Wednesday, March 24, 1999 9:27 PM > To: jeff > Cc: Brian Somers > Subject: RE: PPP AND Compuserve AND UK > > > > Hi Malcolm, > > > I did this a while ago. I can't send you the actual scripts because I > don't > > have them any more. Compuserve was too slow and unreliable so I > > changed to Freeserve. I used 'pppd' rather than using 'ppp' with > tun0 > > interface. The login sequence for PPP on compuserve is a bit weird, so > here > > goes: > > > 1) After the modem connects, you get a 'hostname: ' prompt, I think you > need > > to send 'CIS' for the reply. > > Yup I get this ! > > > 2) Next comes the userid prompt, you MUST reply with something like > > 'userid/GO:PPPCONNECT', > > Yup (with my compuserve account number replacin 'userid') > > 3) Next, the usual password prompt. > > Yup followed by sending my password. > > > 4) Then you just wait for the string 'PPP' and your away! (ie. exit the > chat > > script and let pppd do the rest). This is all from memory so it may be > > inaccurate. > > This is interesting ! How do you just > 'wait for the string' ?? We are still in a chat which > is a send/expect spec. I am not doing anything after > sending my password ie the chat has finished, so the > debug shows that we go into LCP and this is probably > where things are going wrong. > > > In the login part of the chat script, something like this may do the > trick. > > > ame: CIS > > ID: userid/GO:PPPCONNECT > > word: yourpassword > > > For the rest of the setup info, have a look at my page at > > http://www.tech-info.freeserve.co.uk/linux_unix_freesbsd.htm > > > Obviously, this page is intended to help you connect to Freeserve, but > all > > you'll need to change for compuserve is the 'chat' script, and the DNS > ip's. > > > Let me know how you get on. > > > Jeff > > > >>I would appreciate hearing from anyone in the UK who has = > >> > >>successfully managed to connect into Compuserve and is > >>prepared to help me by providing a copy of their setup > >>(ppp.conf) etc > >> > >>I don't want to exclude others connecting via Compuserve but > >>wish to isolate differences between the UK and US so please > >>respond if you think you might be able to help. > >> > >>Malcolm G. Boff > > Thanks for your response, I haven't had the time to visit > the web site yet. > > Malcolm G. Boff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message