Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi, this is my first day of work! In this place ALL people use windows, and when I tour on my laptop this guys look me like a very strange person ! But I want to keep to work with linux, but I have same problem to resolve before:
In this place there is a proxy: to use firefox I configured to use proxy, but I cannot use wget and apt. how can I config network to use my linux box with a proxy without problems?
you need to read the manpage for curl and wget to learn how to use proxies with them, it's totally basic stuff, and just part of the program. essentially they will use the http_proxy environmental vairble if it exists, e.g. "http_proxy=http://myproxy:8080"
First of all, thanks for your answer. I'll try your tip, but do u know if there is a "main configuration" that allow to config all programs in transparent way, such as you don't have to change the config to all programs.
no there isn't unfortunately. this was asked fairly recently, and i think the closest i could suggest was to use iptables to intercept outbound port 80 traffic and point it at a local copy of squid. squid can then be configured to hold a user name and password for upstream authentication. if you don't need to authenticate then you should be able to use a simpler proxy, like tinyproxy, which is very simple to configure.
"global" settings are normally configured in a per desktop environment way. firefox for example operates at a very high level of abstraction on a system, whilst wget operates down at the very guts of a shell, to the best of my knowledge there is no way to actually set a proxy across everything, unless you have a toold i'm unaware of which will simply set each known location at each layer seperatly for a proxy.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.