logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
Question

Help request on WiFi/WEP configuration

posted in IGEPv2
Wednesday, October 07 2015, 02:42 PM
0
Hi,
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.

Best Regards,
Simon Andrieu
Responses (7)
  • Accepted Answer

    Thursday, October 08 2015, 11:20 AM - #permalink
    0
    Hi,

    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):
    auto wlan0
    iface wlan0 inet static
    wireless-mode ad-hoc
    wireless-essid ObserverBnext-a09a
    wireless-channel 4
    address 192.168.10.1
    network 192.168.10.0
    netmask 255.255.255.0

    i also tried to directly configure the key within /etc/network/interfaces adding this line:
    wireless-key s:igepv
    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:20:D0:E4:16:2B
    Retry long limit:7 RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:on

    and when it is configured:
    Encryption key:626E-6578-74
    Power Management:on

    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.

    Thanks,
    Simon
    The reply is currently minimized Show
  • Accepted Answer

    abenete
    abenete
    Offline
    Friday, October 09 2015, 11:57 AM - #permalink
    0
    Hi 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,

    Alejandro
    The reply is currently minimized Show
  • Accepted Answer

    abenete
    abenete
    Offline
    Tuesday, October 13 2015, 09:01 AM - #permalink
    0
    Hi,

    for the example I used, I commented each and every line related to wireless lan in /etc/network/interfaces, as it tries to automatically reconfigure the interface and collides with the commands.

    Alejandro
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, October 14 2015, 12:50 PM - #permalink
    0
    Hi,

    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.

    Thanks,
    Simon
    The reply is currently minimized Show
  • Accepted Answer

    abenete
    abenete
    Offline
    Thursday, October 15 2015, 12:21 PM - #permalink
    0
    Hi,

    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?

    Alejandro
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 15 2015, 01:46 PM - #permalink
    0
    Hi,

    With the previous kernel (2.6.37-7) we used, the WEP key was not prompted on computers.
    This appeared with the usage of kernel 2.6.37-10.

    Thanks,
    Simon
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, October 15 2015, 01:59 PM - #permalink
    0
    Hi,

    In kernel 2.6.37.y branch, patch with commit id (e7d3acf6f4e7c7465814103fc819cf488c395265) "libertas: Add adhoc WEP functionality" produces this issue.

    A workaround will be revert this patch

    Cheers!
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat