列舉修改 wpa_supplicant 需要的相關檔案 /etc/network/interfaces auto wlan0 iface wlan0 inet dhcp allow-hotplug wlan0 wireless_mode managed wireless_essid any # wpa-driver wext wpa-driver nl80211 wpa-conf /etc/wpa_supplicant.conf /usr/bin/wpa_passphrase /usr/sbin/wpa_cli /usr/sbin/wpa_supplicant
* 整理功能別 Linux Kernel Configure (4.19) Enable Software Bridge CONFIG_BRIDGE=y [*] Networking support ---> Networking options ---> <*> 802.1d Ethernet Bridging Enable USB Gadget Ethernet (with RNDIS) CONFIG_USB_GADGET=y CONFIG_USB_ETH=m CONFIG_USB_ETH_RNDIS=y (If connecting to Windows Host) CONFIG_INET=y CONFIG_USB_GADGET=y Device Dsrivers ---> [*] USB support ---> <*> USB Gadget Support ---> CONFIG_USB_ETH=m Device Dsrivers ---> [*] USB support ---> <*> USB Gadget Support ---> <*> Ethernet Gadget (with CDC Ethernet support) CONFIG_USB_ETH_RNDIS=y Device Dsrivers ---> [*] USB support ---> <*> USB Gadget Support ---> <*> USB Gadget precomposed configurations <*>Ethernet Gadget (with CDC Ethernet support) [*] RNDIS support