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
  • clem57
    0 clem57 over 10 years ago

    Need to see a lsusb without the dongle and with the dongle in. BTW, I have a RPI version 2 with Wifi dongle.

    Clem

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

    RPi USB Wi-Fi Adapters - eLinux.org You can check some of the adapters and see how well they may work.

    Clem

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

    Hello rgcooperjr

    Welcome to the element14 Community, I will move this over to the Raspberry Pi2 area as it is a better fit.

     

    Thank you,

     

    Jamie

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

    You might want to look at a very similar discussion: Just got a WiPi and i can't get to connect to my wireless Internet

     

    The software base on the Pi 2 is different from that of its predecessors.  Given that, configuration parameter handling and defaults might be different.  Specifically, make sure that the cryptography protocol on the Pi 2 and your router are in agreement (CCMP vs. TKIP).

     

    After changing the configuration for wlan0 (wireless interface name) one way or the other, run:

    sudo ifdown wlan0   # assuming that wlan0 is currently up

    sudo ifup wlan0

    • 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

     

    Here are the screen scrapes you asked for.  Please note that I have tried many permutations and confirmed that the SSID and PSK’s are correct.  Also note that my wireless router does not advertise my SSID. As I said earlier all wireless adapter work fine on all my other “B” and “B+” RPI’s.  I have tried updating RASPBIAN 2/2015 version for RPi-2 and then installed any updates too.  There seems to others, based on the forum postings, that indicate this to be a common problem.

     

     

     

    pi@raspberrypi ~ $ sudo lsusb >no_wipi_installed
    Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 0557:7000 ATEN International Co., Ltd Hub
    Bus 001 Device 009: ID 0951:1603 Kingston Technology DataTraveler 1GB/2GB Pen Drive
    Bus 001 Device 006: ID 046d:c318 Logitech, Inc. Illuminated Keyboard

    pi@raspberrypi ~ $ sudo lsusb >wipi_installed
    Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
    Bus 001 Device 004: ID 0557:7000 ATEN International Co., Ltd Hub
    Bus 001 Device 010: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
    Bus 001 Device 009: ID 0951:1603 Kingston Technology DataTraveler 1GB/2GB Pen Drive
    Bus 001 Device 006: ID 046d:c318 Logitech, Inc. Illuminated Keyboard

    pi@raspberrypi ~ $ sudo cp /etc/network/interfaces /mnt/USB_HD
    pi@raspberrypi ~ $ sudo cp /etc/wpa_supplicant/wpa_supplicant.conf /mnt/USB_HD
    pi@raspberrypi ~ $ ifconfig
    eth0      Link encap:Ethernet  HWaddr b8:27:eb:64:6f:52 
               inet addr:192.168.1.18  Bcast:192.168.1.255  Mask:255.255.255.0
               UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
               RX packets:12543 errors:0 dropped:0 overruns:0 frame:0
               TX packets:20872 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:1000
               RX bytes:2477026 (2.3 MiB)  TX bytes:24375736 (23.2 MiB)

    lo        Link encap:Local Loopback 
               inet addr:127.0.0.1  Mask:255.0.0.0
               UP LOOPBACK RUNNING  MTU:65536  Metric:1
               RX packets:36492 errors:0 dropped:0 overruns:0 frame:0
               TX packets:36492 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:0
               RX bytes:395374636 (377.0 MiB)  TX bytes:395374636 (377.0 MiB)

    wlan0     Link encap:Ethernet  HWaddr 00:0f:13:40:24:1d 
               UP BROADCAST MULTICAST  MTU:1500  Metric:1
               RX packets:0 errors:0 dropped:0 overruns:0 frame:0
               TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
               collisions:0 txqueuelen:1000
               RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

    pi@raspberrypi ~ $ ifconfig >ifconfig.txt
    pi@raspberrypi ~ $ sudo ifdown wlan0 >ifdown.txt
    Internet Systems Consortium DHCP Client 4.2.2
    Copyright 2004-2011 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/

    Listening on LPF/wlan0/00:0f:13:40:24:1d
    Sending on   LPF/wlan0/00:0f:13:40:24:1d
    Sending on   Socket/fallback

     


    pi@raspberrypi ~ $ sudo ifup wlan0 >ifup.txt
    Internet Systems Consortium DHCP Client 4.2.2
    Copyright 2004-2011 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/

    Listening on LPF/wlan0/00:0f:13:40:24:1d
    Sending on   LPF/wlan0/00:0f:13:40:24:1d
    Sending on   Socket/fallback
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
    DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
    No DHCPOFFERS received.
    No working leases in persistent database - sleeping.
    pi@raspberrypi ~ $

     

     

     

     

     

    wpa_supplicant.conf –

     

     

     

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

    network={
           ssid="MY_SSID"
           psk=”MY_PSK”

     

    1
           proto=RSN
           key_mgmt=WPA-PSK
           pairwise=CCMP
           auth_alg=OPEN
    }

     

     

     

    Interfaces –

     

     

     

    auto lo eth0

    iface lo inet loopback
    iface eth0 inet dhcp

    allow-hotplug wlan0
    iface wlan0 inet dhcp
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

    iface default inet dhcp

     

    Thank you,

     

     

     

    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

    I am not there eyes-on but it doesn't appear to be a hardware error as the adapter is seems to be trying as evidenced by the DHCPDISCOVER lines and the "no offers" result.  I'd bet your Pi 2 is okay and so is the "WIPI".

     

    At the moment, you are using an Ethernet cable.  Have you brought the Pi 2 up-to-date?  If not, please do so and re-test.

     

    The wpa_supplicant.conf file looks messed up.  There is a text line of only "1" in the middle.  Why?  Does the file actually look like the following:

    network={
           ssid="MY_SSID"
           psk=”MY_PSK”

                    proto=RSN
           key_mgmt=WPA-PSK
           pairwise=CCMP
           auth_alg=OPEN
    }

     

    Have you tried letting your router advertise SSID?  Does that change your experience?  I am guessing that you have a security concern with leaving it on permanently.

     

    Are you using a wifi extender?  Sometimes these devices block DHCP operations to certain wifi client devices (compatibility issue).  Is the "MY_SSID" the extender?  If so, try going directly.

     

    I am using an EDUP adapter (Amazon.com: EDUP Mini Wireless 11N 300M USB LAN Card WiFi Adapter Nano Card Win7/8 Mac: Computers & Accessories) which worked immediately with a router that advertises SSID.  I never edited the wpa_supplicant file.

     

    Best wishes resolving this,

     

    Richard

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • 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
  • 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
>
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