LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Modem on port com 5. how to instal ? (https://www.linuxquestions.org/questions/linux-software-2/modem-on-port-com-5-how-to-instal-5242/)

Gianfranco 08-08-2001 06:52 PM

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

rolf 08-08-2001 08:57 PM

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.

isajera 08-08-2001 11:48 PM

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?

Gianfranco 08-09-2001 07:01 AM

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

rolf 08-09-2001 08:38 AM

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.

isajera 08-09-2001 04:20 PM

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.


All times are GMT -5. The time now is 05:55 PM.