Setting network options & proxy in CentOS
Ive done a minimal install of CentOS (so no GUI!) just to play with and now i'm trying to set up the NIC. The only problem is, having assigned an IP address and the subnet mask, how do I configure the proxy settings? I can ping our DNS server but cannot ping anything externally (obviously!).
Im quite new to Linux so dont really know where these are set? Thanks for any info. |
How do I configure the proxy settings?
CLI apps like lynx, elinks, wget can be configured globally (/etc/appname config file) or individually (~/.appname config file) for that. Most of them can detect and use environment variables (PROTO_PROXY=). Here's one way to set them globally using environment variables: - create executable file /etc/profile.d/local.sh (presuming default Bash shell) - add contents: Code:
local s |
do you also have a gateway entry in you ifcfg-eth0 ?
|
All times are GMT -5. The time now is 08:20 AM. |