Results 1 to 3 of 3

Thread: Getting wget/apt-get to use a proxy?

  1. #1
    Junior Member registered user
    Join Date
    Jun 2004
    Location
    United States
    Posts
    10

    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!

  2. #2
    Junior Member registered user
    Join Date
    Jun 2004
    Location
    United States
    Posts
    10
    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!

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    900
    wget also has a configuraion file called /etc/wgetrc where you can add this same info. Glad you got it working.

Similar Threads

  1. apt-get & proxy
    By Kreator in forum General Support
    Replies: 7
    Last Post: 01-06-2006, 09:42 AM
  2. Proxy Drucker etc. in ISO
    By unterzahl in forum German Forum
    Replies: 0
    Last Post: 05-30-2005, 01:46 PM
  3. Proxy Authentication
    By bigfr0g in forum General Support
    Replies: 0
    Last Post: 12-15-2004, 08:32 AM
  4. wget from behind a firewall
    By bamarob in forum Networking
    Replies: 3
    Last Post: 05-12-2004, 06:47 PM
  5. wget <url> how does this work??
    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
  •  


SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps picture

SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps

$40.99



ON SALE TURBOLINK EVO  4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive picture

ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive

$199.99



Western Digital Blue 3D NAND 250GB 2.5

Western Digital Blue 3D NAND 250GB 2.5" SATA III Internal SSD - WDS250G2B0A

$29.99



Fikwot 512GB SATA SSD 2.5'' SSD SATA III 6Gb/s Internal Solid State Drive 560MBs picture

Fikwot 512GB SATA SSD 2.5'' SSD SATA III 6Gb/s Internal Solid State Drive 560MBs

$66.00



Samsung 256 GB Internal SATA SSD Fully Tested 80-99% Health picture

Samsung 256 GB Internal SATA SSD Fully Tested 80-99% Health

$28.00



256GB mSATA SSD DRIVE  MIXED BRAND TESTED WORKING picture

256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING

$23.50



Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive picture

Crucial MX500 CT250MX500SSD1 250 GB SATA III 2.5 in Solid State Drive

$24.99



SAMSUNG SSD 860 EVO 1TB 960GB 512GB 500GB 480GB 250GB 2.5 6Gbps picture

SAMSUNG SSD 860 EVO 1TB 960GB 512GB 500GB 480GB 250GB 2.5 6Gbps

$125.00



Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive picture

Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive

$199.00



Netac 2TB SSD 3D NAND 2.5'' SATA III 6GB/s Internal Solid State Drive picture

Netac 2TB SSD 3D NAND 2.5'' SATA III 6GB/s Internal Solid State Drive

$190.00