Configuring Windows NT 4.0 Dial-Up Networking
Configuring BackOffice Small Business Server Fax Service
Configuring Windows 2000 Dial-Up Networking
Configuring Windows 2000 Incoming Connections
NOTES:
1. Make sure the networking components of Windows NT 4.0 are installed before configuring Remote Access.
2. For dual-modem installations, the process should be repeated for each modem.
NOTE: You must install the Fax Service before proceeding. See your operating system documentation for instructions.
NOTE: You must install the Windows 2000 Networking Components before configuring Remote Access Services.
NOTES:
1. A ppp package (such as ppp-2.3.5-1.i386.rpm) must be installed. One can be found on the installation CD or at ftp://ftp.redhat.com.
2. The kernel must have TCP/IP support enabled.
The documentation for PPP comes with some sample dial-in scripts. They are located under /usr/doc/ppp-X.Y.Z/scripts (where X.Y.Z represents the version of PPP installed on the system).
As root, copy ppp-on, ppp-on-dialer and ppp-off into the /etc/ppp directory by typing:
# cp /usr/doc/ppp-X.Y.Z/scripts/ppp-* /etc/ppp
Change to the /etc/ppp directory. Open ppp-on in a text editor and set the parameters at the top of the file to your specific information. At the bottom of the file, change /dev/ttyS0 to /dev/ttySX (where X is the port on which the modem is installed) and the port rate from 38400 to 115200. Save and close the file.
Open ppp-on-dialer and change the setting for both occurences of TIMEOUT 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 follows:
exec /usr/sbin/chat -v
Save and close ppp-on-dialer.
Open /etc/ppp/options. If a line with the text "lock" is not found, add one. The lock command prevents multiple applications from communicating directly with the modem. Save and closer the file, if you have made any changes.
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 (rwx for owner and x for everyone else), and change owner and group to root by typing (as root):
# chmod 711 ppp-on
# chown root ppp-on
# chgrp root ppp-on
Open the /etc/resolv.conf file. Enter the address(es) of your ISP's Domain Name Servers, in the format (for each server):
nameserver <address>
To test the connection:
1. Run /etc/ppp/ppp-on. The prompt should return, and the modem should start dialing after a few moments.
2. Run ifconfig. You should see a listing for ppp0 if the connection was successful.
3. To disconnect, run /etc/ppp/ppp-off
If the configuration works, you can make a symbolic link to your ppp-on and ppp-off scripts by typing:
# ln -s /etc/ppp/ppp-on /usr/bin/ppp-on
# ln -s /etc/ppp/ppp-off /usr/bin/ppp-off
NOTE: GNOME and Xfree86 must be installed and configured prior to configuring the Gnome Dialer.
The GNOME dialer applet uses the /etc/ppp/ppp-on script to connect and the /etc/ppp/ppp-off script to disconnect. Be sure those are set up as shown in the previous section before using the dialer applet.
Start the applet by right-clicking on the panel and select the Add Applet menu. The dialer applet
should be in the Networking sub-menu.
To connect, click [Play/Pause].
To disconnect, click [Stop].
NOTE: The kppp package must be installed prior to this procedure. The file can either be obtained as part of the kde-applications package or from kdenetwork-ppp-*.rpm
Open kppp from the KDE menu. It may be located in Internet subfolder.
When kppp starts up, click the [Setup] button.
Click on the Device tab, and verify that the modem device refers to /dev/modem. Set the connection speed to 115200.
Go to the Modem tab. Click on Modem Commands and change the last setting under Volume to M1L3. Click [OK].
To test the configuration of the modem, click Query Modem. The modem's ATI strings should appear.
In the kppp configuration window, go to the Accounts tab and click New. Enter connection information for your ISP.
NOTE: the "Save Password" option will save your password in a plaintext file.
Close the kppp configuration window. In the kppp main window, enter your username and password. Click [Connect] to dial.
When the modem connects, the dialer window will minimize itself. To disconnect, restore the dialer window and click [Disconnect].
NOTE: Red Hat®'s linuxconf utility can only be run by root a superuser.
Start up linuxconf by typing linuxconf at the prompt.
The menu item for PPP is in Config > Networking > Client Tasks. Select it and click [Add]. Choose PPP and click [Accept].
Enter the ISP's phone number, your user name and password.
NOTE: if you enter a password, it will be stored as a plaintext file.
Click [Accept] to save the new record.
To dial, select the connection from the list of connections. A new Interface tab will appear. If you did not enter your password when setting up your connection, go to the Communication tab and enter the password. click Cancel to exit the dialer if you do not want your password to be saved.
To disconnect, go to the PPP/SLIP/PLIP menu item, select your connection and click [Disconnect].