How to connect and use wireless adapters on slackware?
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.
Probably a stupid question on my part but does your WiFi LED light up? Since you know the proper firmware comes with Slackware can you confirm it and the proper module/driver is actually loading?
Not a stupid question at all. My laptop's does, but the wireless adapter's doesn't. I'd assume the module isn't loading by default. How can I check/enable this?
Not a stupid question at all. My laptop's does, but the wireless adapter's doesn't. I'd assume the module isn't loading by default. How can I check/enable this?
I really don't know very much about wifi 'cuz I hardwire everything, but my ancient Thinkpad needs to use wifi sometimes and it did not initially load by default. I tried "modprobe <module name>" and it would load but it didn't light up or work. Then I downloaded the firmware for that wifi nic and installed it and from then on no modprobe was needed. It was detected and loaded, lit up and worked ever since. So I'm thinking your first order of business is to get the firmware installed, although admittedly I am a bit confused why a USB device needs loadable firmware but whatever.
If you want to use NetworkManager, you will have to remove any network interface configuration information from /etc/rc.d/rc.inet1.conf in order to prevent a struggle for power between NetworkManager and Slackware's rc.inet1 script.
Some people forget this and wonder why there are issues.
Plus remember if you use rc.inet1.conf is that the last configure index Number [recommend not to use more than 6] then if you wanted index [0] to be the functioning and spec further down another index than the last will be the one used.
I typically setup my laptops with manual configures with '/etc/rc.d/rc.inet1.conf' & /etc/wpa_supplicant.conf
I use 'networkmanager' with the Slacklive ISO for ease of use on testing laptops.
The adapter is connected via usb. Trying the above command while the device is connected gives identical output as if it was disconnected. The adapter can still be detected using lsusb however:
Code:
root@slacker:~$ lsusb
Bus 001 Device 005: ID 0cf3:9271 Qualcomm Atheros Communications AR9271 802.11n
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Just to clarify in case there's any confusion, my laptop's wireless card works just fine. I'm connected to wifi as I type this. My question is regarding how to get the Alfa Network wireless adapter to work with my laptop so I can maybe get a better signal from my room. I think I just need to find drivers for it, for some reason linux drivers for AWUS036NHA weren't included on the disc that came with the device, the closest I could find on disc were AWUS036NH but I believe that's a different model.
I am not sure if this may apply because I never used a USB wireless adapter. But one issue I regularly face with my wireless is that it is soft-blocked and I have to explicitly unblock it with
Code:
# rfkill unblock 1
The number may vary, depending on your setup.
After plugging in your USB wireless adapter, wait a few seconds and then post the output of (as root)
[ 3708.689084] usb 1-5: new high-speed USB device number 2 using ehci-pci
[ 3708.838908] usb 1-5: New USB device found, idVendor=0cf3, idProduct=9271, bcdDevice= 1.08
[ 3708.838912] usb 1-5: New USB device strings: Mfr=16, Product=32, SerialNumber=48
[ 3708.838915] usb 1-5: Product: UB91C
[ 3708.838918] usb 1-5: Manufacturer: ATHEROS
[ 3708.838920] usb 1-5: SerialNumber: 12345
[ 3709.256611] usb 1-5: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[ 3709.256854] usbcore: registered new interface driver ath9k_htc
[ 3709.579807] usb 1-5: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[ 3709.832290] ath9k_htc 1-5:1.0: ath9k_htc: HTC initialized with 33 credits
output of rfkill list
Code:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
A Mint user seemed to have a similar problem on this thread. One of the responders mentioned this is a kernel bug and the user was able to fix it by upgrading to a newer kernel.
What version of Slackware are you using? Are you able to try and build a newer kernel to see if it fixes the issue?
I know I'm late to the party, however, I believe the driver for that usb wireless dongle would be carl9170.ko which is available on my "current" desktop (kernel 5.4.67). Is that module being loaded? Try
I know I'm late to the party, however, I believe the driver for that usb wireless dongle would be carl9170.ko which is available on my "current" desktop (kernel 5.4.67). Is that module being loaded? Try
IOf the driver loads but the light remains off or if it is still unrecognized then it appears it is indeed a firmware issue. If that is so you will need to install the firmware by searching for what blob your card needs and the instructions to install it..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.