-
Junior Member
registered user
Getting wget/apt-get to use a proxy?
I'm using Knoppix 3.4 05-17 (HD Installed), on a networked computer. My main computer shares internet to the linux computer using a proxy. I can set the web browsers in knoppix to use the proxy, but I wanted to use apt-get update, and I need to tell it to use my proxy settings. Same thing with wget. I was going to use the klik "point-and-klik" software store. And running "wget klik.berlios.de/client/install -O -|sh" fails because I need to be able to tell it to use my proxy. Is there a way I can globally set it up so everything can use my HTTP and FTP proxy?
btw, my proxy settings are:
HTTP: 192.168.0.1:8080
FTP: 192.168.0.1:21
(no user or pass)
Figured I'd mention the addresses so it'd be easier to tell me exactly what to do. Thanks!
-
Junior Member
registered user
man... i am just figuring out everything for myself, aren't i?
lol, i figured it out, after *much* searching... and I thought I might as well post my solution so these forums are a wealth of good information!
I added:
export http_proxy=http://192.168.0.1:8080/
export ftp_proxy=$http_proxy
to the end of my /ect/profile
the last "/" after the address is important, so if you use it to fill in your own proxy address, keep it!
hope someone finds this useful!
-
Senior Member
registered user
wget also has a configuraion file called /etc/wgetrc where you can add this same info. Glad you got it working.
Similar Threads
-
By Kreator in forum General Support
Replies: 7
Last Post: 01-06-2006, 09:42 AM
-
By unterzahl in forum German Forum
Replies: 0
Last Post: 05-30-2005, 01:46 PM
-
By bigfr0g in forum General Support
Replies: 0
Last Post: 12-15-2004, 08:32 AM
-
By bamarob in forum Networking
Replies: 3
Last Post: 05-12-2004, 06:47 PM
-
By urpk in forum Networking
Replies: 1
Last Post: 11-14-2003, 06:31 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
HP EliteBook 850 G5 15.6" 64GB RAM 2TB SSD Intel Quad Core i7 4.80GHz AMD Radeon
$443.00
Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP
$38.99
A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G
$13.99
Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS
$40.00
CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)
$79.95
HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin
$12.90
Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM
$21.33
HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM
$14.85
16GB 8GB 4GB DDR2 800MHz PC2-6400U 240Pin intel DIMM Desktop PC Memory SDRAM LOT
$79.99
HyperX FURY DDR4 64GB (4x16GB) 3200MHz PC4-25600 Desktop RAM Memory DIMM 288PIN
$129.95