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
  • 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 WI-PI connection troubleshoot
  • 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 6 replies
  • Answers 2 answers
  • Subscribers 662 subscribers
  • Views 783 views
  • Users 0 members are here
  • raspberry
  • wi-pi
  • raspberry_pi
  • wi-fi_connectivity
Related

WI-PI connection troubleshoot

Former Member
Former Member over 11 years ago

Hi guys,

 

OS : Raspbian

 

Yesterday i successfully setup wi-fi connection then save it, everything  works fine.

 

But when i turn on today, couldn't see blue led light.

 

So, I tested it couple of times.

 

Interesting point is, when i disconnect wi-pi then connect it again( it cause Rpi reboot ) then it works.

 

So, i ran dmesg command

it shows, following error but i'm not sure what cause this error message.

..

"disabling ht due to wep/tkip use"

...

 

also i check syslog, but couldn't find any clue.

 

Is there anybody has a similar issue?

 

Thanks.

  • Sign in to reply
  • Cancel
  • shabaz
    0 shabaz over 11 years ago

    Hi Hyun Seok,

     

    I don't know the answer to your main question, but regarding your reboot issue; I'm seeing it too. I used the most recent image as of two weeks ago, and plugging in the WiPi caused a reboot. After the power cycle it worked fine. I only tried it once. Nothing else was plugged into the RPI (and no external hub either).

    I thought it might have been power related (I have not used the particular PSU and cable with the RPI) but I've not tried to measure any voltage levels yet. So, I'm not sure what the cause is.

    My PSU was an original Samsung tablet charger (model ETA-P10X) and the USB cable was an original (with hologram on the connector) from a Motorola phone (model SKN6238A) so not no-name power/cable.. I've no idea what the current consumption of the combined RPI and WiPi is. It could be related to the software I suppose (I didn't have a chance to investigate so far; I have no idea either way currently).

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

    I was getting the same deal. A LOT of running around trying to find out what the story was.

     

    There's a power save option which you need to turn off.

     

    Check this command which gives your wireless settings.

     

    iwconfig

     

    Should show something like this.

               IEEE 802.11bgn  ESSID:"Your Wifi network name"
              Mode:Managed  Frequency:2.412 GHz  Access Point: 7C:05:07:84:38:80
              Bit Rate=14.4 Mb/s   Tx-Power=20 dBm
              Retry  long limit:7   RTS thr:off   Fragment thr:off
              Power Management:on
              Link Quality=31/70  Signal level=-79 dBm
              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:119  Invalid misc:1818   Missed beacon:0

     

    You need to change powersave ON to Powersave OFF  !!

     

    To edit the powersave option, you need to do it from a file called interfaces in the /etc/network directory

     

    Go to the network directory.

     

    cd /etc/network

     

    Check to see if interfaces file is there....it should be.... but as a Raspnoob I'm not sure what is and isn't around.

     

    ls

     

    Should show an output like this...my Pi is unmolested at the moment so should be the same as yours.

     

    if-down.d  if-post-down.d  if-pre-up.d  if-up.d  interfaces  run

     

    You need to edit the interfaces file with nano

     

    sudo nano interfaces

     

    Copy in this code....it works with my Wipi....a lot of other stuff out there didn't. Change "Your network name" and "Your network password" to your network name and the password key you use.

     

    auto lo
    
    iface lo inet loopback
    iface eth0 inet dhcp
    
    auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
            wpa-ssid "Your network name"
            wpa-psk "Your network password"
    
    post-up iwconfig wlan0 power off

     

    Get out of Nano to finish the edit

     

    Ctrl-X

     

    Y to save

     

    Check the iwconfig command again

     

    iwconfig

     

    Output should be something like this

     

    IEEE 802.11bgn  ESSID:"Your Wifi network name"

              Mode:Managed  Frequency:2.412 GHz  Access Point: 7C:05:07:84:38:80

              Bit Rate=13 Mb/s   Tx-Power=20 dBm

              Retry  long limit:7   RTS thr:off   Fragment thr:off

              Power Management:off

              Link Quality=31/70  Signal level=-79 dBm

              Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0

              Tx excessive retries:130  Invalid misc:1829   Missed beacon:0

     

    Reboot the pi

     

    sudo reboot

     

    Wipi should now stay on, mine has for four days now.

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

    Hi shabaz,

     

    Thanks for your reply.

     

    Actually, i also aware of Power issue.

     

    And i'm not sure, whether Rpi's limited power cause Wi-Pi connection issue or not.

     

    Since, i don't have a external power hub for Rpi at the moment so, i can't test it.

     

    Anyway thanks again.

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

    Hi John,

     

    I'm really appreciate your detail comment.

    Well organized, step by step explanation.

    I know, this type of writing takes some time.

    At the moment, i'm in the office.When i back to home, i'll test it and post again.

    Thanks again.

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

    Model : Raspberry Model B 512

    OS : Raspbian 3.6.11+

     

     

    Original Configuration :

    ==========================================

    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

    ==========================================

    It works, but when i reboot or turn on RPi, RPi lost its Wi-Pi

    My fix is, just disconnect Wi-Pi then connect again( it cause reboot )

    Strange to say, then RPi recognize Wi-Pi without any problem.

     

    1st Confiugration Test

    1st boot

    ==========================================

    auto lo

     

    iface lo inet loopback

    iface eth0 inet dhcp

     

    auto wlan0 # new line

     

    allow-hotplug wlan0

    iface wlan0 inet manual

    wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf

    iface default inet dhcp

    =================================================

     

    RPi just stuck after showing following message

    [....] Configuring network interfaces...

     

    At this stage, i disconnect Wi-Pi then Rpi resuming booting process, after showing following message

     

    wpa_supplicant : /sbin/wpa_supplicant daemon failed to start

    run-parts : /etc/network/if-pre-up.d/wpasupplicant exited with return code 1

    Terminated

    failed.

    ..

    raspberrypi login: _

      "It doesn't work"

     

    2nd boot

      "It works"

     

    2nd Confiugration Test

    1st boot

    ==========================================

    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

    post-up iwconfig wlan0 power off #new line

    ==========================================

     

    sudo shutdown -h now

     

    2nd boot

    then unpluged power, pluged power again

     

    RPi just stuck after showing following message

    [....] Starting OpenBSD Secure Shell server :sshd

      "It doesn't work"

     

    3rd boot

    I unpluged power, pluged power again, then i can see blue led light blinking

      "It works"

     

    4th boot, again i got following message

    RPi just stuck after showing following message

    [....] Starting OpenBSD Secure Shell server :sshd

      "It doesn't work"

     

    5th boot,

      "It works"

     

    3rd Confiugration Test

    1st boot

    ==========================================

    auto lo

     

    iface lo inet loopback

    iface eth0 inet dhcp

     

    auto wlan0

    allow-hotplug wlan0

    iface wlan0 inet dhcp

            wpa-ssid "My network name"

            wpa-psk  "My network password"

     

    post-up iwconfig wlan0 power off

    ==========================================

     

    RPi just stuck after showing following message

    [....] Starting OpenBSD Secure Shell server :sshd

      "It doesn't work"

     

    2nd boot

    RPi just stuck after showing following message

    [....] Starting OpenBSD Secure Shell server :sshd

      "It doesn't work"

     

    Summary:

     

    3rd Configuration it doesn't work in any case ( i mean, turn off then turn on process )

     

    1st, 2nd Configuration

    first boot : it doesn't work

    2nd boot : it works

    3rd boot : it doesn't work

    4th boot : it works

     

    So,i guess maybe it's not a configuration issue except 3rd Configuration.

    Maybe i'm digging wrong place.

    Anyway, it seems i need spend more time with RPi.

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

    Solved!!

     

    If someone has a similar issue as mine, try this one.

     

    All i did, change RPi wifi setting , in detail changed Authentication setting.

     

    Original one : it works, until i reboot or turn off/ turn on

    sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

    ==========================================================

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

    update_config=1

     

     

    network={

            ssid="MySSID"

            psk="MyPassword"

            proto=WPA

            key_mgmt=WPA-PSK

            pairwise=TKIP

            auth_alg=OPEN

    }

    ==========================================================

     

     

    New one: it works beautifully, reboot or turn off/on in anycase works!

    ==========================================================

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

    update_config=1

     

     

    network={

            ssid="MySSID"

            psk="MyPassword"

            proto=RSN

            key_mgmt=WPA-PSK

            pairwise=CCMP

            auth_alg=OPEN

    }

    ==========================================================

     

    Just for you info

     

    Here is Rpi interfaces configuration

    suno nano /etc/network/intefaces

     

    ==========================================================

    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

    ==========================================================

     

    Hope this help

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject 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