LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-25-2008, 09:02 AM   #16
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50

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.
 
Old 09-25-2008, 10:19 PM   #17
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
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
 
Old 09-25-2008, 10:24 PM   #18
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
I will see if my wife's computer will connect wireless this weekend and let you know the results. She uses xp
 
Old 09-26-2008, 02:35 AM   #19
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by okos View Post
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?
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
Code:
WLAN_WPADRIVER[1]="wext"
Eric
 
Old 09-26-2008, 04:29 AM   #20
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
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).
 
Old 09-26-2008, 08:21 PM   #21
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Alien Bob,

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).
What do you suggest I do?
 
Old 09-26-2008, 11:39 PM   #22
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Hi
I was not able to acquire an ip address with my wife's xp either.

However, I changed the encryption to wep and was able to connect using wicd.

I was not sure how to setup wep in slackware.
 
Old 09-27-2008, 02:33 AM   #23
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
How strange - it sounds like some setting on the wireless router isn't right.
 
Old 04-22-2009, 06:35 PM   #24
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Update

I bought a D-Link router and was able to configure wpa2 perfectly.

Here is a guide
http://alien.slackbook.org/dokuwiki/...ckware:network

My configurations are as follows.

/etc/rc.d/inet1.conf
Code:
# Config information for eth0:
FNAME[1]="eth0"
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""

# Config information for ath0 (using dhcp):
IFNAME[1]="ath0"
IPADDR[1]=""
NETMASK[1]=""
USE_DHCP[1]="yes"
DHCP_HOSTNAME[1]="bt"
WLAN_WPA[1]="wpa_supplicant"
WLAN_WPADRIVER[1]="wext"
rc.wireless.conf
Code:
my mac address separated by colons)
      INFO="Netgear WG511T"
      ESSID="my essid"
      CHANNEL="1"
      KEY="my psk key"
     ;;
my /etc/wpa_supplicant.conf settings:
Code:
# WPA protected network, supply your own ESSID and WPAPSK here:
  network={
        scan_ssid=0
        ssid="my essid"
        proto=WPA RSN
        key_mgmt=WPA-PSK WPA-EAP
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk=my psk key
}

Last edited by okos; 04-22-2009 at 06:37 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
scripts (kommander and command line) to start wireless devices with wpa/wpa2/wpa-aes Fluxx Linux - Wireless Networking 4 06-28-2010 02:51 AM
usb network adapter with ndiswrapper can't connect to wpa with wpa-supplicant AceofSpades19 Linux - Wireless Networking 8 03-30-2008 05:13 PM
wifi wpa noob: which packages to install and how to setup a wpa? frenchn00b Linux - Newbie 1 12-16-2007 05:05 PM
[ipw2200 & WPA] Need help to connect to WPA enabled router. Hyakutake Slackware 2 03-02-2007 09:58 AM
How do i set up WPA PSK with wpa supplicant and linuxant? Eleavings Linux - Wireless Networking 4 12-27-2004 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration