Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


pppd can connect only ONCE

Posted on 1999-01-24
Medium Priority
Last Modified: 2010-03-18
I'm running RH 5.2 (kernel 2.0.36) and pppd version 2.3.5-1 (rpm -qf pppd). My problem is this: pppd can connect to my ISP just fine (can send/recieve packets, etc) but, after hanging up, trying to dial again results in chat hanging waiting to send ATZ to the modem (deduced from watching log/messages in debug mode). The modem and serial port seem fine - I can connect to it (using minicom) and AT/OK sequence works as expected. I can also run the chat script manually (chat -f dialing-script </dev/modem >/dev/modem) and it can talk to the modem and dials just fine. This leads me to believe I'm seeing some sort of bug in pppd that causes the io redirrection for chat to get muffed. I've tried manually rmmod ppp & slhc between connections thinking that might reset things but no luck; clearing the condition requires rebooting the kernel. After reboot it connects just fine, again, only once. I've been poking around with search engines but can't find anyone else with this problem...

Sound familar to anyone?

Oh yes, this modem worked flawlessly with ppp version 2.2.0f-5 and windows 98 (shudder) so I don't think the modem is the problem.
Question by:oxymoron
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4

Author Comment

ID: 1588212
Edited text of question

Author Comment

ID: 1588213
Edited text of question

Author Comment

ID: 1588214
Edited text of question

Author Comment

ID: 1588215
Edited text of question

Accepted Solution

HalldorG earned 400 total points
ID: 1588216
Check where the lock file is, it looks like the chat does not release the lock.

A lock parameter with pppd could also solve something.
I also as always suggest using mgetty for control of the
serial line.

Featured Post

Veeam Disaster Recovery in Microsoft Azure

Veeam PN for Microsoft Azure is a FREE solution designed to simplify and automate the setup of a DR site in Microsoft Azure using lightweight software-defined networking. It reduces the complexity of VPN deployments and is designed for businesses of ALL sizes.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question