I can't figure out how to properly bring up the wi-fi card on my laptop. When I turn it on and issue
$ sudo iwconfig wlan0 txpower auto $ sudo iwlist wlan0 scan wlan0 Interface doesn't support scanning : Network is down
it reports that the network is down. Trying to bring it up fails too:
$ sudo ifup wlan0 wlan0 no private ioctls. Failed to bring up wlan0.
Apparently I'm missing some basic low-level
When I issue
dhclient on the interface:
$ sudo dhclient -v wlan0 Internet Systems Consortium DHCP Client 4.2.2 Copyright 2004-2011 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ ^C$
and interrupt it, it brings the device up somehow and then scanning etc. works. I'd like to avoid this obviously superfluous step.