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 & Tria 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 Raspberry Pi B+ wi-fi slowdown
  • 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 11 replies
  • Answers 2 answers
  • Subscribers 677 subscribers
  • Views 2275 views
  • Users 0 members are here
  • raspberry_pi
Related

Raspberry Pi B+ wi-fi slowdown

screamingtiger
screamingtiger over 10 years ago

SO I boot my pi, and ping the wireless router (gateway).  I get nice times of 10s and no drops.

 

After a while, using SSH it starts dropping packets and the ping to the gateway gets up to 1000ms.  A reboot fixes it for awhile.

 

Its not open to the outside world.  Processor shows low usage.

 

Using an EDIMAX wifi dongle.

 

Ideas?

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

    Instead than an idea I suggest a possibility: it may depend on the gateway that - I suppose - It is the main gateway and the ADSL connection too. I experienced almost the same problem with the master PI on the Meditech project but I also discovered that this was only when the data packets was going to the router to be addressed to other machines. Then it was not occurring inside of the Meditech networks, where the gateway is a Raspberry PI instead of the main LAN router.

    Beside this verifications I also noted that after a certain period of inactivity - keeping the connection up - between a Mac and the main Raspberry PI, both machines connected to the same LAN with the ADSL router as the gateway some slowdown occurred as I was trying again when starting something from the Mac on the Raspberry via SSH over terminal.

     

    My actual conclusion is that this may depend on the fact that the PI after a certain period of inactivity maybe goes in a sort of power-saving mode (should be investigated, I am not 100% sure where I read something about this). When the network connection is awaken, linux machines like the OSX of the Mac simply adapt the packages transmission and the PI in a couple of seconds re-enable all the sleeping services and the connection restarts at the expected speed.

    On the router side instead, as it is probably not equipped with a very good software, as the speed goes low then it simply keep this IP packets transmission speed low.

     

    I suggest two test that maybe useful for alls:

     

    • After the connection goes slow for one of the reasons you mentioned, ignore this fact, continue working for a reasonable time (i.e. half one hour or more if possible) and see if the router aligns again it s speed.
    • Instead of rebooting try simply to stop and restart the networking on the PI and see if the speed remain slow or not (sudo /etc/init.d/networking stop then sudo /etc/init.d/networking start) and see if the same problem occur again and if the slow state persists.

    Then with these information maybe we can investigate more in-detph enabling some specific logs on the network behaviour.

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Reply
  • balearicdynamics
    0 balearicdynamics over 10 years ago

    Instead than an idea I suggest a possibility: it may depend on the gateway that - I suppose - It is the main gateway and the ADSL connection too. I experienced almost the same problem with the master PI on the Meditech project but I also discovered that this was only when the data packets was going to the router to be addressed to other machines. Then it was not occurring inside of the Meditech networks, where the gateway is a Raspberry PI instead of the main LAN router.

    Beside this verifications I also noted that after a certain period of inactivity - keeping the connection up - between a Mac and the main Raspberry PI, both machines connected to the same LAN with the ADSL router as the gateway some slowdown occurred as I was trying again when starting something from the Mac on the Raspberry via SSH over terminal.

     

    My actual conclusion is that this may depend on the fact that the PI after a certain period of inactivity maybe goes in a sort of power-saving mode (should be investigated, I am not 100% sure where I read something about this). When the network connection is awaken, linux machines like the OSX of the Mac simply adapt the packages transmission and the PI in a couple of seconds re-enable all the sleeping services and the connection restarts at the expected speed.

    On the router side instead, as it is probably not equipped with a very good software, as the speed goes low then it simply keep this IP packets transmission speed low.

     

    I suggest two test that maybe useful for alls:

     

    • After the connection goes slow for one of the reasons you mentioned, ignore this fact, continue working for a reasonable time (i.e. half one hour or more if possible) and see if the router aligns again it s speed.
    • Instead of rebooting try simply to stop and restart the networking on the PI and see if the speed remain slow or not (sudo /etc/init.d/networking stop then sudo /etc/init.d/networking start) and see if the same problem occur again and if the slow state persists.

    Then with these information maybe we can investigate more in-detph enabling some specific logs on the network behaviour.

     

    Enrico

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Reject Answer
    • Cancel
Children
  • screamingtiger
    0 screamingtiger over 10 years ago in reply to balearicdynamics

    After I posted this I realized my cell phone was having an issue too.  Been doing it for a few days.

     

    I realized that PI is set to static IP, and cell phone set to dynamic.  DHCP was assigning the same IP as the PI!

     

    Changed the cell to static and its all fixed!

    • Cancel
    • Vote Up 0 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