So I have been using the pi and trying to get wifi to work from boot. For some reason neither the internal wifi nor the usb 802.11n dongle I have will connect on boot. I have /etc/wpa_supplicant/wpa_supplicant-wlan0.conf set up with no networks and /etc/wpa_supplicant/wpa_supplicant-wlan0.conf set up with my typical networks.
I am ultimately trying to make an access point, but at this point hostapd is failing to start up via systemd on boot. If I run it manually it's all fine.
This is leading me to believe that I haven't configured hot-plug or something related to starting the wireless interfaces. I'm comparing back-to-back with a Pi model 3 and I don't see any differences in configuration in the spots I know to configure.
Running sudo rfkill unblock wifi works for this boot, but as soon as I reboot I am back to no-wifi land. Any ideas?
ifconfig right after boot:
Code: Select all
wlan1 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
lo no wireless extensions.
wlan0 unassociated Nickname:"<WIFI@REALTEK>"
Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated
Sensitivity:0/0
Retry:off RTS thr:off Fragment thr:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
output of cat /etc/network/interfaces:
Code: Select all
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
output of cat /etc/hostapd/hostapd.conf:
Code: Select all
country_code=US
interface=wlan0
driver=nl80211
ssid=datssid
hw_mode=g
channel=7
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=datpsk
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP