Date: Thu, 25 Mar 1999 09:42:28 -0000 From: "Bond, Jeffery" <Jeff.Bond@nectech.co.uk> To: "'MALCOLM BOFF'" <Malcolm_Boff@compuserve.com> Cc: Brian Somers <brian@awfulhak.org>, "'questions@freebsd.org'" <questions@freebsd.org> Subject: RE: PPP AND Compuserve AND UK Message-ID: <DD2AB7991BC6D211988E00A024AC583B026A5B@exchange.nectech.co.uk>
next in thread | raw e-mail | index | archive | help
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. <PLUG>Compuserve was too slow and unreliable so I > > changed to Freeserve</PLUG>. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DD2AB7991BC6D211988E00A024AC583B026A5B>