2023-10-14 01:37 AM - edited 2023-10-22 07:27 PM
Hi @Kevin HUBER ,
I am trying to up the WLAN on a custom Buildroot image using the kernel configuration as follow:
[*] IP: kernel level autoconfiguration [*] IP: DHCP support [*] IP: BOOTP support [*] IP: RARP support [M] INET: socket monitoring interface [M] The IPv6 protocol [*] DNS Resolver support [*] Wireless ---> [M] cfg80211 - wireless configuration API [*] cfg80211 wireless extensions compatibility [M] Generic IEEE 802.11 Networking Stack (mac80211)
[*] Device Drivers ---> [*] Network device support ---> [*] Wireless LAN ---> [*] Broadcom devices [M] Broadcom FullMAC WLAN driver
this is the uploaded module:
# lsmod
Module Size Used by
b43 389120 0
mac80211 417792 1 b43
brcmutil 16384 0
tcp_diag 16384 0
sit 28672 0
libarc4 16384 1 mac80211
inet_diag 24576 1 tcp_diag
ip_tunnel 24576 1 sit
tunnel4 16384 1 sit
cfg80211 327680 2 b43,mac80211
ipv6 372736 19 sit
but i canoot see wlan0 interface, any help?
Thank you
Solved! Go to Solution.
2023-10-23 05:24 AM
Hi @Kevin HUBER ,
I am using custom buildroot image (not ST Linux), and with the setting above it failed to load the wlan0 interface.
Sorry I forgot to attached the ifconfig output which showed only eth0.
The lsmod just to show the driver loaded for wlan.
I have using different kernel version (6.1) and now its working. I presume the previous version of kernel (5.13) not really customized for the 157F-DK2 board
Thanks.
2023-10-23 04:57 AM
Hello @MFR ,
I'm not sure to understand why you want to see wlan0 in lsmod. lsod list the kernel modules that are loaded and interact with the kernel.
In your case, you have to follow the tutorial available on the wiki:
https://wiki.st.com/stm32mpu/wiki/How_to_setup_a_WLAN_connection#ifconfig
until the end of the section 3. You should normally be able to connect to your WIFI router.
There is no need to customize the linux configuration for that because the default configuration, which is the same than the starter package, already have everything to make wlan0 works.
Best Regards,
Kevin
2023-10-23 05:24 AM
Hi @Kevin HUBER ,
I am using custom buildroot image (not ST Linux), and with the setting above it failed to load the wlan0 interface.
Sorry I forgot to attached the ifconfig output which showed only eth0.
The lsmod just to show the driver loaded for wlan.
I have using different kernel version (6.1) and now its working. I presume the previous version of kernel (5.13) not really customized for the 157F-DK2 board
Thanks.