Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

help installing modem in rh6

Posted on 1999-08-13
14
Medium Priority
?
311 Views
Last Modified: 2013-12-15
I have a Microcom Deskporte 28.8P external modem. manufactured in 1993(before compaq bought microcom). Anyway I've read Modem HowTo and Setserial and mans out the ying yang and still do not have the slightest idea how to configure this damn thing for linux.In windows the modem uses lpt1 set to irq7/ dma 3/and  i/o's 0378-037F & 0778-077F.As far as I can tell the modem uses no resources except those taken by the lpt1 port.What is the linux equivelant to lpt1? lp0 maybe, how come I can't probe lp0 or setup lp0 in kppp? Any help getting the modem setup in linux will be a bonus. Thanks.

J
0
Comment
Question by:jatcan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
14 Comments
 

Expert Comment

by:rameo
ID: 1630213
your modem can't be using LPT1, because that is a parallel port, and modem is a serial device.  i suspect it's either COM1 or COM2.  
as far as i know, Linux doesn't care what brand of modem you're using.  just plug your modem into COM1(cua0) or COM2 (cua1), and use can use kppp to probe for it.

another way would be creating a link that points to your com port. if it's com1(cua0), running as root under /dev directory, do a ln -s /dev/cua0 modem
that would create a link that points to your modem. if it's cua1, substitude cua0 with it.

hope that helps.
0
 
LVL 7

Author Comment

by:jatcan
ID: 1630214
Maybe I wasn't clear. The modem (in Win98 is set to LPT1 IRQ7 and some mem addr.) In linux when I query(with kppp config) cua0 or cua 1 I get nothing. When I query ttyS1 or ttyS0 I get modem ready and it starts sending AT1, AT2 and so on. The query results are blank across the board. Just out of curiousity;there is two connections at the back of this modem.

1. is labelled serial port and needs a male connecting end. 2. is labelled parallel port and uses a female connecting end.

I currently have a cable that has
1.female connecting end which I have plugged into the parallel port of the modem and 1. male connecting end which I have plugged into the the port on the back of the computer.

Should I get a cable that has two male connecting ends and plug one end into the computer and the other end into the serial port connection on the back of the modem?  

The modem works fine with the present setup in Win98.

J


0
 
LVL 4

Expert Comment

by:swwelsh
ID: 1630215
I think you will have to set up one of the default com ports 1-4 to use the resources of the lpt port, or set up an additional com port . Take a look at your rc.serial script that sets the com port values. You can add a line configuring say Com 4 to use irq 7, port 378, and have it run at boot up. Look at dmesg | more to see if the system is recognizing the port, and then try using kppp or minicom to get a response. As for the cable, I would assume that it is just a serial cable using the lpt port, but you could use the serial port and see if it makes a difference. I don't know of any serial devices in linux that use dma or a second i/o port, so that probably will not work. All in all, I wouldn't spend much time trying to configure a slow, non standard piece of hardware like this. You can get a hardware based internal 56k for under $60, and  you could still use the 28.8 in windows if you wanted to
0
Automating Terraform w Jenkins & AWS CodeCommit

How to configure Jenkins and CodeCommit to allow users to easily create and destroy infrastructure using Terraform code.

 
LVL 7

Author Comment

by:jatcan
ID: 1630216
And yes I'm gonna do exactly that but, I won't have the money 'till the end of september. In the meantime I would like to get connected with linux.

>You can add a line configuring say Com 4 to use irq 7, >port 378, and have it run at boot up

So I just assign the resources I need to any com port curently not in use/ in existence and hope linux will find the modem this way?

Come on guys, it's an external modem and it's NOT a winmodem.Everything I'm reading is telling me this should be a calkwalk. Should I maybe buy a cable with 25pin male at one end and 9pin female at the other?That way I could connect the modem to an actual serial port instead of the parallel port.Someone must know if this should  work.

J
0
 
LVL 7

Author Comment

by:jatcan
ID: 1630217
In windows I use a 56k( with the installation of linux I discovered that the salesman lied to me when he said it wasn't a winmodem and it was not marked winmodem on the box: shouldn't that be illegal? ) modem in windows. I only setup the external in windows just to make sure it works. It does.

J
0
 

Expert Comment

