Ticket #1391 (closed defect: fixed)

Opened 11 years ago

Last modified 2 years ago

setting WEP key through iwconfig does not work

Reported by: thebohemian@… Owned by: openmoko-kernel@…
Priority: high Milestone:
Component: kernel Version: unspecified
Severity: normal Keywords:
Cc: buglog@…, sameo@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


It is currently not possible to set a WEP key using iwconfig:

root@om-gta02:~# iwconfig eth0 key "supersecret"
Error for wireless request "Set Encode" (8B2A) :

invalid argument "supersecret".

root@om-gta02:~# iwconfig eth0 enc "supersecret"
Error for wireless request "Set Encode" (8B2A) :

invalid argument "supersecret".

This was tested with the following kernel package on GTA02:
root@om-gta02:~# opkg status kernel-image-2.6.24
Package: kernel-image-2.6.24
Version: 1:2.6.24+git20080511-r


wireless_ext.patch (1.5 KB) - added by sean@… 11 years ago.
Fix to allow keys to be set after ESSID

Change History

comment:1 Changed 11 years ago by andy@…

Anything in dmesg about it?

comment:2 Changed 11 years ago by andy@…

  • Cc sameo@… added

I try this on a belkin AP temporarily configure for WEP, the following works

iwconfig eth0 key e14a790fa60e1b9697abeb7368
iwconfig eth0 essid <AP SID>

BTW WEP is very insecure...

comment:3 Changed 11 years ago by graeme@…

Isnt is supposed to be

iwconfig eth0 key s:supersecret

comment:4 Changed 11 years ago by graeme@…

Ah interesting, iwconfig eth0 key s:XXXXX works before iwconfig eth0 essid, but
not afterwards. This is clearly a bug.

Changed 11 years ago by sean@…

Fix to allow keys to be set after ESSID

comment:5 Changed 11 years ago by andy@…

Thanks for the super-rapid patch, stuck it in stable / andy / andy-tracking

comment:6 Changed 11 years ago by thebohemian@…

this was very quick!

Just for the records:

There was no suspicious output in dmesg.

Prepending s: before the key has no effect.

Doing ifconfig eth0 down, then iwconfig eth0 key blabla works nicely.

Checking again when a new image with the proposed fix comes out.

(I think the bug's status can be changed to something else :) )

comment:7 Changed 11 years ago by andy@…

  • Status changed from new to closed
  • Resolution set to fixed

Reopen if it doesn't fix it.

comment:8 Changed 2 years ago by RoberMync

Donde Puedo Comprar Pastillas Cytotec <a href=http://zol1.xyz>Buy Zoloft</a> Amoxicillin Norvasc Commentaire Achat Cialis France <a href=http://kama1.xyz/cheap-kamagra-no-rx.php>Cheap Kamagra No Rx</a> Cialis Generico De Venta Kamagra Oral Jelly Thailand Price <a href=http://viag1.xyz/buying-viagra-online.php>Buying Viagra Online</a> How Much Is Viagra Without Insurance Cialisenespanol.Colim <a href=http://cial5mg.xyz/cialis-online-pharmacy.php>Cialis Online Pharmacy</a> Propecia Dosage Hair Loss Androgenetic Alopecia Priligy Depliant <a href=http://zol1.xyz/zoloft-implicane.php>Zoloft Implicane</a> Finpecia Propecia Finasteride 1mg Propecia En Ligne Bon Marche <a href=http://kama1.xyz/cheapest-kamagra.php>Cheapest Kamagra</a> Viagra Original Bestellen Cheap Viagra Online Ozz Pills <a href=http://zol1.xyz/generic-zoloft-pricing.php>Generic Zoloft Pricing</a> For sale secure isotretinoin tablets website free shipping Cialis No Prescription Needed <a href=http://zol1.xyz/zoloft-on-line.php>Zoloft On Line</a> Progesterone Low Price Ups Keflex Substitutions <a href=http://kama1.xyz/kamagra-online-pharmacy.php>Kamagra Online Pharmacy</a> Keflex Biaxin Cialis Levitra Farmacia <a href=http://nolvadex.ccrpdc.com/nolvadex-oral.php>Nolvadex Oral</a> Cialis Dove Acquistarlo Kamagra Gels <a href=http://viag1.xyz/viagra-100mg.php>Viagra 100mg</a> Farmaco Viagra Senza Ricetta Ranbaxy Taladafil <a href=http://cial5mg.xyz/cialis-online-usa.php>Cialis Online Usa</a> Viagra Ohne Rezept Berlin Viagra Comprare <a href=http://cial1.xyz/buy-generic-cialis.php>Buy Generic Cialis</a> Propecia Viagra Acquista Terbinafine Tablets Over The Counter <a href=http://cial1.xyz/buy-cheap-cialis-pills.php>Buy Cheap Cialis Pills</a> Cephalexin Penicillin Allergy Keflex Hcpcs Code3 <a href=http://clomid.ccrpdc.com/cheap-clomiphene-pill.php>Cheap Clomiphene Pill</a> Antabuse Without Scrip Discount Next Day Viagra <a href=http://antabuse.ccrpdc.com/purchase-antabuse.php>Purchase Antabuse</a> How To Buy Viagra On Line Cheap Propecia Worked For Me Receding Hairline <a href=http://kama1.xyz/generic-kamagra-online.php>Generic Kamagra Online</a> Pyridium Isotretinoin Price <a href=http://zol1.xyz/buy-generic-zoloft-online.php>Buy Generic Zoloft Online</a> Amoxicillin Treat Boil Al Maximo Kamagra <a href=http://zol1.xyz/zoloft-cost.php>Zoloft Cost</a> Propecia Hair Loss Cream Generic Secure Ordering Zentel Website Shipped Ups Wells <a href=http://nolvadex.ccrpdc.com/best-place-to-buy-nolvadex.php>Best Place To Buy Nolvadex</a> Kamagra La Caixa

Note: See TracTickets for help on using tickets.