Re: Automatic proxy configuration for KDE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Currently I have two dialup accounts for Internet access from two
> different ISPs. They both have services that the other one doesn't have. I
> find it very annoying to change the proxy settings in Konqueror (or
> KControl) every time I connect with an account after having used the other
> one. Is there a way to make that process automatic? I've looked in KPPP
> and i'm out of clues. If it's not currently possible, I think that would
> be a nice feature.

I have no idea whether there's an automatic or GUI-based way of doing this,
but a quick 'n' dirty hack would go something like this:
1. Set up the proxy settings for ISP 1.
2. Save ~/.kde/share/config/<file storing the proxy settings> as 'isp1'
3. Set up the proxy settings for ISP 2.
4. Save ~/.kde/share/config/<file storing the proxy settings> as 'isp2'
5. Create a script, let's call it 'isp1-proxy', that copies 'isp1' back to
~/.kde/share/config/<file storing the proxy settings> and runs
'kbuildsycoca --noincremental'.
6. Create a corresponding script for isp2
7. On connection to ISP 1, run isp1-proxy, and on connection to ISP 2, run
isp2-proxy

For step 7, you'd probably want to see whether kppp can run a script on
connection. If not, it's probably not much of a saving.

Regards,
Philip
-- 
KDE Documentation Team: http://i18n.kde.org/doc
KDE Documentation Online: http://docs.kde.org

___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux