Wifi works only when Ethernet is plugged. Raspberry pi 3B - Raspberry Pi Forums


help me solve issue.

i've done raspbian installation on headless pi , configured wifi settings in wpa* file, still cannot wifi module , running without ethernet plugged in.

following contents of files:


===============================================================================
1. /etc/network/interfaces
===============================================================================
# interfaces(5) file used ifup(8) , ifdown(8)

# please note file written used dhcpcd
# static ip, consult /etc/dhcpcd.conf , 'man dhcpcd.conf'

# include files /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

===============================================================================
2. /etc/wpa_supplicant/wpa_supplicant.conf
===============================================================================
country=gb
ctrl_interface=dir=/var/run/wpa_supplicant group=netdev
update_config=1

network={
ssid="ssid"
psk="password"
}

hi , welcome forum.
me, in /etc/network/interfaces file, need change instances of 'manual' 'dhcp', ie

code: select all

iface wlan0 inet manual
becomes,

code: select all

iface wlan0 inet dhcp
texy


raspberrypi



Comments