PPP cable connection Linux-Windows?

PPP cable connection Linux-Windows?

Post by Christoph Lang » Tue, 19 Oct 1999 04:00:00



Hi there,

  does anyone know how to connect a Win95 client to a Linux box using
PPP over a null modem cable?

I've read some articles about it, but I could not make it work. Some
articles (for example, one in Linux Gazette #41) say that you need to
run a getty on the serial interface, others don't. I did not find out
what telephone number to dial from the client either (Some examples used
the "1", but it should not matter without a real phone connection,
should it?).

That article in Linux Gazette explained how to install getty on the
serial port. The client should dial in using a terminal window and
logging on as a user having pppd as his/her shell. Is this really
necessary?

I just want to connect my notebook running Windows 95 (using Windows'
dialup network) to a Linux server (I'm running SuSE 6.2), which does not
have any further network connection like Ethernet or so. If I need to
run getty on the serial port, it should not interfere with my modem when
I try to establish an internet connection from my Linux box (without any
connection to the notebook).

Thanks in advance,

Christoph

PS: Please send a CC to my e-mail address.

--
"Gates' Law: Every 18 months, the speed of software halves"
Christoph Lange

 
 
 

PPP cable connection Linux-Windows?

Post by Christoph Lang » Tue, 19 Oct 1999 04:00:00


Hi there,

  does anyone know how to connect a Win95 client to a Linux box using
PPP over a null modem cable?

I've read some articles about it, but I could not make it work. Some
articles (for example, one in Linux Gazette #41) say that you need to
run a getty on the serial interface, others don't. I did not find out
what telephone number to dial from the client either (Some examples used
the "1", but it should not matter without a real phone connection,
should it?).

That article in Linux Gazette explained how to install getty on the
serial port. The client should dial in using a terminal window and
logging on as a user having pppd as his/her shell. Is this really
necessary?

I just want to connect my notebook running Windows 95 (using Windows'
dialup network) to a Linux server (I'm running SuSE 6.2), which does not
have any further network connection like Ethernet or so. If I need to
run getty on the serial port, it should not interfere with my modem when
I try to establish an internet connection from my Linux box (without any
connection to the notebook).

Thanks in advance,

Christoph

PS: Please send a CC to my e-mail address.

--
"Gates' Law: Every 18 months, the speed of software halves"
Christoph Lange


 
 
 

PPP cable connection Linux-Windows?

Post by Peter T. Breu » Tue, 19 Oct 1999 04:00:00


: That article in Linux Gazette explained how to install getty on the
: serial port. The client should dial in using a terminal window and
: logging on as a user having pppd as his/her shell. Is this really
: necessary?

Well, it's about the easiest way to do it, isn't it? The getty takes care of
training the line, and the pppd springs up immediately that the password
is given :-).

: have any further network connection like Ethernet or so. If I need to
: run getty on the serial port, it should not interfere with my modem when

It won't if it is a well-educated getty and you are using file locking to
control access to the serial device. I recommend mgetty(+sendfax).
Make sure the lock file for both getty and pppd is the same! I use
/usr/spool/uucp/LCK..*.

Peter

 
 
 

PPP cable connection Linux-Windows?

Post by Bill Unr » Tue, 19 Oct 1999 04:00:00



Just start pppd on both ends pointing to the correct serial port.
The getty is there in case you want one of the systems to automatically
"answer" . Then you want the chat script at one end to emulate a modem
ringing.
/usr/sbin/pppd /dev/ttyS0 connect "/usr/sbin/chat '' RING ATA CONNECT
'\d\c' "
And at the other end have mgetty use AutoPPP and do
rings 1
in /etc/mgetty*/mgetty.config
and put
/usr/sbin/pppd /dev/ttyS0
in the AutoPPP line.

Put noauth into each's /etc/ppp/options file.

Note Ihave not tried this so I do not know if I have forgotten
something. Anyway the first thing is to run pppd yourself at both ends
to make sure that ppp is setup properly. then try getting chat/mgetty
going.

>Hi there,
>  does anyone know how to connect a Win95 client to a Linux box using
>PPP over a null modem cable?
>I've read some articles about it, but I could not make it work. Some
>articles (for example, one in Linux Gazette #41) say that you need to
>run a getty on the serial interface, others don't. I did not find out
>what telephone number to dial from the client either (Some examples used
>the "1", but it should not matter without a real phone connection,
>should it?).
>That article in Linux Gazette explained how to install getty on the
>serial port. The client should dial in using a terminal window and
>logging on as a user having pppd as his/her shell. Is this really
>necessary?
>I just want to connect my notebook running Windows 95 (using Windows'
>dialup network) to a Linux server (I'm running SuSE 6.2), which does not
>have any further network connection like Ethernet or so. If I need to
>run getty on the serial port, it should not interfere with my modem when
>I try to establish an internet connection from my Linux box (without any
>connection to the notebook).
>Thanks in advance,
>Christoph
>PS: Please send a CC to my e-mail address.
>--
>"Gates' Law: Every 18 months, the speed of software halves"
>Christoph Lange


 
 
 

PPP cable connection Linux-Windows?

Post by Peter T. Breu » Tue, 19 Oct 1999 04:00:00


: That article in Linux Gazette explained how to install getty on the
: serial port. The client should dial in using a terminal window and
: logging on as a user having pppd as his/her shell. Is this really
: necessary?

Well, it's about the easiest way to do it, isn't it? The getty takes care of
training the line, and the pppd springs up immediately that the password
is given :-).

: have any further network connection like Ethernet or so. If I need to
: run getty on the serial port, it should not interfere with my modem when

It won't if it is a well-educated getty and you are using file locking to
control access to the serial device. I recommend mgetty(+sendfax).
Make sure the lock file for both getty and pppd is the same! I use
/usr/spool/uucp/LCK..*.

Peter

 
 
 

PPP cable connection Linux-Windows?

Post by Bill Unr » Tue, 19 Oct 1999 04:00:00



Just start pppd on both ends pointing to the correct serial port.
The getty is there in case you want one of the systems to automatically
"answer" . Then you want the chat script at one end to emulate a modem
ringing.
/usr/sbin/pppd /dev/ttyS0 connect "/usr/sbin/chat '' RING ATA CONNECT
'\d\c' "
And at the other end have mgetty use AutoPPP and do
rings 1
in /etc/mgetty*/mgetty.config
and put
/usr/sbin/pppd /dev/ttyS0
in the AutoPPP line.

Put noauth into each's /etc/ppp/options file.

Note Ihave not tried this so I do not know if I have forgotten
something. Anyway the first thing is to run pppd yourself at both ends
to make sure that ppp is setup properly. then try getting chat/mgetty
going.

>Hi there,
>  does anyone know how to connect a Win95 client to a Linux box using
>PPP over a null modem cable?
>I've read some articles about it, but I could not make it work. Some
>articles (for example, one in Linux Gazette #41) say that you need to
>run a getty on the serial interface, others don't. I did not find out
>what telephone number to dial from the client either (Some examples used
>the "1", but it should not matter without a real phone connection,
>should it?).
>That article in Linux Gazette explained how to install getty on the
>serial port. The client should dial in using a terminal window and
>logging on as a user having pppd as his/her shell. Is this really
>necessary?
>I just want to connect my notebook running Windows 95 (using Windows'
>dialup network) to a Linux server (I'm running SuSE 6.2), which does not
>have any further network connection like Ethernet or so. If I need to
>run getty on the serial port, it should not interfere with my modem when
>I try to establish an internet connection from my Linux box (without any
>connection to the notebook).
>Thanks in advance,
>Christoph
>PS: Please send a CC to my e-mail address.
>--
>"Gates' Law: Every 18 months, the speed of software halves"
>Christoph Lange


 
 
 

1. PPP/SLIP connection from NT to SCO Unix through direct cable connection

We produce client/server software based on winsock using Win3.1/Win95/WinNT as client
and SCO Unix as server. The normal configuration uses network cards and LAN:s. In some
cases we would like to use direct serial cables between the PC COM port and the Unix serial
port still using Winsock i.e. using PPP/SLIP connections.
I remember some years ago testing this with FTP PC/TCP:s SLIP and our Unix-machine and it
worked quite well. Now the same need has occured again, to connect a WinNT4.0 or Win95 WS
to our Unix server, without any modem-equipment in between.
My first question is -  is it possible to do this.  I have been trying it for a while without getting
anywhere. On the SCOUnix side I tried both PPP and SLIP (the slip-configuration was much easier)
and on the NT side the corresponding settings.
On NT I used :
Dial using: DialUp Networking Serial Cable between to PC:s
Dial-Up server type: SLIP/Internet (also PPP/Internet)
- only TCP/IP protocol
- TCP/IP Setting (=address of Unixserver)
.
The Dial-command gives always Error 651...
I have not been able to ping, ftp or telnet in any direction. The dial-up monitor
shows an "User connecting" condition, when trying ping from the server side but thats all.

Is there any easy solution to this or any solution at all. What configuration details have I possibly
missed. Do anyone of you have a working intallation like this, or any examples how you did it.

Yours sincerely
Bengt Bredenberg
Oy Esmi Ab, Finland

2. FSTAB

3. Fast linux-windows connection, slow linux-linux connection??

4. Does anyone know how to do this?

5. Direct Cable Connection between windows 95 and RH 7.1 Linux

6. C source for datefunctions

7. How to establish a PPP connection over direct cable from W2K to Linux ?

8. FORTRAN compiler for Solaris?

9. linux, windows, cable modem connection

10. Linux<->Windows connection using USB host-to-host cable

11. Direct Cable PPP connection between Linux and Win95

12. Direct Cable Connection Between windows and linux

13. Problem to establish PPP connexion to Linux box over serial cable