No internet access in terminal

My Fedora Linux 30 cant access internet from TERMINAL. How do I access and use dnf command with a web proxy server on a Fedora Linux ?

1 Like

@kks What error do you get when you try to access internet from the terminal?

1 Like

you should configure dnf to use your proxy:

You need to configure the proxy server in /etc/dnf/dnf.conffile as follows:

sudo vi /etc/dnf/dnf.conf

  1. proxy=http://URL:PORT/ – Proxy server URL to the proxy, You must set a complete URL, including the TCP port number.
  2. proxy_username=YOUR-PROXY-USERNAME-HERE (optional)- Your proxy server username.
  3. proxy_password=YOUR-SUPER-secrete-PASSWORD-HERE (optional) – Your proxy server password.

if you’re in a bussiness environment consult your IT team…




sorry for late reply hhlp.
Thanks for your solution

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.