How We Coding

( https://developer.artik.io/documentation/artik/getting-started/up-to-date.html )


# apt-key add /var/lib/apt/keyrings/artik-platform-keyring.gpg

>> 이전에 안 했을 경우..


# sudo apt-get update


# apt-get upgrade




# apt install build-essential


# apt-get install aptitude


# aptitude install mplayer 

  (N – Y - Y)


>> 안되면 될때까지..!!

>> wifi 로 할 경우 여러번 실패하였다.
>> 하지만 랜선을 꼽고 했더니 한번에 되버렸다.........


'Etc. > G2C' 카테고리의 다른 글

[ARTIK530] ubuntu로 시작하기  (0) 2018.01.31

### Mac 에서 ARTIK530 접속 확인.


터미널에서 


$ ls /dev/tty* 통해서 시리얼 인터페이스 확인


$ ls /dev/tty.usbserial-A504RVLK 115200 통해서 접속 가능.


>> 여기서 115200은 통신속도로 같이 입력은 안해주면 접근을 못함.


초기 id : root // 초기 pw : root




### Ubuntu OS Image 설치(탑재) ###


1. Image File 다운로드 (https://developer.artik.io/documentation/artik/getting-started/up-to-date.html)(https://developer.artik.io/documentation/downloads.html#firmware)


2. Micro SD카드를 PC에 연결


3. Etcher 설치(https://etcher.io/)


4. Etcher(SD카드에 이미지를 구워주는 프로그램) 실행 후, 다운받은 Image File SD카드에 Flash


5. ARTIK 보드의 전원을 OFF


6. 리더기에 microSD card를 꺼내어 ARTIK 보드에 microSD slot에 삽입


7. boot switch SW402-4 ON 으로 설정


8. 보드의 전원을 켜고 전원버튼을 1초동안 누름


9. 보드의 업데이트가 완료됬을 때 eMMC를 재부팅하라는 메시지가 표시


10. 영구적 메모리로부터 ARTIK 재부팅

          1) 보드를 끄고 난 후 microSD card를 제거

          2) boot switch SW402-4 ON 에서 OFF로 원래대로 설정

          3) 보드의 전원을 켜고 전원버튼을 1초 동안 누른다

(정상적인 부팅 메시지와 로그인 prompt가 보이면 정상)

          4) 정상적으로 업데이트 버전이 되어있는지 확인

(cat /etc/artik_release) => OFFICIAL_VERSION=A530_os_3.0.0

 




### WiFi 설정 ###


1. Console창에 명령어 입력

   $ wpa_passphrase SSID PASSWORD >> /etc/wpa_supplicant/wpa_supplicant.conf)


2. /etc/wpa_supplicant/wpa_supplicant.conf 파일에서 #psk 부분 삭제

(암호화 되지 않은 WiFi 패스워드 부분)


3. wpa_supplicant 재실행 

   $ systemctl restart wpa_supplicant)


4. WiFi 연결 완료


5. $ dhclient wlan0 


6. $  ifconfig wlan0 통해 확인 혹은 Ping 테스트 (명령어 : $ ping 8.8.8.8)

 

'Etc. > G2C' 카테고리의 다른 글

[ARTIK530] aptitude 를 이용한 player 설치하기  (0) 2018.02.07