LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-09-2011, 04:03 PM   #1
gaurav2772727
LQ Newbie
 
Registered: Apr 2011
Posts: 18

Rep: Reputation: 0
connecting terminal to internet


how i can connect terminal to internet so that i can access internet in terminal or download youtube vedio from terminal
 
Old 04-09-2011, 04:10 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
If I am reading this correctly, you want to surf the web using a browser from the terminal.

You can start a graphical browser from the terminal by typing the correct command (e.g., firefox), but I'm guessing that's no what you want.

The two major text browsers are lynx and links. They are incapable of displaying images or media, but you can surf text and download files.

Links in the Ubuntu repos; lynx apparently is not.
 
Old 04-10-2011, 05:28 AM   #3
gaurav2772727
LQ Newbie
 
Registered: Apr 2011
Posts: 18

Original Poster
Rep: Reputation: 0
sir if u want to install something from terminal as we write sudo get-apt install command we must have a connection of terminal from internet ... how i can do that
 
Old 04-10-2011, 06:08 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by gaurav2772727 View Post
sir if u want to install something from terminal as we write sudo get-apt install command we must have a connection of terminal from internet ... how i can do that
Are you saying that you want to set your Internet connection up via the terminal? If so, you're going to need to tell us how about your setup (e.g. wired connection, wireless, ...).
 
Old 04-10-2011, 08:22 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
I'm puzzled. Downloading a Youtube video is not the same thing as installing software.
 
Old 08-06-2011, 01:29 PM   #6
gaurav2772727
LQ Newbie
 
Registered: Apr 2011
Posts: 18

Original Poster
Rep: Reputation: 0
sudo apt_get update ... is not working
and am using socks networks ... in college
 
Old 08-07-2011, 12:57 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Is there a proxy involved? If so, you have to bypass it.

The below applies to apt-get; not sure about other applications.


Edit / create the file /etc/apt/apt.conf

Code:
Acquire::http::Proxy "http://[[user][:pass]@]host[:port]/";
Edit to your needs. The red italic part can be omitted if no username/password is required.

Source:
post #2 in http://ubuntuforums.org/showthread.php?t=1802306
 
Old 08-08-2011, 04:29 AM   #8
salemeni
Member
 
Registered: Aug 2011
Posts: 64

Rep: Reputation: Disabled
Post

Hi
First get the url of youtube video.
You can use this command
wget

generics array

Last edited by salemeni; 12-06-2011 at 02:54 AM.
 
Old 08-09-2011, 08:11 AM   #9
gaurav2772727
LQ Newbie
 
Registered: Apr 2011
Posts: 18

Original Poster
Rep: Reputation: 0
thanks to all .. my problem is solved
 
Old 08-10-2011, 12:43 PM   #10
gaurav2772727
LQ Newbie
 
Registered: Apr 2011
Posts: 18

Original Poster
Rep: Reputation: 0
bit torrent

how i can use torren in ubuntu ...
i am using socksv5 ... pls help me
 
Old 08-11-2011, 12:39 AM   #11
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by gaurav2772727 View Post
thanks to all .. my problem is solved
Might be usefull for others to indicate HOW you solved it.
 
Old 08-12-2011, 07:11 AM   #12
gaurav2772727
LQ Newbie
 
Registered: Apr 2011
Posts: 18

Original Poster
Rep: Reputation: 0
we have to just edit some file ....
first open the terminal and type sudo gedit etc/bash.bashrc

just add this

export http_proxy="http://userassword@proxyort"
export ftp_proxy="http://userassword@proxyort"

and in this just add your username, password, proxy and port

SAVE IT

and again open the terminal and type sudo gedit etc/apt/apt.cnf

just add this

Acquire::http::Proxy "http://userassword@proxyort";

and in this just add your username, password, proxy and port

SAVE IT
 
Old 08-12-2011, 07:14 AM   #13
gaurav2772727
LQ Newbie
 
Registered: Apr 2011
Posts: 18

Original Poster
Rep: Reputation: 0
sorry my mistake is equal to : p
 
Old 08-12-2011, 08:19 AM   #14
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by gaurav2772727 View Post
sorry my mistake is equal to : p
If you put the code between code tags ([code] and ]/code], that problem automatically solves itself

Code:
export http_proxy="http://user:password@proxy:port"
export ftp_proxy="http://user:password@proxy:port"
If I'm not mistaken, you don't need the above two, only the other one that you posted. But I might be mistaken although I don't use the above two

Last edited by Wim Sturkenboom; 08-12-2011 at 08:26 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
connecting ubuntu client to Windows 2003 terminal server rewenger Linux - Server 5 08-10-2011 12:51 PM
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 04:29 PM
Newbie would like guidence on connecting to my ISP from the terminal. madwac Fedora 3 08-01-2006 09:27 AM
Connecting to M$ Terminal Services using Rdesktop DoubleOTeC Linux - Software 4 03-09-2005 07:13 AM
Looking for a how to for connecting Hyper Terminal to OpenBSD3.3? mylesridgely *BSD 1 10-07-2003 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration