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.
Well, I can't see "wlan_tkip" in your list of loaded modules. Stop wpa_supplicant (wpa_action ath0 stop), load 'wlan_tkip' (modprobe wlan_tkip), then restart the ath0 interface and see if it connects.
I also noticed you have another 80211 stack and Broadcom drivers loaded - do you have multiple wireless devices? If not, you should prevent unnecessary drivers from loading; usually they are harmless but sometimes they interfere with other drivers.
Guys, thank you for your patience:
Still not working
Quote:
root@# wpa_action ath0 stop
bash: wpa_action: command not found
root@# modprobe wlan_tkip
root@# /etc/rc.d/rc.inet1 ath0_restart
/sbin/dhcpcd: not running
Polling for DHCP server on interface ath0:
Broadcasting DHCP_DISCOVER
timed out waiting for a valid DHCP server response
I get an error when checking the status:
Quote:
root@# wpa_cli -i ath0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Please excuse my ignorance but am I missing something here?
What is wpa_ctrl?
Quote:
I also noticed you have another 80211 stack and Broadcom drivers loaded - do you have multiple wireless devices? If not, you should prevent unnecessary drivers from loading; usually they are harmless but sometimes they interfere with other drivers.
I thought I had blacklisted the broadcom. It seemed to cause problems in the past. I added the following to the /etc/modprob.d/blacklist:
Quote:
# Deprecated BCM43xx driver. List it here so it won't conflict with
# b43 or b43legacy drivers.
# Blacklisting bcm4309, b43, ath5k for madwifi and ssb are my doing
blacklist bcm43xx
blacklist bcm4309
blacklist b43
blacklist ath5k
blacklist ssb
root@# wpa_cli -i ath0 status
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Please excuse my ignorance but am I missing something here?
What is wpa_ctrl?
It appears that wpa_supplicant is not even running. The "wpa_ctrl" is the communication socket over which it is possible for the wpa_cli program to talk to the wpa_supplicant daemon. The error indicates that wpa_supplicant is not operational, which could mean an error in your /etc/wpa_supplicant.conf file.
Or, if you are still using
Code:
WLAN_WPADRIVER[1]="madwifi"
in your /etc/rc.d/rc.inet1.conf, you should change it now to
Well, your lsmod shows that the bc* drivers are loaded - can you unload them and move them somewhere where the system can't find them so that they don't load?
One post I read claimed that wlan_tkip and wlan_xauth should both be loaded; perhaps you should try what you did before but load wlan_xauth again (I have no idea if that will work because I don't know if wlan_auth is used by clients or only by an Access Point).
Alien Bob pointed out that you might not have wpa_supplicant running either - I don't know how Slack has that all set up (I use Debian and it's all run without user intervention via the networking scripts). So you might have to start wpa_supplicant directly (as in a previous post).
Thanks for the reply. I changed as shown in a previous post.
Quote:
# Config information for ath0:
IFNAME[1]="ath0"
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
WLAN_WPA[1]="wpa_supplicant"
WLAN_WPADRIVER[1]="wext"
WLAN_WPAWAIT[1]=50
#DHCP_HOSTNAME[1]="netgear"
DHCP_TIMEOUT[1]=50
Quote:
which could mean an error in your /etc/wpa_supplicant.conf file.
As posted earlier, I am not shure if there are any errors with the wpa_supplicant.conf.
Quote:
# See /usr/doc/wpa_supplicant-0.5.10/wpa_supplicant.conf.sample
# for many more options that you can use in this file.
# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
proto=WPA
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
#pairwise=CCMP TKIP
#group=CCMP TKIP WEP104 WEP40
ssid="my ssid"
psk=my psk
}
# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
key_mgmt=NONE
priority=0
}
One thought, should I put in my ssid or bssid? Isnt the bssid the same as the mac address for the router?
pinniped,
I just blacklisted the b43legacy
I did not quite understand,
Quote:
One post I read claimed that wlan_tkip and wlan_xauth should both be loaded; perhaps you should try what you did before but load wlan_xauth again (I have no idea if that will work because I don't know if wlan_auth is used by clients or only by an Access Point).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.