1. mqtt 라이브러리 설치 & alsautil, alsamixer 설정 
    python pip설치 
    > sudo apt-get install python-pip 

    python mqtt 라이브러리 설치 
    > pip install paho-mqtt 

    alsa 설치, 설정 
    참고> https://kocoafab.cc/tutorial/view/340 
-------------------------------------------------- 
-----------> 기본 디렉토리 
/home/pi/mqtt_set 
/home/pi/wav_dir 
-------------------------------------------------- 
2. mqtt python 스크립트 적용 
  /home/pi/mqtt_set/mqtt_futoy01.py 

3. wavplay.sh, wavdown.sh 적용 
  /home/pi/mqtt_set/~ 

4. paho 라이브러리가 root 유저에서 사용가능하게 설정 
    cd /usr/lib/python2.7/dist-packages 
    sudo ln -s /home/pi/.local/lib/python2.7/site-packages/paho 
*참고https://stackoverflow.com/questions/48752469/cannot-run-paho-mqtt-client-importerror-no-module-named-paho-mqtt-client?rq=1

5. 자동실행 적용 
  /etc/profile에 아래 적용 
  =================================== 
  /home/pi/ipcheck_localip.sh 
  /home/pi/ipcheck_wlanip.sh 
  python /home/pi/mqtt_set/mqtt_futoy01.py & 
  =================================== 
  
  sudo raspi-config 
  > Select “Boot Options” then “Desktop/CLI” then “Console Autologin” 

*참고https://www.raspberrypi-spy.co.uk/2015/02/how-to-autorun-a-python-script-on-raspberry-pi-boot/