LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-27-2003, 12:53 PM   #1
nonruste
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Modem Trauma


Scenario: Linux newbie is setting up a Windows-less computer with Suse 8.2. I've gotten everything working except for the modem & printer (haven't even attempted the printer yet).

I purchased a US Robotics 56K* V.92 Performance Pro Modem because they advertised support for Linux:

usr.com/products/home/home-product.asp?sku=USR5610B

I followed the advice of the author of the following page when my modem was not detected with Yast2:

webpronews.com/wpn-22-20030623SettingUpaLinuxModem.html

The command 'cat /proc/pci' listed my modem with hardware address & IRQ number. When I tried the setserial command I got an error of 'Address in use'. Though I could not get a peep out of my modem with 'echo "atdt5555555" > /dev/ttySX' (I've tried many ttySX including 'ttyS04' which is echoed across my monitor upon bootup with the hardware address of the modem.

I tried installing the RPM (usr.com/support/product-template.asp?prod=5610b) from US Robotics. That gave me a funky error. I didn't write it down, though tried to re-install the RPM to recreate error, but got an error stating that the RPM was already installed and I'm yet too ignorant to know how to resolve that.

Final lone attemp: I obtained an account with an ISP who supports Linux, got it setup on my windows machine fine, went through the steps to setup on my Linux machine, and didn't work....I was pretty sure it wouldn't because I can't even get a response from my modem, but I thought I would check to ensure my present failure. Ran Yast2 MANY times selecting different devices (/dev/modem, /dev/ttyS04, /dev/ttyS1.....) and testing and no dice.

Can anyone provide any assistance?
 
Old 08-27-2003, 02:38 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Make sure that plug-n-pray is disabled in your bios as it can screw up your settings.

Here is how I configured my modem (below modem links)

# Modem and connection troubleshooting
WinModems and Linux
Modem HOWTO
Modem NHFs
Troubleshooting ISP Connection Problems

# 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.

HTH
 
Old 08-27-2003, 05:04 PM   #3
KlutZ
Member
 
Registered: Jul 2003
Distribution: SuSE 9.1
Posts: 46

Rep: Reputation: 15
I'm having the exact same problems, with the exact same modem.

Link
 
Old 08-27-2003, 05:29 PM   #4
KlutZ
Member
 
Registered: Jul 2003
Distribution: SuSE 9.1
Posts: 46

Rep: Reputation: 15
I ran 'cat /proc/pci'. Here's the results:

Bus 0, device 11, function 0:
Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 1).
IRQ 5.
I/O at 0xc400 [0xc407].

As you can see, it's listed as a serial controller, not a communication controller like yours. Will that make a difference? Before I try anything else.
 
Old 08-27-2003, 05:45 PM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Try this command as root:

setserial /dev/ttyS0 irq 5 port 0xc400 uart 16550a

If you have wvdial installed, then do

wvdialconf /etc/wvdial.conf

The modem should be found and a config file written. Edit /etc/wvdial.conf with your phone no, username and password and save, then see if you connect by using the command

wvdial

Good luck
 
Old 08-27-2003, 06:51 PM   #6
KlutZ
Member
 
Registered: Jul 2003
Distribution: SuSE 9.1
Posts: 46

Rep: Reputation: 15
Quote:
setserial /dev/ttyS0 irq 5 port 0xc400 uart 16550a
I tried that and it said "command not found". As for wvdial, if it didn't come with mandake I didn't install it.
This has got me puzzled. With kppp. ttys4, ttys5 are not even an option. But, if I reconfigure my internet connection in Mandrake Control Center, I can set it to ttys4(?) and dial up.

Last edited by KlutZ; 08-27-2003 at 06:53 PM.
 
Old 08-27-2003, 07:41 PM   #7
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Command this:

urpmi setserial
urpmi wvdial

Now try again.
 
Old 08-27-2003, 09:00 PM   #8
KlutZ
Member
 
Registered: Jul 2003
Distribution: SuSE 9.1
Posts: 46

Rep: Reputation: 15
Ahhh!

Now that seems to have done the trick. Thanks fancypiper.
 
Old 09-24-2003, 12:03 PM   #9
nonruste
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Unhappy Still not working

I intially went through this thread and tried everything to no avail. I installed Windows 98 just to see if I had everything setup correctly on the new PC. I got connected to the internet in about 5 minutes.

I formatted my HD and went back at it with SuSE 8.2. This time the setserial command worked. I still could not get connected to the internet, but there is now a difference. When trying to connect, I get a faint clicking noise (series of clicks) from the modem and then nothing.

Any other suggestions?
 
Old 10-03-2003, 02:35 AM   #10
nonruste
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Got fed up

Finally scrapped the idea of getting SuSE 8.2 to work, so I downloaded and installed RH 8.0 and modem took off right away and now I'm surfin on a linux box.

Sionara SuSE.
 
Old 03-08-2004, 07:14 PM   #11
Trainer
LQ Newbie
 
Registered: Mar 2004
Distribution: Suse 8.2
Posts: 5

Rep: Reputation: 0
I have the exact same modem with suse 8.2

Yast could not find my modem. However, the command line wvdialconf /etc/wvdial.conf was able to find my modem.

I then edited /etc/wvdial.conf with pico as suggested but the connection may not work. I pinged 198.182.196.56 but it would not work.

It is a DNS error but I don't know how to edit the /etc/resolv.conf file.
 
Old 03-11-2004, 09:06 AM   #12
Trainer
LQ Newbie
 
Registered: Mar 2004
Distribution: Suse 8.2
Posts: 5

Rep: Reputation: 0
#!/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"

I have copied this script with the pico editor and saved it as /etc/rc.d/rc.local except I change the setserial commands for my own modem.

It still will not load on boot up and I have to setup my modem each time.
Should I be typing this script verbatim?
 
  


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
modem driver for Internal 56Kbps V.92 Data/Fax/Voice Modem sumathi Linux - Hardware 1 08-05-2005 05:12 AM
SUSE 9.2 detect my [B]ADSL USB-Ethernet Modem-Router [/B] as a [B]Dial up modem[/B]. myprecius Linux - Hardware 0 06-27-2005 10:21 AM
Mandrake Wireless trauma Kellwolf Mandriva 2 02-15-2005 12:03 AM
USR 56k ext modem in RH9/Gnome - finds wrong modem . . . . emuub Linux - Networking 1 10-22-2003 03:01 PM
Digital Camera Trauma jeffkjo Linux - Hardware 4 07-27-2003 05:21 PM

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

All times are GMT -5. The time now is 08:39 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
Open Source Consulting | Domain Registration