SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As Emerson stated, if the device is down (inactive), it won't show with ifconfig. You would need to run ifconfig -a to show all devices regardless of whether they're up/down.
Also, not all wireless devices will show up as wlanX. Sometimes they'll have funky device names. However, if the device is detected as wireless, iwconfig should show it and that it supports wireless regardless of whether the interface is up or down.
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short long limit:2 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Code:
iwconfig wlan1
wlan1 No such device
Code:
lsusb
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[19589.104420] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[19589.252084] usb 1-1.4: New USB device found, idVendor=148f, idProduct=5370, bcdDevice= 1.01
[19589.252103] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[19589.252119] usb 1-1.4: Product: 802.11 n WLAN
[19589.252134] usb 1-1.4: Manufacturer: Ralink
[19589.252148] usb 1-1.4: SerialNumber: 1.0
[19589.354424] usb 1-1.4: reset high-speed USB device number 5 using dwc_otg
[19589.495237] ieee80211 phy2: rt2x00_set_rt: Info - RT chipset 5390, rev 0502 detected
[19589.524554] ieee80211 phy2: rt2x00_set_rf: Info - RF chipset 5370 detected
[19589.524926] ieee80211 phy2: Selected rate control algorithm 'minstrel_ht'
[19589.699217] ieee80211 phy2: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[19589.699453] ieee80211 phy2: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
So, wlan0 is available, however no address assigned....I assume that you have no configuration in place to get it associated with an AP? What is your exact issue now?
Code:
wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short long limit:2 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
OK, it is loading rt2800usb and firmware. What makes you think it should be wlan1, perhaps your other wireless device is defunct and your USB Ralink is wlan0.
"What makes you think it should be wlan1, perhaps your other wireless device is defunct and your USB Ralink is wlan0."
Well, when I un-plugged the USB adapter wlan0 stayed and stayed the same.
Since I have been monkeying with it, that's now changed. Wlan0 now goes away when I remove the RT5370 and the built-in broadcom wifi adapter now isn't being detected...
Son-of-a....
All I want is:
wlan0 = built-in wifi
wlan1 = USB RT5370 wifi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.