The following procedures have been tested with Red Hat Linux 6.1 and 6.2 but should work with all modern Linux distributions.
The following procedures also assume that you have minicom installed. To determine if minicom is installed, go to a console screen and issue the command
rpm -qa | more
. If you scroll through the list and see no mention of minicom, then check your Linux installation instructions, or visit your distributor's Web site and do a keyword search for
minicom
.
Please note that Linux commands are case and space sensitive!
1.
Log in as
root
.
2.
If Linux comes up with a graphicial user interface (GUI), switch to a console by pressing Ctrl-Alt-F1 through F6. Ctrl-Alt-F7 is always in Xwindows (the GUI).
3.
Linux must have PCMCIA service installed. The default Red Hat installation installs the service.
4.
The PCMCIA modem is hot swappable, meaning you can insert and remove the modem while the system is on. The system will beep twice after the PC Card modem is inserted.
5.
Type
dmesg
(must be in lower case) and look at the last line of the output. It will show you the COMport the modem is on. It will also give you the tty0# for Linux as well as the hex number and the irq the modem is using.
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
6.
At the console prompt, type
minicom -s
, or, if you want to see display in color, type
minicom -s -c on
.
7.
You will then get a [configuration menu]. Arrow down to Serial port setup and press Enter.
8.
Look at line A. This will allow you to assign the modem to the correct COMport.
For example: If the modem is installed on COM2 and line A does not read /dev/ttyS1, press A and edit the line to make it read correctly. If Step 5 reports anything different than ttyS1, make certain to change the line to reflect the correct COMport as listed above (being careful on case, as the S is upper case and the rest is lower case.)
9.
Press Esc after you make any necessary changes on line A -- this will bring you back to the [configuration menu]
10.
Arrow down to Save Setup as dfl and press Enter. You will get a Configuration Saved message -- this will bring you back to the [configuration menu].
11.
Arrow down to Exit and press Enter. If you have set up the modem correctly, it should now say initializing modem and bring up some AT commands. If you would like to prove that the modem dials internally, you can try this after you get the AT commands: type ATX3DT123456 [Enter]. If you hear the modem dialing without the telephone line, the modem setup is finished and you can continue to the next step.
12.
If the modem doesn't initialize, press [CTRL A] then X to exit minicom. Then, you have to go back to step 5 and try again.
The following procedures also assume that you have minicom installed. To determine if minicom is installed, go to a console screen and issue the command
rpm -qa | more
. If you scroll through the list and see no mention of minicom, then check your Linux installation instructions, or visit your distributor's Web site and do a keyword search for
minicom
.
Please note that Linux commands are case and space sensitive!
1.
Log in as
root
.
2.
If Linux comes up with a graphicial user interface (GUI), switch to a console by pressing Ctrl-Alt-F1 through F6. Ctrl-Alt-F7 is always in Xwindows (the GUI).
3.
Linux must have PCMCIA service installed. The default Red Hat installation installs the service.
4.
The PCMCIA modem is hot swappable, meaning you can insert and remove the modem while the system is on. The system will beep twice after the PC Card modem is inserted.
5.
Type
dmesg
(must be in lower case) and look at the last line of the output. It will show you the COMport the modem is on. It will also give you the tty0# for Linux as well as the hex number and the irq the modem is using.
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
6.
At the console prompt, type
minicom -s
, or, if you want to see display in color, type
minicom -s -c on
.
7.
You will then get a [configuration menu]. Arrow down to Serial port setup and press Enter.
8.
Look at line A. This will allow you to assign the modem to the correct COMport.
For example: If the modem is installed on COM2 and line A does not read /dev/ttyS1, press A and edit the line to make it read correctly. If Step 5 reports anything different than ttyS1, make certain to change the line to reflect the correct COMport as listed above (being careful on case, as the S is upper case and the rest is lower case.)
9.
Press Esc after you make any necessary changes on line A -- this will bring you back to the [configuration menu]
10.
Arrow down to Save Setup as dfl and press Enter. You will get a Configuration Saved message -- this will bring you back to the [configuration menu].
11.
Arrow down to Exit and press Enter. If you have set up the modem correctly, it should now say initializing modem and bring up some AT commands. If you would like to prove that the modem dials internally, you can try this after you get the AT commands: type ATX3DT123456 [Enter]. If you hear the modem dialing without the telephone line, the modem setup is finished and you can continue to the next step.
12.
If the modem doesn't initialize, press [CTRL A] then X to exit minicom. Then, you have to go back to step 5 and try again.
Comments
0 comments
Please sign in to leave a comment.