element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi
  • Products
  • More
Raspberry Pi
Raspberry Pi Forum WIPI (wifi) adapter trouble with RPI version 2
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi to participate - click to join for free!
Featured Articles
Announcing Pi
Technical Specifications
Raspberry Pi FAQs
Win a Pi
Raspberry Pi Wishlist
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 13 replies
  • Subscribers 666 subscribers
  • Views 2763 views
  • Users 0 members are here
  • raspberry_pi_space
Related

WIPI (wifi) adapter trouble with RPI version 2

Former Member
Former Member over 10 years ago

I ordered and received a first run raspberry pi version 2 when it was first announced and available in the US.  Since then I have had trouble installing various wifi adapters on and getting to work with this unit.  I have several version "B" and "B+" units and they work fine with the wifi adapters I have tried but not on the version 2 and I am beginning to question that there is a problem with the version 2 RPI hardware I have.  I am using the latest RASBIAN build Feb. 16, 2015 build from raspberrypi.org website with any available updates installed on the RPI2.  I am using the well accepted "WIPI" wifi dongle and others that as I said worked fine with the other RPI versions mentioned above.  Can you provide any direction in this matter since it is important that wifi work on the RPI2 project I am working on.

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 10 years ago

    Pi 2 is up-t-date. All updates were installed, this was one of the first things I did once the OS was running.

     

    I tried the proto=RSN earlier - no luck, same responses.  Oh and without the Ethernet cable connected.

     

    I agree that it probably is a security issue now after several hours of testing, just can't get the adapter to connect and get an IP lease.  I am security conscience and hence, not advertising SSID. But will try to turn it on for a test.

     

    I am not using a WIFI extender and I gave bogus ssid and psk because I didn't want to let the world know what the real ones are.

     

    This is the adapter I am using: http://www.newark.com/element14/wipi/frequency-rf-2-4ghz/dp/07W8938?mckv=sbefPUqKJ|pcrid|57087233661|plid|&CMP=KNC-GUSA-GEN-SHOPPING-ELEMENT14?gross_price=

     

    This adapter works flawlessly on my other "B" and "B+" setups with RASPIAN versions for them. Your experience with EDUP adapters is what I experience the these models but not the PI 2 model.

     

    I will try your suggestions and report back.

     

    Thank you and regards,

     

    Bob

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    Bob, are you sure that your /etc/wpa_supplicant/wpa_supplicant.conf file is correct?  As shown in this discussion, there is a syntax error.  See my previous response to you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    Bob, are you sure that your /etc/wpa_supplicant/wpa_supplicant.conf file is correct?  As shown in this discussion, there is a syntax error.  See my previous response to you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    Richard, Nice catch however I did not check the post before sending it.  I guess I was tired at the time.  The mistake I made was a bad copy/paste and fat-finger edit into the post.  I did find what is going on and I did not have to turn on SSID advertising in the router.

     

    Here is what fixed it for me.  The wpa_supplicant.conf file is now:

     

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

    update_config=1

     

    network={

                   ssid="MySSID"

                   scan_ssid=1

                   psk="MyPSK"

                   proto=RSN

                   key_mgmt=WPA-PSK

                   pairwise=CCMP

                   auth_alg=OPEN

    }

     

    NOTE: The fix was adding line "scan_ssid=1" in the position above. My PI 2 now works with all wifi adapters and the "WIPI" adapter. DHCP leases are accepted and there are no other issues noted.

     

    SECURITY NOTE: The psk line above can be improved by using wpa_passphrase to convert the quoted open text in the wpa_supplicant.conf to a less open hexadecimal format that is harder to replicate.  Do not put quotes around the hex pass phase generated by wpa_passphrase.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
  • clem57
    0 clem57 over 10 years ago in reply to Former Member

    Please mark Richard's answer as correct. ty

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to Former Member

    Robert,

     

    I just set up my wifi although I do not need it as I am using Ethernet.  Here were my steps:

    • Inserted my wifi USB adapter, pulled out the Ethernet cable, and rebooted.
    • Launched wpa_gui.
    • Clicked on Scan.
    • Found my router and double-clicked on it.
    • Entered the PSK (password) value.
    • Waited for a bit as my connection is poor.  Success.

     

    The following wpa_supplicant.conf file was generated by wpa_gui without any manual editing on my part required:

     

    ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

    update_config=1

    network={

        ssid="<myssid>"

        psk="<mypsk>"

        proto=RSN

        key_mgmt=WPA-PSK

        pairwise=CCMP

        auth_alg=OPEN

    }

     

    The difference in experience might be simply that you have your router security setup not to respond to scans from wpa_gui.

     

    By the way, did you beef up security AFTER configuring and using the older Pis?  I would guess so.  To scan or not to scan is irrelevant once they have been fully configured with the router's particulars.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago in reply to clem57

    Clem,

     

    I believe that Robert found his own correct answer for the problem at hand; I just debugged his "pasting".

     

    All,

     

    scan_ssid

             SSID scan technique; 0 (default) or 1.  Technique 0 scans for the

             SSID using    a broadcast Probe Request frame    while 1    uses a

             directed Probe Request frame.  Access points that cloak them-

             selves by not broadcasting    their SSID require technique 1,    but

             beware that this scheme can cause scanning    to take    longer to com-

             plete.

     

    from https://www.freebsd.org/cgi/man.cgi?wpa_supplicant.conf%285%29

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube