I work on IGEPv2 for our solution product.
We noticed that using the 2.6.37-10 kernel version, WiFi connection uses WEP by default now to connect.
Until now with kernel 2.6.37-7, we didn't have this feature activated.
Could you help me to know please:
- how to deactivate WEP?
- how to configure WEP?
Thanks in advance for your help.
For now, i managed to configure a string secret key for WEP authentication using the following command on console (with for instance 'igepv' for the string key):
iwconfig wlan0 key s:igepv
(this works only for a string key that has exactly 5 chars, no more/no less, and only using chars within a-z)
And then i managed to connect on the WiFi/WEP of the IGEPv2 board with this key configuration method.
For information, the corresponding wlan0 section i use in /etc/network/interfaces is the following (we use WiFi in ad-hoc mode):
iface wlan0 inet static
i also tried to directly configure the key within /etc/network/interfaces adding this line:
but this didn't work.
In my tests, i can directly know if a key configuration worked using the iwconfig command, instance when key is not configured:
wlan0 IEEE 802.11bg ESSID:"ObserverBnext-a09a"
Mode:Ad-Hoc Frequency:2.427 GHz Cell: 02:200:E4:16:2B
Retry long limit:7 RTS thrff Fragment thrff
and when it is configured:
Would you have more information concerning these behaviors and methods to configure a WEP key please?
I would be interested to know if there are some other/recommended methods, and if my actual setttings have some usage limitations (like why only a 5-chars string key works...)
And i would also remain interested on how to deactivate WEP on the IGEPv2 WiFi please.
Accepted Answer0Hi Simon,
I tried and connected two IGEPv2 using wifi Ad-Hoc trying to reproduce your problem. I am using kernel 2.6.37-10 and established an unencrypted connection without problems.
Try this method, configuring one IGEP with the following commands:
ip link set wlan0 up iw wlan0 set type ibss ifconfig wlan0 192.168.6.1 iw wlan0 ibss join IGEP_ADHOC 2422
Then enter the commands below in the other IGEP in order to stablish connection (same as above, but changing IP address):
ip link set wlan0 up iw wlan0 set type ibss ifconfig wlan0 192.168.6.3 iw wlan0 ibss join IGEP_ADHOC 2422
Then you can check if things are working pinging one board from the other.
Hope this helps,
Thanks for this setting commands.
Then i first commented wlan0 section in /etc/network/interfaces, and executed the WiFi settings command you recommanded.
In my case, this didn't remove the WEP feature for connecting.
i attach the commands i executed on IGEPv2, and a screenshot of the WiFi access points scanned from my MAC following this. You can observe that there is still a padlock next to IGEP_ADHOC that indicates a WEP key is needed to connect.
I don't have access to a Macintosh machine, but I tried in both Linux and Windows machines and found that they experience the same issue.
The point here is that between IGEP boards there doesn't seem to be any problem: two boards can be connected through Ad-Hoc without WEP key; but when trying to connect an IGEP board with a computer, a WEP key is prompted.
Can you please tell me if it happened too when using an older kernel version? Also, what kernel version where you using before?
Accepted Answerpau pajueloOffline