LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-01-2003, 11:01 PM   #1
Typhonian
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Rep: Reputation: 0
Hardware Modem


Can anyone suggest a good internal Hardware Modem that will work with Mandrake 9.0?
Thanks.
 
Old 09-01-2003, 11:05 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Any hardware modem should work if you install setserial that is not installed by default.

# Configuring a real hardware pci modem
To configure a pci modem, open an x terminal and su - to the root account:
Code:
[fancy@tinwhistle fancy]$ su -
Password: 
[root@tinwhistle root]# cat /proc/pci
Look for your modem in the returned list. Look for something similar to mine:
Code:
  Bus  2, device   2, function  0:
    Communication controller: PCI device 151f:0000 (TOPIC SEMICONDUCTOR Corp) (rev 0).
      IRQ 5.
      I/O at 0xc400 [0xc407].
With this info, I use the setserial command:
Code:
[root@tinwhistle root]# setserial /dev/ttyS0 irq 5 port 0xc400 uart 16550a
Then I test the modem with the internet connection wizard and it works. I edit /etc/rc.d/rc.local and enter the setserial command:
Code:
[root@tinwhistle root]# pico -w /etc/rc.d/rc.local
My file for an example
Code:
#!/bin/sh
# Redhat /etc/rc.d/rc.local file
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local
# configure modem
setserial /dev/ttyS0 irq 5 port 0xc400 uart 16550a
Now, it remains configured after a reboot.

# Mandrake links
Mandrake home page
Mandrake Users website
Easy urpmi config for Mandrake
urpmi mini-HOWTO
Easy software management: Red Carpet
Maximum RPM
rpmfind
You didn't install the developmental packages? As root, command:
urpmi gcc
An Introduction to the Midnight Commander. You can install it by commanding:
urpmi mc
Midnight Commander home page
 
Old 09-01-2003, 11:33 PM   #3
Typhonian
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
I have a U.S. Robotics PCI Modem (USR5695), but I havenít been able to get it working with what Iíve done so far. Could you please look at what Iíve done and let me know if it looks like Iíve messed anything up yet?
Is it still possible to get this thing working?
Problem im getting is, after I add my setserial information into the rc.local file, I type ./dev/rc.d/rc.local and keep getting the message /dev/modem: No such file or directory.
When I initially tried to install my modem this is exactly what I did.
1. rm Ėf /dev/modem
2. ln Ės /dev/ttyS1 /dev/modem
3. vi /etc/rc.d/rc.local, and edited my rc.local file adding the following line:
setserial /dev/modem uart 16550A port 0xblah irq 11
4. I type ./etc/rc.d/rc.local, and I get the message /dev/modem: No such file or directory.
Also Iíve tried switching the dev to ttyS0,ttS2 and ttyS3, as well as changing the rc.local setserial line from:
setserial /dev/modem uart 16550A port 0xblah irq 11
to
setserial /dev/ttyS1 uart 16550A port 0xblah irq 11
The output error is slightly different now saying:
/dev/ttyS1: No such file or directory.
Should I rearrange the port and the irq in my setserial line above to match yours, do you think?

On a last note. I do have a driver I downloaded for my modem (I hope).
I have installed it but I have no idea where it went. Is there a certain place I should install my modem driver? Or should I just go to my driver .rpm file and just open it right where it's at (which is currently in my downloads file).
Sorry for typing a book here, but I want to make sure you have all the information.
In case you may be able to help.
Thank you =0)
 
Old 09-01-2003, 11:40 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Hmm... you did the ln Ės /dev/ttyS1 /dev/modem and got no errors?

Post the modem part of the output of /cat/proc/pci
 
Old 09-01-2003, 11:45 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Maybe I spotted the trouble:
Quote:
setserial /dev/modem uart 16550A port 0xblah irq 11
You should have gotten an error, I think. try setserial /dev/ttyS0 or any other unused ttyS<N>, then make the symbolic link for /dev/modem that points to the real device

You could use the actual /dev/ttyS<N> that you used rather than /dev/modem in the connection config.
 
Old 09-02-2003, 12:17 AM   #6
Typhonian
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you for taking the time to help =0)
Heres the information from cat /proc/pci
Bus 0, device 9, function 0:
Communication controller: US Robotics/3Com USR 56K Internal WinModem (rev 0).
IRQ 10.
Prefetchable 32 bit memory at 0xe0004800 [0xe000483f].
Prefetchable 32 bit memory at 0xe0010000 [0xe001ffff].
Prefetchable 32 bit memory at 0xe0008000 [0xe000ffff].
I/O at 0x1040 [0x107f].

Iím trying the switch you suggested right nowÖ
Sorry if it takes a few minutes to respond.
Iím running back and forth between two computers.

Last edited by Typhonian; 09-02-2003 at 12:22 AM.
 
Old 09-02-2003, 12:34 AM   #8
Typhonian
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Will do.
Thank you, thank you my fine fellow, heh ;o)
 
Old 09-02-2003, 12:36 AM   #9
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Google hits for search USR5695 linux driver
 
Old 09-02-2003, 12:43 AM   #10
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
I found it, I think

Linmodem HOWTO Specific Chipsets and Their Drivers

Scroll down to 5.7 3Com
 
Old 09-02-2003, 02:02 AM   #11
Typhonian
LQ Newbie
 
Registered: Apr 2003
Posts: 12

Original Poster
Rep: Reputation: 0
Oh my
This is way above and beyond the call of duty.
Iíve never had anyone actually help me look for information before.
I hope you know I really appreciate your time and effort.
Iím reading all your recommended sites so your efforts are not going to waste.
Iíll let you know if something happens.
Unless the computer explodesÖ
 
  


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
hardware internal modem obstinatesod Linux - Hardware 1 04-20-2005 12:52 PM
Modem Pool Hardware jardun Linux - Hardware 1 10-12-2004 05:46 AM
Is a INTEL 56K V.90\92 Hardware-Based Modem a TRUE hardware modem? ElijahLofgren Linux - Hardware 2 01-27-2004 07:06 PM
hardware modem dinesh_285 Linux - Hardware 1 01-27-2004 06:09 PM
Hardware modem that_girl Linux - Hardware 5 03-22-2002 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:21 AM.

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
Open Source Consulting | Domain Registration