Results 1 to 5 of 5

Thread: web login using cli in ubuntu server

Hybrid View

  1. #1
    Join Date
    Sep 2012
    Beans
    94
    Distro
    Ubuntu 12.04 Precise Pangolin

    web login using cli in ubuntu server

    hi all,
    i just want to ask,
    how we can login web proxy using cli. i need to login user/passwd for acces internet.

    Thanks.

  2. #2
    Join Date
    May 2009
    Location
    Courtenay, BC, Canada
    Beans
    1,661

    Re: web login using cli in ubuntu server

    if you mean that you need to log in to a rich web page using a text based console, you can try lynx

    Code:
    sudo apt-get install lynx

  3. #3
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: web login using cli in ubuntu server

    http://askubuntu.com/questions/47379...e-command-line

    Essentially you need to modify an environment variable
    You put it in /etc/environment for a system wide settings ~/.pam_environment for a per user setting.

    add a line like this, modifying for real values

    Code:
    export http_proxy="http://username:password@proxyaddress:port"
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  4. #4
    Join Date
    Sep 2006
    Beans
    8,627
    Distro
    Ubuntu 14.04 Trusty Tahr

    squid or varnish

    The two main web proxies are squid and varnish. Which one are you using?

  5. #5
    Join Date
    Sep 2012
    Beans
    94
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: web login using cli in ubuntu server

    hi all,
    im using a hp procurve.
    so my lan and wifi will go through this device.
    so i need to login.

    thanks.
    i will try the solution first.

Bookmarks

Posting Permissions

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