As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
How do configure an netgear wireless router in vb.net code? I want to restart my router and thought about disconnecting clients. This might be used to help a relative with their wireless router.
Edit:
OS Information:
Windows 7 SP1
.NET Framework 4.5 or above
First-off: you should never have to reboot your router under any circumstances (short of a firmware upgrade). If your modem/router "breaks" occasionally and requires a reboot to resume normal operation then something is wrong with it and you should seek a warranty replacement. A line de-sync should not require a reboot either.
With that disclaimer out of the way: there are two ways you can achieve your goal:
The first is to use the Telnet administration features present in your Netgear router (assuming they're enabled and operational). Writing a Telnet-client in code is trivial and an exercise left to the reader. It's just a matter of knowing the right commands to send to get it to reboot.
The second is to write a web client (using HttpWebRequest) that sends the series of HTTP requests to the router in the same way a human-directed-browser would if they were doing the reboot themselves. Use a tool like Firefox's "Live HTTP Headers" to see what HTTP requests need to be sent. Be wary of problems with cookie retention in HttpWebRequest.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am migrating from a shared host to VPS for the first time and I am in a dilemma wondering if I need to go with NginX or still stick with Apache. Atm I use Apache for my site that runs on phpbb 3.0.11. It has forums along with static pages. When I was googling info on NginX, it appears to be faster than Apache and works well in serving static pages. So my questions are:
1) Is NginX good to use for forums?
2) How is NginX in serving Dynamic pages from MySql?
3) Is NginX really fast compared to Apache or is it overrated?
4) Do I stick with Apache or is it worth taking a chance and trying out NginX for my phpbb forum?
Any advise please.. I am in such a dilemma and I am hoping someone who have had practical experience with NginX and Apache can shed some lights!
If you know Apache, just stick with it. The learning curve for Nginx is quite high, and not needed here if you haven't already done basic tuning.
Make sure that you are loading APC and memcached with say 16M cache.
Use APC for Opcode caching, and acm_memcache for variable caching.
This will make phpBB a lot faster.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
best solution for mobile website locally testing
Note: I am using windows 7 with visual studio 2012.
A good way to do this is to simply hook up your mobile device to the network that your machine is on and visit the IP Address associated to the machine on your port.
Note that IIS Express is a pain to configure in this regard, so it will be good if you can setup your site to run on IIS on your primary machine, and configure it to be default website bound on either port 80 if you have nothing else, or another unique port so that the hostname is not required.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
It's basically a educational situation:
We've got a Intel Celeron 2.5Ghz / 512 MB RAM / >40GB Hard Drive.
We need to set up a basic SQL server for 5~15 LAN users with a >1GB database.
I can use debian, fedora, freeBSD, mandrake, opensuse, redhat, slackware, suse or ubuntu with firebird, mysql or postgreSQL.
[btw: it's a corporate decision, I can't pick anything else besides the one listed. What I can do is ask for support for another software - This is something that looks interesting since I believe that MariaDB w/ Slackware would be the best choice)
I basically need the most lightweight solution possible.
I'm thinking about Slackware with PostgreSQL, but I was wondering which one would be less dependent on hardware specs and easiest to manage, the traffic flow itself won't be very high but the database will have to up for tests for at least a semester or two before we can apply for a dedicated server..
I recommend debian with mysql.
Debian because its a very widespread system for severs and you get tons of documentation so its easy to setup and maintain.
mysql because its simple and well documented.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Let's say I have a mobile application that is to be offered on many different mobile platforms like Blackberry, iOS, Android etc.
Is there any easy way to test across all platforms in many languages, something like a virtualization platform like VMWare Workstation on Windows?
Do any of these platforms have standalone emulators?
BlackBerry, iOS and Android all have standalone emulators. Windows Mobile and Windows Phone 7 do as well (the WP7 emulator is Best-In-Class without a doubt).
There is no easy way (or any way at all, really) to write an application that will run on all of these platforms, let alone to test such an application.
check http://www-01.ibm.com/software/mobile-solutions/worklight/ ,IBM Worklight provides an open, comprehensive and advanced mobile application platform for smartphones and tablets, helping organizations of all sizes .
Can develop same app for Iphone,Android, blackberry,just needs to chand the environment for three wich is provided with the worklight tool.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to host my java project on a free project hosting site.
I want to use SVN (if possible integrated in NetBeans).
I want the site to be easy to use and offer an option like Hudson system to control my nightly build/test execution.
Is there such a site(s) ?
Thank you in advance for the answers.
If there is an alternative that you think it's better than the SVN or something else, please use enough argumentation to convince me. I accept any proposals that you have tried out.
I want the site to be easy to use and offer an option like Hudson system to control my nightly build/test execution.
Hosted Continuous Integration for Java is not something easy to provide for free by nature (because it's very CPU and disk intensive), so you won't find that on "big" public forges.
The only place I know that offers CI (and subversion, mailing list, wiki, etc) is CodeHaus.org. Might be an option if your project is "eligible".
If not, either run Hudson yourself (and just plug it on any hosted Subversion repository, e.g. on Google Code) or... use a commercial service like CloudBees, MikeCI, CI Foundry. See also Hosted Continuous Integration.
Actually my question was something like a consulting 2 questions.
Here are my answers to them.
Find SVN free source control repository
I have stopped on two options:
Java.net - this seems like a repository with future and it's getting upgraded with Kenai technology, so I hope it's stable and fast.
kenai.com - Very nice looking integration with NetBeans! Easy to use and with lots of features like integrated issue-reporting. Unfortunately, this one is dead and projects are getting migrated to java.net. So stick with the first proposition.
Integrate with Hudson
I haven't installed and configured a Hudson yet, but I guess it won't be such a problem. We'll see.