by:mrc197
ID: 1630218
Jatcan
You should be able to get your modem working using your parallel port - as far as I am aware everything should work just the same as if you were using the serial port. You mentioned kppp - I don't have any experience of this and you might not be able to use it if it won't give you the option of specifying the correct device to use for your modem, but that's not really a big problem.
Anyway, have a look at 'cat /proc/devices' to see whether the kernel has recognised and setup your parallel port. Actually the new kernels (2.2.x) use a different system for parallel ports which I haven't used yet but this should still be relevant. If you don't see a reference to your par port in /proc/devices then your kernel may not have support built in so you will need to use modules. Have a look at 'dmesg | more' to see whether your kernel finds a par port at boot time.
If your parallel port is not set up properly then you will need to do it manually. The best thing probably would be to look at the Printing-HOWTO, as this contains quite a lot of information on setting up parallel port devices in Linux. Incidentally, do you have a parallel printer, and if so do you have more than one external parallel socket on your computer? If you use more than one parallel device then this can cause problems although it should be possible to sort them out if you are running a 2.2 kernel.
If your par port is set up OK then try running 'seyon -modems /dev/lpX' where X is either 0,1 or 2 depending on what you saw in /proc/devices. If you don't have seyon and X installed then you can use minicom, which is very popular I believe but I've never tried it myself. I think to use it you will need to make /dev/modem a symbolic link to /dev/lpX with 'ln -s /dev/lpX /dev/modem'.
I hope some of this waffle is useful to you

Mark

0
 
LVL 7

Author Comment

by:jatcan
ID: 1630219
I don't have a "cat/proc/devices" directory. I'm using RH6.Does RH6 use "parport0-2 for printers or lp0-2 for printers?

Thanks,

J
0
 
LVL 7

Author Comment

by:jatcan
ID: 1630220
I have my printer on the other machine.

J
0
 
LVL 7

Author Comment

by:jatcan
ID: 1630221
O.k.- the modem question is moot. I've talked to the previous owner and he says the parallel port on the modem is just fine for windows but for linux it absolutely has to be hooked up to the serial port( the modem has one of each type of ports). I just got to go to the radio shack and pick up an $8.00 cable. He says it uses com1 irg 3 or 4 and everything will be o.k. once I have the cable. My mouse is using parallel port 2 irq 5 in linux(ps/2). So, for the points, mrc197 yet again has helped me the most but, I would like your answer to be for the following question(it's probably easy for you and will save me a litle reading). I've set up my dos partitions to be auto-mounted in linux. I understand everything I've done except for one thing which I either missed or it wasn't in the man. Take a gander at the following example of my fstab:

/dev/hda1      /usr/home/jon/dos/c   vfat   auto,ro  1  2

what does the 1 & 2 standfor and is it a good idea to have ro or can you think of a reason/circumstance where I might need rw. Thanks to all for your efforts. mrc197, answer these and I'll give you the points. Thanks again.

J
0
 

Expert Comment

by:mrc197
ID: 1630222
The fifth field in fstab is used to determine which filesystems need to be dumped. You should probably leave this value alone unless you specifically want to change it and know why. If the value is 0 then the filesystem won't be dumped.
The sixth field is used to determine the order in which fsck should check the filesystems. Your root partition should have a 1 in this field and all other partitions should have a 2 here.If there is a 0 in the sixth field then fsck will not check the partition.
You may want to have your windows partition mounted rw if you want to be able to pass files from Linux to Windows. However, if you are worried that you might accidentally delete a critical Windows file whilst in Linux then keep it ro and use dos formatted floppies to transfer the files.
By the way I still think it should be possible to use the modem on your par port but it would definitely be a lot easier to buy a serial cable instead! I have only just upgraded to RH6 (and kernel 2.2.x) myself so I haven't experimented with any of the new parallel port stuff yet. Presumably for the modem to work on your parallel port you have to have a bidirectional parallel port (EPP) and drivers that support it. I don't think the old Linux par port drivers supported bidirection but I have a feeling that the new system does. All this is just speculation though 'cause I've never had a par port modem or any device that needed a bidirectional par port.
0
 
LVL 7

Author Comment

by:jatcan
ID: 1630223
Thanks mrc197.

J
0
 

Expert Comment

by:proweb
ID: 1630224
Just a comment....I had all sorts of dramas getting my modem to run under Linux. (I hope you have sorted out your problems, but if not, this may help)

First, My com ports weren't initially configured in my BIOS. after fixing that up, Linux still said it couldnt find any modem on cua0 or cua1.

Under Windows, it says that the modem runs under Com2...
As it turns out (and I am still kinda new to this) the modem was actually on cua3...Dont know how this works, but....*shrug*
0
 

Accepted Solution

by:
mrc197 earned 400 total points
ID: 1630225
Oops - meant to check the answer button. Jatcan, if you're interested in trying to get that modem working on your par port then mail me (mark.carter(at)ic.ac.uk) 'cos you've got me kinda interested in the problem now - I'd like to know if it works myself. It could be quite long winded though so don't bother if you're busy.
0
 
LVL 7

Author Comment

by:jatcan
ID: 1630226
mrc197

I was kinda hoping someone would offer actually. I thought it would be rude to ask here, so I didn't. I got about 4 days to work on it then I gotta do some other stuff. If you think we can give it an honest go in four days then I'm all for it. After all, the worst that can happen is I can learn something. I will email you right now.


Jatcan
0

Featured Post

URL rewriting in AWS CloudFront

A quick how-to guide to implement with a Lambda function!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question