diff --git a/buildroot/board/tiesse/tgr/linux.config b/buildroot/board/tiesse/tgr/linux.config index 8a567db..2b01b87 100644 --- a/buildroot/board/tiesse/tgr/linux.config +++ b/buildroot/board/tiesse/tgr/linux.config @@ -314,6 +314,7 @@ CONFIG_USB_NET_QMI_WWAN=m CONFIG_BRCMFMAC=m CONFIG_BRCMFMAC_PCIE=y CONFIG_HOSTAP=y +CONFIG_RFKILL=y CONFIG_RTL_CARDS=m # CONFIG_WLAN_VENDOR_TI is not set CONFIG_XEN_NETDEV_BACKEND=m diff --git a/conf/wifi/connect.sh b/conf/wifi/connect.sh index 27655de..e3d4deb 100755 --- a/conf/wifi/connect.sh +++ b/conf/wifi/connect.sh @@ -6,6 +6,6 @@ if [ "$#" -ne 2 ]; then fi /bin/echo "ctrl_interface=/var/run/wpa_supplicant" > /etc/wpa_supplicant.conf -/usr/bin/wpa_passphrase "$1" "$2" >> /etc/wpa_supplicant.conf +/usr/sbin/wpa_passphrase "$1" "$2" >> /etc/wpa_supplicant.conf /usr/sbin/wpa_supplicant -B -i client0 -c /etc/wpa_supplicant.conf /sbin/udhcpc -i client0