[plug] Auto-proxy configuration on Linux clients

Bernard Blackham bernard at blackham.com.au
Tue Aug 12 16:59:57 WST 2003


On Tue, Aug 12, 2003 at 04:31:15PM +0800, Ryan wrote:
> I was thinking that it wasn't picking up the correct IP on the
> Debian box.  It has this to choose from:
> 
> vaio:/home/ryan# ifconfig | grep -B1 inet
> eth0      Link encap:Ethernet  HWaddr 08:00:46:68:15:31
>           inet addr:10.2.0.62  Bcast:10.2.255.255  Mask:255.255.0.0
> --
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0

Can't answer your main question, but from my (failed) experiences
previously, I did learn that myIpAddress() returns the IP address of
the interface through which the PAC file was fetched. Hence it was
pretty useless when I was loading it off localhost.

Regards,

Bernard.

-- 
 Bernard Blackham 
 bernard at blackham dot com dot au



More information about the plug mailing list