[ Pobierz całość w formacie PDF ]
.When you finish, press Enter to return to theserial setup dialog box. 13 526-2 CH09 8/26/99 10:45 AM Page 206206 Hour 9FIGURE 9.6Set a new serial portspeed for your modemby pressing a letter.Press the Enter key, select Save setup as dfl, and press the Enter key again, followed bythe Escape key.Your system defaults should be set.You can then try to call out with thefollowing (substituting the correct phone number for XXX-XXXX):ATDTXXX-XXXXThis command uses the modem s AT command, DT, to dial out using a dial tone (for a fulllist of your modem s commands, consult your modem s manual).After you press Enter,your modem dials the phone number.To exit the program, press Ctrl+A, press X, andthen press Enter.If you have a number of phone numbers of other computers to call, you can enter them inminicom s phone directory.You can also set up minicom to send or retrieve files usingdifferent file transfer programs.For details about these and other features, read theminicom manual page.You can also find documentation under the /usr/doc/minicomdirectory, which contains extensive details of using other features of this program.Setting Up and Calling Out with the seyon X11 ClientThe seyon communications program, by Muhammad M.Saggaf, runs only under the XWindow System and has an extensive list of features.Although seyon is not as simple orinitially friendly as minicom, it does have the following:Built-in helpA built-in telecommunications scripting language to automate calling up and log-ging in to other computer systemsA built-in text editor for writing telecommunications scripts 13 526-2 CH09 8/26/99 10:45 AM Page 207Using Communications Programs 207A command-line shell dialog box for running commands, which displays output inthe main communication windowButtons to set up modem speed, parity, and stop bitsIf you created a symbolic link to /dev/modem, the seyon program automatically recog-nizes and works with your modem.All you have to do to call out and connect withanother computer is to type your AT command string with the phone number to dial outand connect.9If you need to tell the seyon client the specific device for your modem, click on the Setbutton in the seyon Command Center window (which appears automatically when youstart the client) to bring up the Settings window.Click on the Port button in the Settingswindow, and type in the name of the device, /dev/cua1 for example, in the Values?window.Figure 9.7 shows seyon and its settings windows.Main seyon window Main seyon controlsFIGURE 9.7The X11 client, seyon,has point-and-clickconvenience formodem setup.Help window Baud rate Communicationsettings settingsClick on the OK button, and click on the Close button of the Settings window.If youwant to start the seyon program with a default modem speed, number of bits, or parity,edit the file $HOME/.seyon/.This directory is installed automatically when you install theseyon program.You can make changes to the following lines in the startup file: 13 526-2 CH09 8/26/99 10:45 AM Page 208208 Hour 9.# set baudset baud 19200# can be 5, 6, 7, or 8# set bits 8set bits 8# can be 0 (= no parity), 1 (= odd parity), or 2 (= even parity)# set parity 0set parity 0# can be 1 or 2# set stopBits 1set stopBits 1.If you need help when using the seyon program, you can click on the Help button in theseyon Command Center window.A window pops up with the seyon manual page, andyou can scroll through the text for help (the help screen is shown in Figure 9.7).Setting Up Your Linux System for Dialing InYou can also set up your OpenLinux system so that your computer s modem answers thephone and enables you to log in.You can then run a bulletin board system (BBS), wordprocessors, and spreadsheet programs.You can even dial out on another line if you haveat least two modems connected to your computer and two phone lines in your home.Most of the details and custom configurations are in the Serial-HOWTO under the/usr/doc/HOWTO and /usr/doc/getty_ps directories, but the three basic steps outlinedhere should work for nearly any modem.Setting up your OpenLinux system to accept incoming calls involves editingthe /etc/inittab file and can potentially hang your system if you make anerror.Always have a backup boot disk handy, and make a copy of the/etc/inittab file before you make changes.First, log in as the root operator, and run minicom [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • higrostat.htw.pl
  •