9월, 2021의 게시물 표시

Restoring An Unreachable JACE that fails to boot (JACE300,JACE600 and ETC AX Versions)

이미지
개요 이 문서는 AX버전의 JACE3와 6에대한 공장초기화 방법을 설명한다.  또한 예상되는 JACE3와6의 물리적 구조를 적는다. 공장초기화 방법에는 두가지가있다.  1. FTP서비스를 기동하여 이미지를 넣고 osupdate명령으로 초기화 하는 방법 2. sendnto.exe를 이용하여 serial접속만으로 이미지를 넣고 초기화 하는 방법 Legacy JACE can enter a state where the platform and station connections can not be made. In some cases, these JACE will not boot to a state where the procedures for restoring an unreachable JACE can be applied. Contents Factory init use FTP (Use Ethernet) 1. Putty나 Terminal 프로그램을 이용하여 Serial접속한다.(115200) 2. 로그인하고 ftp를 기동시킨다.  3. JACE의 /tmp 폴더안에 맞는 버전의 osImage를 넣는다.(Niagara의 cleanDist폴더 참고) 4. JACE의 /ffs0/zip 폴더안에 clean.tar.gz 를 넣는다.  5. 콘솔에서 sh를 입력하면 shell command모드로 들어갈 수 있으며, osupdate명령을 실행한다.  6. exit하여 메뉴로 돌아가고 7번메뉴로 리부팅을 한다. (shutdown) 자세한 설명은 아래의 문서를 참고한다.  https://drive.google.com/file/d/1_jDLUQ2VoMqZ8_81TRx-2Dq8QPEHEBuS/view?usp=sharing Factory init use sendNto.exe (Use Serial) 1...

Create file using command in DOS or Linux (default command)

이미지
개요 노트패드나 VI에디터같은 툴이 없을때 기본명령만으로 파일을 에디트 해야할때가 있다. 이런때 사용할 수 있는 명령어다.  Sometimes, You have to edit files without use GUI or tools like notepad or VI editors in a restricted environment. I'll show you how to create a file just using the default command in Linux or DOS systems. Contents DOS Command (Copy con filename) c:\>copy con filename.txt (enter) desc~~~~~~ textdesc~~~ Ctrl+Z Linux Command (Cat >filename) #cat >filename (enter) desc~~~~~~ textdesc~~~ Ctrl+D 참조 내용 : http://andrewault.blogspot.com/2008/03/unix-equivalent-of-dos-copy-con.html