Re: configuring serial port

1999-01-06 Thread Brandon Mitchell
I would guess either a plug-n-play modem or a winmodem.  If it's p-n-p,
there is a solution.  But there is no solution for winmodems.  You'll get
the best help from the list for this problem, but you may want to let them
know what kind of modem you have and everything you can get out of the
windows config.

Good luck,
Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |

On Wed, 6 Jan 1999, CUNO wrote:

 
 
 Brandon Mitchell wrote:
 
  On Tue, 5 Jan 1999, CUNO wrote:
 
   Brandon Mitchell wrote:
  
What are the symptoms?  Does the modem dial and connect to the isp?  Run
plog -f from another window or virtual terminal, run pon, and post 
what
comes out of plog.
   
  
   the modem doesn't make a single sound, nada
   Report off plog:
   pppd [231] : ppd 2.3.5 started by root uid0
   pppd [231] : tcgetattr: input/output error (5)
   pppd [231] : Exit
 
  I'm guessing that means your serial port is still incorrectly configured.
  Can someone on the list verify this?  What COM port is your modem on in
  dos/win?  You have to run /etc/rc.boot/0setserial after changing the
  contents.
 
  HTH,
  Brandon
 
 
 According to Win95 my modem is installed on com3 (ttyS2) and my mouse on com2
 (ttyS1).
 The mouse is correct (ttyS1), it works in Debian.
 I don't understand it anymore, when I look at my modem it is installed on 
 Com3.
 But When I look
 at system (Win95) there are only two serial ports Com1 and Com2.
 How is it possible that my modem is installed on Com3 while I have 2 serial 
 ports
 according to Win95.
 I think there must be a com3, because I configured ttyS2 in Debian, and you
 cant't configure a port that
 doesn't exists, or is this thought wrong ?
 
 I strongly belief that my PC is the problem and not Debian.
 O, yeah when I boot Debian only the devices for ttyS0 and ttyS2 are loaded.
 Wvdialconf can't find a modem on ttyS0 (I thought let's give it a try, you 
 never
 know).
 
 Cuno,  ( I dont't know what to do anymore )
 
 
 
 
  +---  ---+
  | Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
  |  Sometimes you have to release software with bugs. - MS Recruiter  |
 
 


Re: configuring serial port

1999-01-06 Thread Wojciech Zabolotny
The 16450 has no FIFO buffer, so there exists danger of transmission
overrun (particularly at higher baude rates). It may be usefull to change
the interrupts priority with irqtune (available in hwtools package:
hwtools: /usr/lib/hwtools/irqtune ).
Giving the highest priority for UART's irq  may sometimes help.

Wojtek Zabolotny
[EMAIL PROTECTED]

On 5 Jan 1999 [EMAIL PROTECTED] wrote:
 CUNO wrote:
  When I boot my system I get:
  /dev/ttyS2 at 0x3e8 (irq = 4) is a 16450
  16450 is correct for an internal modem, isn't it ?
 A very old one, yes.
 Andrew Ivanov writes:
  You would want to put an UART of 16550A, do it in /etc/rc.boot/0setserial
  and just change the uart argument.
 
 If setserial is reporting a 16450 then that's what he has.  You can't turn
 it into a 16550 by changing an argument.
 
 CUNO wrote:
  When I run pppconfig and filled in everything and I give pon my modem
  still doesn't work


Re: configuring serial port

1999-01-05 Thread Peter Berlau
On Tue, Jan 05, 1999 at 10:57:25AM +0100, CUNO wrote:
 Hello,
Hi Cuno,
 
 I have installed Debian one week ago. Everything is working fine, except
 my modem (Trust Communicator e56K).
 When I boot my system the following serial ports are configured, ttyS0
 and ttyS1.
 
 /dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
this means serial ort one
 /dev/ttyS1 at 0x02f8 (irq = 3) is a 16550A
this means serial port two
if this messages are the only booting-messages
for serial-devices when the system is comming up
it looks like Your box have only 2 serial ports

usually port 1 = ttyS0 is the connector for mice
usually port 2 = ttyS1 is the connector for modem or terminal

 
 Debian cant't find ttyS2 and my modem is on this serial port.
thats right, ttyS2 is the 3. serial port which the box does'nt have
 How can I configure ttyS2, so that I can use my modem.
if sure You have this port and the bootmessage show it have a look 
at
'/etc/inittab'
search for a line like
#T3:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS3
change it to
T2:23:respawn:/sbin/mgetty -x0 -s 57600 ttyS2
# ^
#note You must add Your modemspecific parameters here
save the inittab and execute
init  q
thats all

-- 
   Peter


Re: configuring serial port

1999-01-05 Thread Brandon Mitchell
Multi part answer:
1) ttyS2 == COM 3 in dos/win
2) edit /etc/rc.boot/0setserial, disable autoprobing and set it manually
3) add serial to /etc/modules.conf so the modules and your changes
   aren't unloaded when not in use.

If you need any details, just ask.  I've been doing installs lately to
test slink and this is one of my regular steps.

HTH,
Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |

