In client mode, I can not connect to an access point with WEP encryption.
Please tell me how to set up the connection of my client with openwrt to an access point with WEP encryption.
Connect to my router via ssh
root@OpenWrt:~# iw dev wlan0 scan
BSS 00:24:01:18:b5:d7(on wlan0) -- associated
TSF: 967973414052 usec (11d, 04:52:53)
freq: 2437
beacon interval: 100 TUs
capability: ESS (0x0431)
signal: -54.00 dBm
last seen: 120 ms ago
Information elements from Probe Response frame:
SSID: veta71
what to do next?
WEP was actually removed in mid 2020, so depending on what version you are running, your next step would be to compile your own firmware.
Otherwise, configure it in /etc/config/wireless as per the wiki or use luci
tmomas
January 23, 2022, 8:52pm
3
You are well aware that WEP is insecure, aren't you?
Because RC4 is a stream cipher, the same traffic key must never be used twice. The purpose of an IV, which is transmitted as plaintext, is to prevent any repetition, but a 24-bit IV is not long enough to ensure this on a busy network. The way the IV was used also opened WEP to a related-key attack. For a 24-bit IV, there is a 50% probability the same IV will repeat after 5,000 packets.
In August 2001, Scott Fluhrer, Itsik Mantin, and Adi Shamir published a cryptanalysis of WEP that exploits the ...
1 Like
my router is tp-link archer c6u with openwrt-21.02.1
I will have to connect it in client mode to an access point that has WEP
Unfortunately, I am forced to ask questions due to the impossibility of another solution.
I don't control wifi hotspot.
slh
January 23, 2022, 9:53pm
7
OpenWrt does not support WEP anymore, the binary image doesn't provide any way for this. All you could do, is changing hostapd's feature configuration (CONFIG_WEP
) at build time.
1 Like
Or downgrade to 19.07.8 where it still exists.
This is really only a temporary solution as that branch is approaching end of security updates.
Options (best to worst):
Change upstream router encryption
Learning to recompile 21.02
Downgrade to 19.07.8
please give a link to the image 19.07.8 for tp-link archer C6U
slh
January 23, 2022, 10:10pm
10
Doesn't exist, support for this device was only added at the end of march 2021.
2 Likes
so only "Learning to recompile 21.02" remains
maybe someone will do it for me?
to get a system image that I write to my router, do I have to follow this instruction
Build system usage * Do everything as an unprivileged user, not root, without sudo. * Make sure there are no spaces in the full path to the build directory. Typical build steps in a set up build system: # Download and update the sources git...
what should i do and where to enable WEP support ?
I don't use the OpenWrt build system directly, so i'm not 100% sure, but in the wiki you linked you need to do the following (in order):
Downloading Sources
Selecting tag (v21.02.1)
Using official build config (21.02.1)
Update/install feeds
Menuconfig (search for "WEP" and enable it, save and exit menuconfig)
make download
make
If you follow all those sections in that order you should get pretty close
system
Closed
February 4, 2022, 5:06am
15
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.