1 |
On Thursday 07 April 2011 17:19:24 Alan Mackenzie wrote: |
2 |
> Hi, Gentoo! |
3 |
> |
4 |
> I would like a telnet client installed on my gentoo amd64 system. When I |
5 |
> try |
6 |
> emerge telnet |
7 |
> , I get told that telnet doesn't exist. |
8 |
> |
9 |
> What am I doing wrong? Is there a telnet client on gentoo? |
10 |
|
11 |
As others said there's more than one option, not forgetting netcat: |
12 |
|
13 |
nc -t address <port> |
14 |
|
15 |
However, you don't need to install anything if you don't want to, because |
16 |
busybox contains a telnet client and daemon. |
17 |
|
18 |
Just create a symlink from your /usr/local/bin/telnet to /bin/busybox: |
19 |
|
20 |
# ln -s /bin/busybox /usr/local/bin/telnet |
21 |
|
22 |
$ ls -la /usr/local/bin/telnet |
23 |
lrwxrwxrwx 1 root root 12 Jan 30 12:24 /usr/local/bin/telnet -> /bin/busybox |
24 |
|
25 |
$ telnet |
26 |
BusyBox v1.17.4 (2010-12-26 22:07:56 GMT) multi-call binary. |
27 |
|
28 |
Usage: telnet [-a] [-l USER] HOST [PORT] |
29 |
|
30 |
Connect to telnet server |
31 |
|
32 |
Options: |
33 |
-a Automatic login with $USER variable |
34 |
-l USER Automatic login as USER |
35 |
|
36 |
Or just run: |
37 |
|
38 |
$ busybox telnet |
39 |
-- |
40 |
Regards, |
41 |
Mick |