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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
CPU#7 stuck for 22s! 4 343
Ubuntu VNC server rejects access by client 7 214
Linux Hanging with disable Error Output 4 95
Redirect mail server from IP to IP 2 102
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In an interesting question ( here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

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