LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2001, 06:52 PM   #1
Gianfranco
LQ Newbie
 
Registered: Aug 2001
Location: Sarnia Ontario
Posts: 10

Rep: Reputation: 0
Modem on port com 5. how to instal ?


I am running red hat 7.1
my modem is set to run on port com 5 by windows and I can't change it. Red Hat let me configure up to port com 4.... Anyone knows how to configure the modem on port com5 ? Is it possible ?
Thank you.
Gianfranco

Last edited by Gianfranco; 08-08-2001 at 06:54 PM.
 
Old 08-08-2001, 08:57 PM   #2
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 186

Rep: Reputation: 33
Hi,

There is a how-to at linuxnewbie.org:

http://www.linuxnewbie.org//nhf/inte...em-how-to.html

Should be a ttyS4 in your /dev directory. If not, see man mknod as I cannot guide you on that one. Mine looks like this:
[rolf@localhost rolf]$ ls -l /dev | grep ttyS4
lrwxrwxrwx 1 root root 10 Jul 14 21:22 cua1 -> /dev/ttyS4
lrwxrwxrwx 1 root root 10 Jul 6 22:37 modem -> /dev/ttyS4
crw-rw---- 1 rolf tty 4, 68 Aug 6 19:14 ttyS4

On another tack, I was able to change my modem from COM5 to COM2 in windows > device manager > com ports, or somewhere around there: it's been a while.

Good luck.
 
Old 08-08-2001, 11:48 PM   #3
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
is red hat failing to detect the modem, or can you just not get the installation to go above com4?

i had a brief problem when i was installing my new modem (also on com5) because the program i was using to install wouldn't go above com4. what installation prog are you using?
 
Old 08-09-2001, 07:01 AM   #4
Gianfranco
LQ Newbie
 
Registered: Aug 2001
Location: Sarnia Ontario
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your replies....
I was able to set up port com 5 but, now I can't get a dial tone.
this is what I get as message .

WvDial: Internet dialer version 1.41
Cannot open /dev/ttyS4: Input/output error
ERROR: Unable to initialize modem

DIALING FINISHED

the modem is a US Robotics 56K Fax PCI
do I need to install some drivers ? If so where do i find them ?
Thanks a lot.
Gianfranco
 
Old 08-09-2001, 08:38 AM   #5
rolf
Member
 
Registered: Jul 2001
Location: Oakland, CA
Distribution: Mageia 5 x86_64
Posts: 186

Rep: Reputation: 33
Hi,

I can just tell you what [mostly] works for my Actiontec PCI modem. As root:

# ln -s /dev/ttyS4 /dev/modem [links calls to modem to ttyS4]
# chmod 666 /dev/modem
# chmod 666 /dev/ttyS4 [gives all users access]

$ cat /proc/pci [find address, irq info]:

.....snip.......
Bus 0, device 11, function 0:
Communication controller: Lucent Microelectronics Venus Modem (V90, 56KFlex) (rev 0).
IRQ 10.
Master Capable. No bursts. Min Gnt=252.Max Lat=14.
Non-prefetchable 32 bit memory at 0xdd800000 [0xdd8000ff].
I/O at 0x9400 [0x94ff].
I/O at 0x9000 [0x90ff].
I/O at 0x8800 [0x8807].
.......snip.......

Take the first I/O and irq for your case and do:

# setserial /dev/modem uart 16550A port 0x9400 irq 10

If the analogous line works, you can put it at the end of /etc/rc.d/rc.local to have the modem set up at each boot.

Good luck.
 
Old 08-09-2001, 04:20 PM   #6
isajera
Senior Member
 
Registered: Jun 2001
Posts: 1,635

Rep: Reputation: 45
the first time you run wvdial, you need to run it as root. i'd try that first, and then if that doesn't work, try the setserial command rolf gave. also, make sure that wvdial is setuid root.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pc-card modem, which port? pirozzi Linux - Hardware 1 03-12-2005 11:02 AM
Modem and Com Port Carpinus Linux - Hardware 2 01-19-2005 09:30 PM
Which PORT is my modem associated with: Xstack Programming 9 01-10-2005 03:35 PM
internal modem port pirozzi Linux - Laptop and Netbook 1 11-04-2004 06:03 PM
on which port modem need to be configured? atitce51 Linux - Networking 1 03-09-2004 04:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration