* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [000802 08:15]:
> >
> Look for options to do with hardware flow control. You want full
> RTS/CTS flow control. You don't want it to expect a carrier until after
> it has dialed. Most modems will let you define what state the modem
> resets to, that is, what ATZ means.
I still only connect every other time to my ISP. Here's my dial script:
#!/bin/sh
/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDT33552000 CONNECT
My modem manual gives me the following info about hardware flow control:
&H0 Disables Transmit Data flow control
&H1 Hardware (CTS) Flow control (default)
&H2 Software flow control (XON/XOFF)
&H3 Hardware and Software flow control
&R0 Delay clear to send (CTS) response after RTS
&R1 Ignore RTS
&R2 Send data to the computer on receipt of RTS (default)
Do you think I ought to enable &H3, and leave &R2 as the default?
If so, would it look something like the following? (I'm looking for
syntax errors.)
#!/bin/sh
/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK AT&H3 OK ATDT33552000 CONNECT
BTW, if I were to split the long command line up, could I do the following?
#!/bin/sh
/usr/sbin/chat -v ABORT BUSY ABORT 'NO CARRIER' '' \
ATZ OK AT&H3 OK ATDT33552000 CONNECT
(I'm interested in where to break it up, if \ is correct, and what '' means.)
Were I to fix anything else, I like to know if I've connected properly.
I still don't know whether my ISP sends back a message like:
Aug 2 08:14:37 localhost pppd[2253]: Connect: ppp0 <--> /dev/modem
Aug 2 08:14:42 localhost pppd[2253]: Remote message: Login Succeeded
Aug 2 08:14:42 localhost kernel: PPP BSD Compression module registered
Aug 2 08:14:43 localhost kernel: PPP Deflate Compression module registered
Aug 2 08:14:43 localhost pppd[2253]: local IP address 200.211.118.182
Aug 2 08:14:43 localhost pppd[2253]: remote IP address 200.230.128.129
or
Aug 2 08:21:48 localhost pppd[2484]: Connect: ppp0 <--> /dev/modem
Aug 2 08:22:22 localhost pppd[2484]: No response to PAP authenticate-requests
until I check /var/log/messages at /dev/tty8.
What does No response to PAP... mean anywho?
> that is what -detach got you. You can get probably more messages than
> you want from pppd with an entry in /etc/syslog.conf:
>
> daemon.=info <your login id here>
> these are tabs^ not spaces.
I haven't tried that yet; this is what my /etc/syslog.conf looks like:
local2.=info /var/log/ppp
*.* /dev/tty8
*.* /var/log/messages
thanks Lawson!
--
det spelar ingen roll -- Swedish for "it doesn't matter."
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs