2

I am using Ubuntu 16.08 from and am quite new to using the terminal.

When trying to run the following command:

ifconfig wlan0 down

I get:

wlan0: ERROR while getting interface flags: No such device

How should I proceed?

Fabby
  • 34,259
shahin
  • 29

1 Answers1

4

In 16.04, because of persistent naming, your interface is probably no longer wlan0. Check:

ifconfig

For example, my wireless interface is now wlp3s0.

Please try the interface you found:

sudo ifconfig wlp3s0 down

...or whatever interface you found.

Why is enp#s# in stead of eth# ? Whats the meaning of enp#s#?

chili555
  • 60,188