Re: wireless interface does not come up on boot
- In reply to: marco : "Re: wireless interface does not come up on boot"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Sep 2022 17:48:17 UTC
Hi Marco, Thanks for responding. I tried adding this to /etc/rc.conf but there was no change, the interface still doesn't come up: create_args_wlan0="regdomain FCC country US authmode WPA powersave" Here is the output from ifconfig after I manually brought up the interface using the commands shown earlier: # ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 84:14:4d:04:e4:0d inet 10.0.0.18 netmask 0xffffff00 broadcast 10.0.0.255 groups: wlan ssid Rocksolidwifi channel 44 (5220 MHz 11a) bssid f8:5e:42:f8:d1:fa regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 17 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a status: associated nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> John On 9/13/22 10:17, marco wrote: > On Tue, Sep 13, 2022 at 09:26:28AM -0600, you (John J. Rushford) sent the following to [freebsd-wireless] : >> Greetings, >> >> I've properly configured wpa_supplicant to join an >> AP in my home and I have the following options in /etc/rc.conf: >> >> wlans_iwlwifi0="wlan0" >> ifconfig_iwlwifi0="WPA DHCP" >> The interface does not come up after booting the laptop. In >> troubleshooting I've found that I can manualy bring the interface up >> using the following commands: >> >> >> # ifconfig wlan0 up scan >> >> # wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf & >> >> # dhclient wlan0 >> >> Once I bring up the interface, everything works as expected. I'm >> composing and sending this email from the machine now that I've manually >> brought up the interface. > Can you please show the ifconfig output after boot plus kldstat output? > Could it be you perhaps need to add a 'create_args_wlan0 statement to > rc.conf(5)? > > I currently use: create_args_wlan0="regdomain ETSI country NL authmode WPA powersave" where iwm(4) is the parent interface. > > I'm using lagg(4) with failover with laggports em(4) and wlan(4) so my > config is a bit different but for the laggports I have a > create_args_iface in rc.conf(5) >> I have no idea, why the interface does not come up automatically >> following a boot. I've noticed errors loading up firmware for the >> adapter and was wondering if this could be throwing off the timing >> during boot? >> > Couldn't say but sounds plausible. >