Proxy auth fails in shell

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Proxy auth fails in shell
# 1  
Old 03-27-2012
Power Proxy auth fails in shell

hi

I am using RHEL 5.5.

I updated the http-proxy like this

http_proxy=http://usernameSmilieassword@IPSmilieort/

When i do ping www.google.com

PING www.l.google.com (74.125.236.177) 56(84) bytes of data.

then it goes blank. I dont know why.

But in the same linux, in gui mode. In my browser i can get google page.

Please help

Regards
Guru
# 2  
Old 03-27-2012
The value of http_proxy has no possible use to ping. It's not HTTP, or even TCP, it's just pure ICMP. No web connection or any other sort of connection is being formed and web proxies cannot help.

You'll have to let ICMP through your firewall for ping to work.
# 3  
Old 03-28-2012
Hi Corona,

i understood. I want to register my system with RHN. Such that I can use YUM to download softwares.

But I am not successful, Since because of proxy. When i do rhn_register. It is not able to connect.

Please help. Else suggest me if I can manually add some other good repo to YUM.

Regards
Guru
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. IP Networking

Connecting via proxy chain to Upstream proxy

I need to configure a proxy on my local machine to use an upstream proxy (installed on another machine). The upstream proxy requires Digest/NTLM authorization. I want the local proxy to deal with the upstream proxy's authorization details and provides authorization free access to users that connect... (0 Replies)
Discussion started by: Russel
0 Replies

2. Shell Programming and Scripting

Squid proxy shell script

i need squid proxy log file daily auto generate by shell script (1 Reply)
Discussion started by: sanjeetkumar086
1 Replies

3. Shell Programming and Scripting

How to exit from shell script if above condition fails?

HI cd ${back_home} if above back_home does not exist, then script shoul exit. Please let us know how to do that (7 Replies)
Discussion started by: buzzme
7 Replies

4. Shell Programming and Scripting

Shell Script for User AUTH Help

#!/usr/bin/ksh /bin/clear LIST_USERS="user1|user2|user" echo "Please enter the PASSWORD:" stty -echo read PASSWORD stty echo if ; then echo "You have access!" else echo "ACCESS DENIED!" exit fi This above script is not working when I auth more then one user w/in... (22 Replies)
Discussion started by: shiv2001in
22 Replies

5. Shell Programming and Scripting

Need help with a shell script:Config Transparent Proxy using Shell

I want to config Transparent Proxy using Shell Script. I have more questions<exercise of me :D>: + Check that the squid is installed or not install and version is installed +Allows users to choose to run a transparent proxy or not +Perform configuration and turn on service in accordance... (0 Replies)
Discussion started by: kaka287
0 Replies

6. IP Networking

Software/tool to route an IP packet to proxy server and capture the Proxy reply as an

Hi, I am involved in a project on Debian. One of my requirement is to route an IP packet in my application to a proxy server and receive the reply from the proxy server as an IP packet. My application handles data at the IP frame level. My application creates an IP packet(with all the necessary... (0 Replies)
Discussion started by: Rajesh_BK
0 Replies

7. Shell Programming and Scripting

help me with write script shell to do grid-proxy-init

hi , i have problem with writing script shell to create proxy grid like this: grid-proxy-init -cert cert.pem -key key.pem the server will prompt me to enter passphrase(similar to password) in return. the problem is that i don't know how to respond to that request, i try writing script like... (1 Reply)
Discussion started by: vitid
1 Replies

8. Shell Programming and Scripting

why shell script fails?

hi , i m trying to run a shell script automatically , some time it works fine but some time it fails , what could be the problem . If anybody have an idea about this problem then reply . Thanks in advacne (4 Replies)
Discussion started by: tahir23
4 Replies

9. Shell Programming and Scripting

why shell script fails

hi .. I have automate some process on unix through sehll script . but i don't know there is some problem in scripts, some time shell script works and some time it fails. so my query is that "Why shell script fails some times?" thanks (4 Replies)
Discussion started by: tahir23
4 Replies

10. Linux

shell proxy settings

hi, im very new to linux. my linux box in the office has an a proxy server to access the internet. i can set this on my browsers. id like to know how i give my shell (bash) the proxy server settings so i can wget, install perl modules, etc. on my shell terminal without problems. (1 Reply)
Discussion started by: marcpascual
1 Replies
Login or Register to Ask a Question