Help me please to find the analogue of the "Customize Vendor/User Settings" in the Buildroot.
I'd like to compile rsh and rcp.
the menuconfigs support search function, "make menuconfig" and type /, enter the keyword you want to search.
Thank you for '/', but I have still problems.
In the topic "Remote Shells" they require to invoke commands:
root:/> ps | grep inetd
192 root 584 S /sbin/inetd -f
219 root 584 S grep inetd
root:/> cat /etc/inetd.conf
shell stream tcp nowait root /usr/libexec/rshd rshd
ftp stream tcp nowait root /sbin/ftpd ftpd -w -S /srv/ftp/
telnet stream tcp nowait root /sbin/telnetd telnetd -i
root:/> ls -l /bin/rshd
ls: /bin/rshd: No such file or directory
I don't understand how to fource the system to know about rshd.
have you enabled dropbear? as documented in https://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:dropbear
I have enabled dropbear, but compiler says:
svr-main.o: In function `_main_noinetd':
svr-main.c:(.text+0x48c): undefined reference to `_fork'
collect2: ld returned 1 exit status
make: *** [multibinary] Error 1
you may need a bit porting, simply replace with the call to "fork" with "vfork", check https://docs.blackfin.uclinux.org/doku.php?id=porting_applications&s=vfork
A bit porting is done. Now, there is the following situation:
pvr@pvr-VirtualBox:~/buildroot-2012$ rcp release_notes email@example.com:/
ssh_exchange_identification: Connection closed by remote host
I used to run ssh with dropbear successfully, check http://ez.analog.com/message/68156#68156
I have executed all the points in http://ez.analog.com/message/68156#68156.
But when generating the first key I get:
root:/> dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
Will output 1024 bit dss secret key to '/etc/dropbear/dropbear_dss_host_key'
Generating key, this may take a while...
NULL pointer access
Deferred Exception context
COMM=dropbearkey PID=205 CPU=0
and so on...
The generation of the second key is correct.
And what about rcp?
Of course, I can use tftp to load my applications and modules to the board, but now it is the only facilities for moving files.
Besides, it was an opportunity to use FTP-connection in mc. It was very convenient, and now I don't have this opportunity.
Are you running the rcp from host PC? as rcp daemon is default alive on blackfin, suppose you can run rcp from host PC successfully, this is actually what we usually do. If you are run rcp on target board, check if you have set up rcp on your host PC correctly.
I want to run the rcp from the host PC, but I don't see rshd on the target board:
Now I see, that my question was not quite correct. Could you tell me what shoud I do to have the rshd in the target system?
You should enable the inetutils.
It's under "Networking" in buildroot and under "Blackfin app" in uClinux.
inetutils is enabled. This is a default option.
Retrieving data ...