Results 1 to 4 of 4

Thread: How To Connect To Internet Using Lan in Terminal/console?

  1. #1
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262

    How To Connect To Internet Using Lan in Terminal/console?

    I connect to high speed internet thru a proxy server on lan.In firefox/konqueror I am prompted for a username and password to connect to the proxy server.
    I want to use this connection to do "apt-get" from the console but it always says "proxy authentication failed" which is obvious as I have not entered the username and password in the console.How I will be able to do that I have no idea.
    Please help.

  2. #2
    Senior Member registered user
    Join Date
    Apr 2005
    Posts
    159
    You need to set the http_proxy environment variable in you shell session before invoking apt-get or friends, eg:
    Code:
    export http_proxy=user:password@proxy_host:portnumber

  3. #3
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    ok I'll try that.thanks

  4. #4
    Senior Member registered user
    Join Date
    Apr 2003
    Location
    Muscat.Oman
    Posts
    262
    Did not work.
    Should be
    export http_proxy='http://userassword@host comort'

Similar Threads

  1. Replies: 4
    Last Post: 02-13-2008, 06:06 AM
  2. Replies: 1
    Last Post: 05-18-2006, 02:35 PM
  3. Replies: 4
    Last Post: 03-10-2006, 03:11 AM
  4. Can't connect to a dumb terminal with minicom
    By rtrost in forum Networking
    Replies: 4
    Last Post: 10-14-2005, 12:19 AM
  5. knoppix mods fpr internet terminal
    By samhain in forum The Lounge
    Replies: 4
    Last Post: 11-26-2004, 01:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2 picture

Dell OptiPlex 3060 MICRO DESKTOP PC COMPUTER I5 8TH GEN UP TO 32GB UP TO 2TB M.2

$295.00



HP EliteDesk 65W 800 G4 DM Mini i5-8500 6-Core 8 GB/128GB SSD Windows 11 H404 picture

HP EliteDesk 65W 800 G4 DM Mini i5-8500 6-Core 8 GB/128GB SSD Windows 11 H404

$99.99



Dell 15.6

Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11

$446.00



New HP 24

New HP 24" All In One Desktop Computer 11th Gen i3 Up To 32GB RAM 2TB SSD Win 11

$409.99



AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A... picture

AMD Ryzen 7 7800X3D 8-Core - 16-Thread 4.2 GHz (5.0 GHz Max Boost) Socket A...

$304.95



Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory... picture

Dell Inspiron 142-in-1 Touch Laptop Intel Core 5 Processor 8GB Memory...

$549.99



AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+ picture

AMD FX-8350 4.0GHz 8-Core CPU Processor FD8350FRW8KHK Socket AM3+

$50.00



Intel Core i7-14700K - 14th Gen 20-Core (8P+12E) LGA 1700 125W CPU Processor picture

Intel Core i7-14700K - 14th Gen 20-Core (8P+12E) LGA 1700 125W CPU Processor

$373.96



Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H picture

Lenovo IdeaCentre 3 07IRB8 Desktop Intel Core i5-13400 16GB 512GB SSD W11H

$349.99



Dell Latitude 5490 Core i5-7300U 2.6 GHz 8 GB RAM 500 GB HDD 14

Dell Latitude 5490 Core i5-7300U 2.6 GHz 8 GB RAM 500 GB HDD 14"

$100.00