Bug 130472 - knetworkmanager modem dialin - all kde applications are in offlinemode
Summary: knetworkmanager modem dialin - all kde applications are in offlinemode
Status: RESOLVED WAITINGFORINFO
Alias: None
Product: knetworkmanager
Classification: Miscellaneous
Component: ppp (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Will Stephenson
URL:
Keywords:
: 144816 148306 149612 161126 161630 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-08 18:28 UTC by Holger Hees
Modified: 2011-03-19 21:45 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hees 2006-07-08 18:28:44 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    SuSE RPMs

i dialup my internet connection with knetworkmanager. all is ok. i can use firefox... but all my kde applications are in offlinemode. sysinfo:/ display networkstatus: offline.

but i am online!!!!
Comment 1 Holger Hees 2006-07-10 09:50:11 UTC
i dialup with my analog modem connection!!! configured with yast
Comment 2 Holger Hees 2006-09-17 10:51:21 UTC
i found a provisional solution.

after dialing my provider i call 
/opt/kde3/bin/dcop kded networkstatus setNetworkStatus NMNetwork 1
manual and all works fine.
Comment 3 Will Stephenson 2007-03-08 21:58:59 UTC
Will be fixed in openSUSE 10.3.
Comment 4 Thomas McGuire 2007-04-29 18:35:51 UTC
*** Bug 144816 has been marked as a duplicate of this bug. ***
Comment 5 Thomas McGuire 2007-04-29 18:40:52 UTC
I had the same problem on Kubuntu 7.04, although I use a wired network, not a dialup connection.
I think the problem was that I set up the connection manually using the kcm_knetworkconfmodule control center module (no idea if SuSE uses that too). 
I think it was disabling KNetworkmanager's autostart which solved the problem.
Comment 6 Luis F. Lopez M. 2007-07-13 20:20:56 UTC
Same problem with Kubuntu 7.10 and a 3G ppp connection. Knetworkmanager is able to dial to the provider after following the steps provided here:

http://www.marotori.com/blog/?p=23

Also, the suggested workaround from Holger works for me...
Comment 7 Tommi Tervo 2007-11-12 08:27:09 UTC
*** Bug 148306 has been marked as a duplicate of this bug. ***
Comment 8 David 2007-11-12 09:43:24 UTC
I have a request: as kervel wrote in the Kubuntu version of this bug at https://bugs.launchpad.net/ubuntu/+source/knetworkmanager/+bug/86680 I also would prefer that when this is fixed it is by removing the 
"preventing applications from accessing the internet when knetworkmanager thinks there is no internet" functionality.  

I very frequently configure network connections manually (ppp, bluetooth, lan, etc.) and this is a problem which has been bugging me for ages.
Comment 9 Will Stephenson 2007-11-12 12:09:00 UTC
Kubuntu packagers:
Kubuntu should use the patched networkstatus versions of kppp and kinternet if it is using the networkstatus application (kio_http, kmail, kopete, konversation) patches.  

These branches are in branches/~wstephens in SVN.

Users:
If you write your own network configuration scripts, you can extend them to register a network with kded networkstatus and set it online/offline appropriately.

If you don't want to do this you should disable kded's network status daemon in  kcmshell kcmkded (aka Service Manager in kcontrol).

Jonathan: is there a catch-all kubuntu packagers mail alias in bugs.kde.org i should use for cases like these?
Comment 10 Thomas McGuire 2008-01-27 01:35:17 UTC
*** Bug 149612 has been marked as a duplicate of this bug. ***
Comment 11 Stephan Diestelhorst 2008-03-19 14:36:40 UTC
Will:
How is one supposed to add new networks from a script? The obvious
dcop kded networkstatus registerNetwork foo 0
fails with:  cannot handle datatype 'NetworkStatus::Properties'

How can one create the proper object here?
Comment 12 Will Stephenson 2008-03-20 14:03:01 UTC
Stephan: you can't, unfortunately.  You would have to write a small binary to register it.  Mail me privately if you need help with this.

(This is fixed in KDE 4, you have "method void org.kde.Solid.Networking.Service.registerNetwork(QString networkName, int status, QStringserviceName" there)
Comment 13 Will Stephenson 2008-06-15 12:15:15 UTC
*** Bug 161126 has been marked as a duplicate of this bug. ***
Comment 14 Will Stephenson 2008-06-15 12:15:37 UTC
*** Bug 161630 has been marked as a duplicate of this bug. ***
Comment 15 Will Stephenson 2008-06-15 12:16:41 UTC
I'll try to do something about this for KDE 3.
Comment 16 Lamarque V. Souza 2011-03-17 01:03:15 UTC
Can I close this bug since it has been fixed in KDE SC 4.x?