Solved

modem setting

Posted on 1997-12-05
3
239 Views
Last Modified: 2013-12-15
i use redhat 3.0.3 with kernel 2.0.30. how to set modem in com3 IRQ 5 in linux? usually com3 is IRQ4 but i want it to 5(i set the jumper  5). the device is cua2 which i believe right.
the reason is the my 33.6 modem is extremely slow(few characters per minute) in linux so terminal software(like minicom) and PPPd don't work. someone suggest it may be the wrong IRQ of modem in linux.
0
Comment
Question by:wini072297
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
XMS earned 50 total points
ID: 1630868
Basically, you must use the /bin/setserial command to specify your particular setting to the serial driver. This can be easily accomplished by taking the following steps :

1) Look up your /etc/rc.d directory for a script named rc.serial. If it does exist, rename it to something else.

2) Create a new rc.serial file as follows (2 lines) :

#!/bin/sh
/bin/setserial /dev/cua2 port 0x03e8 irq 5 uart 16550A spd_vhi

3) Make the file executable (chmod +x)

4) Run the file, watch for system messages. If you get any, add "skip_test" to the setserial command-line (see man setserial for an explaination)

5) Make sure that your /etc/rc.d/rc.sysinit contains a line to run /etc/rc.d/rc.serial

Good luck.

0
 
LVL 1

Expert Comment

by:XMS
ID: 1630869
Correction : At step 4, use the "skip_test" parameter if you get any _ERROR_ messages. :) Sorry.

0
 

Author Comment

by:wini072297
ID: 1630870
is setserial builtin command in linux? i don't think there is rc.serial file there in rc.d, so just create it anyway? someone said i should download a program called setserial from some site.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question