?
Solved

modem setting

Posted on 1997-12-05
3
Medium Priority
?
244 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 200 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

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

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). …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 12 hours left to enroll

765 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