Not able to install telnet on Solaris 11

Hi Solaris 11 Guru,

I am not able to install telent on Solaris 11 with the following error as root:

uname -a
SunOS servername 5.11 11.2 i86pc i386 i86pc
pkg install /service/network/telnet
pkg: 0/1 catalogs successfully updated:

Unable to contact valid package repository
Encountered the following error(s):
Unable to contact any configured publishers.
This is likely a network configuration problem.
Framework error: code: 28 reason: Connection timed out after 60000 milliseconds
URL: 'http://pkg.oracle.com/solaris/release' (happened 4 times)

This Solaris 11 desktop is on the LAN but may not have setup to access external site. It would be great if I could get some guidance on setting this up, if pkg needs to download telnet from Oracle Solaris 11 Package Repository.

Alternatively, I can download the pkg solaris release and place it on this solaris 11 system instead.

I still have the original installation disk.

Thanks a million,

George

Use this to see if you can even get to https://pkg.oracle.com/solarisstudio/release / the pkg download site.

wget  https://pkg.oracle.com/solarisstudio/release/

After that you can try pkg install whatever again and you may get an error like:

pkg install: Certificate '/var/pkg/ssl/2e1c9ed547e4b167c0488bf83b2a724fbc33597d' for publisher 

'solarisstudio' needed to access 'https://pkg.oracle.com/solarisstudio/release/', has 

expired.  Please install a valid certificate.

-- you will need to get a certificate from oracle == meaning proof of support.

As a side note - /usr/bin/telnet should be on your system by default.

try this (as root user) :

svcadm enable  /network/telnet:default
1 Like

Hi jim mcnamara,

below are the output when trying to the following suggested commands:

hostname:~/download# wget https://pkg.oracle.com/solarisstudio/release/
--2015-03-22 03:43:55--  https://pkg.oracle.com/solarisstudio/release/
Resolving pkg.oracle.com (pkg.oracle.com)... 137.254.56.21
Connecting to pkg.oracle.com (pkg.oracle.com)|137.254.56.21|:443... connected.
OpenSSL: error:14094410:SSL routines:SSL3_READ_BYTES:sslv3 alert handshake failure
Unable to establish SSL connection.

Likewise, I got the following error when trying to connect to https://pkg.oracle.com/solarisstudio/release/ using Mozilla Firefox:

    Secure Connection Failed
    An error occurred during a connection to pkg.oracle.com
    Cannot communicate securely with peer: no common encryption algorithm(s).
    (Error code:ssl_error_cypher_overlap)
    

hostname:/usr/bin# ls -lt /usr/bin/telnet
-r-xr-xr-x   1 root     bin       151764 Jun 25  2014 /usr/bin/telnet

However, are we looking for telnetd (daemon or service on server) as opposed to telnet which is to connect to another host?

Many thanks,

George

Dear Solaris experts,

I have an authentication proxy here and will need to specify it when using wget. Any suggestion on including wget through proxy with authentication would be much appreciated.

Thanks in advance,

George