wiki:jazz/21-03-05

Version 4 (modified by jazz, 4 years ago) (diff)

--

2021-03-05

macOS + Android

  • 需求: 讓 macBook 筆電 透過 USB 使用 Android 的網路(Wi-Fi or 3G/4G)
  • 工具:horndis
    brew info horndis
    horndis: 9.2
    https://github.com/jwise/HoRNDIS
    Not installed
    From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/horndis.rb
    ==> Name
    HoRNDIS
    ==> Description
    Android USB tethering driver
    ==> Artifacts
    HoRNDIS-9.2.pkg (Pkg)
    ==> Caveats
    horndis requires a kernel extension to work.
    If the installation fails, retry after you enable it in:
      System Preferences → Security & Privacy → General
    
    For more information, refer to vendor documentation or this Apple Technical Note:
      https://developer.apple.com/library/content/technotes/tn2459/_index.html
    
    ==> Analytics
    install: 25 (30 days), 92 (90 days), 818 (365 days)
    

homebrew

~$ brew tap
coursier/formulas
homebrew/cask
homebrew/cask-fonts
homebrew/cask-versions
homebrew/core
homebrew/services
jlhonora/lsusb
~$ brew list --formula
bash-completion	gettext		icu4c		mosh		oniguruma	protobuf	tig		xz
coreutils	git		jq		mtr		openssl@1.1	python@3.8	tree
dos2unix	git-extras	libidn2		ncurses		pcre2		readline	unrar
gdbm		htop		libunistring	nmap		pidof		sqlite		wget
~$ brew list --cask
firefox              google-chrome        messenger            slack                visual-studio-code   zulu8
font-hack            joplin               mpv                  spectacle            visualvm
GraphViz image