Telnet

From Klaus' wiki
Revision as of 12:39, 1 December 2010 by Klaus (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

To enable telnet start

$ make menuconfig

select "Kernel/Library/Defaults selection" and press enter.

Next select "Customise Vendor/User Settings". Press spacebar. Press tab and enter twice. Wait for the new menu to show up.

Select Busybox and press enter.

Check that there are stars next to "telenetd" and "telnetd:"; if not press spacebar when the item is selected.

Note to remove the insecure telnet deamon remove the stars next to "telnetd[:]".

Press tab to select exit and press enter - do this twice and accept the final question.

Compile your project.

Copy your images to your tftpboot directory.

boot the EA board and issue this command

# run tftp_boot

provided you've set up the correct serverip in the environment your board should now download the freshly maked images and boot directly from them. (They will not be stored in the flash memory.)

Your board will boot with an IP address specified in uClinux-dist/romfs/etc/rc - defaults to 192.168.5.233. You can change it here if you want another address to be used permanently, or you can issue

$ ifconfig eth0 <your selected IP address> up

You can now on your own computer start a telnet session (use putty on WinDoze or just telnet <IP-address> in the *nix world)

The available logins are shown in the "Getting started" guide section 11.4