Solved

modem setting

Posted on 1997-12-05
3
223 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
Comment Utility
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
Comment Utility
Correction : At step 4, use the "skip_test" parameter if you get any _ERROR_ messages. :) Sorry.

0
 

Author Comment

by:wini072297
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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…
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.

728 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now