LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-02-2005, 05:40 AM   #1
brianrw96
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake
Posts: 2

Rep: Reputation: 0
High packet loss PPP connection


Hi all,

I am attempting to create a connection over a pair of serial modems between two computers. The idea is to allow me to log into the one machine from the other remotely over a telephone line.

I have managed to create the connection using a combination of mgetty, ppp and kppp. The connection is established fine -- kppp brings up a terminal window that allows me to login to the remote machine. Using this terminal I can look around and view things (using the less command). When I click continue, the ppp connection is established.

I know that this connection is established because pinging the remote machine returns some packets at the beginning but then stops. In general, every time I connect the machines and I ping the remote server I get about 5 packets returned and then nothing -- no packets get returned.

Does anyone know of a way to reduce this problem. I can cope with a slow connection but I have to be able to ssh into the remote machine and alter files on it. I also need to be able to send new files from my home machine to the remote machine.

I have tried a range of speeds for the modem and ppp connections with no difference in the results. I have also used most of the pppd options to try and solve the problem.

Any suggestions will be appreciated.

Thanks

Brian
 
Old 08-03-2005, 11:05 PM   #2
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Try using hardware flow control....
Add "modem" and "crtscts" to /etc/ppp/options. Be sure that kppp doesn't override these. Browse the tabs, and check that it doesn't specify "xonxoff" (software flow control).
If it doesn't work, add "debug" to see what's going on in /var/log/* (and grep for pppd).

Also, the output of ps may indicate how pppd is being called...

There's another esoteric option named "cdtrcts". See pppd(8)

In the end, you must have the same upload/download speed.
 
Old 08-04-2005, 01:47 AM   #3
brianrw96
LQ Newbie
 
Registered: Aug 2005
Distribution: Mandrake
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Primo,

Thanks for the assistance -- I discovered that the pppd call is being made with xonxoff as well as crtscts. I am sure this is the problem -- just have find where the xonxoff setting is coming from since none of my settings (or kppp's settings) have that option set.

Thanks again

Brian
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
packet loss. bruse Linux - Networking 1 09-01-2005 08:24 AM
70% packet loss bingviini Linux - Networking 5 11-18-2004 11:35 AM
Packet loss on Internet Connection corvy Linux - Networking 0 06-11-2004 04:26 AM
What can cause packet loss? Micah Linux - Hardware 8 03-15-2004 12:31 AM
90% packet loss to router? OatBran Linux - Networking 7 11-19-2001 01:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration