10월, 2023의 게시물 표시

QNX Command list at shell mode 쉘명령어 모음

이미지
개요 QNX Base의 JACE8000, Web8000, Niagara Controller가 뻗었을 때 SerialShell로 접속하여 고치거나 분석하는 일들이 생긴다.  이떄 사용할 수 있는 커맨드들을 정리한다 Contents /boot (Command List 위치 확인) NiagaraController 인 8000시리즈는 리눅스와비슷한 QNX라는 RTOS를 사용한다. 임베디드용으로 포팅됐음을 절실히 느낄수 있게 help 따위는 없다.  그래서 명령어를 추적했다.  /bin 폴더안에 들어가보면 기본 명령어 리스트와 쉘 이 나온다.  그리고 모두 /proc/boot 안에 있는 명령어를 참조하고있음을 알 수 있었다.  /proc/boot 안에 가보면 사용가능한 명령어 리스트들이 주욱 나온다.  /proc/boot (Command Lists) 해당 디렉토리로 이동하여 명령어 리스트를 확인해본다.  total 33092       4 -r-xr-xr-x   1 root      root           2148 Jan 11  2021 .script* 3221225832 -r-sr-xr-x   1 root      root          24744 Jan 11  2021 actrld* 3221225711 -r-xr-xr-x   1 root      root          17780 Apr 01  2020 arp* 3221225712 -r-xr-xr-x  ...

NiagaraFramework Development Permission

이미지
개요 module://docDeveloper/doc/secu rity/requestingPermissions.htm l   Nicholas.Dodd  (Tridium Europe Limited) @Laurent1  (installProg) ​ You will need to include an xml element such as this:   <req-permission> <name>NETWORK_COMMUNICATION</n ame> <purposeKey>This module needs to perform FTP because.........</purposeKey> <parameters> <!-- The hosts to/from which we can open/accept a connection, you may use * or *.something or a specific ip address, make as specific as you can--> <parameter name="hosts" value="127.0.0.1"/> <!-- A comma-separated list of the ports over which we can connect to the host --> <parameter name="ports" value="21"/> </parameters> </req-permission>   See the doc developer help for further guidance on requesting module permissions, including which others are available, and all the different parameters for the NETWORK_COMMUNICATION permission:   module://doc...