I am successfully using an Edimax WLAN USB stick which I have manually configured by editing etc/network/interfaces to use a static IP address; everything works as expected (other computers can be pinged, other computers can ping the Raspberry Pi, webbrowsing works), but the GUI indicates "No wireless interfaces found". Does anyone have an idea what this means?

I am using a Raspberry Pi 2 with Raspbian Stretch. I edited the file


to contain the following non-comment lines.

auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet static
address {some address}
netmask {some netmask}
gateway {some gateway}
dns-nameservers {some nameserver}
wpa-ssid {some wlan network name}
wpa-psk {some key}
| improve this question | | | | |
  • What is the output of nmcli connection ? – RubberStamp Nov 7 '17 at 21:28
  • Probably because you ignored the warning # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' but as you haven't said what you did, or even which Pi or OS, no one can be sure. See How to set up Static IP Address – Milliways Nov 7 '17 at 22:57
  • @Milliways: That "How to" guide ignores the best way to setup Static IP Address... that being setting up Static Leases via your DHCP server. There's nothing wrong with Static addressing schemes. However, I highly recommend using the full capabilities of your DHCP server rather than setting them on the local host. For example, here's how to do Static via DHCP with a DD-WRT router: Static Addressing via DHCP – RubberStamp Nov 7 '17 at 23:25
  • I forgot for a moment that "Network Manager" is probably not installed... systemd is probably installed... If so, what is the output of systemctl status dhcpcd – RubberStamp Nov 7 '17 at 23:52
  • @RubberStamp Address reservation in a router is NOT a static address. The "best" way is to NOT use a static address, unless you are running an isolated network, a DHCP server or such like. I have just about given up on trying to stop Pi users assigning static addresses, now I just try to tell them how to do it properly. – Milliways Nov 8 '17 at 1:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.