Solved

modem setting

Posted on 1997-12-05
3
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

749 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