LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (http://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Cannont change iwconfig/be recognized by AP (http://www.linuxquestions.org/questions/linux-wireless-networking-41/cannont-change-iwconfig-be-recognized-by-ap-453856/)

dsmits 06-11-2006 10:35 PM

Cannont change iwconfig/be recognized by AP
 
Ok, so here is the deal...
I have a WMP54GS Linksys card and am trying to connect to a Linksys router. Just to let you know I am a major newbie to all this so bare with me. I used the ndiswrapper program to make the drivers work and it detects the card fine and I am able to see my essid. The problem lies in connecting to my router. When I enter code: iwconfig wlan0 key restricted s:"my hexkey"
I get the message Error for wireless request "Set Encode" (8B2A)
SET failed on device wlan0 ; Invalid argument.

Also when I enter code: iwconfig wlan0 essid "my essid"
It acts as if it accepted the essid, but when I run code:
iwconfig
I still am displayed with ESSID: off/any
my Access Point is still showing up as Access Point: 00:00:00:00:00

I have even turned off WEP encryption completly and still cannot connect with it wide open. Its like it doesn't accept my changes to iwconfig. Keep in mind I am able to scan and see wireless networks, but I cannot connect to them. I also tried pinging my router and it doesn't work. It just keeps coming back with Network is unreachable. Anyways I would greatly appreaciate any advice. I'll try anything at this point. Be patient on my reply as I will be out of town until Friday, but keep the suggestions coming because I really want to be part of the linux community. Also I am using Knoppix 4.0 if that helps, and I used the latest drivers from linksys with the ndiswrapper.:Pengy:

dsmits 06-11-2006 10:56 PM

ok, one quick update after reading another thread.
I changed my mode to Ad-Hoc and was able to set the essid, and in doing that the correct mac address for my AP showed up, however I still recieved the same error when trying to set my hex key. Then as soon as I switched mode back to auto the essid went right back to ESSID: off/any. Also, I am absolutly positive I am entering my hex key correctly. I have entered it like a million times.

alexandr0s 07-19-2006 07:58 PM

same
 
I'm having the same problem. I just bought a wg111v2 usb adapter. I'm on the most recent slack and my iwconfig is being whack also. Changing the mode to helped me slightly, as in your case, and I am able to scan and find several networks in the area. However I cannot connect to a single AP. Bummer

Knight Templar 07-19-2006 09:40 PM

why don't you use the GUI that comes with knoppix the easy set up , its plain easier if you are having problems

dsmits 07-20-2006 05:03 AM

I'm having the same problem using the GUI interface, just thought it would be easier to explain through CLI

Cool dude 08-11-2006 03:17 PM

Wmp54gs
 
dsmits,

Are you sure that you are entering your wep key correctly? It has to be letter perfect. You also have to be root to carry out this operation. Enter the Key like this, change to root: su root,
enter your root password ..... then enter iwconfig wlan(x) key (hex key) then press enter. The x after wlan is you wireless card allocation no.

Cd:cool:


All times are GMT -5. The time now is 01:20 AM.