|
Ezine InformationSetting Up a Unix Modem
by:
Stephen Bucaro
---------------------------------------------------------- Permission is granted for the below article to forward, reprint, distribute, use for ezine, newsletter, website, offer as free bonus or part of a product for sale as long as no changes are ready-made and the byline, copyright, and the resource box below is included. ---------------------------------------------------------- Setting Up a Unix Modem
By Author Bucaro
Almost all modems factory-made
now are software system modems, usually referred to as "winmodems". Even as although we pay a lot for a winmodem, they are cheap to manufacture because they use really little electronics. The functions that should be performed in hardware are emulated by software. This places an extra process
burden on your computer's CPU. Winmodems wish not activity with Unix unless you can locate a special "Linmodem" driver.
A hardware electronic equipment
contains its own on-board controller and DSP circuits. This takes a major process
load off your computer's CPU. A hardware electronic equipment
wish do your dial-up connection activity more faster. Hardware modems are difficult to find and really expensive. Hardware modems wish activity with Linux.
Some hardware modems acknowledged to activity with Linux:
Zoom 2920 Fax Electronic equipment
56K PCI $76.00 Actiontec PCI56012-01CW 56K Voice Faxmodem PCI $75.00 ActionTec PCIV921201CW Call Waiting Internal V.90/V.92 Electronic equipment
$59.99
On rare occasions Unix wish locate and assemble your modem during installation, but most likely you wish have to assemble it manually. If your computer is plug-and-play (PnP) compatible, the BIOS should observe the electronic equipment
on power-up and apportion resources to it. To determine which resources were allocated to the modem, log in as root and click on the "Terminal emulation program" button on the task bar. In the terminal window that appears, type the following command:
cat /proc/pci
In the screen output that results, locate the entry for your modem. Below is a possible example:
Bus 0, device 9, function 0: Unknown class: Aglow (ex-AT&T) Microelectronics Unknown device (rev 0). Vendor id=11c1. Device id=480. Medium devsel. Fast back-to-back capable. IRQ 11 Master Capable. No bursts. Min Gnt=252. Max Lat=14 Non-prefetchable 32 bit memory at 0x80100000 [0x8010000]. I/O at 0xdc00 [0xdc01] I/O at 0xe000[0xe001] I/O at 0xe400[0xe401]
Record the IRQ number and the 1st I/O address.
Linux uses a device file to communicate with a modem. Device files are placed in the /dev directory. A modem must use one of the serial ports (/dev/ttyS0 - /dev/ttyS3). First determine which serial port to use for the modem. You should use ttyS1 because ttyS0 is normally allotted to a back panel connector.
To assemble the serial port, use the setserial command with the information that you recorded above. Exploitation the example values above, you would-be type the following into the terminal window:
setserial /dev/ttyS1 uart 16550A port 0xdc00 irq 11
You can verify that the electronic equipment
is working by causing it the command to dial. For example type the following into the terminal window:
echo "atdt5555555" > /dev/ttyS1
If you hear the electronic equipment
dial, close the connection by typing:
echo "atz" > /dev/ttyS1
If you didn't hear the electronic equipment
dial, do sure you have the modem speaker turned on by typing:
echo "atv" > /dev/ttyS1
Then try dialing again.
To have Unix mechanically
assemble your electronic equipment
at boot time, add the setserial line that you used above to the file /etc/rc.d/rc.local
Assuming that you are exploitation the GNOME window manager, click on the "foot" icon on the taskbar to open the menu. Select "Programs" and open the "File Manager". In File Manager, navigate to the directory /etc/rc.d and right-click on the file rc.local. Choice "Open with..." in the popup menu. In the "gmc" dialog box, choice "gnotepad+" and click on the "OK" button. At the bottom of the file, type the setserial command line and then save the file.
For complete information just about modems related to Linux, visit "Winmodems are not Modems" at:
http://www.idir.net/~gromitkc/winmodem.html
Sometimes configuring a electronic equipment
is not as easy in Unix as it is in Windows, but the alternative is to continue to use Windows and beg for Bill Gates permission to upgrade your hardware (XP product activation). ---------------------------------------------------------- Resource Box: Copyright(C)2002 Bucaro TecHelp. To discover how to maintain your computer and use it more effectively to design a Web site and do money on the Web visit http://bucarotechelp.com To subscribe to Bucaro TecHelp News-sheet Send a blank email to bucarotechelp-subscribe@topica.com ----------------------------------------------------------
| |