The following is a log of my connect to my ISP using a "ppp-on" script (essentially RedHat's "usernetctl ifcfg-ppp0 up"): Sep 6 12:43:35 harvey chat[461]: send (AT&F&D2&C1X4V1Q0S6=3S7=70&M4&B1&H1&R2M0^ M) Sep 6 12:43:36 harvey chat[461]: expect (OK) Sep 6 12:43:36 harvey chat[461]: O CARRIER^M Sep 6 12:43:36 harvey chat[461]: AT&F&D2&C1X4V1Q0S6=3S7=70&M4&B1&H1&R2M0^M^M Sep 6 12:43:36 harvey chat[461]: OK Sep 6 12:43:36 harvey chat[461]: -- got it Sep 6 12:43:36 harvey chat[461]: send (ATDT824-8426^M) Sep 6 12:43:37 harvey chat[461]: expect (CONNECT) Sep 6 12:43:37 harvey chat[461]: ^M Sep 6 12:43:59 harvey chat[461]: ATDT824-8426^M^M Sep 6 12:43:59 harvey chat[461]: CONNECT Sep 6 12:43:59 harvey chat[461]: -- got it Sep 6 12:43:59 harvey chat[461]: send (^M) Sep 6 12:43:59 harvey chat[461]: expect (ogin:) Sep 6 12:43:59 harvey chat[461]: 26400/ARQ^M Sep 6 12:44:01 harvey chat[461]: VTel Internet BRAX2-1 S52^M Sep 6 12:44:01 harvey chat[461]: ^M Sep 6 12:44:01 harvey chat[461]: login: Sep 6 12:44:01 harvey chat[461]: -- got it Sep 6 12:44:01 harvey chat[461]: send (rlpcon^M) Sep 6 12:44:01 harvey chat[461]: expect (ssword:) Sep 6 12:44:01 harvey chat[461]: rlpcon^M Sep 6 12:44:01 harvey chat[461]: Password: Sep 6 12:44:01 harvey chat[461]: -- got it Sep 6 12:44:01 harvey chat[461]: send (xxxxxxxx) Sep 6 12:44:01 harvey pppd[458]: Serial connection established. Sep 6 12:44:02 harvey pppd[458]: Using interface ppp0 Sep 6 12:44:02 harvey pppd[458]: Connect: ppp0 <--> /dev/cua0 Sep 6 12:44:05 harvey pppd[458]: local IP address 207.1.47.44 Sep 6 12:44:05 harvey pppd[458]: remote IP address 207.1.47.2 This is what I get (about 95% of the time) when I use diald for the connection: Sep 6 12:40:50 harvey chat[422]: send (AT&F&D2&C1X4V1Q0S6=3S7=70&M4&B1&H1&R2M0^ M) Sep 6 12:40:50 harvey chat[422]: expect (OK) Sep 6 12:40:51 harvey chat[422]: AT&F&D2&C1X4V1Q0S6=3S7=70&M4&B1&H1&R2M0^M^M Sep 6 12:40:51 harvey chat[422]: OK Sep 6 12:40:51 harvey chat[422]: -- got it Sep 6 12:40:51 harvey chat[422]: send (ATDT824-8426^M) Sep 6 12:40:51 harvey chat[422]: expect (CONNECT) Sep 6 12:40:51 harvey chat[422]: ^M Sep 6 12:41:13 harvey chat[422]: ATDT824-8426^M^M Sep 6 12:41:13 harvey chat[422]: CONNECT Sep 6 12:41:13 harvey chat[422]: -- got it Sep 6 12:41:13 harvey chat[422]: send (^M) Sep 6 12:41:13 harvey chat[422]: expect (ogin:) Sep 6 12:41:13 harvey chat[422]: 28800/ARQ^M Sep 6 12:41:15 harvey chat[422]: ^M Sep 6 12:41:15 harvey chat[422]: login: Sep 6 12:41:15 harvey chat[422]: -- got it Sep 6 12:41:15 harvey chat[422]: send (rlpcon^M) Sep 6 12:41:15 harvey chat[422]: expect (ssword:) Sep 6 12:41:21 harvey chat[422]: rlpcon^M Sep 6 12:41:21 harvey chat[422]: ^M Sep 6 12:41:21 harvey chat[422]: *** Host Is Currently Unavailable ***^M Sep 6 12:41:23 harvey chat[422]: ^M Sep 6 12:41:23 harvey diald[388]: Connect script failed. Sep 6 12:41:23 harvey chat[422]: NO CARRIER Sep 6 12:41:23 harvey chat[422]: -- failed Sep 6 12:41:23 harvey chat[422]: Failed (NO CARRIER) Sep 6 12:41:24 harvey diald[388]: Delaying 6 seconds before clear to dial. (diald the trys again, and might connect after a few tries.) The "Host is unavailable" is triggering a diald connect failure, but the host is available. Does anyone have an explanation for what is going on here? In both cases the same "chat" script is used. What is triggering the "Host is Currently Unavailable"? It shows up if I use diald, but I have never seen it with the direct ppp-on access (or in the logs using other systems). I think it is a diald bug. Unfortunately, I can't use diald with a connect option that class my "ppp-on" script. Again another bug since the diald man page implies I can use any legal sh (or other ) script; all that ever works for my is: connect "/usr/sbin/chat -f /etc/sysconfig/network-scripts/chat-ppp0" . There is clearly some "hidden" issue in diald involving the way it uses chat, etc. The above problem occurs before there is any ppp0 interface instantiated. --dick peskin ================================= R. L. Peskin, Rutgers Univ. ; <[EMAIL PROTECTED]>; <http://www.caip.rutgers.edu/~peskin> VT Phone (802) 824-4558 NJ Phone (732) 445-4208 "The corporate culture is concerned less with Occam's razor than his aftershave lotion." - To unsubscribe from this list: send the line "unsubscribe linux-diald" in the body of a message to [EMAIL PROTECTED]
