Slashdot Mirror


Why Do We Have To Restart Routers?

jaypaulw writes "I've owned a WRT54G, some cheap D-Link home Wi-Fi/firewall/routers, and now an Apple Airport Extreme (100/10 ethernet ports). In the context of the discussion about the worst uses of Windows — installation in places where an embedded device is superior — I've gotten to wondering why it's necessary to reboot these devices so frequently, like every few days. It seems like routers, purpose-built with an embedded OS, should be the most stable devices on my network."

71 of 936 comments (clear)

  1. The most likely reason by Anonymous Coward · · Score: 5, Funny

    You're doing it wrong.

    1. Re:The most likely reason by Anonymous Coward · · Score: 4, Insightful

      That's what I was thinking. I have a linksys wrt-54g or whatever they are running ddwrt and I've probably has to reboot a handful of times in all the years I've had it.

    2. Re:The most likely reason by pablomme · · Score: 5, Funny

      Yeah, I've never had a problem with my rou

      --
      The state you are in while your HEAD is detached... - wait, what?
    3. Re:The most likely reason by Anonymous Coward · · Score: 5, Funny

      Mine never used to need re-booting until I added a Vista Laptop to the network???

    4. Re:The most likely reason by livewire98801 · · Score: 5, Informative

      I'm a network admin for an ISP, and we've been recommending UPSs for the frequent-reboot routers that our customers have. We've found that routers (especially Linksys) have a real problem with power fluctuations that most other systems and devices don't notice. A decent line-conditioning UPS might solve your problems, but a cheap one will suffice.

      Also, could be the device is running out of memory, if your ISP is changing the properties of your connection a lot, or you might have a duplex issue causing a lot of retransmissions. . .

      Just a couple of thoughts :)

      --
      "He may be mad, but there's method in his madness. [...] It's what drives men mad, being methodical." G.K.Chesterton
    5. Re:The most likely reason by nuintari · · Score: 5, Interesting

      mod parent up, as I came here to say that.

      Also, the Linksys WRT54G up to version 4 was a fine router, plenty of memory, ran Linux, was very stable. Then Linksys decided that quality wasn't nearly as important as driving me batshit insane, and we started getting tons of complaints about users needing to reboot Linksys routers, which came _highly_ recommended from the geek squad over at worst buy.

      The modern WRT54G, and anything past version 4, that doesn't have an 'L' in the name is an utter piece of crap, firmware revisions to the VXworks OS they now run have helped, but they are still lockup city.

      --

      --Nuintari

      slashdot : where an opinion can be wrong.

    6. Re:The most likely reason by bangthegong · · Score: 4, Interesting

      I have to agree on the first point about power. i have experienced that power has a big impact on stability, especially on linksys. I have had several linksys devices (WRT54G, WAP54G, WRT150N) and they all got flaky when too many devices were powered from the same outlet (I have a multiple monitor setup with a KVM and multiple computers). Moving these routers to another outlet in all cases helped, but it unfortunately was not convenient. I didn't try a UPS, but that seems logical. I have found that my Airport Extreme is less sensitive to the power on the same outlet. So I repurposed the Linksys devices, and keep the Airport near my desk, but lesson learned.

    7. Re:The most likely reason by DaedalusHKX · · Score: 4, Insightful

      I've noticed that ALL home routers at some point will require a power cycle, and not because they're bad, but because they all seem to occasionally lose their ability to provide DNS resolution. This isn't a problem on a LAN (like mine, obviously) which has a dedicated nameserver on the inside of the LAN, but for people who (like I once did) use their router as a nameserver.

      --
      " What luck for rulers that men do not think" - Adolf Hitler
    8. Re:The most likely reason by badasscat · · Score: 4, Interesting

      Also, the Linksys WRT54G up to version 4 was a fine router, plenty of memory, ran Linux, was very stable.

      Yeah, I have a 1.1, which I didn't even know until right now (checked the sticker), and I don't think I've rebooted that thing once in the entire time I've owned it. It's been running continuously right now for at least six months 24/7, and before that had a stint of probably 2 years uninterrupted. (I was forced to use Verizon's POS FiOS router for a little while.)

      I was about to leave a comment wondering what the hell the submitter was talking about, because to me the WRT54G is probably the most stable router that exists. It really couldn't *be* anymore stable. But I didn't realize there were such problems with version 4 and above.

    9. Re:The most likely reason by sc7 · · Score: 3, Informative

      I've found that to be true. Where I live, the summer months bring terrible thunderstorms. If there's ever that lightning strike that causes the lights to flicker, the internet always "goes down". Every time, it's always been fixed by unplugging and re-plugging the power to the router.

    10. Re:The most likely reason by thegrassyknowl · · Score: 4, Interesting

      All the Linux-based ones (decidedly few, admittedly) I have seen use the same DNS proxy (dnsmasq). I guess it's just not perfectly stable but I haven't seen a reboot anymore than once every few months.

      I gave up on mine and turned it into a dumb PPPoE bridge. An OpenBSD box at the border handles the dirty guff of PPP sessions and NAT. Now my connection is perfectly stable and the modem never needs to be rebooted. To top it all off I trust the BSD box and the firewall I created on it more than I trust the router to do it properly.

      --
      I drink to make other people interesting!
    11. Re:The most likely reason by macdaddy · · Score: 4, Informative

      Agreed on the power problems. I'm the engineer for an ISP here too and we also run into problems with our residential FWs. We were reselling D-Link but have switched to LinkSys. Both of them exhibit problems with power fluctuations. My parent's live in our service area, far from the paved roads. They are literally the last meter on the line. They get browns often. The usual outcome is that the router freezes hard. Rebooting does not fix it. The only fix appears to be a week or so with no power. The device eventually starts working again. We resell 350w UPSs to our users but our CSRs don't push them hard enough IMHO. Since most of our service area is rural we should really push them a lot harder. Personally I recommend Panamax surge strips. They actually open the circuit on undervoltage. Unlike most surge strips they actually cut off on overvoltage as well. They don't require the massive surges to set them off like most of the rest. Good stuff. I wish we sold them.

    12. Re:The most likely reason by Midnight+Ryder · · Score: 3, Informative

      My off hand guess, Bittorrents. I've noticed with the WRT54G that I had for a while would have problems if you're running multiple torrents, and don't have any cap on how many inbound and outbound connections there can be (IE, overnight runs where you don't need to use any of your bandwidth :-) A reboot always fixed the problem - I assume it's either running out of memory, or running out of ports to work with (since each connection has a timeout of an hour, IIRC)

      --

      Davis Ray Sickmon, Jr - looking for something to read? Check out my three free novels at MidnightRyder.org

    13. Re:The most likely reason by ottothecow · · Score: 4, Informative
      Torrents are what have always locked up my routers or at least made them unusable. It seems to be the connection count rather than bandwidth that matters so I usually capped connection totals.

      Now I have a Buffalo G125 with dd-wrt and is AMAZING (good luck finding one of them these days in the states after their legal troubles though). The last time I had a necessary reboot was when I upgraded the firmware (to enable cool things like bandwidth graphs). Sometimes I will reboot it when it is not necessary--such as when comcast has some sort of unknown network issue so my first thought is to start powercycling things until I remember the cable modem's IP and see that there are connection errors in the log. Other than that, rock solid stable with 5 active users and a good deal of game/torrent traffic.

      --
      Bottles.
    14. Re:The most likely reason by PitaBred · · Score: 5, Insightful

      DD-WRT on my WRT54GL, I've never had to reboot it for those issues. I even have a couple separate VLAN's set up, two DHCP pools on separate interfaces, etc. I've had uptimes of over 80 days before I tweaked something else on it that required me to reboot it.

      It's not the hardware... it's the generic crap software that they run on.

    15. Re:The most likely reason by PitaBred · · Score: 4, Informative

      So pay $70 to get a WRT54GL, then use some different firmware like DD-WRT or tomato on it. Cheap, and they even make installing it and all easy, as easy as the "normal" routers are to configure, and it'll get you those long uptimes.

      If you don't like your crappy router, fix it. It's not that hard.

    16. Re:The most likely reason by dfn_deux · · Score: 3, Informative

      My experience was nearly exact oppostie of yours, just chiming to say that anecdotal evidence is rarely accurate in practice. As others here have suggested, you might be more happy running the Linksys hardware with some 3rd part software; then again you seem happy with you d-link so maybe it isn't worth the effort for you.

      --
      -*The above statement is printed entirely on recycled electrons*-
    17. Re:The most likely reason by pablomme · · Score: 5, Funny

      Oh, very simple: I have a fr

      --
      The state you are in while your HEAD is detached... - wait, what?
    18. Re:The most likely reason by DamnStupidElf · · Score: 5, Informative

      In theory, none of those routers should need a UPS, just a better AC-DC converter perhaps with a bigger capacitor across the DC lines. I've never investigated the quality of the wall warts they supply with routers, but my guess is they are very cheap and simply don't handle voltage fluctuations as well as they should.

    19. Re:The most likely reason by Cylix · · Score: 5, Informative

      The problem I've had with dd-wrt and torrents is the max tcp connections is by default very low. Not something you would notice under normal traffic, but during swarms it can fill up fairly quickly.

      It give the appearance the unit has locked up since it is difficult to establish a tcp connection. These will bleed away eventually and allow a connection to be established.

      I just set the max number of tcp ports and it fairs fairly well using bit torrent now.

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    20. Re:The most likely reason by dgatwood · · Score: 4, Informative

      Linksys is the one manufacturer that's on my "never" list. My previous employer used to use their hubs and cascaded them into a network switch. The darn things kept losing track of what MAC addresses were hanging off them and refusing to route traffic. You only have to have one complete and utter failure like that to be written off in my book.

      That said, I've recently also written off Netgear. After about my fourth or fifth Netgear card went dead (I think I have one left that is still functioning after three or four years), I started avoiding their cards like the plague. Then, I bought one of their consumer hubs a couple of months ago and it was dropping something like 80% of the packets that went through it (between any two devices including upstream). I took it back to Fry's and replaced it with a D-Link and it worked flawlessly. (And no, I didn't have something hooked up to the uplink and the non-uplink port beside it. Been there, done that.)

      Bottom line is that after three hard drive failures in the course of a little over a month (yes, I have a third Seagate drive misbehaving massively, randomly corrupting data), I've pretty much come to the conclusion that nearly all electronics built today are mass-Chinese-manufactured crap that barely works and doesn't even do that for very long. Very sad, really.

      --

      Check out my sci-fi/humor trilogy at PatriotsBooks.

    21. Re:The most likely reason by Paradise+Pete · · Score: 3, Funny
      this is also a pet peeve of mine. Folks saying NO CARRIER or such nonsense, where there is obviously a submit needed to complete the comment.

      .
      Yeah! And nobody *really* knows why the chicken crossed the road, or why fruit flies like a banana. What's the matter with these people?

    22. Re:The most likely reason by spazdor · · Score: 4, Informative

      Also, jam the TCP timeout way down low. That will do wonders.

      --
      DRM: Terminator crops for your mind!
    23. Re:The most likely reason by raju1kabir · · Score: 3, Informative

      I've had a WRT54G for almost two years. I've never had to reboot it, not even once. The trick was installing OpenWRT firmware.

      --
      "Patriotism is your conviction that this country is superior to all other countries because you were born in it." -- GBS
    24. Re:The most likely reason by networkBoy · · Score: 4, Informative

      Mine is sitting on my server...
      Have not rebooted it since I moved (~1 year)
      really, I think it's power issues. This same router gave me tons of greif at my previous place, but when I moved I put it on the UPS and no issues since...
      -nB

      --
      whois gawk date unzip strip find touch finger mount join nice man top fsck grep eject more yes exit umount sleep dump
    25. Re:The most likely reason by Plutonite · · Score: 5, Funny

      Yeah, I've never had a problem with my rou

      You know what, those jokes are fucking la

    26. Re:The most likely reason by Malc · · Score: 4, Interesting

      Is that OpenBSD on a 12W device that sits silently on a shelf?

      Personally I prefer to use a decent modem. I have a SpeedTouch DSL modem that seems to be more functional than most consumer routers, as well as being one of the more stable modems I've used on a marginal line. I connect my wireless devices to my network just on the switch side (use them as wireless access points and not routers). Very stable set up.

    27. Re:The most likely reason by Captain+Segfault · · Score: 3, Interesting

      Bottom line is that after three hard drive failures in the course of a little over a month (yes, I have a third Seagate drive misbehaving massively, randomly corrupting data)

      Are you /sure/ your power supply is sufficient and your drive(s) are sufficiently cooled?

    28. Re:The most likely reason by Achromatic1978 · · Score: 5, Informative

      Most often, actually, I've found that the cause is, gasp, Bittorrent. Fills up the NAT tables and they're not purged fast enough, unable to open / map more ports, effectively, no more connectivity.

    29. Re:The most likely reason by Anonymous Coward · · Score: 3, Funny

      It may have something to do with horoscopes as well. My aunt Mabel knows several people in her trailer park who had routers who had tons of problems, and they were all Pisces. Hmm. Now I don't know anything about any of this, but when they're owned by Geminis, especially ones not married to Capricorns they seem to work a bit better.

    30. Re:The most likely reason by AndGodSed · · Score: 3, Informative

      That was rated funny, but truth be told I have seen Vista Laptops screw up networks often.

      Especially with out Linux Fileservers, XP computers and Laptops can access them fine, but while the Vista machines sees the Fileserver in the "Network and Sharing Centre" as soon as you try to access the server Vista claims that the server "Does not exist or may be switched off"

      Apparently there is a registry hack for this...

    31. Re:The most likely reason by Nemo's+Night+Sky · · Score: 3, Interesting

      It could easily be a uPnP thing.

    32. Re:The most likely reason by opus · · Score: 3, Informative

      I like the way you think. alix2c3 uses 6 Watts - a little more with a VPN card installed. I agree on keeping the wireless devices separate, they're just not gonna be rock solid.

    33. Re:The most likely reason by Flossymike · · Score: 5, Informative

      This MS KB may help.

      http://support.microsoft.com/kb/932134

      There is also an MS KB related to the broadcast flag which may be what is being referred to.

      http://support.microsoft.com/kb/928233

    34. Re:The most likely reason by nuintari · · Score: 4, Informative

      Mine is, I have a Soekris net4501 running OpenBSD 4.2. Nice and quiet, low power, high reliability. And the smallest CF I could find was a 1gig, so I have the entire installation, sans X on that puppy. Full support for VLANS, OSPF, Pf, the works. All in a small, quiet, low power, albeit ugly green case.

      --

      --Nuintari

      slashdot : where an opinion can be wrong.

  2. USR8054 by NFN_NLN · · Score: 5, Funny

    US Robotics 8054 (USR8054). At least it has the decency to reset itself though throughout the day. Saves some manual labor I suppose.

  3. My theory... by Anonymous Coward · · Score: 3, Interesting

    I base this on absolutely nothing, but my primary suspect is the cheapskate power supplies that these devices come with. However I've never cared enough to test it out.

    1. Re:My theory... by AimHere2000 · · Score: 5, Informative

      I base this on absolutely nothing, but my primary suspect is the cheapskate power supplies that these devices come with. However I've never cared enough to test it out.

      I think you're right. This seems to be especially common on D-Link routers. I used to run a DI-624 which was stable for years, until one day it just started rebooting itself. Did it infrequently at first, but progressed to the point where it rebooted continuously and was unuseable. Poking around, I discovered that the AC adapter (power brick) was not only VERY warm, the plastic shell was actually deformed a little on one side. I replaced the AC adapter, and the router worked good as new... until a few years later, when AGAIN it started rebooting, then stopped working entirely. And AGAIN, the AC adapter was at fault (totally dead this time). And again, replacing the AC adapter resurrected the DI-624.

      It seems to me that the manufacturers of residential-class routers really skimp on the power supply, or at least D-Link does. The AC adapters they've bundled in recent years are smaller than a deck of cards, yet I'm supposed to believe that they can put out 3 amps of current at 5VDC indefinitely?

    2. Re:My theory... by Cramer · · Score: 4, Interesting

      The AC adapters they've bundled in recent years are smaller than a deck of cards, yet I'm supposed to believe that they can put out 3 amps of current at 5VDC indefinitely?

      Yes and no. Yes, a power supply the size of 2 US quarters can (and does) generate stable 5VDC@3A forever provided you never exceed specs (lightning, bath tubs, overheating, etc.) However, these things cost more than the pennies cheap hardware makers are willing to put into the process. They go as cheap as possible... huge coil of chinese wire (read: transformer), a diode, capacitor, and regulator (ala 7805) (if it's a "good" one.) [Note: most cheap hardware has the regulator in the unit, not the wall-wart.] [Note 2: USR/3com is even cheaper... the wall-wart is 100% transformer. It turns 120AC into 20AC.]

  4. Because they are cheap by Anonymous Coward · · Score: 5, Insightful

    Fast, Stable, Cheap - pick two.

  5. Buy one that works. by jcr · · Score: 4, Informative

    I have a pair of Apple Airport routers, and the only time they get rebooted is when I change settings and restart them. That happens whenever I want to let another computer use my network, about every couple of months.

    -jcr

    --
    The only title of honor that a tyrant can grant is "Enemy of the State."
    1. Re:Buy one that works. by E-Lad · · Score: 4, Informative

      Yeah, I've used Apple Airports (previously, the "UFO" kind and currently, the Extreme (1Gb ports) and Express (for my home theater) and have never had to do "therapeutic" reboots on them.

      But I have been irked due to having to reboot the router to make even the slightest of config changes - such as changing its syslog destination or adding a port to the forwarding table. You'd think that these and other operations, short of a firmware upgrade, could be handled without a full-blown reset, but apparently not. One has to wonder why that is so in this day and age.

    2. Re:Buy one that works. by 7+digits · · Score: 5, Informative

      So you are lucky. My Airport Express needs to be rebooted from time to time (nothing damning, the express sometime stands month without needing it). My previous UFO Apple Airport also needed to be rebooted (and much more frequently than the Express).

      The symptom on the Express are that DNS queries stop working. I can ping it, ping my DSL modem, and ping website for which I have IP. I can nslookup into my provider DNS. I cannot lookup into the Express DNS.

      Another issue is that sometimes, I start getting more and more lag. Rebooting the mac or the DSL model doesn't fix it. But I discovered, amazed, that rebooting the express fixed it.

      Btw "Buy one that works" is an extremely arrogant comment. Those units work for you, it does not prove it works for anyone else.

    3. Re:Buy one that works. by KURAAKU+Deibiddo · · Score: 4, Informative

      Most likely, jcr is using MAC filtering (capitalization == acronym; it has nothing to do with Apple's Mac computers). I have yet to use a consumer router that did not want to restart after you changed router settings, and adding a new MAC address to the access list would require a restart. Hence, restarting the router when letting another computer use the network. Some people actually care about the security of their network; living in a major urban area with a lot of neighbors generally encourages it.

      You may wish to look into using MAC filtering and a strong WPA2 password to protect your wireless network.

      I also have a gig-E Airport Extreme, and it has been rock-solid stable for me; the only restarts have been for either changes I have made to the settings or for a firmware update. (I've done one of the latter since I got it.) It's been up continuously since it replaced a 10/100 wireless-G Netgear that constantly needed reboots, whenever I put any kind of load on my network. (It locked up constantly.*) If I hammer the Airport Extreme, it performs flawlessly. I still think that it was a great upgrade decision, but I'm sure that I'll get bashed as an Apple-fanboy because of it (most likely by people who can't differentiate between "MAC" and "Mac"). ;)

      * To mitigate my Netgear bashing slightly: I've had nothing but success with wired Netgear products. The wired router by them that I used to have worked great, and their gigabit switch that I currently use has worked admirably well, without issue. I just should have gotten a wireless router from them that would have run Linux. ;)

  6. Resets aren't necessary. by Puff+of+Logic · · Score: 4, Informative

    Bought a Buffalo router and flashed it with DD-WRT. The only time the thing reset was when the power went out. If you're restarting your router every few days, I'd suggest looking into your config for the problem.

    --
    P.P.S. I'm doing Science and I'm still alive.
  7. TCP Timeout by allanw · · Score: 5, Informative

    TCP connection timeouts on some routers default to 3600 seconds or one hour. So, when you use some Bittorrent or such, opening lots of connections, your router keeps these connections (even after disconnection) in its memory for up to an hour. It fills up and your router grinds to a halt, opening connections very slowly.

    There's other timeouts too, but I'm not sure exactly what they do. Firmware like HyperWRT lets you change these timeouts to something much shorter, like 90 seconds, which typically prevents lock-ups like that.

    (I'm actually not 100% sure that this is the sole cause for router lock-ups)

    1. Re:TCP Timeout by sr.+bigotes · · Score: 4, Interesting

      That sounds like an excellent candidate. These cheap home routers have very small routing tables (probably less than 512 entries for the WRT54G). If they're not ejecting old entries because of these extremely long timeouts and the table fills up, you're not going to be able to connect to anything new.

  8. I never have to by missing000 · · Score: 5, Informative

    Not to be a dick, but I use a wrt54g with tomato firmware and it's about the most stable and powerful (QOS is great on it) router anywhere close to the consumer price range.

    I never have to restart my DSL router or Vonage router either, and I've kept all this stuff up 24/7 often with heavy use for years at a time.

    If you're restarting networking stuff all the time, perhaps you've misconfigured it...

  9. bad hardware by je+ne+sais+quoi · · Score: 4, Informative

    The hardware on your router might be failing, power supply or whatever. I had the same problem with a DSL modem once, it eventually just outright died. The new one I bought (netgear DG834G) hasn't had to be reset once.

    --
    Gentlemen! You can't fight in here, this is the war room!
  10. A $50 Router Stable? by BBCWatcher · · Score: 4, Insightful

    Most routers are cheap. (Apple's is overpriced-cheap; the point stands.) A bunch of them are free after rebates. Considering that, it's a wonder they keep running for more than 5 minutes. They come off the same assembly lines as those Norcent (who?) $15 DVD players.

    You can buy reliable routers of course, from the C company, or the N company, or the J company, or a couple others. That's what corporations buy. What I wonder, though, is whether there's a middle ground: a "pro-sumer" router. Maybe somebody has got some suggestions.

    1. Re:A $50 Router Stable? by rcw-home · · Score: 3, Informative

      What I wonder, though, is whether there's a middle ground: a "pro-sumer" router. Maybe somebody has got some suggestions.

      Here's two: Soekris, Mikrotik/Routerboard.

  11. Re:Maybe it's not the router... by Somegeek · · Score: 4, Insightful

    If a client is able to cause a router to crash then there is something wrong with the router design.

    --
    And as you tread the halls of sanity, You feel so glad to be, Unable to go beyond. I have a message, From another time..
  12. It shouldn't be... by evilviper · · Score: 4, Interesting

    I've gotten to wondering why it's necessary to reboot these devices so frequently, like every few days.

    It's cheap, fast development... Not bothering to pay attention to correctness, not watching for memory leaks, etc., etc.

    It shouldn't be that way, of course. I got an old K6-2 system, underclocked it to 100MHz, removed CPU fan and replaced the PSU fan with a very slow and quiet model to make a nearly-silent 8watt system. Then installed OpenBSD on a 32MB CF card (stripped of unnecessary binaries for size, but otherwise completely normal), and have been using that for years. It will run indefinitely, without a reboot. My record for uptime so far is 5 months, and it's only that short because of power outages, and I don't feel the need for a UPS for my router...

    It seems like routers, purpose-built with an embedded OS, should be the most stable devices on my network.

    There's nothing about being "an embedded OS" that should make it any more or less stable.

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  13. The problem is.. by Fjornir · · Score: 5, Insightful

    ...the expectations of the user. Newsflash: when you buy cheap crap it is going to perform like cheap crap.

    --
    I want a new world. I think this one is broken.
  14. BitTorrent?? by Anonymous Coward · · Score: 4, Interesting

    I had a WRT54GX for years that never needed a reset, until I started using BitTorrent. Then its 4KB (?) connections table would fill up and the device would hang. Had to build an OpenBSD firewall to handle the many active and inactive connections you get with BT.

  15. You're doing it wrong? by Kattspya · · Score: 3, Interesting

    I've used some Zyxel router that needed restarting every few days until I found out the maximum amount of open connections and bandwidth it could take then it usually only crashed once a month.

    Now I've got an old PII with a CF as HDD running monowall and maximum uptime so far is about two months. It would appear that the modem is more flaky than the router so I've restarted it needlessly a few times. I'm inclined to think it's hardware causing problems when the router crashes on its own. It's a bare motherbord sitting ontop a cabinet with four NIC's (I had an abundance of NIC's but no switch) and it gets a bit jangled from time to time in its exposed position. I'm amazed that it works at all.

    Try to limit the amount of open connections if you're running bittorrent and maybe the bandwidth too. If that doesn't help you should probably build your own router. m0n0wall works for me and I've heard good things about IPCop.

  16. Ironic Connection Sharing by irlyh8d2 · · Score: 3, Interesting

    I just use a cheap Pentium 2 running Windows XP with Internet Connection Sharing. Disabled the automatic updates and firewalled it properly over 18 months ago, and haven't had to touch the machine since.

  17. Re:Good question. by Telecommando · · Score: 4, Insightful

    If you have frequent power interruptions, aren't they rebooting your router frequently?

    /just askin'.

    --
    Beta sux! Join the Slashcott! http://hardware.slashdot.org/comments.pl?sid=4760465&cid=46173047
  18. Ditto, but had to reset occasionally with defaults by PseudoThink · · Score: 3, Informative

    I'm running DD-WRT 23v2 on two Buffalo WHR-HP-54G routers, and I never have to reset them. However, I did have to update their configuration from the default settings in order to make them reliably stable. With the default settings, I would have to reset them occasionally. I changed the "maximum ports" from the default of 512 to 4096, and changed TCP and UDP timeouts from the default of 3600 seconds to 120 seconds. The reason for this (as stated in the DD-WRT help documentation) is that P2P apps often open many ports without closing them properly. These settings allow the router to handle that kind of usage much better.

  19. I'll tell you why ... by ScrewMaster · · Score: 4, Insightful

    crappy firmware. I flashed my WRT54G V4 with Tomato and haven't looked back. Also haven't had to reboot it in the past year or so that I've been using it, other than the occasional update. Tomato's developer obviously knows what he's doing: compared to the stock Linksys firmware he's lightyears ahead. And he's just one guy, you'd think a company with the resources of Linksys could do an even better job.

    --
    The higher the technology, the sharper that two-edged sword.
  20. The most likely causes by jd · · Score: 3, Interesting
    ...for a router to require rebooting are memory leaks (especially for the routing tables or ARP tables), buffer overflows (same), a portscan or other attack - say by a zombie or skriptkiddie - putting the system into an unrecoverable state (eg: resources exhausted), or a kernel (likely driver) bug putting the kernel into an unrecoverable deadlock. There's almost nothing else that can possibly go wrong in a software router, at least to the point of locking the system up.

    Ok, the router software - likely ripd, xorp, quagga or zebra for any domestic ADSL router - might crash, but the worst that will happen then is that you don't learn new routes. Since DSL providers don't tend to switch their internal IP addresses very often, that should not impact any existing subnet. It means tunnels can't be generated on-the-fly, it also means your next-door neighbor can't connect their LAN party to your wireless connection, but it shouldn't impact you in the slightest.

    The next question, however, is how on Earth are you noticing the router needs rebooting? The kernel is quite capable of rebooting itself under many (but not all) soft lockups. Linux provides several such mechanisms for doing just that. A simple watchdog circuit, using a bistable circuit, a couple of capacitors, a relay and a trigger line that has to change state, could be added by a manufacturer for maybe a couple of dollars. It probably doesn't even need to be that complex.

    When it does reboot, LinuxBIOS is under 3 seconds and I don't imagine OpenBIOS is that much slower. Intel's Tiano probably is, but it's open source so you can rip out anything that's useless. Therefore, recovery times should be barely detectable to an end user. (Most websites vary in download times by more than 3 seconds between visits. Unless you're playing Netrek or WoW at that precise moment, I seriously doubt you'll notice a 3 second outage.)

    Finally, however, why isn't the router using carrier-grade software? Again, carrier-grade Linux exists, which should give you 5N uptimes in the worst possible case. Domestic routers are not worst-possible. Even data centers rarely get the kind of stress that could be expected to force an unrecoverable state. If your router is not overheating, has plenty of RAM, and needs rebooting more than once every other year, there is something seriously defective in the software or hardware.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  21. Crap hardware by ivoras · · Score: 4, Insightful

    Cheap "embedded" devices like routers and NAS-es routinely have extremely bad hardware. The competition apparently is so fierce that cutting corners of everything, from basic motherboard-like functionality to network and disk controllers is ubiquitous.

    I'm occasionally doing hardware reviews for a local IT magazine and it's unbelievable what you can actually buy today as a bona-fide good equipment even from "brand name" companies. CPUs are usually ARM or AMD GEODE (You think VIA is slow? Think again. - Not to say there isn't a place for slow CPUs, only that this isn't it.), network controllers are cheap Realtek's and I don't know what they use for disk controllers (probably parts of the CPUs "companion" chipset) but it sucks.

    I've seen "gigabit" network controllers on NASes that actually negotiate gigabit speed, although they are connected to buses and CPUs that break a sweat even at 100Mbit/s speeds. NASes that accept 4 drives cannot service reads on even one drive at more than 15 MB/s - introducing RAID (especially RAID 5) into this setup slows things to a crawl.

    Practically all of these devices use Linux, because it's free (as in beer). They usually (I'd say 90%) don't acknowledge or obey the GPL.

    It's a sort-of reverse "best scenario" for Open systems (and Open source). The manufacturers have a choice between something like this:

    1. They'll design special ASIC-like functionality which will do one thing only and do it fast and stable.
    2. They'll use cheap off-the shelf hardware and software which is generic.

    The first choice is represented by "truly" embedded devices like ordinary small, unmanaged Ethernet switches (with which I have suprisingly good experience), but apparently it's too expensive to scale it to "smart" devices that have to support many features so everyone opts for the second one. You can (and this is verified!) build yourself a small managed router or a NAS device like the ones sold at every el-cheapo computer shop with the same cheap generic components, and the resulting device will be just as sucky.

    Creating a router or a NAS just like the above but with "proper" hardware (a Duron 800 MHz based system will be excellent) won't even cost you significantly more, but will deliver orders of magnitude better performance.

    --
    -- Sig down
  22. Re:Good question. by Teckla · · Score: 4, Insightful

    Why DO you have to reboot your routers? Mine, including a WR54GT almost never require rebooting. Occasionally, after a power outage, it's necessary, but not very often. Maybe once or twice a year, and I live in Panama, where power interruptions come fairly frequently.

    WTF? How did this end up +5 Informative?

    The power interruptions are obviously regularly rebooting his equipment. Is it any wonder he doesn't need to reboot it himself?

  23. Re:embedded network devices by bwy · · Score: 5, Interesting

    Funny, I think everyone here has had to reboot their router to solve problems in the past. But, in typical slashdot fashion, 99.9 percent of the posts are people telling the author of the question that he is stupid, lacks intellectual ability, must be a high school drop out, or has some bastardized sexual persuasion that prevents his router from working.

    As you say, it could be an unrelated issue that resetting the state machine fixes. In this case though I guess I superior device could do this on its own.

  24. Re:Good question. by colenski · · Score: 3, Insightful

    Did it ever occur to you that you never had a problem *because* of the power failures doing the rebooting for you?

  25. Re:rebooting routers? by Dan541 · · Score: 3, Funny

    It could also be possible that the firmware allows no changes at all to the running configuration, forcing a restart for any change made in an attempt at making it less hackable.

    That's just stupid.

    Honestly, who sacrifices convinience for security?

    --
    An SQL query goes to a bar, walks up to a table and asks, "Mind if I join you?"
  26. tcpip timeout, too many connections by po134 · · Score: 5, Informative

    it's simple, most router keep tcpip connections alive for 3600 sec or more (especially d-link one), so each time you establish a connection on a bittorrent client your router open a new one. After a few hours, sometimes a day or a few ones, it can become a problem very quickly as you might imagine. Just install dd-wrt or tomato and drop the timeout to 360sec, it'll do the job.

  27. Re:Yes, there is a pro-sumer router by aquarajustin · · Score: 3, Informative

    I second this. I have a D-Link Gamer Lounge (DGL-4300). This is the most stable router I've ever owned. Thumbs up on the QoS, stability and speed (GbE). If I were able to run 'uptime' on it, I believe it would say close to two years (I live in Florida, but it's on a UPS). Oh, wait:

    Connection Up Time : 617 day(s), 12:04:53
    Sick.

    My last router was a WRT54GL that decided to brick itself after about three months of DD-WRT. I think I should agree with some of the above posts that offloading network services can help these routers, but I'm not sure. I run my own DNS and DHCP, so this router has never had to bear that load.

  28. I hope this explains a few things. by Sillygates · · Score: 5, Insightful
    --
    I fear the Y2038 bug
    1. Re:I hope this explains a few things. by Jellybob · · Score: 4, Funny

      If I had modpoints, you could have them all for that.

  29. Re:Vista by dogugotw · · Score: 4, Informative

    Same here. The condition that tripped the problem went as follows:
    My laptop = Ubuntu (latest)
    Wife's laptop = Vista Home Premium.
    Both wireless.
    We're surfing, everything is running great. I'd hit a site that had lots of images all on one page (think Fark's 'Photoshop this pic' page')
    Bang, network goes dead.
    I'd restart the router and my box would come back online no problem. Vista would not re-establish a connection. Repair (or whatever it's called in Vista) failed. We'd need to reboot her computer.
    Searched the web and found that this same problem happens and seems to be related to the router.
    Switched to a Netgear VPN824V3 and the problem has pretty much disappeared.