본문 바로가기

GATEWAY/ARTIK

[Ubuntu] connmanctl 로 AP 모드 설정

  • ARTIK 530/710은 AP 모드 설정이 가능하다.
  • ARTIK 공식 홈페이지에서 소개하는 AP 모드 설정은 dhclient를 이용하는 방법
  • /etc/resolv.conf 에 nameserver를 작성해놨었음.
  • 게이트웨이가 부팅시마다 /etc/resolv.conf가 초기화 되는 것이 탐탁찮아(ㅎㅎ)
    connmanctl로 AP 모드 설정 하는 방법을 찾음.
    (근데 결국 dhclient 방법을 사용한다....)

  ARTIK 710 AP mode config (Ubuntu 16.04)

  • connmanctl 실행
$ connmanctl
  • tethering mode 
connmanctl> tether wifi on <SSID> <passphrase 최소 8자>
connmanctl> disable wifi
connmanctl> enable wifi