LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   KInternet disconnecting (https://www.linuxquestions.org/questions/suse-opensuse-60/kinternet-disconnecting-350681/)

Lang 08-06-2005 06:07 PM

KInternet disconnecting
 
Hi all.
I installed SUSE 9.3 Two days ago so I am definitely a newb. My question is: How can I get KInternet to stop disconnecting my modem about every five to ten minutes?

Also, YAST shows that I have wvdial installed but I can't find it. It isn't listed with the KInternet dialer on my main menu. Where should I look for this program?
TIA.

LTR

JZL240I-U 08-08-2005 07:30 AM

Re: KInternet disconnecting
 
Quote:

Originally posted by Lang
... How can I get KInternet to stop disconnecting my modem about every five to ten minutes?
Why do you think it is Kinternet's doing? Please post the log (I think from /var/log/modem (?)) or directly from the Kinternet window.

Quote:

Originally posted by Lang
... Also, YAST shows that I have wvdial installed but I can't find it. It isn't listed with the KInternet dialer on my main menu. Where should I look for this program?...
You can use e.g. the commands "locate" or "find", but probably it is in /usr/bin or /usr/sbin.

Normally you should need neither. In the system-tray in the lower right corner is a little symbol like a plug. Click on this and it will handle the details (connecting / disconnecting).

Lang 08-08-2005 04:28 PM

Hi and thanks for your reply.

Here is the log you requested.
SuSE Meta pppd (smpppd-ifcfg), Version 1.58 on linux.
Status is: disconnected
trying to connect to smpppd
connect to smpppd
Status is: disconnected
Status is: connecting
pppd[0]: Plugin passwordfd.so loaded.
pppd[0]: --> WvDial: Internet dialer version 1.54.0
pppd[0]: --> Initializing modem.
pppd[0]: --> Sending: ATZ
pppd[0]: ATZ
pppd[0]: OK
pppd[0]: --> Sending: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: AT Q0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
pppd[0]: OK
pppd[0]: --> Sending: ATM1
pppd[0]: ATM1
pppd[0]: OK
pppd[0]: --> Modem initialized.
pppd[0]: --> Sending: ATDT7726428
pppd[0]: --> Waiting for carrier.
pppd[0]: ATDT7726428
pppd[0]: CONNECT 115200
pppd[0]: --> Carrier detected. Chatmode finished.
pppd[0]: Serial connection established.
pppd[0]: Renamed interface ppp0 to modem0
pppd[0]: Using interface modem0
Status is: connecting
pppd[0]: Connect: modem0 <--> /dev/ttyS0
pppd[0]: CHAP authentication succeeded
pppd[0]: local IP address nn.mmm.ll.kkk
pppd[0]: remote IP address nn.mmm.ll.kkk
pppd[0]: primary DNS address
pppd[0]: secondary DNS address
pppd[0]: Script /etc/ppp/ip-up finished (pid 10038), status = 0x0
Status is: connected
pppd[0]: Terminating connection due to lack of activity.
The connection was idle and shut down.
Status is: disconnecting
pppd[0]: Connect time 13.4 minutes.
pppd[0]: Sent 32821 bytes, received 98246 bytes.
pppd[0]: Connection terminated.
pppd[0]: Script /etc/ppp/ip-down finished (pid 10374), status = 0x0
Status is: disconnected
pppd[0] died: Link idle: Idle Seconds reached. (exit code 12)

You suggested that I use the plug shaped connection icon in my system tray. That is exactly what I've been doing. It is identified as KInternet. I note from reading the log that apparently it is also the wvdial program.

You asked why I thought it was KInternet causing the disconnection. I guess I don't really, but I don't know what else it would be. I've been with the same ISP for ten years and they have never cut me off even after several hours on line. I've used Kppp in the past and it never cut me off but I am unable to figure out how to use it In SUSE. It tells me that I must be root to use it and won't let me connect. So I deduced, perhaps incorrectly, that it was the KInternet program causing the disconnect.

I hope this info will help to find the problem.

BTW while I was typing this I was once again disconnected.

Again, thank you.
LTR

JZL240I-U 08-09-2005 01:43 AM

Hi, Lang

Thanks for posting the protocoll output.

For security's sake please edit your post and change your four IP-adresses to something like local IP address nn.mmm.ll.kkk so as to avoid possible future trouble

Okay, here is the culprit
Quote:

Originally posted by Lang
...
Status is: connected
pppd[0]: Terminating connection due to lack of activity.
The connection was idle and shut down.
Status is: disconnecting
...
pppd[0] died: Link idle: Idle Seconds reached. (exit code 12)

Obviously you choose an interval for idling (default is 300 seconds I believe) that you exceeded. This is for saving money for those of us who use dialup ;). If you have a flat rate you might want to disable this function (probably set it to zero) or increase it according to your needs. Best use YAST -> Modem -> setup (or some such) which will have a help page available if necessary.

Quote:

Originally posted by Lang
...You suggested that I use the plug shaped connection icon in my system tray. That is exactly what I've been doing. It is identified as KInternet.
Oops ;).

Quote:

Originally posted by Lang
...I've used Kppp in the past and it never cut me off but I am unable to figure out how to use it In SUSE. It tells me that I must be root to use it and won't let me connect. So I deduced, perhaps incorrectly, that it was the KInternet program causing the disconnect....
You must be root to configure your connection(s) but you can of course connect as a normal user. Please don't do that as root, we'll figure this out yet (but see above -- I hope ;)). Actually it is wvdial handling your connection's details, but nevermind, YAST is writing in the wvdial.conf to configure it for you.

Lang 08-09-2005 01:08 PM

Thanks for all your help!!

I know it was pretty stupid to send my my IP addresses etc but frankly I didn't even read the log until it appeared here. I have now edited my post thanks for the heads up.

Your suggestion to use yast did the trick the page is about 3 pages back under modem config. I changed the timeout to 0 and so far I am staying connected.

Again, thanks.
LTR


All times are GMT -5. The time now is 06:01 PM.