On Tue, 5 Jan 1999, CUNO wrote:

 Hello,
 
 I have installed Debian one week ago. Everything is working fine, except
 my modem (Trust Communicator e56K).
 When I boot my system the following serial ports are configured, ttyS0
 and ttyS1.
 
 /dev/ttyS0 at 0x03f8 (irq = 4) is a 16550A
 /dev/ttyS1 at 0x02f8 (irq = 3) is a 16550A
 
 Debian cant't find ttyS2 and my modem is on this serial port.
 How can I configure ttyS2, so that I can use my modem.
 
 Thanx 
 
 Cuno Sonnemans, Netherlands
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 


Re: configuring serial port

1999-01-05 Thread Brandon Mitchell
On Tue, 5 Jan 1999, CUNO wrote:

 Brandon Mitchell wrote:
 
  Multi part answer:
  1) ttyS2 == COM 3 in dos/win
  2) edit /etc/rc.boot/0setserial, disable autoprobing and set it manually
  3) add serial to /etc/modules.conf so the modules and your changes
 aren't unloaded when not in use.

 Hi Brandon,
 
 It works, thanx.
 When I boot my system I get:
 /dev/ttyS2 at 0x3e8 (irq = 4) is a 16450
 16450 is correct for an internal modem, isn't it 

Not sure.

 What line do I put in /etc/modules

serial without quotes.  This forces the serial module to stay in memory.

 The complete line I see in 0setserial or only /dev/ttyS2 at 0x...

I remember it being fairly well commented.  Just comment (with a #) the
line that does the auto probing or configuring or whatever.  Then go way
down toward the bottom of the file where is says manual configuration.
Then uncomment the line for ttyS2.

 When I run pppconfig and filled in everything and I give pon my modem
 still doesn't work
 ???
 Can you help me on this one

What are the symptoms?  Does the modem dial and connect to the isp?  Run
plog -f from another window or virtual terminal, run pon, and post what
comes out of plog.

Good luck,
Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |



Re: configuring serial port

1999-01-05 Thread Andrew Ivanov
On Tue, 5 Jan 1999, Brandon Mitchell wrote:

 On Tue, 5 Jan 1999, CUNO wrote:
 
  Brandon Mitchell wrote:
  
   Multi part answer:
   1) ttyS2 == COM 3 in dos/win
   2) edit /etc/rc.boot/0setserial, disable autoprobing and set it manually
   3) add serial to /etc/modules.conf so the modules and your changes
  aren't unloaded when not in use.
 
  Hi Brandon,
  
  It works, thanx.
  When I boot my system I get:
  /dev/ttyS2 at 0x3e8 (irq = 4) is a 16450
  16450 is correct for an internal modem, isn't it 
 
 Not sure.

You would want to put an UART of 16550A, do it in /etc/rc.boot/0setserial
and just change the uart argument.
 
  When I run pppconfig and filled in everything and I give pon my modem
  still doesn't work
  ???
  Can you help me on this one

Ok, 
Q1: Is it a PnP modem? If it is, you will need to download and run
isapnptools
Q2: It seems that it's not a Winmodem, but just in case recheck.

ALso, try downloading wvdial package, it helps to configure the modem.
But I think that if the port is configured properly, and pon still can't
do anything ( When you run pon, do you hear a click when modem
initializes? Technicly, pon will not display anything. The only way you
know htat it worked is because you have the connection to the net, or just
check through plog, it will tell you why pon can not connect.)

Andrew

Never include a comment that will help | Andrew Ivanov
someone else understand your code. | [EMAIL PROTECTED]
If they understand it, they don't  | ICQ: 12402354
need you.  |


Re: configuring serial port

1999-01-05 Thread Brandon Mitchell
On Tue, 5 Jan 1999, CUNO wrote:

 Brandon Mitchell wrote:
 
  What are the symptoms?  Does the modem dial and connect to the isp?  Run
  plog -f from another window or virtual terminal, run pon, and post what
  comes out of plog.
 
 
 the modem doesn't make a single sound, nada
 Report off plog:
 pppd [231] : ppd 2.3.5 started by root uid0
 pppd [231] : tcgetattr: input/output error (5)
 pppd [231] : Exit

I'm guessing that means your serial port is still incorrectly configured.
Can someone on the list verify this?  What COM port is your modem on in
dos/win?  You have to run /etc/rc.boot/0setserial after changing the
contents.

HTH,
Brandon

+---  ---+
| Brandon Mitchell * [EMAIL PROTECTED] * http://bhmit1.home.ml.org/ |
|  Sometimes you have to release software with bugs. - MS Recruiter  |



Re: configuring serial port

1999-01-05 Thread john
CUNO wrote:
 When I boot my system I get:
 /dev/ttyS2 at 0x3e8 (irq = 4) is a 16450
 16450 is correct for an internal modem, isn't it ?

A very old one, yes.

Andrew Ivanov writes:
 You would want to put an UART of 16550A, do it in /etc/rc.boot/0setserial
 and just change the uart argument.

If setserial is reporting a 16450 then that's what he has.  You can't turn
it into a 16550 by changing an argument.

CUNO wrote:
 When I run pppconfig and filled in everything and I give pon my modem
 still doesn't work

Exactly what hapens?  Have you tried connecting to the modem with minicom?
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI