SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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).
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.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.