[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting up PPP on Linux (fwd)



>
> >     I've an old 50 MHz Packard-Bell that I installed RedHat Linux
> > 5.0 last week.  I purchased a 14.4 modem from the computer show
> > and for some reason, after saving the values in the modem's
> > register,
> > I can no longer get dialout to function (I believe I really
> > screwed setserial and all that jazz).
>
> That could be a lot of things.  What program are you using
> to dialout with?  Try "minicom" to see if you can dial something.
>
> >     I have a permanent net connection in my apartment (57.6k
> > speed,
> > and *only* at that speed).  I'd like to set up the system for
> > 57.6k
> > but don't know what I'd have to go through.  I'm an old UNIX
> > man (System III on an Altos 68000), so getting PPP running on
> > a PC (running a UNIX clone no less!) is very new to me.
>
What COM port is the modem set to?  What is the output of setserial when run on
that port?


This is what I get:
-----------------------------<begin example>
~ $ setserial /dev/ttyS2
/dev/ttyS2, UART: 16550A, Port: 0x03e8, IRQ: 5, Flags: spd_vhi
~ $ setserial /dev/ttyS1
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
~ $ setserial /dev/ttyS0
/dev/ttyS0, UART: unknown, Port: 0x03f8, IRQ: 4
-------------------------------<end example>

where ttyS0 = COM1, ttyS1 = COM2, ttyS3 =  COM3, ttyS4 = COM4

Is this an internal or external modem?

How man COM/Serial ports does you machine itself have?  And IRQ conflict can
cause a modem to be completely unresponsive,  and by default COM1/COM3,
COM2/COM4 conflict with each other (why, don't know, ask IBM).

Thus in my /etc/rc.d/rc.local file I have the following lines:

/bin/setserial /dev/ttyS2 irq 5
/bin/setserial /dev/ttyS2 spd_vhi
/bin/stty crtscts < /dev/cua2

which tells LINUX that ttyS2 (my internal modem) is on IRQ 5 (not 4 which is
the default (same as ttyS0), and that when opened with a speed of 38,500
actually open it for 115,000 and then set it to default to hardware flow
control.  /etc/rc.d/rc.local gets run everytime the machine boots.

NOTE: Do **NOT** run the setserial program on any machine with more than one
CPU.