r2d2 scripts

r2d2 scripts

r2d2 scripts are part of OAIP (Open Internet Access Project or Provider). OIAP is a free Internet Access provider in white area. OIAP provide access & some services for used Internet in white area. All scripts are written in sh or Python, and there can run on all unix system. For my part they run on macOS.
Daniel Cheung©

  1. Prerequisites
  2. Coponents
    1. Shell
    2. Pyton
    3. Params
    4. macOS plist
    5. crontable
    6. bin
    7. Config - homebridge
    8. Config - goaccess
    9. pics for homebridge / Apple homekit
  3. Disclaimer
  4. License

Several scripts contain critical information such as user IDs, LAN IP addresses, and MAN networks … So they can not be shared with everyone. If you want more information, you can contact me.


  • xcode-select
  • Xcode Command Line Tools
  • Homebrew (Homebrew installs the stuff you need that Apple (or your Linux system) didn’t)
  • openssl (v1.0.2r)
  • Pyton3 (v3.7.3) (pip3 & requests pakages are requier)
  • bind 9 (v9.12.2-P1)
  • apache web server (v2.4.33) or nginx (v1.15.9)

    The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.

  • php 7 (v7.2 needed for ownCloud v10.2.1)

    PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

  • redis 4 (v4.0.11)
  • mySQL 5 (v5.7.19)
  • jq (v1.6)
  • nagios (v4.4.25)

    Nagios is known for being the best server monitoring software on the market.

  • goaccess (v1.2_1)

    GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in unix systems orthrough your browser. It provides fast and valuable HTTP statistics for system administrators thatrequire a visual server report on the fly.

  • Homebridge on macOS
  • homebridge-config-ui-x
  • ownCloud (v10.2.1)
  • jekyllrb
  • Firebase CLIGoogle



  • .sync.sh (script for deploy. You must created a ssh key for no loging to target server)
  • ux_lib.sh
  • osx_send_message.sh
  • ux_net_check.sh
  • ux_build_cache_DNS.sh
  • ux_cmd_DNS.sh
  • ux_homebridge.sh
  • ux_sync.sh
  • ux_sync_r2d2.sh
  • ux_sync_ext.tc.noc.net
  • ux_state_change.sh
  • ux_start.sh
  • os_cloudflare_dns_update.sh
  • osx_stop_app.sh
  • lb_reboot.sh
  • oC_call_backup.sh
  • oC_export_bdd.sh
  • oC_export_calendar.sh
  • oC_export_contact.sh
  • osx_chech_app.sh
  • osx_chech_cell.sh
  • osx_chech_net.sh
  • osx_check_time_machine_currency.sh
  • osx_chech_service.sh
  • w_cmd_form_action.sh
  • w_cmd_form.sh
  • w_goaccess_dashboard.sh



  • FQDN.txt
  • ux_msg_read.txt
  • ux_net_check.txt
  • ux_sync_Backup_Media.txt
  • ux_sync_Backup_aux_ownCloud.txt
  • ux_sync_Backup_ownCloud_< users >_.txt
  • ux_sync_USB.txt
  • ux_sync_ext.tc.noc.net.txt
  • ux_sync_r2d2_media.txt

macOS plist

  • com.homebridge.server.plist
  • net.noc.r2d2.launch_start.plist
  • net.noc.r2d2.launch_ux_cmd_DNS
  • net.noc.r2d2.launch_ux_sync_USB


  • ux.cron


  • check_osx_smc
  • check_ping
  • ftp

Config - homebridge

  • config.sleep.json
  • config.wake.json

Config - goaccess

  • goaccess_r2d2.conf

pics for homebridge / Apple homekit

  • bathroom.jpg
  • garden.jpg
  • home.jpg
  • homebridge-config-ui-x.jpg
  • lounge.jpg
  • office.jpg
  • r2d2.jpg


I’m furnishing this software “as is”. I do not provide any warranty of the item whatsoever, whether express, implied, or statutory, including, but not limited to, any warranty of merchantability or fitness for a particular purpose or any warranty that the contents of the item will be error-free. The development of this module is not supported by Apple Inc. or EVE. These vendors and me are not responsible for direct, indirect, incidental or consequential damages resulting from any defect, error or failure to perform.


This project is licensed under the MIT License - see the LICENSE file for details

Share it :