Juergen Fiedler on Sat, 9 Jan 1999 13:13:38 -0500 (EST) |
Scripts is what you want? Very well, scripts you shall get! I tried this pair, basically with as much success as using the GUI setup (I get a connection, get my dynamic IP address assigned, but can't ping _anything_ outside the LAN) ---------------- START PPP-ON ------------------ #!/bin/sh exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 57600\ asyncmap 20A0000 escape FF kdebug 0 \ 0.0.0.0:0.0.0.0 \ noipdefault defaultroute connect /test/ppp-on-dialer ----------------- END PPP-ON ------------------- ------------- START PPP-ON-DIALER -------------- #!/bin/sh exec chat -v \ TIMEOUT 3 \ ABORT '\nBUSY\r' \ ABORT '\nNO ANSWER\r' \ ABORT '\nRINGING\r\n\r\nRINGING\r' \ '' \rAT \ 'OK-+++\c-OK' ATH0 \ TIMEOUT 30 \ OK ATDT$TELEPHONE \ CONNECT '' \ ogin:--ogin: myname \ ord: password ------------- END PPP-ON-DIALER ---------------- Can you spot the error in here? I guess if there is any, it would be in the ppp-on script. Of course, one of the AT-commands in ppp-on-dialer could be wrong, but I really don't think so. If I come that far (i.e., am able to complete login), is there still a possibility that I have a problem with the modem? With my ISP? I tried those scripts with two different ISPs (and I didn't really want to talk about it, but: Once it worked - and I don't remember what I did differently (especcially frustrating)). Later, Juergen > -----Original Message----- > From: Roger Scudder [mailto:rscudder@bellatlantic.net] > Sent: Friday, January 08, 1999 10:24 PM > To: Rebecca Ore > Cc: plug@lists.nothinbut.net > Subject: Re: Anybody out there? > > > On Fri, 8 Jan 1999, Rebecca Ore wrote: > > > Try this first -- it works for op.net without escape control characters > > being activated, and for certain netaxs numbers with escape control > > characters being activated. If this doesn't work, you can use the > > scripting tool for simple scripts, but go here first as listening to > > people about scripts will drive you unnecessarily crazy if you can do it > > this way. > > I'm getting a sense of script phobia from this group. ;-) I've always > enjoyed writing them. Perhaps having always been a natural at > programming leaves me a bit insensitive toward those who are not. > The thing about it is this... Having someone tell you what buttons > to click on is nice, especially when it works. Taking the time to read > the HOW-TO and really understand how it works is "very" nice indeed. > > > Roger C. Scudder Jr. > Philadelphia, PA, US > rscudder@usa.net > I'd rather be running Linux! > > > -- > To unsubscribe, send a message with the word 'unsubscribe' in the subject > or body of your message to plug-request@lists.nothinbut.net > > -- To unsubscribe, send a message with the word 'unsubscribe' in the subject or body of your message to plug-request@lists.nothinbut.net
|
|