-   Linux - Networking (
-   -   ip communication through serial connection (

pcsaji 12-13-2006 01:56 AM

ip communication through serial connection
I have serial modem connection between two computers. We have to login the remote computer through ip address. How can I get the ip address in this connection?

blackhole54 12-13-2006 02:36 AM

To get internet protocol over a serial line, you have to be running something like point to point protocol (ppp). On Linux, this is usually done with pppd. In this case, the local address for the connection should show up when you run ifconfig.

pcsaji 12-14-2006 01:38 AM

Can we use SLIP to get ip connection over seial line?

blackhole54 12-14-2006 02:50 AM


Originally Posted by pcsaji
Can we use SLIP to get ip connection over seial line?

To my knowledge you can, but I don't know any details. I started to mention it in my last post along with PPP but decided not to.

Here is what the O'Reilly book Linux in a Nutshell has to say about SLIP:


... SLIP is rarely used anymore having been replaced by PPP.

PPP was intended to remedy some of SLIP's failings -- it can hold packets from non-Internet protocols, it impliments client authorization and error detection/correction, and it dynamically configures each network protocol that passes through it.
I don't know what the last phrase means, but it sounds like unless you have a strong reason for preferring SLIP over PPP, you are probably better off with PPP.

All times are GMT -5. The time now is 04:25 AM.