LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-24-2003, 06:46 PM   #1
ugol
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
Question Serial port or Modem problems


Hello everybody! I got trouble with my modem setup in Mandrake 9.1
In the previous version of Mandrake (8.something) inside /dev directory I had 4 ttySx's (ttyS0, ttyS1, ttyS2, ttyS3) and the same modem was up and running after I use setserial /dev/ttyS0 uart 16550A port 0xXXXX irq XX. In this new version (Mandrake 9.1) on the same computer I have only ttyS0 and ttyS4. /proc/pci shows me my modem with port 0x2000 and irq 10. ttyS0 is busy according to setserial (setserial /dev/ttyS0 uart 16550A port 0x2000 irq 10). When I run the same setserial command on ttyS4, it does not give me any feedback and probably does what it supposed to do but I can not connect to internet. And interesting thing is that when I go to kppp modem configuration it shows me options for ttyS0, ttyS1, ttyS2 and ttyS3. When I use ttyS1 it looks like it finds the modem (it takes 2-3 seconds) but it says modem does not response. ttyS0, 2 and 3 gives me an error (right away) that it could not open the modem. I'm sure that I'm missing something here, and probably something simple (or may be not) If anybody has any idea about this please let me know. Thanks for your help!

Last edited by ugol; 07-24-2003 at 06:51 PM.
 
Old 07-24-2003, 08:48 PM   #2
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Either you did not say, or I missed, where you said if your modem was internal (PCI), or external.
If you have an external modem it should be on com 1 or 2. An external is probably on 3 or 4 (try 'ls pci').
If your PC has only one "com port" that may be the ttyS0. And your modem may be the ttyS4.
Post the output from 'ls pci', if needed. Is there an /etc/serial.conf in Mandrake?
Do you know the chipset of your modem?
Have you tried Google for problems with your modem type involving Mandrake version changes? Or Mandrake?
 
Old 07-26-2003, 02:37 PM   #3
ugol
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Hello there! To be honest I do not know what is the model number of my modem, but I remember that in the manual (which is missing of course) it was saying that the modem is supported by Linux. All I know it is Internal PCI Lucent Zoom modem. I remember that on the box in was saying Lucent and on the back of the modem it is saying "visit www.zoom.com". Anyways, I'm on line with this modem now. I would like to describe how I got on line, so anybody with the same trouble could try what I did and maybe it will help them enjoy Internet (let me say thought that it may not help, or may be, what I did is completely irrelevant to the fact that I'm connected to the internet now). Let me start from the beginning. I'm using Mandrake 9.1 now. In the previous version of Mandrake in the /dev directory I had 4 ttyS's (ttyS0, 1, 2 and 3). In this new version I have only ttyS0 and ttyS4 (it is still mystery for me how it happened. Computer is the same but now I have only 2 ttyS's ???) When I tried to follow the steps to setup my modem on ttyS4 using setserial (setserial /dev/ttyS4 uart 16550A port <whaever port my modem is on> irq <whaterver irq my is on>) it was doing what it supposed to do (it means you do not see anything but the prompt waiting for the next command). Then run kppp and it was not able to connect. In the kppp device configuration I had options for ttyS0, 2, 3, 4 and /dev/modem. I tried to link /dev/modem to ttyS4 with command ln -s /dev/modem /dev/ttyS4 and Linux told me that there was no /dev/modem anywhere in the /dev directory. I did not know what to do next I decide to reinstall Linux again (perhaps because it is only thing that I could do without getting any trouble). During the installation it asked me to configure my network and told me that it found a winmodem. It gave me options to configure winmodem and usual modem (both options available at the same time). What I did is that I selected both options together. Then it asked me on which ttyS* I would like to put it and I selected ttyS4. Then after the installation I did this: setserial /dev/ttyS4 uart 16550A port 0x2000 irq 10. Then I decided to check if there is a modem device present in the /dev directory with command ls -l /dev/modem. and guess what. There was a modem and it was linked to tty/4. Then I went to kppp and in the device tab selected /dev/modem. Then I query the modem and it found it!!!, said that it is ready, and I did not believe my eyes Iím on line! If any body know what I did please let me know. Thanks.
Ugol

Last edited by ugol; 07-26-2003 at 02:41 PM.
 
  


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
Zoom Serial Port Modem jennirh9 Linux - Hardware 1 08-18-2004 12:06 AM
Serious modem & serial port problems Dummy-in-Linux Linux - Hardware 1 06-19-2004 05:06 PM
Finding serial port for my modem psyklops Linux - General 1 11-30-2002 08:12 AM
Which serial port modem to buy? R2RO Linux - General 5 08-08-2002 02:07 PM
Modem programming and serial port Drickx Linux - Networking 2 04-24-2002 09:24 AM

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

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