LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   kppp is driving me crazy (https://www.linuxquestions.org/questions/linux-networking-3/kppp-is-driving-me-crazy-206378/)

rhoniel 07-17-2004 05:45 PM

kppp is driving me crazy
 
Hello guys,
I am trying to connect to internet through kppp for about 2 months but I had no success. I My ISP is access4less and I am dialing from Alabama. The Kppp agent dials, the ISP answers and I get a message saying 'CONNECT' but then after about 30 seconds I get a message saying that 'pppd has died unexpectedly' or something like that. I had same problems on Mandrake 9.2, Red Hat 7.2, Peanut Linux 9.5 and on Knoppix 3.x. When I viewed the error log file, it seems the kppp is waiting a response from my ISP and my ISP doesn't respond as expected. I tried to send empty string to my ISP but it didn't work either. (BTW my ISP uses PAP authentication). I have tried all kind of different settings in the kppp including inserting pauses in the script, sending empty string, adding noauth and defaultroute options but nothing seems to work and I get same error all the time.

Now the funny thing is that I can connect to internet using command line without a hitch. I give following command to get connected to my ISP:

/usr/sbin/pppd noauth user myname defaultroute /dev/ttyS4 115200 noipdefault usepeerdns connect "/usr/sbin/chat -v OK ATDT5940031 CONNECT "

My secrets files also work fine and I have no problem with these.

I have spent enough time on this problem than I can really afford. Do you guys have any suggestion? I would certainly appreciate your help.

Rhoniel

rhoniel 07-18-2004 03:38 AM

Here is some more information about my problem.

-I have used chmod u+s /usr/sbin/pppd but it didn't help.
-I tried to run kppp is root and it didn't help either.
-I have tried putting noauth, defaultroute, usepeerdns and some other options in '/etc/ppp/options' but it didn't help either.

Here is the error message that I got from the log file:

Jul 17 20:03:48 localhost pppd[2642]: pppd 2.4.1 started by root, uid 0
Jul 17 20:03:48 localhost pppd[2642]: Using interface ppp0
Jul 17 20:03:48 localhost pppd[2642]: Connect: ppp0 <--> /dev/tts/4
Jul 17 20:04:18 localhost pppd[2642]: Terminating on signal 15.
Jul 17 20:04:24 localhost pppd[2642]: Connection terminated.
Jul 17 20:04:24 localhost pppd[2642]: Receive serial link is not 8-bit clean:
Jul 17 20:04:24 localhost pppd[2642]: Problem: all had bit 7 set to 0
Jul 17 20:04:24 localhost pppd[2642]: Exit.

There is one thing in this message from error log that I do not understand. In third line it says '.....<--> /dev/tts/4' and I I thought it should be '.....<--> /dev/ttyS4' instead. I don't know if it has any significance.

Is GNOME's internet dialer any better than kppp?
Thanks.

Rhoniel

rhoniel 07-19-2004 11:35 PM

Anyone...........


All times are GMT -5. The time now is 03:49 PM.