> Hi,
>   I am using my Solaris SXCE b_76 behind a proxy.
> en I give the command 
> # ping www.google.com
> 
> it gives me unknown host
> 
> I tried using the command
> # export http_proxy=my.proxy.URl:8080
> 
> but no use
> 
> what's the right way to set system proxy in Solaris?

Pings aren't proxied by anything I've heard of.

Nor is proxying a system-level thing; it's up to individual applications.
(some toolsets may have a setting that provides the illusion of something
broader, but only those apps that participate in that scheme would be
affected by the global setting)  In other words, it's not like Windows in
that regard!

And the only thing the OS does with environment variables is provide for
their being passed across an execve(); it's even the applications that
actually choose what to pass, or what meaning if any to apply to the
environment variables.  Some are interpreted by the dynamic linker,
but that's strictly a user-space thing too.

You may just need to set up a proper default route.  Since you
don't say anything about your setup though, any attempt to tell you just
what to do would be guessing.  For instance, your system and your router
need to agree on whether it wants to you to do DHCP to determine your
address and route automatically, or whether you do all that manually.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to