pppd can connect only ONCE

Posted on 1999-01-24
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 200 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

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

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…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

623 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