🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.linux
Article #1021

Re: CAN'T CONNECT BY SERIAL CABLE WITH WIN95

#1021
From: Toshiyuki IWATA
Date: Fri, 11 Apr 1997 00:00
134 lines
5548 bytes
Here is the answer! suggested by Alain Cabiran.  I followed everything
Alain suggested and I can now login to Linux from Windows95.  Thanks Alain.

However, I have a problem.  After I repeat a few times (5 or 6) of connect
and disconnect from a terminal on Win95, I am not able to connect any more.
 Then looked at the process running on Linux, I noticed that there are a
few (5 to 6 which probably the number what I connected and disconnected) of


/sbin/agetty 38400 ttyS0 linux

is running.  Is this something wrong?  How to fix it?  Because I have only
one monitor and one keyboard to use both Win95 machine and Linux machine, I
have to pull out and plug keyboard/monitor.  So what I'm trying to do is to
use Linux only from Windows.

Any comments are appreciated.  Please e-mail to me as well as thread in
news group.

BTW, I can also use the Hyperterminal which came with Windows95 package. 
So my reverse serial cable was a null modem cable.

Toshi Iwata
iwata@mx2.nisiq.net
 
On Wednesday, April 2, 1997 9:55 PM, Alain Cabiran wrote:
>Hello,
>
>you can know if serial ports are enabled by doing  "cat /proc/ioports",
you'll get the
>list of enabled ports with serial indicated for each port using them.
>
>here is the parameters i use to connect a linux machine with a win95 :
>(COM2 for Linux, to use COM1 replace s1 with s0 and ttyS1 with ttys0)
>
>in /etc/inittab
>s1:12345:respawn:/sbin/agetty 38400 ttyS1 linux
>
>in /etc/ppplogin (mode 755)
>#!/bin/sh
>/usr/bin/mesg n
>/bin/stty -tostop
>exec /usr/sbin/pppd -detach lock 193.252.19.30:193.252.19.31
>
>in /etc/passwd
>ppp::603:3:PPP Account:/tmp:/etc/ppp/ppplogin
>
>gettydefs doesn't exists on my machine but i don't know why.
>
>after that, type in : kill -HUP 1
>then init will be updated.
>
>With these parameters, you should have the login prompt in the win95
>terminal. then type ppp. You should see nothing because of the -silent
>parameter. To use the connection you can download the nullmodem driver
>on http://www.vt.edu:10021/K/kewells/index.html. It is used as a modem.
>To work, it is necessary to "activate terminal before dialing".
>
>This works with the appache http server and the ftp server given in
Slackware Dec 96
>distribution and the 1.9.16pl11 samba server.
>
>Hope this will be helpfull,
>
>friendly,
>
>Alain <Alain.Cabiran@wanadoo.fr>
>ps: i don't know the english equivalent of "amicalement" (translated into
friendly)
>    and i hope my english wasn't too bad too.
>
>

Toshiyuki IWATA <iwata@mx2.nisiq.net> wrote in article
<01bc3db5$0ed44ae0$LocalHost@atx>...
> I'm trying to hook my PC running Windows95 to the other PC running LINUX
by
> a null modem cable.  I have read the Serial-HOWTO, and I think I have
done
> all I have to do.  However, I have never been able to get "login: "
prompt
> on my Win95 machine.  Can anyone help me?  Please advice by e-mail to me.
 
> 
> I describe my setup as follows:
> 
> CONNECTION OF TO PCs ###############
> 
> by a cable connected to Win95 COM2 and LINUX COM1.  I believe my cable is
a
> null modem cable because I used to use it to connect two MS-DOS PCs by
> interlnk.exe and intersvr.exe to send/receive files.
> 
> My Linux machine is Compaq Presario CDS924, and it used to have a DOS
> version of BIOS setup program that turn on/off serial ports, but when I
> deleted DOS and installed LINUX, I deleted that BIOS setup program
> partition also.  Therefore I am not sure whether the COM1 is enabled or
> not.  HOW DO I KNOW MY COM1 ON LINUX IS ENABLED??
> 
> LINUX MACHINE ##############
> 
> I edited /etc/gettydefs to add:
> 
> # 9600 bps Dumb Terminal entry
> DT9600# B9600 CS8 CLOCAL # B9600 SANE -ISTRIP CLOCAL #@S @L login:
#DT9600
> 
> and, I looked at there is no /etc/default/uugetty.ttyS0 or no
> /etcconf.uugetty.ttyS0
> 
> Then I edited /etc/inittab to add:
> 
> S0:123456:respawn:/sbin/agetty ttyS0 DT9600 vt100
> 
> and, did "init q" on my Linux.
> 
> WINDOWS95 MACHINE ################
> 
> Tried Hyper Terminal that came with Windows95 with property setting:
> 
> Connection: direct to Com 2, 9600bps, 8 databit, non parity, 1 stop bit,
> hardware flow control.
> 
> VT100 emulation with ASCII character code set, local echo enabled
> 
> 
> 
> 
> 
> -- 
> Toshi IWATA
> iwata@mx2.nisiq.net
> 
Technical Details
Message-ID: <01bc4031$2ffcc0c0$LocalHost@atx>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bc3db5$0ed44ae0$LocalHost@atx>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10684a,5608f2e06a126c4b
X-Google-Attributes: gid10684a,public
X-Google-Thread: 1103af,5608f2e06a126c4b
X-Google-Attributes: gid1103af,public
X-Google-Thread: faa64,5608f2e06a126c4b
X-Google-Attributes: gidfaa64,public
X-Google-Thread: 10669a,5608f2e06a126c4b
X-Google-Attributes: gid10669a,public
X-Google-Thread: 10a997,5608f2e06a126c4b
X-Google-Attributes: gid10a997,public
X-Google-Thread: 100c5f,5608f2e06a126c4b
X-Google-Attributes: gid100c5f,public
X-Google-Thread: f9b51,5608f2e06a126c4b
X-Google-Attributes: gidf9b51,public
X-Google-Thread: f5910,5608f2e06a126c4b
X-Google-Attributes: gidf5910,public
From: "Toshiyuki IWATA" <iwata@mx2.nisiq.net>
Subject: Re: CAN'T CONNECT BY SERIAL CABLE WITH WIN95
Date: 1997/04/11
Message-ID: <01bc4031$2ffcc0c0$LocalHost@atx>
X-Deja-AN: 232320937
References: <01bc3db5$0ed44ae0$LocalHost@atx>
Organization: NIS Internet Service,JAPAN
Newsgroups: alt.linux,alt.os.linux,alt.uu.comp.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.setup,fj.os.linux,japan.comp.linux,linux.act.serial