LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 01-05-2009, 11:33 PM   #1
justin-goldberg
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Rep: Reputation: 0
Can't Telnet In Gentoo


What's the command to install telnet in Gentoo?

I even tried downloading the telnet-bsd package, but tar seems to hang.
 
Old 01-06-2009, 03:29 AM   #2
vladmihaisima
Member
 
Registered: Oct 2002
Location: Delft, Netherlands
Distribution: Gentoo
Posts: 196

Rep: Reputation: 33
The command would be something like: "emerge net-misc/telnet-bsd" or "emerge net-misc/utelnetd". Other configurations might be necessary after the install.

BUT I hope you have a very good reason to use telnet. It is completly unsecure, so if you use it over a network anyone could intercept everythinh (including passwords for example).
 
Old 01-08-2009, 03:52 PM   #3
lepht
Member
 
Registered: Jan 2008
Location: Silver City slums
Distribution: Fedora 11 Leonidas
Posts: 75

Rep: Reputation: 16
telnet is insecure though bro, you should really use ssh instead.
 
Old 02-17-2009, 11:52 AM   #4
justin-goldberg
LQ Newbie
 
Registered: Jan 2008
Posts: 20

Original Poster
Rep: Reputation: 0
I needed to test sending a message through a local smtp server, and telnet is the simplest way I know.

I run 'emerge net-misc/telnet-bsd' and get this message:
Quote:
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?
Vlad, what other configurations might be necessary after the install? Will Emerge tell me?


Another question: How do I append a commands standard output to a file that already exists? In DOS the command is command.exe >> outputfile, but in linux that overwrites the file.


Finally, this is more of an annoyance, but when I logout after hitting 'ctrl-z' and running 'bg' my ssh client never pops up and says "session ended".

Last edited by justin-goldberg; 02-17-2009 at 12:05 PM.
 
Old 02-18-2009, 03:31 AM   #5
vladmihaisima
Member
 
Registered: Oct 2002
Location: Delft, Netherlands
Distribution: Gentoo
Posts: 196

Rep: Reputation: 33
Are you able to install anything in gentoo ? The error message tells me that gentoo is not quite properly installed...

How did you install gentoo ?

Regarding second question: I think it depends on the shell. In bash and tchs it is as you know it... Try to test it with a simple example like:
Code:
 
echo line1 >> file
echo line2 >> file
cat file
You should see two lines...

control-z is not for logout is to put a task in the background. I do not get what are you trying to do, try to explain more.
 
Old 06-03-2009, 02:30 PM   #6
NeddySeagoon
Gentoo support team
 
Registered: May 2009
Location: 56N 3W
Distribution: Gentoo
Posts: 178

Rep: Reputation: 41
justin-goldberg,

It looks like your profile is either not set, or is set incorrectly.
Please post the output of
Code:
emerge --info
we only need the first line to check your profile setting.
 
  


Reply

Tags
bg, emerge, gentoo, putty, smtp, ssh, telnet



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
Unable to telnet to Linux Host inspite of installing telnet-server RPM - Need Help sinamdar Linux - Software 7 04-11-2009 07:09 AM
Can't end telnet servcie in xinetd when close remote telnet cliend forcely zeroneworld Linux - Newbie 2 12-09-2007 08:47 PM
Can't end telnet servcie in xinetd when close remote telnet cliend forcefully. zeroneworld Linux - General 1 12-06-2007 07:17 AM
Running Telnet in a script, want to save Telnet output, howtodothis??? anil3 Linux - Software 2 03-08-2006 04:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 04:12 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