modem setup problem

modem setup problem

Post by Julio Mani » Wed, 18 Jun 1997 04:00:00



Hi,

I just installed Linux Slackware 3.1 on my PC.  Everything is
working properly except for the modem. Here I have:

Packard Bell "Legend Supreme 1605" PC with
- Pentium 150 MHz
- 16MB RAM
- 33,600 bps modem: Sound 111 336 SP ??? (dont know exactly
  what the type)

The problem:

   Modem cannot dial (no dial tone from the modem -- this works
   with WIN95). The following are two scripts I used for ppp
   connection:

   FILENAME: dial
   #!/bin/sh
   #modem is set up as com1
   setserial /dev/cua0 spd_vhi
   #Create the file dial.is.it.there.
   echo "dummy" > ~/dial.is.it.there
   #redial calls pppd
   redial &

   FILENAME: redial
   #!/bin/sh
   while test -e ~/dial.is.it.there
   do
     /usr/sbin/pppd connect 'chat -v ABORT BUSY  "" atz OK atdt8888888
     CONNECT "" ogin: myname word: mypassword oice: ppp' /dev/modem
     38400 -detach debug crtscts modem defaultroute :128.128.1.11
     netmask 255.255.255.0
   done

   NOTES:
     8888888, myname and mypassword are not the real entries.
     The command inside the do..done is one line.

Anybody can figure out what causes this problem??
Thanks in advance.

Julio Manik

 
 
 

modem setup problem

Post by Raymon » Thu, 19 Jun 1997 04:00:00


this one is easy, what COMM PORT is your modem work on in Windows '95 ?

COM1  = /dev/cua0
COM2 = /dev/cua1
COM3 = /dev/cua2
COM4 = /dev/cua3

or /dev/ttyS0-3

bye!


> Hi,

> I just installed Linux Slackware 3.1 on my PC.  Everything is
> working properly except for the modem. Here I have:

> Packard Bell "Legend Supreme 1605" PC with
> - Pentium 150 MHz
> - 16MB RAM
> - 33,600 bps modem: Sound 111 336 SP ??? (dont know exactly
>   what the type)

> The problem:

>    Modem cannot dial (no dial tone from the modem -- this works
>    with WIN95). The following are two scripts I used for ppp
>    connection:

>    FILENAME: dial
>    #!/bin/sh
>    #modem is set up as com1
>    setserial /dev/cua0 spd_vhi
>    #Create the file dial.is.it.there.
>    echo "dummy" > ~/dial.is.it.there
>    #redial calls pppd
>    redial &

>    FILENAME: redial
>    #!/bin/sh
>    while test -e ~/dial.is.it.there
>    do
>      /usr/sbin/pppd connect 'chat -v ABORT BUSY  "" atz OK atdt8888888

>      CONNECT "" ogin: myname word: mypassword oice: ppp' /dev/modem
>      38400 -detach debug crtscts modem defaultroute :128.128.1.11
>      netmask 255.255.255.0
>    done

>    NOTES:
>      8888888, myname and mypassword are not the real entries.
>      The command inside the do..done is one line.

> Anybody can figure out what causes this problem??
> Thanks in advance.

> Julio Manik

--
http://www.pds-link.com

"UNIX is simple and coherent, but it takes a genius (or at any rate,
a programmer) to understand and appreciate its simplicity".
   -Dennis Ritchie  [USENIX '87]

 
 
 

modem setup problem

Post by Perry Gri » Thu, 19 Jun 1997 04:00:00




> Hi,
> The problem:

>    Modem cannot dial (no dial tone from the modem -- this works
>    with WIN95). The following are two scripts I used for ppp
>    connection:

[snip]

Quote:> Anybody can figure out what causes this problem??
> Thanks in advance.

> Julio Manik

Does Packard Bell use internal Winmodems?  If so, it will
not work under linux.  You need to run Windows to use a
Winmodem due to the extremely poor hardware design of these
modems.  You would need to purchase a real modem to use
with linux.  Does Packard Bell use internal Plug and Play
Modems?  If so, you need to get isapnp tools and use it,
as well as "setserial" to configure the modem.  Isapnp is
available from RedHat www site as well as other linux
software archives.  See "man setserial" for configuring
your IRQ.  Setserial is probably already on your machine.

I would try to get minicom to work, and be able to dial
up a BBS before you try to debug a ppp ISP connection.

Perry Grieb
--

Perry Grieb

Special of the week: SPAM proofread for $500 per message.