Re: wpa_supplicant in base and in ports

From: Cy Schubert <Cy.Schubert_at_cschubert.com>
Date: Sat, 24 Dec 2022 04:48:34 UTC
In message <Y6X1AZYfcW4tZU1N@sysmon.zyxst.net>, void writes:
> On Fri, Dec 23, 2022 at 06:48:51AM -0800, Cy Schubert wrote:
> >
> >What hardware device is your wlan0? That would be "parent interface".
>
> I *think* the answer is ath0. In case it isn't, I've provided the
> following info
>
> dmesg
> -----
>
> ath0: <Atheros AR946x/AR948x> mem 0xef200000-0xef27ffff irq 17 at device
> 0.0 on pci3
>
> ar9300_flash_map: unimplemented for now
> Restoring Cal data from DRAM
> Restoring Cal data from EEPROM
> Restoring Cal data from Flash
> Restoring Cal data from Flash
> Restoring Cal data from OTP
> ar9300_hw_attach: ar9300_eeprom_attach returned 0
> ath0: [HT] enabling HT modes
> ath0: [HT] enabling short-GI in 20MHz mode
> ath0: [HT] 1 stream STBC receive enabled
> ath0: [HT] 1 stream STBC transmit enabled
> ath0: [HT] LDPC transmit/receive enabled
> ath0: [HT] 2 RX streams; 2 TX streams
> ath0: AR9460 mac 640.2 RF5110 phy 0.0
> ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
>
> /etc/rc.conf
> ------------
>
> wlans_ath0="wlan0"
> ifconfig_wlan0="DHCP"

The WPA keyword is missing here. It should read ifconfig_wlan0="WPA DHCP".

> create_args_wlan0="country GB regdomain ETSI"
>
> /etc/wpa_supplicant.conf
> ------------------------
>
> network={
>          ssid="REDACTED_5G"
> 	psk="REDACTED_PASSWD"
> }
>
> thanks,
> -- 
>


-- 
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  https://FreeBSD.org
NTP:           <cy@nwtime.org>    Web:  https://nwtime.org

			e^(i*pi)+1=0