LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-04-2007, 06:00 PM   #1
wgato
Member
 
Registered: Jun 2006
Distribution: ubuntu slax dsl
Posts: 40

Rep: Reputation: 15
cant get on wpa network


Can anyone help out? I'm beyond stuck.

i'm running DSL from a usb drive on an old thinkpad with a dead hard drive. i cant get on my home WPA network and I've been at it for weeks now. the network card is a linksys wpc11v4. i've got the xp driver and am using ndiswrapper, i *think* correctly.

$ cp /cdrom/wirelessdrivers/net8180.inf rt /cdrom/wirelessdrivers/18180.sys .

$ ndiswrapper -i net8180.inf

$ ndiswrapper -l

$ modprobe ndiwrapper

$ iwlist wlan0 scan

this brings up my home network which leads me to believe that the card is working properly and things with ndiswrapper are correct. is this right?

i have a wpa_supplicant.conf file that contains

network={
ssid="name_of _my_network"
key_mgmt=WPA-PSK
proto=wpa
pairwise=TKIP
psk="my_password"
}

then i tried
$ iwconfig wlan0 essid my_network

$ wpa_supplicant -Bdd -Dndiswrapper -i wlan0 -c wpa_supplicant.conf

$ pump -i wlan0

this didnt work so i've been trying all kinds of different things in the wpa_supplicant.conf file, then running those last 3 commands again. Do I have to reboot inbetween making changes to wpa_supplicant.conf?

i've tried having the file say:
network={
ssid="name_of _my_network"
# key_mgmt=WPA-PSK
# proto=wpa
# pairwise=TKIP
psk="my_password"
}

or just commenting out key_mgmt or pairwise or proto

i tried running
$ wpa_password my_network my_password

and using the psk that was retuned in the wpa_supplicant.conf instead of my_password. i also tried using it with all the comobs above of wpa_supplicant.conf

If anyone has any suggestions I'd really appreciate it
 
Old 02-04-2007, 06:07 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
I had similar problems when I moved to a recent kernel and the latest version of ndiswrapper.

Try -Dwext instead of -Dndiswrapper.
 
Old 02-04-2007, 06:29 PM   #3
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I would eleminate the wpa for now. Turn off all security from wep, wpa, mac and ip filtering. Then try connecting with a basic setup. If that works then you can start enabling security. It is easier to start as basic as possible. See if it can even get on.

Brian
 
Old 02-04-2007, 06:31 PM   #4
wgato
Member
 
Registered: Jun 2006
Distribution: ubuntu slax dsl
Posts: 40

Original Poster
Rep: Reputation: 15
2GNU thanks but that got me a bunch of errors:

ioctl[SIOCSIWAUTH]: Operation not supported
Failed to enable WPA in the driver.
ioctl[SIOCSIWAUTH]: Operation not supported
Failed to enable WPA in the driver.
ioctl[SIOCSIWAUTH]: Operation not supported
ioctl[SIOCSIWAUTH]: Operation not supported
rmdir[ctrl_interface]: Bad Address

Would I need to set up wext before running
wpa_supplicant -Bdd -Dwext -i wlan0 -c wpa_supplicant.conf

similar to the way ndiswrapper needed to be loaded?

Last edited by wgato; 02-04-2007 at 06:47 PM.
 
Old 02-04-2007, 06:49 PM   #5
wgato
Member
 
Registered: Jun 2006
Distribution: ubuntu slax dsl
Posts: 40

Original Poster
Rep: Reputation: 15
Brian1: I'd love to but I cant. The wireless network is for my whole apartment building. I dont know how to go about turning off security and it would mess everyone else up if I did.
 
Old 02-04-2007, 07:56 PM   #6
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Is ndiswrapper loaded? Does ndiswrapper -l return good messages?
 
Old 02-04-2007, 08:06 PM   #7
wgato
Member
 
Registered: Jun 2006
Distribution: ubuntu slax dsl
Posts: 40

Original Poster
Rep: Reputation: 15
yes, i think so. this is what I get:


$ ndiswrapper -l
Installed drivers:
net8180 driver installed, hardware present

$ dmesg | grep ndiswrapper
<6>ndiswrapper version 1.14 loaded (preempt=no,smp=yes)
<6>ndiswrapper: driver8180 (Realtek,10/07/2004,5.173.1007.2004) loaded
<6>ndiswrapper: using irq 11
<6>wlan0: ndiswrapper ethernet device 00:0c:41:4a:ff:a0 using driver net8180, 10EC:8180.5.conf

$ lsmod
Module Size Used By
ndiswrapper 175740 0
list of other modules....
 
Old 02-04-2007, 10:23 PM   #8
wgato
Member
 
Registered: Jun 2006
Distribution: ubuntu slax dsl
Posts: 40

Original Poster
Rep: Reputation: 15
i dont know if it will help but here is the output of wpa_supplicant. i have to ctrl-c to stop it or it keep going on this way. beleza is my network.

$ wpa_supplicant -dd -Dndiswrapper -i wlan0 -c wpa_supplicant.conf
Initializing interface 'wlan0' conf 'wpa_supplicant.conf' driver 'ndiswrapper'
Configuration file 'wpa_supplicant.conf' -> '/ramdisk/home/dsl/wpa_supplicant.conf'
Reading configuration file '/ramdisk/home/dsl/wpa_supplicant.conf'
Line: 1 - start of a new network block
ssid - hexdump_ascii(len=6):
62 65 6c 65 7a 61 beleza
key_mgmt: 0x2
pairwise: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=26): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Line 6: removed CCMP from group cipher list since it was not allowed for pairwise cipher
Priority group 0
id=0 ssid='beleza'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Own MAC address: 00:0c:41:4a:ff:a0
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 396 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:14:6c:98:29:fa ssid='beleza' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
1: 00:12:0e:15:9b:5e ssid='05B412115401' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 585 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:14:6c:98:29:fa ssid='beleza' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
1: 00:12:0e:15:9b:5e ssid='05B412115401' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
2: 00:e0:98:db:61:38 ssid='05B401949250' wpa_ie_len=0 rsn_ie_len=0
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Signal 2 received - terminating
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0

Last edited by wgato; 02-04-2007 at 10:24 PM.
 
Old 02-08-2007, 09:07 PM   #9
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

Rep: Reputation: 157Reputation: 157
Do you have WPAgui installed??? There are some nice GUI tools now...
 
Old 02-10-2007, 12:37 PM   #10
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
I would like to see you make the connection as simply as possible. Goto a friends or family house that has a wireless connection. Have them disable any security and then try making a dynamic connection. If that works then the ndiswrapper is working over all. That is my only way I would do it. Start from the begiining.

Brian
 
  


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
complicated network with wpa supplicant please help! tellectual Linux - Wireless Networking 3 11-04-2006 08:06 AM
wireless network - WPA jaymoney Ubuntu 29 10-19-2006 10:08 AM
Wireless network manager using WPA encryption dgranger Linux - Wireless Networking 14 09-20-2006 12:23 PM
WPA on wireless network The Patbon Mandriva 10 03-16-2005 10:55 PM
Configuring WPA-secured wireless network dori Slackware 1 10-07-2004 06:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 07:51 AM.

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