搜尋此網誌

Fedora 9 :telnet: connect to address 127.0.0.1: Connection refused

 pre-step 1:
   install program check
   #rpm -qa | grep telnet
   telnet-0.17-42.fc9.i386

   telnet-server-0.17-42.fc9.i386

    if no telnet-server-0.17-42.fc9.i386
    do follow command (or manual downalod and install by rpm install)

    #yum install telnet-server

     #service xinetd restart

    1. Check If port 23 enable :
    netstat -tnl | grep 23
    no message ->telnetd not running correctlly,
    success message -> tcp 0 0 :::23 :::* LISTEN
    check if /etc/xinetd.d/telnet exist
    if not add one ,follow is example test ok .
    #cat /etc/xinetd.d/telnet

# default: on

# description: The telnet server serves telnet sessions; it uses
# unencrypted username/password pairs for authorations.
service telnet
{
disable = no
#only_from = 192.168.1.0/24
# no_access =
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
}

   here , please confirm  /usr/sbin/in.telnetd is exist, if not make sure your telnet package is install ok or not.
       2. modify /etc/pam.d/login
      find line and comment out
      #auth [user_unknown=ignore success=ok ignore=ignore default=bad] pam_securetty.so
        
        3.add your telent service host
cat /etc/hosts   ( 192.168.1.11 is the vmware host OS network adapter ipaddress,
                          user-a30a9.betaww.edu is the host OS PC network name in domain)
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost localhost
::1 localhost6.localdomain6 localhost6
192.168.1.11 user-a30a9.betaww.edu
   
         4,fi you complete all step ,but still can not work,try reboot your system or partial re-start some
      of services .
              but soory i did not research what the exactly services should be restart. 
     



 
 

OpenWrt Make Single Package How to

example 1. Make package/ppp
make package/ppp-install V=99

example 2: Mkae tools/firmware-utils
make tools/firmware-utils-install V=99