Linux.com

Embedded arm runing linux

Link to this post 19 Aug 11

chekkizhar wrote:

[b]mfillpot wrote:[/b]
[quote]Generally the source code is the same as x86, you only need to configure the build for your selected architecture.

http://ftp.slackware.org.uk/armedslack/armedslack-13.37/source/n/openssh/openssh.SlackBuild has an example of the build flags needed to build openssh on an ARM processor.

Great and thanks for the link.
If possible, using a simple Slackware script can you please explain it step by step in a blog post.
I really want to know more regarding the scripts, which will be easier to solve ,most of the situations. And, without any doubt, that will help the New Slackware users to know more about the system functionalities by going through concern scripts.[/quote]

Thank you for the recommendation, I think I will write a quick post using the slackbiuld example scripts to explain how a slackbuild is structured so people can learn to use them as learning tools..

Link to this post 20 Aug 11

results:
1.
----------------------------------------------------------------------------------------
root@DevKit8500:~# telnet 127.0.0.1
telnet: cannot connect to remote host (127.0.0.1): Connection refused
----------------------------------------------------------------------------------------

2.cant find etc/inetd.conf

what next?

Link to this post 20 Aug 11

Yoavkarmon wrote:

results:
1.
----------------------------------------------------------------------------------------
root@DevKit8500:~# telnet 127.0.0.1
telnet: cannot connect to remote host (127.0.0.1): Connection refused
----------------------------------------------------------------------------------------

its because, telnet should be enabled . Means, in the inetd.conf file, that step must be done. Since you are saying, you can not able to find that file itself, its difficult .

2.cant find etc/inetd.conf

1. Try to find that file.Start from directory, " / " . Not direct "etc" , its "/etc" It should be there to support network related stuff. And, didn't you received any guide or procedure from the board vendor ?
2. On sunday I will spend time for your board problem and will try to help you more regarding this.


what next?

yeh, meanwhile try giving,


# cd /etc
#grep telnet *

and post the output .

Link to this post 20 Aug 11

And did you tried with "chmod" . Got any error for that ? First we need to locate where the telnet exe is placed. It may be in "/usr/bin" or in "/bin" .

So, please inform us all things , so that we can solve the things together quickly . :-)

First, you try with "chmod" and report it.

Link to this post 20 Aug 11

here isd the output:

root@DevKit8500:/# pwd
/
root@DevKit8500:/# find -name inetd.conf
root@DevKit8500:/# find -name telnet
./usr/bin/telnet
./usr/lib/opkg/alternatives/telnet
root@DevKit8500:/# cd /usr/bin
root@DevKit8500:/usr/bin# ls -l |grep telnet
lrwxrwxrwx 1 1001 1007 17 Feb 21 2011 telnet -> ../../bin/busybox
root@DevKit8500:/usr/bin# cd /usr/lib/opkg/alternatives
root@DevKit8500:/usr/lib/opkg/alternatives# ls -l |grep telnet
-rw-r--r-- 1 1001 1007 37 Jan 27 2009 telnet
-rw-r--r-- 1 1001 1007 39 Jan 27 2009 telnetd
root@DevKit8500:/usr/lib/opkg/alternatives# chmod 777 telnet
root@DevKit8500:/usr/lib/opkg/alternatives# chmod 777 telnetd
root@DevKit8500:/usr/lib/opkg/alternatives# ls -l |grep telnet
-rwxrwxrwx 1 1001 1007 37 Jan 27 2009 telnet
-rwxrwxrwx 1 1001 1007 39 Jan 27 2009 telnetd
root@DevKit8500:/usr/lib/opkg/alternatives#
root@DevKit8500:/usr/lib/opkg/alternatives# telnet 127.0.0.1
telnet: cannot connect to remote host (127.0.0.1): Connection refused

Link to this post 20 Aug 11

Thanks.


# vi /etc/xinetd.d/telnet

then, change the ‘disable=yes’ to ‘disable=no

or, insteadof opening and editing the file, you can use,


#chkconfig telnet on
#chkconfig xinetd on

as a root user.


#service xinetd restart

or better restart the board then try ,


#telnet localhost

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board