I have a bit of a problem, I am behind a WebMarshal authenticating proxy. The proxy settings is setup correctly in the GUI network screen and apps like Firefox detects it and works.
I also edited my /etc/yum.conf to add the proxy settings and yum works, but for the life of me I can't get GNOME Terminal to read the proxy settings and authenticate.
what I have tried and entered into ~/.profile ~/.bash_profile and ~/.bashrc is:
Code: Select all
http_proxy="http://username:password@192.168.0.253:8080/"
export http_proxy
Code: Select all
ping: www.google.com: Name or service not known
Code: Select all
[georgel@centosdevbox1 ~]$ dig www.google.com
; <<>> DiG 9.9.4-RedHat-9.9.4-50.el7_3.1 <<>> www.google.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 25328
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4000
;; QUESTION SECTION:
;www.google.com. IN A
;; Query time: 5506 msec
;; SERVER: 192.168.0.7#53(192.168.0.7)
;; WHEN: Tue Jul 11 09:51:53 SAST 2017
;; MSG SIZE rcvd: 43
Code: Select all
[georgel@centosdevbox1 ~]$ nslookup www.google.com
;; Got SERVFAIL reply from 192.168.0.7, trying next server
;; Got SERVFAIL reply from 192.168.0.8, trying next server
;; connection timed out; trying next origin
Server: 192.168.0.7
Address: 192.168.0.7#53
** server can't find www.google.com: NXDOMAIN