LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   ifconfig: SIOCGIFFLAGS failed: No such device wlan0 (https://www.linuxquestions.org/questions/linux-from-scratch-13/ifconfig-siocgifflags-failed-no-such-device-wlan0-4175584071/)

Jigsaw 07-07-2016 11:48 PM

ifconfig: SIOCGIFFLAGS failed: No such device wlan0
 
I have problems that my wlan0 does not work I have installed a firmware driver athr9k but pas me run wlan0 message "ifconfig: SIOCGIFFLAGS failed: No such device".

Code:

Networking  --->
Wireless  --->
    <M> Improved wireless configuration API
    <M> Generic IEEE 802.11 Networking Stack (mac80211)

Device Drivers  --->[*] Network device support  --->
        Wireless LAN  --->
          Atheros Wireless Cards ---->
            <M>  Atheros 802.11n wireless cards support

Code:

git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
cd linux-firmware
make install

root [ ~ ]# ifconfig wlan0 up
ifconfig: SIOCGIFFLAGS failed: No such device

root [ ~ ]# lspci | grep Wireless
07:00.0 Network controller: Qualcomm Atheros AR9485 Wireless Network Adapter (rev 01)

please help me sir..

tnut 07-08-2016 06:57 AM

As a start you could check for any error message at boot time and see if your firmware was found and successfully loaded by the kernel.

In root:

Code:

dmesg¦more

spiky0011 07-08-2016 02:32 PM

hi
you could check that it,s not named something else. "wlp3s0" or similar.

Ifconfig might help

Jigsaw 07-11-2016 05:43 PM

I compile the kernel from the beginning and now it can.


All times are GMT -5. The time now is 12:12 PM.