Actiontec electronic 56K manual Setting Up and Using PPP Minimal Setup

Page 21

Setting Up and Using PPP (Minimal Setup)

This section explains one way to set up a PPP connection from the command line. It does not go into tools such as linuxconf or KPPP.

Step 1 The documentation for PPP comes with some sample dial-in scripts. They are located under /usr/doc/ppp-2.3.5/scripts. Copy ppp-on, ppp-on-dial and ppp-off into the /etc/ppp directory, which should have also been created when PPP was installed.

# cp /usr/doc/ppp-2.3.5/scripts/ppp-* /etc/ppp

This must be done at root. ppp-on-dialer is a script which calls the chat program, which communicates with the modem on making a connection.

Step 2 Open up ppp-on in a text editor and make the changes to the parameters at the top of the file. Also, at the bottom of the file, change /dev/ttyS0 to /dev/ttyS4 and 38400 to 115200. Save and close the file.

Step 3 Open up ppp-on-dialer in a text editor and change the setting after TIMEOUT (probably 30) to 60. If this script is to be accessible to other users besides root, change the line which reads:

exec chat -v

to include the path for the chat program (usually /usr/sbin/chat) as fol- lows:

exec /usr/sbin/chat -v

Then save and close the file.

Step 4 Open up /etc/ppp/options. Make sure there is a line that says “lock” in it. This prevents other processes from accessing the modem while it is in use. If it is not there, add it in and save and close the file.

Step 5 Set the permissions on the scripts to be executable by typing

# chmod +x ppp-o*

Since the password is stored unencrypted in ppp-on, it is a good idea to set permissions on that file to 711 (read/write/execute for owner and ex- ecute-only for everyone else), and change owner and group to root by typing (as root):

21

Image 21
Contents Page Table Of Contents Contacting Actiontec Customer Support Product Registration Safety InformationPage Package Contents Product FeaturesHardware Installation Installing the ModemSystem Preparation For Windows 95/98/NTRemoving the Backplate Page Device Driver Installation and Configuration Configuring WindowsConfiguring Windows 95 OSR2 Configuring Windows Configuring Windows NT Page Found V.90 PCI Data/Fax Modem Port FC00 IRQ# Configuring DOS and WindowsWindows Apmdmcfg enter Configuring OS/2 WarpDEVICE=C\OS2\MDOS\VCOM.SYS Configuring UnixWareConfiguring the Modem For Linux Verified for Red Hat 5.2 # mknod /dev/ttyS4 c 4 # mknod /dev/cua4 c 5 Setting up and using PPP Setting Up and Using PPP Minimal Setup Configuring And Using kppp Using the Gnome Dialer AppletSetting Up and Using The linuxconf Dialer Some General Tips Configuring Your Modem’s Country Code S38 Default 56K Dial Line Rate AT Commands Affecting ITU-T V.90 OperationExamples S109 default K56flex and V.90 SelectionNo dial tone error Help and Service InformationNothing appears on the screen when I type In terminal mode Communications software does not workCan’t Connect at 56K Rates Open COM Port Error Message in W indows 95/98/NTReconfiguring a Windows Dial-Up Networking Connection Declaration of Conformity FCC Part 68 Requirements Telecommunications RegulationsIndustry Canada Class B Emission Compliance Statement
Related manuals
Manual 33 pages 1.47 Kb