Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Wifi - so close....

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 08-17-2009   #1 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 5
Wifi - so close....

Hi,

I'm new to Linux but am giving Debian a bash on an otherwise scrap laptop. I've done my best setting up a wifi PCMCIA card but have hit a wall: dhclient listens but hears nothing then goes to sleep, even withan unencrypted network. Everything seems in place, no errors, and the driver (through ndiswrapper & WPA_Supplicant) is the one the card worked with in XP.

Files attached and all advice gratefully received.

Many thanks.
Attached Files
File Type: txt iwconfig.txt (474 Bytes, 2 views)
File Type: txt lsmod.txt (3.0 KB, 3 views)
File Type: txt lspci.txt (1.1 KB, 3 views)
File Type: txt uname.txt (13 Bytes, 3 views)
File Type: txt dmesg.txt (18.3 KB, 2 views)
scp02 is offline  


Reply With Quote
Old 08-17-2009   #2 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 5
Sorry, that should have read "DHCPDISCOVER" on WLAN0 listens but finds nothing.
scp02 is offline   Reply With Quote
Old 08-17-2009   #3 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,198
Are you just using the command line to connect? Can you post the contents of /etc/network/interfaces?

NetworkConfiguration - Debian Wiki

I would recommend trying WICD to manage your connections.

You might also try using the linux driver, though it doesn't appear to support WPA encryption.
reed9 is online now   Reply With Quote
Old 08-17-2009   #4 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 5
Hi,
Thanks for coming back to me. Yes, I've only got the command line interface to work with but will look for WICD. WPA is essential for my network but having worked on this a bit more I can now associate to an unprotected network, so I think it's a problem with wpa_supplicant. I've outputted the file you asked about below and also some command line stuff that may give a clue what goes wrong when it attempts to associate with my WPA network (SSID "7ARS").
scp02 is offline   Reply With Quote
Old 08-17-2009   #5 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 5
scp@armada:~$ sudo wpa_supplicant -D wext -i wlan0 -c/etc/wpa_supplicant.conf
ioctl[SIOCSIWPMKSA]: Invalid argument
ioctl[SIOCSIWPMKSA]: Invalid argument
CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:0d:72:f7:ec:21 (SSID='7ARS' freq=2422 MHz)
Associated with 00:0d:72:f7:ec:21
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
ioctl[SIOCSIWENCODEEXT]: Invalid argument
WPA: EAPOL-Key Replay Counter did not increase - dropping packet
Associated with 00:0d:72:f7:ec:21
CTRL-EVENT-SCAN-RESULTS

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
pre-up /sbin/wpa_supplicant -Bw -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf
post-down killall -q wpa_supplicant
scp02 is offline   Reply With Quote
Old 08-17-2009   #6 (permalink)
Linux Guru
 
reed9's Avatar
 
Join Date: Feb 2009
Location: Boston, MA
Posts: 2,198
I very rarely have used wpa_supplicant as a standalone. From what you posted, you need a space between the -c and the /etc/wpa_supplicant.conf

This is what has worked for me in the past:
Quote:
wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
For Debian based systems, there are two options for an ncurses based wireless manager, that make this whole thing much easier.

Ceni
which is most easily installed using the smxi scripts, and WICD, as I mentioned before.

The caveat with WICD is that the ncurses interface is only available beginning the the 1.6 release, and Debian only has 1.5.9 in the backports, I believe. So you would need to compile it from source. I think WICD is the better network manager, but Ceni isn't bad.
reed9 is online now   Reply With Quote
Old 08-18-2009   #7 (permalink)
Just Joined!
 
Join Date: Aug 2009
Posts: 5
Thanks for that. I'll try a different build with WICD and see how it goes.
scp02 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:12 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2