Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 20046

Re: Can't enter WEP key in Hex

$
0
0

@jar - I'm sorry to say, your fix did not work.  The wpa_cli tool refuses to take keys for input that are not in quotes.

 

However, I have good news to report - I did get it working!  Here's the sequence...

  • wpa_cli
    • I did the steps in the doc you referenced: Connecting to a Wireless Network via Linux*
      • That didn't work, and it didn't write to wpa_supplicant.conf (see below; I'd found this by analyzing the configure_edison script)
      • This step might not be necessary at all, but it also might have laid some groundwork
  • configure_edison --wifi (this will just reconfigure the wifi section)
    • Select your SSID, then enter a bogus key that meets the input criteria.  The connection will fail, of course, but the necessary fields will have been written to the config file, and it's now much easier to just go edit.
  • Edit /etc/wpa_supplicant/wpa_supplicant.conf
    • Find the line wep_key0="MyBogusKey" (This is the key you entered above.)
    • Replace it with wep_key0=0xfedcba987654321 (your hex key, with the 0x prefix; remove the quotes)
  • wpa_cli
    • disable_network 0 (I had previously defined network 0 the last time I ran wpa_cli; if you skip that section above, I don't know if this step will work.)
    • enable_network 0 (You should see it associate.)
      • <3>CTRL-EVENT-SCAN-STARTED

      • <3>CTRL-EVENT-SCAN-RESULTS

      • <3>WPS-AP-AVAILABLE

      • <3>Trying to associate with 02:18:1a:35:dd:86 (SSID='Acme Global Trading Company' freq=5220 MHz)

      • <3>Associated with 02:18:1a:35:dd:86

      • <3>CTRL-EVENT-CONNECTED - Connection to 02:18:1a:35:dd:86 completed [id=0 id_str=]

  • Success!

 

Quick vi tutorial to help folks get through this:

  • vi /etc/wpa_supplicant/wpa_supplicant.conf
  • Cursor up to the line you want to edit
  • Press 'i' (enter insert mode)
  • Make your edits
  • Press 'esc' (takes to command line)
  • Type :wq (command: write, then quit)

Viewing all articles
Browse latest Browse all 20046

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>