Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

telnetd problem ......

I have a problem with telnetd (uClinux).

I have a Nios II development board with address 192.168.1.10. The "ifconfig eth0" command done

# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:07:ED:FF:8C:AB
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:120 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          Interrupt:6 Base address:0x300

but I try to run "telnet 192.168.1.10" on my PC I obtain the following reponce

telnetd: /dev/ttyp0: Input/output error
.

the direcory /dev is

@button,c,62,0   @console,c,5,1   @cua0,c,5,64     @cua1,c,5,65
@cua2,c,5,66     @cua3,c,5,67     @cua4,c,5,68     @cua5,c,5,69
@cua6,c,5,70     @cua7,c,5,71     @cua8,c,5,72     @cua9,c,5,73
@fb0,c,29,0      @fb1,c,29,32     @hda,b,3,0       @hda1,b,3,1
@hda2,b,3,2      @hda3,b,3,3      @hda4,b,3,4      @hda5,b,3,5
@hda6,b,3,6      @hda7,b,3,7      @hda8,b,3,8      @hdb,b,3,64
@hdb1,b,3,65     @hdb2,b,3,66     @hdb3,b,3,67     @hdb4,b,3,68
@hdb5,b,3,69     @hdb6,b,3,70     @hdb7,b,3,71     @hdb8,b,3,72
@i2c-0,c,89,0    @i2c-1,c,89,1    @kmem,c,1,2      @mem,c,1,1
@null,c,1,3      @ptyp0,c,2,0     @ptyp1,c,2,1     @ptyp2,c,2,2
@ptyp3,c,2,3     @ptyp4,c,2,4     @ptyp5,c,2,5     @ptyp6,c,2,6
@ptyp7,c,2,7     @ptyp8,c,2,8     @ptyp9,c,2,9     @ptypa,c,2,10
@ptypb,c,2,11    @ptypc,c,2,12    @ptypd,c,2,13    @ptype,c,2,14
@ptypf,c,2,15    @ram0,b,1,0      @ram1,b,1,1      @ram2,b,1,2
@ram3,b,1,3      @spi,c,60,0      @tty,c,5,0       @tty0,c,4,0
@tty1,c,4,1      @tty2,c,4,2      @tty3,c,4,3      @tty4,c,4,4
@tty5,c,4,5      @tty6,c,4,6      @tty7,c,4,7      @tty8,c,4,8
@tty9,c,4,9      @ttyJ0,c,232,16  @ttyS0,c,4,64    @ttyS1,c,4,65
@ttyS2,c,4,66    @ttyS3,c,4,67    @ttyS4,c,4,68    @ttyS5,c,4,69
@ttyS6,c,4,70    @ttyS7,c,4,71    @ttyS8,c,4,72    @ttyS9,c,4,73
@ttyp0,c,3,0     @ttyp1,c,3,1     @ttyp2,c,3,2     @ttyp3,c,3,3
@ttyp4,c,3,4     @ttyp5,c,3,5     @ttyp6,c,3,6     @ttyp7,c,3,7
@ttyp8,c,3,8     @ttyp9,c,3,9     @ttypa,c,3,10    @ttypb,c,3,11
@ttypc,c,3,12    @ttypd,c,3,13    @ttype,c,3,14    @ttypf,c,3,15
@zero,c,1,5      button           console          cua0
cua1             fb0              fb1              hda
hda1            hdb             input            kmem
mem            null             ptya             ptyp0
ptyp1           ram0           ram1             spi
tty                tty0             ttyJ0            ttyS0
ttyS1            ttyp0            ttyp1            ttyp2
ttyp3            ttyp4            ttyp5            ttyp6
ttyp7            ttyp8            ttyp9            ttypa
ttypb            zero

How can i solve this problem???
No RepliesBe the first to reply