Click to See Complete Forum and Search --> : modem problem?


PhilBill
10-19-2004, 04:06 PM
I'm using Fedora 2 on a gateway pentium III with an external US robotics 56K fax modem (model#5686)

I know the following:

1. the modem works since I use it on my dell with Win XP

2. dmesg indicates: “ ttyS0 I/O at 0x3f8 is a 16550A”

3. wvdialconf detected modem
/dev/ttySO, speed: 115200, init “ATQO V1 E1 SO=O &C1 &D2 + FCLASS = 0

I edited a vwdial.conf.new and copied it to /etc/wvdial.conf.

At root typed wvdial and got the following:

WvDial: Internet dialer version 1.53
Initializing modem
Sending: ATZ
OK
Sending: ATQO V1 E1 SO=O &C1 &D2 + FLCASS = 0
OK
Modem initialized
Sending ATDT<215-701-9814
Waiting for carrier
ATDT<215-701-9814>
Waiting for carrier
…..
Timed out

When I tried minicom I got:
/dev/ttySO access failed: no such file/directory.

I'm at a loss at to what to do next. Any help would be appreciated.

Thanks,

Bill

hard candy
10-19-2004, 04:20 PM
Look at the possibility of the modem being "locked". I'm not at my own computer right now, but sometimes a previous process will put a lock file on a modem and prevent other programs from accessing it.
Probably the easier way to set it up is to create a "modem" group, give this group write permission to /var/lock, and make the device "/dev/ttyS0(zero)" read/writable for that group. Then you can add the user to the group.
As for connecting and then just dying, in /etc/ppp/options, look for the "auth" options, if not commented put a "#" in front of the line. Also, if you already have a default route such as an ethernet connection try closing it first, "/sbin/ifconfig eth0 down".

PhilBill
10-19-2004, 05:38 PM
hard candy thanks for your reply.

I am relatively new to Linux and I don't know how to create a modem group. Also how do I add a user to the group. I looked into the ect/ppp/options file and only found the word "lock".

hard candy
10-19-2004, 06:03 PM
Look in system settings, or the control center in the menu. There should be a user/group utility in the menu somewhere. Or try "groupadd -1002 (group ID #) modem". Then look in /etc/group at the modem group and add the user name.

PhilBill
10-19-2004, 08:26 PM
I've done what you suggested. I added "root" as the user (i.e. modem:1002:root) or should I have just used my login mame "bill"?

Also changed the permissions for the group "modem" in var/log and dev/ttyS0. When I use wvdial the modem dials the isp number but I get a recorded message about "hanging up and dial again".

When I tried kppp I got an error message stating I did not have permission and should give root ownership of usr/pppd.

hard candy
10-19-2004, 10:32 PM
Try this, "chmod 666 /dev/ttyS0", then "ln -s /dev/ttyS0 /dev/modem". Then in KPPP, use the /dev/modem for the hardware choice.

PhilBill
10-19-2004, 11:25 PM
I've done this but when I use wvdial I get a response "modem not responding" and when I use KPPP I get "unable to open modem".

hard candy
10-20-2004, 12:19 AM
Then let's try "chmod 666 /dev/modem".

JohnT
10-20-2004, 04:23 AM
Sending ATDT<215-701-9814
Waiting for carrier
ATDT<215-701-9814>
Waiting for carrier
….. Do you need to dial "12157019814"? If no "1" then at least try eliminating the hyphen's from the dialing profile. if you need pauses use commas instead ",".