From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ola Oni Date: Mon, 17 Dec 2018 23:12:58 +0000 Subject: [Buildroot] Wifi not working - raspberrypi3_defconfig In-Reply-To: <20181217222558.1005458c@gmx.net> References: <20181217081650.3b16024c@gmx.net> <20181217112234.7147783d@gmx.net> <20181217222558.1005458c@gmx.net> Message-ID: <874112de-fdc3-990f-1bac-522d2aeb2a1a@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 17/12/2018 21:25, Peter Seiderer wrote: > Hello Ola, > > On Mon, 17 Dec 2018 20:31:43 +0000, Ola Oni wrote: > >>> >>> raspberrypi3_defconfig with the following changes works for me: >>> >>> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y >>> >>> +BR2_PACKAGE_RPI_WIFI_FIRMWARE=y >>> +BR2_PACKAGE_DHCPCD=y >>> +BR2_PACKAGE_WPA_SUPPLICANT=y : >> >> Hi Peter, >> >> I am rebuilt the raspberry pi 3 buildroot image which has now allowed me >> to see wlan0 when I issue ifconfig but still can't seems to connect to >> WiFi network. >> >> Attached is a file which I have appended my current rpi3_defconfig and >> other outputs. Many thanks in advance. > > - configs/rpi3_defconfig: looks good > - dmesg: looks good (brcmfmac messages exist) > - my /etc/network/interfaces (no wireless-... entries): > > # interface file auto-generated by buildroot > > auto lo > iface lo inet loopback > > auto eth0 > iface eth0 inet dhcp > pre-up /etc/network/nfs_check > wait-delay 15 > hostname $(hostname) > > auto wlan0 > iface wlan0 inet dhcp > pre-up wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -B > post-down killall -q wpa_supplicant > > - my /etc/wpa_supplicant.conf (only the bare minimum): > > network={ > ssid="my ssid" > psk="my password" > } > > > Run wpa_supplicant with debug enabled (-dd)...double check ssid/psk? > > Regards, > Peter > >> >> Regards >> Ola > > Hi Peter, WiFi is now working. Enabling the wpa_supplicant in debug mode revealed that there was an old file /var/run/wpa_supplicant/wlan0 that it wanted me to "delete" which I simply renamed. I then proceed to running again but then I realized that I forgot to kill the original wpa_supplicant which was automatically started. Killing this process and issuing the wpa_supplicant directly from the command line kicked things into life. Thank you for your support highly appreciated. Regards Ola