본문 바로가기

개발자 레니는 지금 -/하드웨어와 함께

(8)
[ ARTIK 5/7/10 ] Screen/minicom 명령어 사용해서 ARTIK 띄우기 Screen or Minicom Command for Artik#Ubuntu 18.04 LTS 아틱에서 Screen이나 Minicom으로 터미널 연결을 진행 하기 위해서는 다음과 같은 단계를 먼저 따라줘야합니다따라해주세요 !! 1. Find USB Connection$ dmesg | tail | grep ttyUSB 몇번 포트에 연결 되어 있는지 먼저 찾아주세요. 2. Use Screen or Minicom아래 정리가 잘 되어있으니 그대로 따라해 주세요! 파란색이 명령어입니다 :) Install Screen or Minicom. You can optionally set up one of these free programs to listen to the specified device port and pro..
[ ARTIK 5/7/10 ] Wi-Fi Setting Wi-Fi Setting#Ubuntu 18.04 LTS 와이파이를 셋팅합니다 :)아틱에서 와이파이를 사용할 수 있도록 할거예요 :) 1. Manually Set Up Wi-Fi 아래 순서대로 따라하시면 됩니다. 메뉴얼이 너무 잘 되어 있어서.. 파란색이 명령어입니다 :) Establishing a Wi-Fi connection manually couldn't be easier. It uses the Tizen RT version of 'wpa_supplicant' services and works just like you'd expect.Stop any current Wi-Fi operations. wifi stopStart the 'wpa_supplicant' service in client (STA)..
[ ARTIK 053 ] 아틱사용 시작하기, 컴퓨터와 연결하기 Connection Computer and ARTIK 053# ARTIK 053# Ubuntu 16.04 Linux 1. Ubuntu LinuxTizen RT software를 사용 하기 위해서는 Ubuntu 16.04 Linux 환경이 필요하다.컴퓨터 자체의 OS를 Ubuntu 16.04로 설치하거나, virtual machine을 이용하여 OS를 준비해 준다. 인터넷에 virtual machine으로 linux를 설치하는 포스팅은 많으니 생략한다.linux도 종료가 많은데 꼭 Ubuntu 16.04 Linux로 설치해 주길 바란다. 2. Cross-Compilation toolchain약간의 설정이 필요합니다. 아래의 과정을 따라 해주세요. 가. Decide on a base directory. Fo..
[ ARTIK 5/7/10 ] X-windows 이용하기 # Using X-Windows # 기본적으로 ARITK이 PC에 연결된 상태라고 생각하고 설명합니다.# 당연히, MIPI / LVDS / HDML 등 으로 모니터와 ARTIK을 연결시켜 놨어야 하겠죠? # Ubuntu 64-bit version을 사용합니다.# Fedora 혹은 Ubuntu 32-bit 사용자는 ARTIK Modules | developers 홈페이지를 참조해 주세요. You can run an X11 graphical user interface on all modules except the ARTIK 520 module. For the window environment we offer LXDE for Ubuntu and Fluxbox for Fedora. Have a USB keybo..
[ ARTIK ] xwindow 의 시작 프로그램 등록 # Add start program on xwindow 보통의 리눅스 터미널의 경우sudo vi /etc/rc.local 파일에 프로그램을 추가하면 서버가 부팅된 후 실행을 한다. 하지만 xwindow는 리눅스 로딩 후 xwinodw 로딩 후에 실행 될 환경을 설정해 주어야하기 때문에 sudo vi/etc/rc.local에 파일을 등록하면 시작시기가 맞지 않아 제대로 실행이 되지 않는다. 따라서 xwinodw 부팅 후 이루어 지는 파일 동작에 원하는 파일을 추가해주어야한다. 1. 파일 열기. 1leni@leni-H110M-DS2V:~$ vi /etc/xdg/lxsession/LXDE/autostart cs 2. 파일에 실행권환 주기. 1leni@leni-H110M-DS2V:~$ chmod 777 파일이름..
[ ARTIK 5/7/10 ] ARTIK PC에 연결하기 on Linux # Communicating with ARTIK# Ubuntu PC Install 1. Install Screen.: screen 을 설치해주세요. 1leni@leni-H110M-DS2V:~$ sudo apt-get install screencs 2. Find the port name. : port name을 찾아주세요. 1leni@leni-H110M-DS2V:~$ dmesg | tail | grep ttycs 3. Start Screen as superuser.: screen을 root 계정으로 시작해주세요. 1leni@leni-H110M-DS2V:~$ sudo screen /dev/X 115200 cs8 ixoffcs X부분에 2번에서 찾은 포트 이름을 넣어주시면 됩니다. ex > sudo scree..
[ ARTIK 5/7/10 ] Wi-Fi AP 모드 종료하기 on Linux # Wi-Fi Access Poin Off ( AP Off ) # APRIK 5/7/10 # 기본적으로 ARTIK과 컴퓨트를 연결 하고 난 뒤라고 생각하고 설명합니다. 제가 사용하는 ARTIK은 Fedora가 아닌 Ubuntu 입니다. Turning off Access Point You can use the script like the one below to disable the access point. Omit the modprobe lines for APTIK 530. : 아래의 명령어로 AP 모드 사용을 중지 할 수 있습니다. ARTIK 530의 경의 modprobe 로 시작하는 명령어는 생략하세요. systemctl stop hostapd systemctl stop dnsmasq modprobe ..
[ ARTIK 5/7/10 ] Wi-Fi AP로 동작하기 on Linux # Wi-Fi Access Point ( AP )# ARTIK 5/7/10 # 기본적으로 ARTIK과 컴퓨터를 연결 하고 난 뒤라고 생각하고 설명합니다.제가 사용하는 ARTIK은 Fedora가 아닌 Ubuntu 입니다. # 사용하시는 ARTIK이 Fedora인 경우설치 상의 특별한 다른 점은 없으나, 불안하다 정확하게 알고 싶다 하시면 ARITK Modules | developers 페이지 방문하셔서 진행해주세요.Fedora 22 ( 2016년 04월 이전 제품 ) 에서는 작업전에 다음 command로 SoftAP 모드를 실행하기위한 Utility program을 설치해주세요. 1leni@leni-H110M-DS2V:~$ dnf install hostapd bridge-utilscs ARTIK Modul..