HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Chat-script before ppp-connection
Operating System - Linux
1833044
Members
2574
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 06:25 AM
11-04-2002 06:25 AM
Chat-script before ppp-connection
Hi everyone!
I am using SuSE 8.0 and have a question concerning a specific dial-in with ISDN to UUNET. The
ppp-connection is not immediately started but a script has to be executed
before. This should be done with a chat-script.
Here a short description of the script
--*Receive:
CONNECT 64000/ISDN/X75
0000KKA
Host Name:
--*Send:
lhcrew
--*Receive:
UIC:
--*Send:
My UIC
--*Receive:
Password:
--*Send:
My Password
After this the ppp-connection is started.
The exact script for dial-in in Germany under Windows is:
; Set the port settings so we can wait for
; non-gibberish text.
set port databits 7
set port parity even
transmit "+^M"
waitfor "Host Name:"
transmit "lhcrew^M"
waitfor "UIC:"
transmit $USERID, raw
transmit "^M"
waitfor "Password: "
transmit $PASSWORD, raw
transmit "^M"
waitfor "Connected to"
"raw" could be neglected. That's the information I got from the hotline.
Can anybody tell me how to write that script and where to put it? (etc/ppp?)
How to tell the system to work through that skript when establishing the
connection? Any help is appreciated!
Thanks!
I am using SuSE 8.0 and have a question concerning a specific dial-in with ISDN to UUNET. The
ppp-connection is not immediately started but a script has to be executed
before. This should be done with a chat-script.
Here a short description of the script
--*Receive:
CONNECT 64000/ISDN/X75
0000KKA
Host Name:
--*Send:
lhcrew
--*Receive:
UIC:
--*Send:
My UIC
--*Receive:
Password:
--*Send:
My Password
After this the ppp-connection is started.
The exact script for dial-in in Germany under Windows is:
; Set the port settings so we can wait for
; non-gibberish text.
set port databits 7
set port parity even
transmit "+^M"
waitfor "Host Name:"
transmit "lhcrew^M"
waitfor "UIC:"
transmit $USERID, raw
transmit "^M"
waitfor "Password: "
transmit $PASSWORD, raw
transmit "^M"
waitfor "Connected to"
"raw" could be neglected. That's the information I got from the hotline.
Can anybody tell me how to write that script and where to put it? (etc/ppp?)
How to tell the system to work through that skript when establishing the
connection? Any help is appreciated!
Thanks!
Agitate, Educate, Liberate !
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2002 01:31 PM
11-04-2002 01:31 PM
Re: Chat-script before ppp-connection
Hi,
I don't know anything about ISDN, but I hope you can find some ideas here to build you own configuration.
Here is my PPP architecture :
=> created "pppusers" group in /etc/group (as far as I remembre, SuSE creates it by default. May be also named "dialin").
=> set the following permissions to /usr/sbin/pppd :
-rwsr-xr-- root pppusers
chgrp pppusers /usr/sbin/pppd
chmod 4754 /usr/sbin/pppd
=> Created /etc/ppp/peers/ as follows :
ttyS0
115200
mru 552
mtu 552
noauth
user
connect "/usr/sbin/chat -v -T -f /etc/ppp/chatscript"
=> Added the following line in both /etc/ppp/pap-scripts and /etc/ppp/chap-scripts :
*
=> Created /etc/ppp/chatscript as follows :
ECHO OFF
REPORT CONNECT
ABORT 'ERROR'
ABORT 'BUSY'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'failed.'
'' ATZ
OK ATX3L0M0
OK ATDT\T
TIMEOUT 180
CONNECT ''
To connect to my ISP, I use :
/usr/sbin/pppd connect
Good luck.
Kodjo
I don't know anything about ISDN, but I hope you can find some ideas here to build you own configuration.
Here is my PPP architecture :
=> created "pppusers" group in /etc/group (as far as I remembre, SuSE creates it by default. May be also named "dialin").
=> set the following permissions to /usr/sbin/pppd :
-rwsr-xr-- root pppusers
chgrp pppusers /usr/sbin/pppd
chmod 4754 /usr/sbin/pppd
=> Created /etc/ppp/peers/
ttyS0
115200
mru 552
mtu 552
noauth
user
connect "/usr/sbin/chat -v -T
=> Added the following line in both /etc/ppp/pap-scripts and /etc/ppp/chap-scripts :
=> Created /etc/ppp/chatscript as follows :
ECHO OFF
REPORT CONNECT
ABORT 'ERROR'
ABORT 'BUSY'
ABORT 'NO CARRIER'
ABORT 'NO DIALTONE'
ABORT 'failed.'
'' ATZ
OK ATX3L0M0
OK ATDT\T
TIMEOUT 180
CONNECT ''
To connect to my ISP, I use :
/usr/sbin/pppd connect
Good luck.
Kodjo
Learn and explain...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP