Subject: Re: This isn't very helpful on setting up a modem
To: None <stripes@tigerlair.com>
From: Frederick Bruckman <fb@enteract.com>
List: port-i386
Date: 05/08/2001 18:50:49
On Tue, 8 May 2001 stripes@tigerlair.com wrote:

> If you have a PCMCIA modem that does not appear to work, make sure
> you are using the com(4) device in hardware flow control mode.
> Many PCMCIA modems only work when using hardware flow control."
> That's great and all, but how do you configure the @#&*$*$ thing?
> I really like NetBSD, I really do, but the documentation is really
> lacking.
>
> So, which device is com3? I have a Xircom modem, which seems to be ok.
> com3 at pcmcia0 function 0 port 0x2e8-0x2ef: serial device

[I've reformatted your text. Please, please wrap your lines.]

> Now, how on earth do I test the line?

There's lots of ways, but "cu" is very simple to use...

  1) Create a file, "/etc/uucp/port", with the following lines:

port modem
type modem
device /dev/tty03
speed 115200

  2) As root, type "cu -p modem". If the modem is supported, you'll be
     able to enter "AT" commands (try "at", "at&v", "ati11", "ati13",
     "atli5"). Exit from "cu" by typing "~." (that's "tilde", then
     "period", without the quotes).

The next step depends on what you want to do. The usual thing, to use
"pppd" to connect to an ISP, is spelled out here:

  <http://www.netbsd.org/Documentation/network/#ppp>

I was privy, recently, to a discussion on usenet over how to go from
"cu" right into "pppd" (for testing). If your browser is set up for
usenet, entering one of the following URI's will take you right into
the thread(s).

  <news:slrn9eljd4.s92.gerber@silvara.unibe.ch>
  <news:9ch9v4$s5o$1@duba04h09-0.dplanet.ch>

Kind regards,


Frederick