LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 11-14-2012, 07:21 AM   #1
wjamesi
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Rep: Reputation: Disabled
connect to the internet with text only


I wish to connect to the internet without using a browser or search engine,using command or terminal only......so far no one has been able to answer this
question
wjamesie
 
Old 11-14-2012, 07:38 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,290

Rep: Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802
Welcome to LQ!

I may be misreading your question, but if you are asking about command line tools for accessing the internet then you have:
1. File transfer tools such as wget, lftp, rsync (for rsync enabled servers)
2. Command line based browsers (also useful for browsing html documentation) such as lynx and links
 
Old 11-14-2012, 07:42 AM   #3
rosehosting.com
Member
 
Registered: Jun 2012
Posts: 222

Rep: Reputation: 62
You can use text-based Web browsers such as Elinks, Lynx and Links.
 
Old 11-14-2012, 08:14 AM   #4
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,OpenBSD
Posts: 668
Blog Entries: 2

Rep: Reputation: 169Reputation: 169
http://www.linuxjournal.com/content/...tcp-file-tcpip
 
Old 11-14-2012, 08:34 AM   #5
mjolnir
Member
 
Registered: Apr 2003
Posts: 656

Rep: Reputation: 62
Quote:
Originally Posted by linosaurusroot View Post
http://thesmithfam.org/blog/2006/05/.../#comment-4847

"Just in case anyone still comes across this blog post…

Don’t use this hack. Use netcat or socat. There is a reason that Debian has this disabled.

This is a security risk on a multi-user system. It is easy to restrict access to socat, netcat, wget, and curl. It is impossible to disable this feature of the shell without changing the shell. This is a feature transparent enough that many administrators could overlook, allowing into their otherwise-secure chroots.

While I admit that on a single-user system, this is less of an issue than on a multi-user system, the fact that the security issue exists requires the expectation (and subsequent reality) that many systems have this disabled.

On the other hand, it is true that netcat also doesn’t exist everywhere, if you must make the choice between programming for netcat or bash sockets — choose netcat. It isn’t that difficult to install and it doesn’t necessitate the creation of unnecessary security concerns.

I would be very upset if a vendor told me that I needed to have a bash enabled with sockets; while I wouldn’t at all mind a vendor telling me to install netcat. At least I can restrict netcat."

There were security concerns with this technique in 2007.
 
Old 11-14-2012, 09:41 AM   #6
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,OpenBSD
Posts: 668
Blog Entries: 2

Rep: Reputation: 169Reputation: 169
Quote:
Originally Posted by mjolnir View Post
http://thesmithfam.org/blog/2006/05/.../#comment-4847

This is a security risk on a multi-user system. It is easy to restrict access to socat, netcat, wget, and curl. It is impossible to disable this feature of the shell without changing the shell. This is a feature transparent enough that many administrators could overlook, allowing into their otherwise-secure chroots.
I disagree with that security reasoning. It appears to apply only in chroot jails where the user cannot write any files.

Perl and all sorts of other languages have a network capability - why shouldn't bash?

If the user can write files then they could install their own copy of nc.

To constrain user actions you want OS security features - not try to deny them access to programs that perform those actions.
 
Old 11-15-2012, 12:15 AM   #7
wjamesi
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
example

yes you are correct in your assumption.....as you can guess i am a newby and i would like to use text based surfing.....but i dont know what the commands are or how to enter them......iam running Zorin 06 on one machine and win 7 on the other......could you give me an example on how to send a picture to a family group using only text.? for instance i would click on <terminal> in zorin and command prompt in windows...or would i.? ans then type what.....? thankyou all for your assistance in advance.
wjamesi
 
Old 11-15-2012, 02:47 AM   #8
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
could you give me an example on how to send a picture to a family group using only text
Never used it, but mutt is a text-based mail client that might do what you need; it might be in zorin's repositories.

