![]() Ultimately I'd like to replace my router with a pfsense PC and add some Ubiquity WAPs but that's not happening for me now. NOTE: The Power LED of the router will keep on blinking for a few seconds after resetting as it is still trying to stabilize. *Consumer grade routers I've dealt with (there's even more I can't remember) So I use var for just about everything unless I need to specifically cast something from an anonymous object.Īs far as the router conversation goes I'd like to agree but I've spent a lot of money on different consumer-grade routers* and some will last for months without needing a reboot but all perform much better and consistently with a nightly reboot and as far as I'm concerned it's a peace of mind action to perform that for me has no real consequence as I'm not using my router at 3am anyway. Also simply hovering over the variable name in Visual Studio will tell you the variable type. C# is strongly typed and the compiler won't let you use var if the type is ambiguous. While I understand where you're coming from on the var argument I'm going to have to agree to disagree. ![]() I might spin that idea out into another repository though. I've even found some projects that have reverse engineered the Netgear SOAP api to talk to the router so that would be another good place to expand into and make the code more reliable. I do plan on adding command line arguments so that the parameters of the router ip, username and password can be passed in at runtime allowing for things like batch scripting (or even shell scripting in Linux since it's DotNetCore) and definitely want to add more error handling and variable checking throughout. There are two ways you can reset your EX7000 to default settings. This code was written in just about an hour last night for fun so there's definitely room for improvement. On a side note not really programming related, WereCatf is right and routers shouldn't need to be rebooted. You also have an unhandled exception for your HTTP request. An example where the use of var is warranted would be code like the following.įor example, you used var in one case where the return value was an integer, but int and var are the same number of characters. The code may be well commented but I recommend being explicit when it is not immediately apparent what the resulting type is. ![]() on weekends (in case you decide to pull an all-nighter).įor more information on these WiFi devices, check our wireless routers buying guide and ratings.Your use of var is too liberal. But, if you're willing to pay a bit more, you can also buy one that completes the task at 3 a.m. Like, say, 3 a.m., when no one in your family is online.Ī basic adapter-designed for lamps and Christmas lights-will perform the job for $15. You plug one of these nifty little devices into an outlet and program it to recycle the power at a certain time each day. Overworked routers are common when there are too. And, in an era when service providers can send signals at speeds of 900 Mbps, an outdated router might max out at 100.īut, for WiFi routers that simply need a quick reboot every now and then, consider using an outlet timer adapter to get them that break. If the router needs to be restarted and rebooted frequently, it might be because the router is overworking. By contrast, the 802.11g standard-introduced in 2003-was designed to handle two or three. ![]() The latest models support the 802.11ac standard, which can effectively handle 20 or more devices. If your WiFi problems persist, you might need a new router.
0 Comments
Leave a Reply. |