HP t5515 Inside the t5515 Thin Client Linux: FAQs - Page 17
Reading Options from File, Variable, Description
View all HP t5515 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 17 highlights
Variable [speed] [options] Description Set the baud rate to (a decimal number). On systems such as 4.4BSD and NetBSD, any speed can be specified. Other systems (e.g. SunOS) allow only a limited set of speeds. Read options from file name (the format is described below). The file must be readable by the user who has invoked pppd. Reading Options from File 1. Create a script file that contains the necessary modem commands to configure your modem. 2. Edit or create the file: /etc/ppp/chat_options" vi chat_options 3. Enter the following into the chat_options file. ABORT "BUSY" ABORT "NO CARRIER" ECHO OFF SAY "\n\n\nDialing to ... \n""" AT OK ATDT CONNECT "" SAY "Connected!\nGetting login informations... \n\n\n" 4. Save and exit the chat_options file. 5. You need to make the script file executable, with the chmod command: chmod +x /etc/ppp/ chat-options 6. To configure the modem login with a default username and password edit the /etc/ppp/ options file vi options. 7. Add two lines with the following information: user domain\\my_username password my_password 8. Save and exit the options file. 9. Now execute the pppd daemon and chat script file from the command line. The following exam- ple is using the com port 1 set at 115200 baud: pppd /dev/ttyS0 115200 nodetach crtscts modem connect "/usr/sbin/chat -f /etc/ppp/chat_options" 17