prism2 usb and wep key


Forum: Networking
Topic: prism2 usb and wep key
started by: hermesreg

Posted by hermesreg on May 20 2006,03:47
Hello everybody, I would like give  thanks to all the people that spend itīs time answering newbies questions, .....

That is my problem, I'm running DSL 2.3, and I've got one Unex USB WLAN CARD, -chipset prsim-, and I load "prism", since desktop panel, and I configure wlancard, ... etc.. etc,
but...
When I type "iwconfig", the computer find my wifi, but showns to me that there are no wep key, but if I type it when I configure the wlan card, .. I don't understand it

Please help me!!

CONGRATULATIONS is very nice linux-distro
I apologize for my very bad english!!

Posted by roberts on May 20 2006,04:26
The format for the wep key is every 2digits followed by a colon

xx:xx:xx:xx:...

Posted by dtf on May 20 2006,11:16
roberts - not sure if it possible to give a format example on the popup or not.  But if it is, for cases where special formatting is required it might help the end user.
Posted by hermesreg on May 21 2006,00:57
OK ! But it still don't works, because when I type iwconfig the computer shown's to me that "encription key:off",

And I wonder, how could I change this: "encryption key on"

My encripcition key is an "hexadecimal" key

I apologize again, my english is very bad!! Thanks a lot

Posted by hermesreg on May 21 2006,10:28
Hello everybody, my problems still alive;
Now when I type iwconfig, the encryption key appears in the results, but I still don get connection with my wii router,,, when I type ping to my gateway -10.0.0.1-, the computer "says", Network is unreachable", or something like this, but....
I remenber that in ubuntu, -for example- when you finish to configure, your wifi card, to connect to the wifi router, you must to stop and restart the device, -in my case wlan0- to connect it to the network...
How can I do this in DSL..
Thansk  a lot again!!!!

:laugh:

Posted by dtf on May 21 2006,14:08
hermesreg - I am not an expert and can only relate to you my experience with a laptop using a DLINK DWL-650 wireless card and using the /usr/local/bin/Prism2.sh script.  This is the script that is accessed when using the control panel Prism2 button.  Using the panel you are usually provided the device in my case it is wlan0.  I can verify that this correct using ifconfig -a in terminal window.  Next you need to specify the channel and this must match you network.  The default that is shown in the popup is channel 11 which does not match my network so I change it to 6.  Next is the SID  which must again match the configuration of you network. In my network I have set the SID on my linksys wireless router to be something like "MYNETWORKSID".  So that is what I enter in the sid input.  Finally I enter the wep value like as an example 12:34:56:78:90 or whatever the value configured for my network.  In my case I use a 10 digit hex number.  I then click ok.  After the card is configured I return to the DSL control panel and click Netcardconfig and choose to use DHCP broadcast to get  my ip address. If you do not have a DHCP server available then you   will need to add the ip staticly.  After that is done I have a connection.

Another thing you can try is to open a terminal as root and run the script by hand providing the appropriate input.

Code Sample
/usr/local/bin/Prism2.sh wlan0 "6" "YOURSID" "12:34:56:78:90"


Of course you should provide values for the channel, sid and wep that are appropriate for your network.  In this way you can watch to see if there are any failures.  You can use

Code Sample
ifconfig -a


to view the configuration of your interface and use the commands

Code Sample
ifdown -a


and

Code Sample
ifup -a


to restart the interface.  I have not found it necessary to restart my interface once it is configured but your situation might be different.

Like I said, I am no expert and much of what I know is from reading the forum and other material and experimenting on my  own.  So if you can find some value in any of of the above then great but if not then I hope you can find a solution to your issue elsewhere. Good Luck.

Posted by Jerome on May 21 2006,16:15
Quote (hermesreg @ May 20 2006,20:57)
OK ! But it still don't works, because when I type iwconfig the computer shown's to me that "encription key:off",

And I wonder, how could I change this: "encryption key on"

I have a similar problem: Even with a key entered, the card appears in "iwconfig" as eth0 with the correct wep key, but security mode is still "open". As a result, the communication is not possible, with "Rx invalid crypt"  and "Tx excessive retries"  numbers increasing!
How to switch to encrypted mode? Thanks!

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.