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

    Joey,

    happy that we focused the center of the problem image These are the things that makes us crazy when all seems indicating a direction while it is not the right way to see the things.

     

    Enrico

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

    Yes sometimes it is something simple because something improbable has occurred.  I need to reserve a range of IP for static and make DHCP start above that range.

     

    Let me know if you post any questions I will try to help, I am trying to get questions marked as helpful so I can earn that badge image

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

    Picking static IP address needs to be done thoughtfully and not randomly.

    C

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

    So Im an idiot, got it!  image

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

    No not at all because few understand DHCP.

    C

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

    Odd behavior when you get 2 devices with the same IP on a network.  I know windows used to pop up a warning but I didn't see anything in the Pis log nor did my cell phone say anything.

     

    DCHP is usually random but the fact it picked the same random number as I did is amazing.  Normally I pick a block for static and a block for DHCP but I kept buying routers and returning them.  It seems that you have to spend $200USD+ to get a router that is functional and stable.  I have an ASUS that finally works.  The 3 others I bought last year all became unstable.

     

    For years I had an old Linksys wrt54g and DDRT installed.  I finally replaced it but all these new routers made me miss it.  DDRT is somewhat unpolished so I don't care to use it.

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

    Yes because underlying ARP tables cannot handle two macs with same IP address. I have seen this behaviour before. Maybe a good install is a IP detector that should show who is using what IP for things like your problem, but also if someone is using your wireless too.

    C

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

    Naw just need to setup the DHCP block.  I gave up using MAC filters and hidden SSID, I read nothing I do is really secure except choosing a stong password.

     

    if someone really wants to use it there is no stopping them if they want to put in enough effort.

    • 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