LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-03-2003, 02:17 AM   #1
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
Modem quit working in Redhat 8.0


All of a sudden it won't initiate. I use modem lights in gnome, which just uses the ifup ppp0, ifdown ppp0 I think. At first modem lights just turned yellow like it was dialing, however the modem never initiated. Now it does nothing. If I do ifup ppp0 from command line it just sits there. Pretty much a newbie so be gentle.
 
Old 01-03-2003, 02:28 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Re: Modem quit working in Redhat 8.0

Quote:
Originally posted by Glock Shooter
All of a sudden it won't initiate. I use modem lights in gnome, which just uses the ifup ppp0, ifdown ppp0 I think. At first modem lights just turned yellow like it was dialing, however the modem never initiated. Now it does nothing. If I do ifup ppp0 from command line it just sits there.
Check your dev link. That is, go into your /dev directory and see that the link for /dev/modem points to the correct /dev/ttyS? (where "?" is a number, 0 for COM1, 1 for COM2,...)

Then see if you can actually dial out using the modem, open a term and run "minicom". Do a "ATDT 555-1212" and listen for the dialing.

Try it in Windows (I'm a sucker for a simple solution).

If it works in any of these tests, then it's a config problem and then we have to do some admin work.

Let us know what you find out.


Quote:
Pretty much a newbie so be gentle.
It's not us, it's those pesky Moderators that are too rough.


John
 
Old 01-03-2003, 02:36 AM   #3
moeminhtun
Member
 
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
 
Old 01-03-2003, 02:56 AM   #4
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
okay......

I did
staterial /dev/cau1 and it returned 1 where appropriate so the modem is on ttyS1. That is strange because I know it was ttyS2 before.
/dev/modem points to ttyS1 which is where the modem is. I checked the settings of the modem, tried both ttyS1 and ttyS2 and got nothing. And minicom did dial out succesfully. So now what?

Last edited by Glock Shooter; 01-03-2003 at 02:59 AM.
 
Old 01-03-2003, 03:22 AM   #5
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
I guess I better throw in this bit of info to see if it helps. Kudzu is always telling me either it found my modem or it was removed. I always ignore it and it has never caused any problems. I tried ifup ppp0 and it says
"failed to activate ppp0 with error 5"

I tried searching on google but to no avail.
 
Old 01-03-2003, 04:27 AM   #6
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
Have you tried reinitiating wvdial as root:

cp /etc/wvdial.conf /etc/wvdial.conf.bak &&
wvdialconf /etc/wvdial.conf

?
Bert
 
Old 01-03-2003, 07:29 AM   #7
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by Glock Shooter
I guess I better throw in this bit of info to see if it helps. Kudzu is always telling me either it found my modem or it was removed. I always ignore it and it has never caused any problems. I tried ifup ppp0 and it says
"failed to activate ppp0 with error 5"

I tried searching on google but to no avail.
Error 5 is an input/output error and you got SIGHUP'ed (hungup on, not as in the phone, but the SIGnal).

http://www.google.com/linux?q=ppp0+%...&start=30&sa=N


According to this guy it's a failure to communicate with the serial port.

http://web.gnu.walfield.org/mail-arc...-May/0044.html


What does your /var/log/localmessages (and dmesg & messages) have to say?


And according to this guy, you don't need pppd anyways.

http://linux.umbc.edu/lug-mailing-li.../msg00393.html


Try connecting as root, and if that works, resetup your modem.


John
 
Old 01-03-2003, 08:05 PM   #8
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
I was only able to dial out once with minicom, now it won't intialize the modem. Seems like this is going from bad to worse.
 
Old 01-04-2003, 11:46 AM   #9
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by Glock Shooter
I was only able to dial out once with minicom, now it won't intialize the modem. Seems like this is going from bad to worse.
Okay, so it looks like it's a modem problem. Do you have a spare one that you can try out?

Before you do that, try swapping it back to the original interrupt. But I would probably start pricing a good USR unit.


John
 
Old 01-04-2003, 12:45 PM   #10
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
but the modem works in windows.....
 
Old 01-06-2003, 11:33 AM   #11
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by Glock Shooter
but the modem works in windows.....
Oh, somehow I missed that detail

Did you try it on both COM1 (INT4), and COM2 (INT3) (don't forget the proper I/O ranges, 3F8 for COM1, 2F8 for COM2).

Don't forget about any board jumpers...

And did you try out bert's suggestion?


What does Windows show it as, and what is the make & model of the modem?


John
 
Old 01-06-2003, 12:25 PM   #12
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
okay....I have it working in minicom now everytime. The modem is on ttyS2, IRQ 7, and it is COM3 and IRQ 7 in windows. I think I have it narrowed down to my wvdial.conf. Here are the contents if anyone sees anything screwy:

[Modem0]
Modem = /dev/ttyS2
Baud = 57600
SetVolume = 4
Dial Command = ATDT
Init1 = ATZ
FlowControl = CRTSCTS
[Dialer WsHost]
Username = yeah
Password = right
Phone = 555-1212
Stupid Mode = 1
Inherits = Modem0

If I try to reinitate wvdial.conf like Bert said, it does not communicate with the modem.
Both windows and Linux detect is as a USR 56k Voice INT PnP.
Looks like it is a USR3070, ISA card.
 
Old 01-06-2003, 03:35 PM   #13
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
okay, problem fixed. It turns out that somehow the otherday when I was in the BIOS, my parrallel port was set to IRQ 7, the same as my modem. Well, I don't even use my parrallel port so I just disable dit and everything was fine. I also foind a pretty good howto on modems http://new.linuxnow.com/docs/content...dem-HOWTO.html

evem though it didn't directly solve the problem it had a lot of good info.

And thanks for all of your info.
 
Old 01-06-2003, 11:04 PM   #14
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Quote:
Originally posted by Glock Shooter
okay, problem fixed. It turns out that somehow the otherday when I was in the BIOS, my parrallel port was set to IRQ 7, the same as my modem. Well, I don't even use my parrallel port so I just disable dit and everything was fine. I also foind a pretty good howto on modems http://new.linuxnow.com/docs/content...dem-HOWTO.html

evem though it didn't directly solve the problem it had a lot of good info.

And thanks for all of your info.
Heh. The Bios, I didn't think of that... Sheesh...

You really should keep COM1 on INT4, and COM2 on INT3. It only matters if some poorly written software looks for the IRQ's there (for example some old sound card programs wanted the sound card to be on INT5).

But if it works, don't fix it...


John
 
Old 01-14-2003, 02:30 AM   #15
Xstack
Member
 
Registered: Jan 2003
Location: NZ
Distribution: RedHat 8
Posts: 44

Rep: Reputation: 15
Quote:
Originally posted by rootboy
Heh. The Bios, I didn't think of that... Sheesh...

You really should keep COM1 on INT4, and COM2 on INT3. It only matters if some poorly written software looks for the IRQ's there (for example some old sound card programs wanted the sound card to be on INT5).

But if it works, don't fix it...


John

Topic caught my eye as similar to one I am having. Special driver
got my Linmodem to work briefly with noise and all but then the
same prob as Glock Shooter on next root-login = Modem Lights
or X-netcfg "activate" seem to think they have done the connect
job but have not, and soundlessly. minicom says "OK" to AT
strings, but when ph-number added returns "NO CARRIER".
Because this a soft-Modem on ttySHSF0 the advice is that this is
not a normal port nor IRQ mixup. I would give it away at once,
of course, except for that brief hiccupless success immediately
after the install. Any clues for next test ?



Xstack
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
azureus quit working spotslayer Linux - Software 0 07-31-2004 02:05 PM
Gnome quit working... TheMusicGuy Linux - Software 1 06-06-2004 12:30 AM
my printer quit working? shanenin Linux - Hardware 3 12-21-2003 02:23 PM
modem quit working gemsem Linux - Hardware 1 04-07-2003 11:33 PM
xmms quit working fstreed Linux - General 8 01-13-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:28 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