The faxmodem you've purchased is configured to work on a serial port referred to by the files /dev/ttySx/ (where x represents the available serial port; i.e., ttyS0 is equal to COM1).
First, install the modem hardware the following the instructions in the manual. Then, follow these Steps:
1. Determine the serial port you are going to use (ttyS0-ttyS3):
The following correspond to the default serial port settings on an IBM compatible computer.
ttyS0 COM1 address 0x3f8 irq 4
ttyS1 COM2 address 0x2f8 irq 3
ttyS2 COM3 address 0x3e8 irq 4
ttyS3 COM4 address 0x2e8 irq 3
2. Login as root and type the following:
cat /proc/pci
and press ENTER. The following is an example of a possible outcome:
Bus 0, device 20, function 0:
Unknown class: Lucent (ex-AT&T) Microelectronics
Unknown device (rev 0).
Vendor id=11c1. Device id=480.
Medium devsel. Fast back-to-back capable. IRQ 9
Master Capable. No bursts. Min Gnt=252. Max Lat=14.
Non=prefetchable 32 bit memory at 0x80100000
[0x80100000].
I/O at 0x7000 [0x7001].
I/O at 0x7400 [0x7401].
I/O at 0x7800 [0x7801].
3. Write down the first I/O range and the IRQ. In this case, the I/O address is 0x7000 and the IRQ is 9. Type the following:
setserial /dev/ttySx uart 16550A port 0x7000 irq 9.
(Where ttySx corresponds to the port you chose in Step 1)
4. To test your modem, use a communications program such as minicom, e.g., minicom -s -c on. Set the serial port to the ttySx you selected above, save settings, and try talking to the modem with an AT command. If the modem responds OK, your modem has been installed.
5. To have Linux automatically configure your modem at boot time, add the setserial line in Step 3 above to the /etc/rc.d/rc.local file.
6. If all four serial ports (ttyS0-ttyS3) on your machine are currently being used, you'll need to create a new port /ttySx device. To add a new device, follow Steps 7 and 8 below.
7. As Root, type
cd /dev
and press ENTER
8. Next, type
# ./MAKEDEV ttySx (ttyS4 and above)
where x is the serial port. This will create the appropriate files.
Note: There is no MAKEDEV in OpenLinux. In OpenLinux, the command would be as follows (as root):
mknod /dev/ttySx c 4 68
and press ENTER
Now folllow steps 1-5 to install the modem.
Note that on some Linux operating systems (e.g., Red Hat), support for more than four serial ports may require re-compiling the kernel. See /usr/doc/HOWTO/KERNEL-HOWTO.
First, install the modem hardware the following the instructions in the manual. Then, follow these Steps:
1. Determine the serial port you are going to use (ttyS0-ttyS3):
The following correspond to the default serial port settings on an IBM compatible computer.
ttyS0 COM1 address 0x3f8 irq 4
ttyS1 COM2 address 0x2f8 irq 3
ttyS2 COM3 address 0x3e8 irq 4
ttyS3 COM4 address 0x2e8 irq 3
2. Login as root and type the following:
cat /proc/pci
and press ENTER. The following is an example of a possible outcome:
Bus 0, device 20, function 0:
Unknown class: Lucent (ex-AT&T) Microelectronics
Unknown device (rev 0).
Vendor id=11c1. Device id=480.
Medium devsel. Fast back-to-back capable. IRQ 9
Master Capable. No bursts. Min Gnt=252. Max Lat=14.
Non=prefetchable 32 bit memory at 0x80100000
[0x80100000].
I/O at 0x7000 [0x7001].
I/O at 0x7400 [0x7401].
I/O at 0x7800 [0x7801].
3. Write down the first I/O range and the IRQ. In this case, the I/O address is 0x7000 and the IRQ is 9. Type the following:
setserial /dev/ttySx uart 16550A port 0x7000 irq 9.
(Where ttySx corresponds to the port you chose in Step 1)
4. To test your modem, use a communications program such as minicom, e.g., minicom -s -c on. Set the serial port to the ttySx you selected above, save settings, and try talking to the modem with an AT command. If the modem responds OK, your modem has been installed.
5. To have Linux automatically configure your modem at boot time, add the setserial line in Step 3 above to the /etc/rc.d/rc.local file.
6. If all four serial ports (ttyS0-ttyS3) on your machine are currently being used, you'll need to create a new port /ttySx device. To add a new device, follow Steps 7 and 8 below.
7. As Root, type
cd /dev
and press ENTER
8. Next, type
# ./MAKEDEV ttySx (ttyS4 and above)
where x is the serial port. This will create the appropriate files.
Note: There is no MAKEDEV in OpenLinux. In OpenLinux, the command would be as follows (as root):
mknod /dev/ttySx c 4 68
and press ENTER
Now folllow steps 1-5 to install the modem.
Note that on some Linux operating systems (e.g., Red Hat), support for more than four serial ports may require re-compiling the kernel. See /usr/doc/HOWTO/KERNEL-HOWTO.
Comments
0 comments
Please sign in to leave a comment.