<HTML ><HEAD ><TITLE > Connecting... </TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.63 "><LINK REL="HOME" TITLE=" Serial Laplink HOWTO " HREF="index.html"><LINK REL="PREVIOUS" TITLE=" On the client side " HREF="x116.html"><LINK REL="NEXT" TITLE=" Internet through the serial port " HREF="x169.html"></HEAD ><BODY CLASS="SECT1" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >Serial Laplink HOWTO</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="x116.html" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="x169.html" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="AEN157" >4. Connecting...</A ></H1 ><P > The moment of truth: connect the computers with the null modem cable, first start the server side (if you are using the <SPAN CLASS="QUOTE" >"/etc/inittab"</SPAN > approach it should be up already), then start the client side. You should see something like this on the server: </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="PROGRAMLISTING" >[root@griis /root]# pppd /dev/ttyS1 nodetach Using interface ppp0 Connect: ppp0 <--> /dev/ttyS1 user zaphod logged in Deflate (15) compression enabled local IP address 192.168.0.1 remote IP address 192.168.1.1 </PRE ></FONT ></TD ></TR ></TABLE ><P > Note that if you started pppd from the <SPAN CLASS="QUOTE" >"/etc/inittab"</SPAN > file these messages will appear in <SPAN CLASS="QUOTE" >"/var/log/messages"</SPAN >. On the client side you should see something like this: </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="PROGRAMLISTING" >[root@wylg /root]# pppd /dev/ttyS0 nodetach Using interface ppp0 Connect: ppp0 <--> /dev/ttyS0 Remote message: Success Deflate (15) compression enabled local IP address 192.168.1.1 remote IP address 192.168.0.1 </PRE ></FONT ></TD ></TR ></TABLE ><P > On either side you can ping the other computer to see if the connection is active: </P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" WIDTH="100%" ><TR ><TD ><FONT COLOR="#000000" ><PRE CLASS="PROGRAMLISTING" >[zaphod@wylg zaphod]$ ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) from 192.168.1.1 : 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_seq=0 ttl=255 time=31.7 ms 64 bytes from 192.168.0.1: icmp_seq=1 ttl=255 time=20.3 ms 64 bytes from 192.168.0.1: icmp_seq=2 ttl=255 time=19.2 ms 64 bytes from 192.168.0.1: icmp_seq=3 ttl=255 time=20.3 ms --- 192.168.0.1 ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max = 19.2/22.8/31.7 ms </PRE ></FONT ></TD ></TR ></TABLE ><P > You can now access the server through any TCP/IP services it might have available, such as FTP, HTTP, TELNET and SAMBA. </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="x116.html" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="x169.html" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >On the client side</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" > </TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Internet through the serial port</TD ></TR ></TABLE ></DIV ></BODY ></HTML >