Victor Gomez(deleted)
|
QNX 7 configuration for NFS, NIS, NTP and SSH
|
Victor Gomez(deleted)
12/22/2017 4:59 PM
post118294
|
QNX 7 configuration for NFS, NIS, NTP and SSH
Hi All!
Hope you are enjoying this time of the year :) I am having some issues with QNX 7 so I was hoping you could give me some
guidelines or point me in the right direction.
I am working on a QNX 7 project for the ARM sabrelite board, and was able to flash a new U-Boot to the board and create
a default kernel, load it and access it via serial connection. Then, I got stuck when trying to configure the build
properties to build a kernel that would automatically at startup mount NFS drives, NTP time, SSH with NIS user accounts,
etc.
I use a CentOS 7 as a host system. Then, I installed QNX toolchain in /opt/ and also the BSP in /opt/BSPs/bsp-imx6-
sabrelite. In the BSP folder is where you modify certain build config files to add the components you need to your
kernel. The original file is located under <BSP dir>/src/hardware/startup/boards/imx6x/nitrogen/build.
These are some of the changes I made to it:
[+script] .script = {
# My configuration
display_msg Starting network subsystem...
/scripts/start-network
[argv0=/proc/boot/sshd] /proc/boot/sshd &
inetd /etc/inetd.conf
ntpdate 10.10.1.40
ntpd &
}
[perms=+x] /scripts/start-rti-network = {
fs-nfs3
mount -t nfs local:/local /local
}
#telnet includes
inetd
telnetd
route
login
termcap
terminfo
#ssh includes
##binaries
sshd
ssh
ssh-keygen
##libraries
libsocket.so.2
librpc.so.2
libz.so.2
libcrypto.so.2
libc.so.3
##files
/etc/ssh/ssh_host_dsa_key = /opt/BSPs/bsp_imx6_sabrelite/ssh_host_dsa_key
/etc/ssh/ssh_host_dsa_key.pub = /opt/BSPs/bsp_imx6_sabrelite/ssh_host_dsa_key.pub
/etc/ssh/ssh_host_key = /opt/BSPs/bsp_imx6_sabrelite/ssh_host_key
/etc/ssh/ssh_host_key.pub = /opt/BSPs/bsp_imx6_sabrelite/ssh_host_key.pub
/etc/ssh/ssh_host_rsa_key = /opt/BSPs/bsp_imx6_sabrelite/ssh_host_rsa_key
/etc/ssh/ssh_host_rsa_key.pub = /opt/BSPs/bsp_imx6_sabrelite/ssh_host_rsa_key.pub
/etc/ssh/sshd_config =...
View Full Message
|
|
|