LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Gentoo (https://www.linuxquestions.org/questions/gentoo-87/)
-   -   Can't Telnet In Gentoo (https://www.linuxquestions.org/questions/gentoo-87/cant-telnet-in-gentoo-695241/)

justin-goldberg 01-05-2009 11:33 PM

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.

vladmihaisima 01-06-2009 03:29 AM

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).

lepht 01-08-2009 03:52 PM

telnet is insecure though bro, you should really use ssh instead.

justin-goldberg 02-17-2009 11:52 AM

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".

vladmihaisima 02-18-2009 03:31 AM

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.

NeddySeagoon 06-03-2009 02:30 PM

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.


All times are GMT -5. The time now is 03:40 AM.