PS
If you really want to go hardcore, you can connect to servers using telnet (e.g. telnet http://www.google.com 80) and simulate the protocol(s).

Last edited by Wim Sturkenboom; 11-15-2012 at 03:00 AM. Reason: Added PS
 
1 members found this post helpful.
Old 11-15-2012, 02:52 AM   #9
Pap
Member
 
Registered: May 2011
Distribution: Debian GNU/Linux, testing version, 64-bit
Posts: 66

Rep: Reputation: 19
Technically, this is not an answer to your question, as you are explicitly looking for a way to connect to the Internet "without using a browser or search engine". I still believe, however, that you should try a text-based web browser for that purpose.

Not sure about Windows, but on Linux there are several text-based browsers. The most known ones are Lynx, w3m, and Elinks. The above are links to the Wikipedia pages for each of them, where you can see how they look and there are also links to their official web pages. Virtually every Linux distibution includes those text-based browsers in their repositories, so you shouldn't have problems installing them.

In general, expect faster browsing, to the cost of an interface that looks strange in the beginning, but you will soon figure out how to use it. Pictures are not seen by default, although at least w3m has a way to (optionally) show pictures as well. As far I know, Elinks is the most popular browser of that kind, although I prefer w3m. I would suggest to give them a try and decide which one you like most.

Last edited by Pap; 11-15-2012 at 02:54 AM.
 
1 members found this post helpful.
Old 11-15-2012, 04:32 AM   #10
curious95
Member
 
Registered: Oct 2012
Location: /home/v
Distribution: Slackware 14.0
Posts: 83

Rep: Reputation: Disabled
lynx, w3m ...
 
Old 11-15-2012, 05:38 AM   #11
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,290

Rep: Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802Reputation: 802
Quote:
could you give me an example on how to send a picture to a family group using only text.?
If you have a mail server configured for sending mail to external addresses
Code:
mail -s "Here is the photo" -a /path/to/filename family@group
 
1 members found this post helpful.
Old 11-15-2012, 06:09 AM   #12
wjamesi
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
thanks i will try everything
wjamesie
 
Old 11-15-2012, 06:19 AM   #13
wjamesi
LQ Newbie
 
Registered: Nov 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
when i type in telnet alli get is " not a file type or command "and the same with w3m,rsync,netcat,elinks ans lynx.....thats using command prompt in windows..i havent tried Zorin because my modem is not exceptable to linux versions. and i cant update yet.
 
Old 11-15-2012, 06:51 AM   #14
Pap
Member
 
Registered: May 2011
Distribution: Debian GNU/Linux, testing version, 64-bit
Posts: 66

Rep: Reputation: 19
Apparently, you have to install those applications first ("installing" might mean just extracting a compressed file to a directory and run the application from there). As far I know, Lynx is the only text web browser I mentioned above that has a Win32 version, although I never used that one. You might want to try Lynx then (Dos/Win32 version can be downloaded here, and should run on modern Windows as well. I repeat, however, that I never used the Windows version myself.

In a way, w3m and Elinks also have a "Windows version", but needs Cygwin installed and I wouldn't recommend that one, as it would need more effort to get it working and will probably confuse beginneers.
 
Old 11-16-2012, 02:18 AM   #15
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by wjamesi View Post
when i type in telnet alli get is " not a file type or command "and the same with w3m,rsync,netcat,elinks ans lynx.....thats using command prompt in windows..i havent tried Zorin because my modem is not exceptable to linux versions. and i cant update yet.
Most of the stuff mentioned here is for Linux. Even then, it might not be installed by default. In windows, you can also use putty instead of telnet; you start it from the gui but will (can) further behave like telnet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] can't connect to tightvncserver over internet..but can connect in LAN BHABANIPRASADPATI Linux Mint 5 06-14-2011 10:00 AM
Connect my netbook to wireless but it wont connect to the internet but it did . Haydn456MJW Linux - Newbie 7 01-26-2011 05:56 PM
Kubuntu - Can't connect to the internet, but can connect to the LAN KellyT Linux - Networking 1 11-12-2009 04:17 AM
Able to connect to default Gateway, Unable to connect to internet Dumb.Coder Linux - Newbie 11 04-14-2009 04:22 AM
connect to internet trough wireless others connect to me with lan Amir Menesy Linux - Wireless Networking 1 11-13-2007 08:28 PM


All times are GMT -5. The time now is 10:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration