Start by reading the Modem HowTo and, if applicable, the PPP HowTo. Both are
available at the LDP WEb site (http://metalab.unc.edu/LDP/) and probably on
your Linux CD somewhere (and they usually get installed somewhere in
/usr/doc, the exact location varying by distribution and version).

After you've done that and tried to install the modem, coming back to this
or a similar list with specific questions about any problems you're having
will probably get you the help you need.

To get you started, here is a copy of a short overview I've posted before
about the basic steps to follow in configuring Linux to access a modem:


1. If the modem is internal, make sure it is NOT an HSP modem 
("Winmodem"). Check this at URL 
http://www.o2.net/~gromitkc/winmodem.html . In general, pci-bus 
modems are almost surely HSP (there are only two known exceptions),
while isa-bus and pcmcia modems 
may or may not be HSP. No external modems are HSP. HSP modems 
CANNOT be used with Linux -- if you have one, you have to replace 
it with something else that will work.

2. Figure out what port the modem is connected to. If you have a 
PnP modem, you may need to do some configuration work at this step; 
see the Plug and Play HowTo. The presence of an internal real 
(non-HSP) modem will usually be detected by the kernel, which will 
see it as a serial port (use "dmesg" to review the boot-time messages 
from the kernel). If you've been using this system with some version 
of Windows, WinXX equivalences are:
                COM1    =       /dev/ttyS0
                COM2    =       /dev/ttyS1
                COM3    =       /dev/ttyS2
                COM4    =       /dev/ttyS3

3.  Make sure you don't have a conflict with the IRQ on the port. 
(S0 and S2 share IRQ 4, and S1 and S3 share IRQ 3, so this is 
possible.) The conflicts to watch out for are a mouse on the other 
serial port that uses the same IRQ and (especially on older systems) 
a NIC (Ethernet card) using IRQ 3. Check IRQ assignments with "more 
/proc/interrupts".

4. Use setserial to try to find the modem, by probing the /dev where 
you think it is. For S0, for example, you would enter: 
"setserial /dev/ttyS0". When it responds, see if a UART type is 
reported. If it is, you've found your modem. If not, you have a 
problem.

5. If you've found your modem, then make /dev/modem a symlink to 
that /dev . Using S0 as an example, you would do this with the 
command "ln -s /dev/ttyS0 /dev/modem". (If you get a response 
that the link already exists, do "rm /dev/modem" then make the 
symlink.)

5. Now try to use minicom to dial out to someplace. If it works, 
you have a working modem.

6. If you need to go on to set up a PPP connection to an ISP (a 
common thing for Linux systems), begin by consulting the PPP HowTo.

If, at any step in this process, you encounter a problem you can't 
see how to solve, you might want to consult the Modem HowTo. If this
doesn't seem to help, posting a follow-up message with more details
about your problem, what you tried, and how it failed, might get you
some focused advice.

HowTos can usually be found on a Linux system somewhere in /usr/doc, 
but the exact location varies by distribution and version. HowTos 
and mini-HowTos can also be found on the Web at URL 
http://metalab.unc.edu/LDP/HOWTO/HOWTO-INDEX-3.html#ss3.1 .


At 11:13 AM 5/25/99 +0200, Matthieu wrote:
>Hi,
>
>I just install linux on my PC, and I'm trying to set up my internet
>connexion but don't know how to install my modem. Does someone knows how
>can proceed for that ??
>Thanks


------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
762 Garland Drive
Palo Alto, CA  94303-3603
650.328.4219 voice                              [EMAIL PROTECTED]        
----------------------------------------------------------------

Reply via email to