LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Hardware Modem still not working (https://www.linuxquestions.org/questions/linux-newbie-8/hardware-modem-still-not-working-39798/)

jrdioko 12-30-2002 02:36 PM

Hardware Modem still not working
 
Hello again.

Well, I finally upgraded my SiS board to a better one, switched my 550 Mhz AMD processor (that ran at 166) to a 1.8 Ghz Celeron, put in a Radeon video card, and got a new modem. Wow what a difference!

Back to Linux... On the plastic wrapping of the modem I got there was a tag saying "Lucent Venus" and other one saying "Hardware modem - Linux compliant" or something like that. Now I thought all Lucent modems were winmodems, but this very clearly says on the back "Hardware controller-base PCI modem" and "Compatible with Windows 95/98/2002, and UNIX operating systems."

I couldn't find a product number, but it says "Pragmatic" on the front and "Lectron USA" on the back.

I checked in Windows and the modem is in the COM4 port. I tried using pppsetup, but when I typed ppp-go, I get a "Connect script failed." If I go into X, go into KPPP, click setup, device tab, set the modem device to /dev/ttyS3, then click "Query Modem" in the Modem tab, I get "Sorry, the modem is busy."

Do I need to get drivers for this modem? If so, where can I find them and how do I install them correctly?

If not, what is wrong?

Thanks,
JMagi

DavidPhillips 12-30-2002 04:19 PM

try this, we need to know what is configured on the port
Code:

setserial /dev/ttyS3

jrdioko 12-30-2002 06:04 PM

Typing: "setserial /dev/ttyS3" gives me:

/dev/ttyS3, UART: unknown, Port: 0x02e8, IRQ: 3

DavidPhillips 12-30-2002 06:28 PM

ok looks to me like you should be able to fix it by doing this

setserial /dev/ttyS3 uart 16550A

jrdioko 12-30-2002 09:59 PM

Ok, I did that, and went back and typed "setserial /dev/ttyS3" to make sure that it changed, but I still get the exact same errors as before ("Connect script failed" for ppp-go and "Sorry, the modem is busy" in KPPP).

Any other ideas? Is it possible that I need a driver?

-JMagi

jrdioko 12-30-2002 10:03 PM

One more thing...

I just tried typing setserial for the other COM ports, and /dev/ttyS0 and /dev/ttyS1 have the UART value set to 16550A too. I don't know if this makes any difference.

-JMagi

DavidPhillips 12-30-2002 10:07 PM

those ports are your serial ports

linux accesses the serial port when using the modem.

You may try looking for a driver for your modem, but since you have a ttyS3 it seems that it would work

try this

cat /dev/ttyS3
atz

see if you get "OK" back

blinux1 12-30-2002 10:16 PM

I had a similar problem with modem detection. Your modem might be under /dev/ttyS4. You should check /etc/sysconfig/hwconf and look up to see if your modem is in the list of devices. If it is, then look up the port. You can link /dev/modem to S4, and in kppp, query the /dev/modem.

p.s. you may need a driver for the modem, but you should check the list of modem drivers already built into linux

jrdioko 12-30-2002 11:29 PM

Ok, let me try this one post at a time.

David:

When I log on as root and type "cat /dev/ttyS3" I get
"cat: /dev/ttyS3: Input/output Error"

Could this be a problem with syntax? Before when I tried setserial, "setserial /dev/ttyS3" worked but "setserial /dev/ttys3" (with a lowercase 's') gave me the same "/dev/ttys3: Input/output error." I tried "cat /dev/ttyS3" and "cat /dev/ttys3" and both gave me the error.

blinux1:

I don't even have a /etc/sysconfig folder. I am using Slackware 8.1.

Well, after typing that all up, I tried running pppsetup again using /dev/ttyS4, and for the first time I heard the noise of the phone line (because I am online on the other computer :)). I think my problem is fixed. I'll post this, then go try to connect on that computer.

One last question, I don't see /dev/ttyS4 on the KPPP list of devices. I think that /dev/modem is going to work, but even if it does, what is the command that I would use to link /dev/ttyS4 to /dev/modem?

Thanks again,
JMagi

jrdioko 12-30-2002 11:39 PM

Well, there we go, I'm online and typing this in Linux. I guess I was in COM4 under windows but /dev/ttyS4 on Linux.

Two quick questions...

I really don't like the look of Netscape (which I think is all I have right now), and now that I've upgraded my computer, I guess I don't really need to be using XFCE.

Just wondering, what internet browser and desktop environment do you two (David and blinux1) use?

Thanks again for all your help,
JMagi

DavidPhillips 12-30-2002 11:57 PM

I use mozilla and I use wmaker, kde and sometimes gnome


All times are GMT -5. The time now is 06:53 PM.