[SOLVED] Can't get Wi-Fi working in Slackware 14.2 with usb adapter and networkmanager
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.
need the output of lsusb . I need to know the revision the first revision do not work in linux may need to use a ndiswrapper that is where we use a windows driver for that device.
I need to know the revision the first revision do not work in linux may need to use a ndiswrapper that is where we use a windows driver for that device.
IIRC ndiswrapper is for 32bit drivers, there for useless for an modern 64bit install, or does it work on multilib?
I don't now if TS has an 32 or 64 bit Slackware.
IIRC ndiswrapper is for 32bit drivers, there for useless for an modern 64bit install, or does it work on multilib?
I don't now if TS has an 32 or 64 bit Slackware.
This is a learning curve for you.Your device is well supported by slackware. Kinda like riding a different bike.
the device works. You need to learn how to configure it.
always dhcp.
Same here. I appreciate your help, though. You've gone above and beyond. I was messing around with the wicd-client and during the connection process it produced an error saying:
Connection failed: Bad Password
I googled it and found some info on an ubuntu forum that I'm currently looking over.
I went to the wpa_supplicant man page and found then ran "wpa_supplicant -c/etc/wpa_supplicant.conf -iwlan0"
and got:
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
wlan0: Failed to initialize driver interface
Ok, let's start from scratch and see what we can get to work. The first thing to do is to try and get wpa_supplicant to connect to the network manually. First, let's make sure your /etc/wpa_supplicant.conf file is set properly. We can use wpa_passphrase to generate that. Run the following replacing "your_ssid" and "your_password" with your info.
Ideally, you should see something like this (I've masked some data for privacy reasons):
Code:
Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with XX:XX:XX:XX:1c:f4 (SSID='MYSSID' freq=5260 MHz)
wlan0: Trying to associate with XX:XX:XX:XX:1c:f4 (SSID='MYSSID' freq=5260 MHz)
wlan0: Associated with XX:XX:XX:XX:1c:f4
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: WPA: Key negotiation completed with XX:XX:XX:XX:1c:f4 [PTK=CCMP GTK=TKIP]
wlan0: CTRL-EVENT-CONNECTED - Connection to XX:XX:XX:XX:1c:f4 completed [id=0 id_str=]
Notice how at the bottom it states that the connection has completed? That should mean that wpa_supplicant is successfully connected to your router. Right now, we're running this in the foreground so we can see any messages, so any further commands will need to be entered in a new terminal window. Now you should be able to run iwconfig and have it show that it's associated with a network.
Code:
jbhansen@craven-moorhead:~$ iwconfig
tun0 no wireless extensions.
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"MYSSID"
Mode:Managed Frequency:5.26 GHz Access Point: XX:XX:XX:XX:1C:F4
Bit Rate=200 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=62/70 Signal level=-48 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:6 Missed beacon:0
Now that you're this far, you should just need to run dhcpcd wlan0 to request an IP address for your wlan0. If this works and you get online, you can Ctrl+C your wpa_supplicant program and then add a -B to the command, which will cause it to run in the background, so you don't need to keep it up in a terminal.
If you get this far, then we know your driver works and wpa_supplicant works with your card/driver. Beyond that, we'll then need to troubleshoot either wicd or Network Manager, or, if you don't intend to connect this device to many new networks, we can set it up to work with rc.inet1 without requiring wicd or Network Manager.
If you don't get the whole way through, please copy and paste any error messages into your post and we'll see what went wrong and git it resolved.
Ok, let's start from scratch and see what we can get to work. The first thing to do is to try and get wpa_supplicant to connect to the network manually. First, let's make sure your /etc/wpa_supplicant.conf file is set properly. We can use wpa_passphrase to generate that. Run the following replacing "your_ssid" and "your_password" with your info.
Ideally, you should see something like this (I've masked some data for privacy reasons):
Code:
Successfully initialized wpa_supplicant
wlan0: SME: Trying to authenticate with XX:XX:XX:XX:1c:f4 (SSID='MYSSID' freq=5260 MHz)
wlan0: Trying to associate with XX:XX:XX:XX:1c:f4 (SSID='MYSSID' freq=5260 MHz)
wlan0: Associated with XX:XX:XX:XX:1c:f4
wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
wlan0: WPA: Key negotiation completed with XX:XX:XX:XX:1c:f4 [PTK=CCMP GTK=TKIP]
wlan0: CTRL-EVENT-CONNECTED - Connection to XX:XX:XX:XX:1c:f4 completed [id=0 id_str=]
Notice how at the bottom it states that the connection has completed? That should mean that wpa_supplicant is successfully connected to your router. Right now, we're running this in the foreground so we can see any messages, so any further commands will need to be entered in a new terminal window. Now you should be able to run iwconfig and have it show that it's associated with a network.
Code:
jbhansen@craven-moorhead:~$ iwconfig
tun0 no wireless extensions.
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11 ESSID:"MYSSID"
Mode:Managed Frequency:5.26 GHz Access Point: XX:XX:XX:XX:1C:F4
Bit Rate=200 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=62/70 Signal level=-48 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:6 Missed beacon:0
Now that you're this far, you should just need to run dhcpcd wlan0 to request an IP address for your wlan0. If this works and you get online, you can Ctrl+C your wpa_supplicant program and then add a -B to the command, which will cause it to run in the background, so you don't need to keep it up in a terminal.
If you get this far, then we know your driver works and wpa_supplicant works with your card/driver. Beyond that, we'll then need to troubleshoot either wicd or Network Manager, or, if you don't intend to connect this device to many new networks, we can set it up to work with rc.inet1 without requiring wicd or Network Manager.
If you don't get the whole way through, please copy and paste any error messages into your post and we'll see what went wrong and git it resolved.
Hi bassmadrigal,
When I run "wpa_supplicant -Dnl80211,wext -iwlan0 -c/etc/wpa_supplicant.conf" I get the following output:
Successfully initialized wpa_supplicant
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
ctrl_iface exists and seems to be in use - cannot override it
Delete '/var/run/wpa_supplicant/wlan0' manually if it is not used anymore
Failed to initialize control interface '/var/run/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was left by an unclean termination of wpa_supplicant in which case you will need to manually remove this file before starting wpa_supplicant again.
Should I go ahead and delete /var/run/wpa_supplicant/wlan0 ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.