<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Chat-script before ppp-connection in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/chat-script-before-ppp-connection/m-p/2838381#M88865</link>
    <description>Hi everyone!&lt;BR /&gt;&lt;BR /&gt;I am using SuSE 8.0 and have a question concerning a specific dial-in with ISDN to UUNET. The &lt;BR /&gt;ppp-connection is not immediately started but a script has to be executed &lt;BR /&gt;before. This should be done with a chat-script.&lt;BR /&gt;&lt;BR /&gt;Here a short description of the script&lt;BR /&gt;--*Receive:&lt;BR /&gt;CONNECT 64000/ISDN/X75&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; 0000KKA&lt;BR /&gt;&lt;BR /&gt;Host Name:&lt;BR /&gt;--*Send:&lt;BR /&gt;lhcrew&lt;BR /&gt;--*Receive:&lt;BR /&gt;UIC:&lt;BR /&gt;--*Send:&lt;BR /&gt;My UIC&lt;BR /&gt;--*Receive:&lt;BR /&gt;Password:&lt;BR /&gt;--*Send:&lt;BR /&gt;My Password&lt;BR /&gt;&lt;BR /&gt;After this the ppp-connection is started.&lt;BR /&gt;&lt;BR /&gt;The exact script for dial-in in Germany under Windows is:&lt;BR /&gt;&lt;BR /&gt;   ; Set the port settings so we can wait for&lt;BR /&gt;   ; non-gibberish text.&lt;BR /&gt;&lt;BR /&gt;   set port databits 7&lt;BR /&gt;   set port parity even&lt;BR /&gt;&lt;BR /&gt;   transmit "+^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "Host Name:"&lt;BR /&gt;   transmit "lhcrew^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "UIC:"&lt;BR /&gt;   transmit $USERID, raw&lt;BR /&gt;   transmit "^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "Password: "&lt;BR /&gt;   transmit $PASSWORD, raw&lt;BR /&gt;   transmit "^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "Connected to"&lt;BR /&gt;&lt;BR /&gt;"raw" could be neglected. That's the information I got from the hotline.&lt;BR /&gt;&lt;BR /&gt;Can anybody tell me how to write that script and where to put it? (etc/ppp?) &lt;BR /&gt;How to tell the system to work through that skript when establishing the &lt;BR /&gt;connection? Any help is appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Mon, 04 Nov 2002 14:25:26 GMT</pubDate>
    <dc:creator>Oliver Zimmermann</dc:creator>
    <dc:date>2002-11-04T14:25:26Z</dc:date>
    <item>
      <title>Chat-script before ppp-connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chat-script-before-ppp-connection/m-p/2838381#M88865</link>
      <description>Hi everyone!&lt;BR /&gt;&lt;BR /&gt;I am using SuSE 8.0 and have a question concerning a specific dial-in with ISDN to UUNET. The &lt;BR /&gt;ppp-connection is not immediately started but a script has to be executed &lt;BR /&gt;before. This should be done with a chat-script.&lt;BR /&gt;&lt;BR /&gt;Here a short description of the script&lt;BR /&gt;--*Receive:&lt;BR /&gt;CONNECT 64000/ISDN/X75&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; 0000KKA&lt;BR /&gt;&lt;BR /&gt;Host Name:&lt;BR /&gt;--*Send:&lt;BR /&gt;lhcrew&lt;BR /&gt;--*Receive:&lt;BR /&gt;UIC:&lt;BR /&gt;--*Send:&lt;BR /&gt;My UIC&lt;BR /&gt;--*Receive:&lt;BR /&gt;Password:&lt;BR /&gt;--*Send:&lt;BR /&gt;My Password&lt;BR /&gt;&lt;BR /&gt;After this the ppp-connection is started.&lt;BR /&gt;&lt;BR /&gt;The exact script for dial-in in Germany under Windows is:&lt;BR /&gt;&lt;BR /&gt;   ; Set the port settings so we can wait for&lt;BR /&gt;   ; non-gibberish text.&lt;BR /&gt;&lt;BR /&gt;   set port databits 7&lt;BR /&gt;   set port parity even&lt;BR /&gt;&lt;BR /&gt;   transmit "+^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "Host Name:"&lt;BR /&gt;   transmit "lhcrew^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "UIC:"&lt;BR /&gt;   transmit $USERID, raw&lt;BR /&gt;   transmit "^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "Password: "&lt;BR /&gt;   transmit $PASSWORD, raw&lt;BR /&gt;   transmit "^M"&lt;BR /&gt;&lt;BR /&gt;   waitfor "Connected to"&lt;BR /&gt;&lt;BR /&gt;"raw" could be neglected. That's the information I got from the hotline.&lt;BR /&gt;&lt;BR /&gt;Can anybody tell me how to write that script and where to put it? (etc/ppp?) &lt;BR /&gt;How to tell the system to work through that skript when establishing the &lt;BR /&gt;connection? Any help is appreciated!&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 04 Nov 2002 14:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chat-script-before-ppp-connection/m-p/2838381#M88865</guid>
      <dc:creator>Oliver Zimmermann</dc:creator>
      <dc:date>2002-11-04T14:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: Chat-script before ppp-connection</title>
      <link>https://community.hpe.com/t5/operating-system-linux/chat-script-before-ppp-connection/m-p/2838382#M88866</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I don't know anything about ISDN, but I hope you can find some ideas here to build you own configuration.&lt;BR /&gt;&lt;BR /&gt;Here is my PPP architecture :&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; created "pppusers" group in /etc/group (as far as I remembre, SuSE creates it by default. May be also named "dialin").&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; set the following permissions to /usr/sbin/pppd :&lt;BR /&gt;&lt;BR /&gt;-rwsr-xr--  root pppusers&lt;BR /&gt;&lt;BR /&gt;   chgrp pppusers /usr/sbin/pppd&lt;BR /&gt;   chmod 4754 /usr/sbin/pppd&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; Created /etc/ppp/peers/&lt;ISP_NAME&gt; as follows :&lt;BR /&gt;&lt;BR /&gt;ttyS0&lt;BR /&gt;115200&lt;BR /&gt;mru 552&lt;BR /&gt;mtu 552&lt;BR /&gt;noauth&lt;BR /&gt;user &lt;YOUR_USER_ID&gt;&lt;BR /&gt;connect "/usr/sbin/chat -v -T &lt;ISP_PHONE_NUMBER&gt; -f /etc/ppp/chatscript"&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; Added the following line in both /etc/ppp/pap-scripts and /etc/ppp/chap-scripts :&lt;BR /&gt;&lt;BR /&gt;&lt;YOUR_USER_ID&gt;   *   &lt;YOU_PASSWORD&gt;&lt;BR /&gt;&lt;BR /&gt;=&amp;gt; Created /etc/ppp/chatscript as follows :&lt;BR /&gt;&lt;BR /&gt;ECHO OFF&lt;BR /&gt;REPORT CONNECT&lt;BR /&gt;ABORT 'ERROR'&lt;BR /&gt;ABORT 'BUSY'&lt;BR /&gt;ABORT 'NO CARRIER'&lt;BR /&gt;ABORT 'NO DIALTONE'&lt;BR /&gt;ABORT 'failed.'&lt;BR /&gt;'' ATZ&lt;BR /&gt;OK ATX3L0M0&lt;BR /&gt;OK ATDT\T&lt;BR /&gt;TIMEOUT 180&lt;BR /&gt;CONNECT ''&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To connect to my ISP, I use :&lt;BR /&gt;&lt;BR /&gt;/usr/sbin/pppd connect &lt;ISP_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck.&lt;BR /&gt;&lt;BR /&gt;Kodjo&lt;BR /&gt;&lt;/ISP_NAME&gt;&lt;/YOU_PASSWORD&gt;&lt;/YOUR_USER_ID&gt;&lt;/ISP_PHONE_NUMBER&gt;&lt;/YOUR_USER_ID&gt;&lt;/ISP_NAME&gt;</description>
      <pubDate>Mon, 04 Nov 2002 21:31:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/chat-script-before-ppp-connection/m-p/2838382#M88866</guid>
      <dc:creator>Kodjo Agbenu</dc:creator>
      <dc:date>2002-11-04T21:31:50Z</dc:date>
    </item>
  </channel>
</rss>

