AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  Troubles with network connexion...

    Posted Wed February 01, 2006 04:44 AM

    Originally posted by: SystemAdmin


    Hi all,

    I've problem to ping my AIX server. When I ping it from a local session, it is ok. But I can't ping it from another machine. I always get an timeout exceed message. Can anyone help me ?

    Thanks a lot.
    #AIX-Forum


  • 2.  Re: Troubles with network connexion...

    Posted Wed February 01, 2006 08:53 AM

    Originally posted by: SystemAdmin


    The problem could be a number of things.
    1. Wiring - if you can't ping anyone on the same subnet
    2. The route that is set 'netstat -rn'
    3. If you are trying to ping by name, the DNS setting.
    Also check /etc/resolv.conf and /etc/netsvc.conf
    4. What does 'hostname' return
    5. You may have the wrong interface configured.
    #AIX-Forum


  • 3.  Re: Troubles with network connexion...

    Posted Wed February 01, 2006 11:17 AM

    Originally posted by: SystemAdmin


    Thank you CompuChem.

    I can ping it now but i still can't connect to it from another machine with putty.exe for example. I think that i've got a false port number.
    Do you know in which file or with which command, i can check for the port number ?
    as i'm neither system , neither network administrator, i'm a little bit lost!! ;-))

    Thks
    #AIX-Forum


  • 4.  Re: Troubles with network connexion...

    Posted Wed February 01, 2006 12:29 PM

    Originally posted by: SystemAdmin


    The port for telnet is 23 and for ssh if you have it setup is 22
    Usually sendmail is also running by default, so you can try a telnet 25 hostname from the dos prompt. If you can get to 25 and get a HELO back, then the telnet daemon may not be running. IT usually runs from /etc/inetd.conf.


    #AIX-Forum


  • 5.  Re: Troubles with network connexion...

    Posted Thu February 02, 2006 04:41 AM

    Originally posted by: SystemAdmin


    Wonderful!!

    from dos prompt :
    • telnet IP 23 , i get a connexion to the server
    • telnet IP 25 , i get the message : 220 "hostname" ESMTP Sendmail Thu, 2...
    with putty.exe :
    • i can reach the server with the protocol telnet and the port number 23
    • with the protocol ssh and the port number 22, i don't have error message but nothing is done!

    in the inetd.conf, i have
    ftp stream tcp6 nowait root /usr/sbin/ftpd ftpd
    telnet stream tcp6 nowait root /usr/sbin/telnetd telnetd -a
    shell stream tcp6 nowait root /usr/sbin/rshd rshd
    kshell stream tcp nowait root /usr/sbin/krshd krshd
    login stream tcp6 nowait root /usr/sbin/rlogind rlogind
    klogin stream tcp nowait root /usr/sbin/krlogind krlogind
    exec stream tcp6 nowait root /usr/sbin/rexecd rexecd
    comsat dgram udp wait root /usr/sbin/comsat comsat
    uucp stream tcp nowait root /usr/sbin/uucpd uucpd

    thank you compuChem
    #AIX-Forum


  • 6.  Re: Troubles with network connexion...

    Posted Thu February 02, 2006 09:21 AM

    Originally posted by: SystemAdmin


    Don't expect a connection on port 22 unless you have installed and configured sshd, which requires ssl. It is easiest to install these as a package and you will be prompted to insert the Linux Toolkit CD. If you don't need ssl, then don't worry.
    #AIX-Forum


  • 7.  Re: Troubles with network connexion...

    Posted Thu February 02, 2006 10:49 AM

    Originally posted by: SystemAdmin


    Ok! I think i don't need ssl right a way! i'll look for it later
    (and i'm on Unix ;-))

    Thanks for helping me all these days.
    see you later!
    #AIX-Forum