element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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
  • About Us
  • 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
Technical Library
  • Products
  • Dev Tools
  • Technical Library
  • More
  • Cancel
Technical Library
Files WI-PI: WI-PI WLAN Installation Procedure for Raspbian on Raspberry Pi
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Technical Library to participate - click to join for free!
Actions
  • Next
  • Previous
  • Share
  • More
  • Cancel
Related
Recommended

WI-PI: WI-PI WLAN Installation Procedure for Raspbian on Raspberry Pi

This guide assumes you are have a Raspberry Pi, and running the Raspbian “Wheezy” operating system on it. Raspbian is based on Debian Linux.

atomar
atomar
  • 27 Aug 2012
  • 12 Downloads
  • Share
  • More
  • Cancel
  • Sign in to reply
  • Former Member
    Former Member over 11 years ago in reply to Former Member

    I tried to edit my las comment but it did not work, however.

     

    I fixed the problem by adding

    wireless-essid <MY_ESSID>

    after the line iface wlan0 inet dhcp

    No need to run additional commands after boot. It now comes up with an IP address.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 11 years ago

    I followed the instructions exactly as stated in the documentation

    auto wlan0

    iface wlan0 inet dhcp

    wpa-ssid <name of your WiFi network>

    wpa-psk <password of your WiFi network>

     

    I removed the wpa_supplicant.conf called by the wpa-roam

    On reboot no IP address

    I looked at the iwconfig output and noticed that my essid was not there although you can see it was in my interfaces file above.

    Entering the following commands:

    sudo iwconfig wlan0 essid "MY_ESSID"

    sudo dhclient -1 wlan0

     

    I now have an IP address

     

    The difference between mine and a normal setup is I am security minded and my AP does not broadcast its essid or ssid if you like.

    For some reason the ssid does not get added to the wlan0 on boot.

    Anyone who has this problem, I would like to find out how it can be fixed.

     

    Also, why on this earth would anyone assume a broadcast essid for home use when writing connection instructions?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • cweveritt
    cweveritt over 11 years ago

    The previous instructions stopped working for me and the configuration method has changed (see below). The interfaces file now refers to wpa_supplicant.conf file for setup info. Setting up the two files as shown below works for me.

     

     

    WiPi Installation

     

    File: /etc/network/interfaces: Network configuration file.

     

    The following is a copy of the interfaces file from a SD card on which the wi-pi works:

     

     

    pi@raspberrypi ~ $ sudo nano /etc/network/interfaces

    GNU nano 2.2.6 File: /etc/network/interfaces

     

     

    Make sure the /etc/network/interfaces file contains the following:

     

    auto lo

     

    iface lo inet loopback

    iface eth0 inet dhcp

     

    allow-hotplug wlan0

    iface wlan0 inet manual

    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

    iface default inet dhcp

     

     

     

    pi@raspberrypi ~ $ sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

    GNU nano 2.2.6 File: /etc/wpa_supplicant/wpa_supplicant.conf

     

    Make sure the /etc/wpa_supplicant/wpa_supplicant.conf file contains the following:

     

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

    update_config=1

     

    network={

    ssid="your AP ssid"

    psk="your AP password"

    proto=WPA

    key_mgmt=WPA-PSK

    pairwise=TKIP

    auth_alg=OPEN

    }

     

    Reboot the rPi : sudo reboot

     

    WiPi hopefully will be working when rPi restarts.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 12 years ago

    I found the manual very clear and useful but when I launched the desktop after updating on the initial boot I found a Scan function was in fact available for Wi-Pi.  I had somehow edited the config file incorrectly and did not at first get wi-fi but using the Scan GUI corrected everything for me at once.  It seems though that manually editing the config file may no longer be necessary, at least if you use the desktop.

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