Author Topic: Proxy Settings  (Read 4071 times)

lucipard

  • Newbie
  • *
  • Posts: 4
    • View Profile
Proxy Settings
« on: January 30, 2005, 01:40:33 pm »
Hi,

can anyone tell me how browsers get the proxy settings after a connection has been established?

I'm trying to use hostap/wpa_supplicant's own scan and join, which now works up to dhcp, but i haven't found yet how to update the proxy information depending on which network was actually joined, so it's always the one that i set in the network settings proxy tab.

BRs

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Proxy Settings
« Reply #1 on: April 23, 2005, 04:16:10 am »
Quote
can anyone tell me how browsers get the proxy settings after a connection has been established?

I'm trying to use hostap/wpa_supplicant's own scan and join, which now works up to dhcp, but i haven't found yet how to update the proxy information depending on which network was actually joined, so it's always the one that i set in the network settings proxy tab.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64584\"][{POST_SNAPBACK}][/a][/div]

I've wondered about that as well. I find for command line applications I sometimes have to enter
   export http_proxy=http://192.168.0.1:8080

or whatever.

there's also the equivalent ftp_proxy if you need that.

I presume somewhere the startup scripts for the various apps pick up the proxy settings from the dialup wizard.


Paul
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Proxy Settings
« Reply #2 on: April 23, 2005, 05:08:37 am »
on a C3000, the proxy configuration is stored in /home/zaurus/Applications/Network/modules/Proxies.conf

if type = 1 proxy is enabled, if type = 0 proxy is disabled
the rest should be self explanatory.

This file is usually configured by the network config applet.

Netfront and others use it.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K