LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-16-2009, 03:24 PM   #1
Do7AN
LQ Newbie
 
Registered: Nov 2006
Location: philadelphia, PA
Distribution: Slackware current
Posts: 27

Rep: Reputation: 15
Wireless Configuration Slackware 12.2 - wpa_supplicant error - Intel 4965


I am receiving the following error.

Code:
/etc/rc.d/rc.inet1 wlan0_restart
/sbin/dhcpcd: not running
/etc/rc.d/rc.inet1:  wlan0 information: 'mywirelessnetwork'
Error for wireless request "Set Nickname" (8B1C) :
    SET failed on device wlan0 ; Operation not supported.
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
I am attempting to connect to my work's wireless network which uses radius authentication but is not using certificates or keys. I am fairly new to linux. My wireless card is an Intel 4965abgn in a HP 6910p. I have read AlienBob's wiki http://alien.slackbook.org/dokuwiki/...ckware:network and a portion of Slackware Essentials book (first 5 chapters). I have not yet been successful connect my wireless nic to any network.

1. Can anyone explain the error that I'm getting?
2. Is there away to verify that the wireless card is scanning for a network?
3. Is there anything wrong with my configuration?

Please let me know if there is any information I forgot to post.



wpa_supplicant.conf
Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=user
eapol_version=1
ap_scan=1
fast_reauth=1

network={
  ssid=mywirelessnetwork
  scan_ssid=1
  proto=WPA
  key_mgmt=WPA-EAP
  eap=PEAP
  pairwise=TKIP
  identity="user"
  password="password"
  phase2="auth=MSCHAPV2"
}
rc.inet1.conf

Code:
IFNAME[4]="wlan0"
IPADDR[4]=""
NETMASK[4]=""
USE_DHCP[4]="yes"
DHCP_HOSTNAME[4]="PC"
DHCP_KEEPRESOLV[4]=""
DHCP_KEEPNTP[4]=""
DHCP_KEEPGW[4]=""
DHCP_IPADDR[4]=""
WLAN_ESSID[4]="mywirelessnetwork"
WLAN_MODE[4]=Managed
WLAN_CHANNEL[4]="auto"
WLAN_WPA[4]="wpa_supplicant"
WLAN_WPADRIVER[4]="wext"
WLAN_WPACONF[4]="/etc/wpa_supplicant.conf"
dmesg | grep iwl
Code:
wlagn: Intel(R) Wireless WiFi Link AGN driver for Linux, 1.3.27ks
iwlagn: Copyright(c) 2003-2008 Intel Corporation
iwlagn 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:10:00.0: setting latency timer to 64
iwlagn: Detected Intel Wireless WiFi Link 4965AGN REV=0x4
iwlagn: Tunable channels: 11 802.11bg, 13 802.11a channels
iwlagn 0000:10:00.0: PCI INT A disabled
phy0: Selected rate control algorithm 'iwl-agn-rs'
iwlagn 0000:10:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
iwlagn 0000:10:00.0: restoring config space at offset 0x1 (was 0x100002, writing 0x100006)
firmware: requesting iwlwifi-4965-2.ucode
iwlagn: Radio disabled by HW RF Kill switch
iwconfig
Code:
wlan0     IEEE 802.11abgn  ESSID:"mywirelessnetwork"
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Tx-Power=14 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
 
Old 01-17-2009, 04:22 PM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
/etc/rc.d/rc.inet1 wlan0_restart
/sbin/dhcpcd: not running
/etc/rc.d/rc.inet1: wlan0 information: 'mywirelessnetwork'
Error for wireless request "Set Nickname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
I have sometime the same message "Failed to connect" but in the end the card connects to my wireless network.

I've remarked that your "iwconfig" command shows that the card is not associated with your network. To identify which Access Points are available, run as user 'root':

Code:
iwlist wlan0 scan
If you do not see your Access Point, try to move the card's antennae.

If you see your Access Point, it could be that your card needs more time to associate. As suggested in Alien Bob's wiki, try to increase the WPA timeout by adding this line in /etc/rc.d/rc.inet1.conf:

Code:
WLAN_WPAWAIT[4]=120  # 2 minutes
 
Old 01-17-2009, 11:50 PM   #3
Do7AN
LQ Newbie
 
Registered: Nov 2006
Location: philadelphia, PA
Distribution: Slackware current
Posts: 27

Original Poster
Rep: Reputation: 15
I ran the iwlist wlan0 scan and iwlist wlan0 power.... And this is what I got.

iwlist wlan0 scan
Code:
wlan0     No scan results
iwlist wlan0 power
Code:
wlan0     Current mode:off
I'm guessing that this means my wireless card is powered off? The button that turns on my wireless card is turned on and the light is on? Could I be missing something like correct firmware or driver?

gegechris99 - thank you for your help.
 
Old 01-18-2009, 01:40 PM   #4
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Hello,

Did you make a fresh install of 12.2 or did you upgrade from a previous version (which one)?

In the log of your command "dmesg | grep iwl", you can see:

Code:
firmware: requesting iwlwifi-4965-2.ucode
iwlagn: Radio disabled by HW RF Kill switch
Is the firmware package installed in your system? iwlwifi-4965-ucode-228

After some googling, the error may also be due to your BIOS setting. Try reloading your default BIOS settings.
 
Old 01-19-2009, 11:25 PM   #5
Do7AN
LQ Newbie
 
Registered: Nov 2006
Location: philadelphia, PA
Distribution: Slackware current
Posts: 27

Original Poster
Rep: Reputation: 15
Thank you gegechris99. You were an excellent help and my wireless is working perfectly now. Here is what I figured out. The wireless card was working fine. The problem was the radius authentication. I was not matching all requirements set by radius and I had a problem with my wpa_supplicant.conf. Below I have listed the correct configuration that I am using. this can be compared to the original that I add posted a the top. Again thank you gegechris99.

wpa_supplicant.conf
Code:
network={
        ssid="mywirelessnetwork"
        scan_ssid=1
        key_mgmt=WPA-EAP
        eap=PEAP
        pairwise=TKIP
        phase1="peaplabel=0"
        phase2="auth=MSCHAPV2"
        identity="username"
        password="password"
}
 
  


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
Intel 4965 wireless adapter slurt Linux - Hardware 0 01-10-2009 01:39 AM
CentOS 5.2 wireless problem with Intel 4965 AGN wireless : SIOCGIFFLAGS error: No suc centguy Linux - Wireless Networking 2 08-12-2008 03:21 AM
Intel PRO/wireless 4965 ANG wireless card on hpdv9500 not working(off and on) Quargar Linux - Hardware 0 08-02-2008 09:06 PM
intel 4965 2.6.24 mac80211 wpa_supplicant ioctl error taltman Linux - Wireless Networking 1 04-27-2008 03:29 PM

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

All times are GMT -5. The time now is 03:36 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