router

How can I determine the IP of my router/gateway in Java?

How can I determine the IP of my router/gateway in Java? I can get my IP easily enough. I can get my internet IP using a service on a website. But how can I determine my gateway's IP? This is somewhat easy in .NET if you know your way around. But how do you do it in Java? ...

Router to handle multiple public IP addresses.

I am presently running several websites and a mail server from my home network. I have a business DSL account with 8 public IP addresses (1 by itself, and 7 in a block). To handle routing/firewall/gateway, I am presently using RRAS, DNS, & DHCP from Windows 2003 running on a ancient (circa 2001) PC -- which I suspect is going to fail a...

How do I programmatically cycle a router?

I have the need to be able to cycle my linksys router via a program, the reason I want to do this is complex, so let's just assume there is no better option. Is there anyway to do this? I think there is because when I install a firmware update to the router via the admin console, it cycles the router. ...

Emulating a UPnP router

I want to add the option of automatic port forwarding (NAT Traversal) to an application. I know this can be done using UPnP (specifically the part that communicates with the device presenting itself as an IGD - Internet Gateway Device). I need to be able to test this port forwarding feature while developing it. And whatever big router ...

List free flash space on WRT54GL with DD-WRT v24sp1 firmare?

I'm trying to develop some custom apps to run on top of DD-WRT. I'm using the Linksys WRT54GL as my dev platform, but the flash space is limited. I think I'm almost out of room, but I can't figure out how to show the used / free flash space. Linux command "df" only shows the ramdisk. DD-WRT command "nvram" accesses the configuration, ...

How to build a tunnel for file transfer between distant windows 2003 machines quickly

I have two distant locations with Windows Server 2003. Can I build a secure tunnel quickly? Is there secure VPN built into the OS? I have domain names and router control on both sides. I can build a "VPN" connection with the wizard (PPTP), I opened port 1723 TCP on the other router, do I need 47 GRE also? The router does not allow me to...

Bookmarklet: Append hidden iframe to page and load url

I have a bookmarklet for resetting my router. I just need to visit and let the page finish loading, then my router starts resetting. javascript:(function(){w=window.open("http://192.168.0.1/goform/formReboot","","width=1,height=1");self.focus();window.onload=w.close();})(); But it opens in a popup window. My new idea is to dynamicall...

dual wan public ip for server

Currently have a dual wan setup both connections with the same ISP who has provided me 8x2 public IP's. I would like to create redundancy so my ms sbs server and IP PBX (trixbox) have public IP's and will continue to work even if either wan connection goes down. for since the sbs server is a domain controller, it needs an internal IP ad...

Home Server on new IP Pool allocation

Hi I have a server with an internal address of 192.168.1.100 I have moved to a new home and the IP Pool of the current router is 192.168.2.x Is there a way I can make the router discover this server without having to change the internal IP address? I dont have a KB or Mouse to get in and change the IP of the server at this time :) A...

DD-wrt revert to AP mode from Client Bridge mode?

I have a router (Buffalo WHR-G125) with DD-wrt v24 setting to client bridge mode now. The buffalo now acts as a secondary router in addition to my ATT uverse router as the primary router. I need the buffalo router back to the AP mode, but I don't know how to do that because as a secondary router, it no longer have an IP address, and the...

set zend framework action controller

hi all, i want to set my action controller from within a hidden filed in my view script form and when my form submitted zend framework router diagnose the action. like this: ...

how does the web pages for configuring routers/printers work

just curious to know what is the web server on which these sites work ...

Php router, extracting keys from uri

Hey folks! I need some help with regular expressions/etc. I need to extract virtual keys from url, some sort of router in application. Here are the params: Rule: /books/:category/:id/:keyname Data: /books/php/12345/this-is-a-test-keyname Output should be something like that: array( 'category' => 'php', 'id' => '12345', 'keyname...

Is there any way to overcome the router port forwarding on tcp/ip application

I need to connect to computer over tcp/ip i have the external ip but without port forwarding I can't connect to the server . Is there any way to configure the server to accepts connection on the external ip and port define by the server without configuring the router ? (how does emule does it ? or other peer to peer application ) ...

Zend Router overwrites post variables from form

We are using the Zend Router and it seems that its overwriting the parameters that are sent by forms. The only parameters that arrive to the controller are the params from the Url. Does anyone know why this is happening? Here is the config file: ; Routing config routes.groups.route = groups/:group/:type/:idPost/:postUrl/:page routes...

How to enable syslogd to receive UDP logs from routers in OSX

Occasionally a router goes bad and I would like to get the router logs. While some routers have built-in log viewers, some do not. Most routers seem to have a facility to send logs to another host using syslog. How do I get OSX (client) to receive these logs? OSX has a syslogd, but the instructions are opaque at best. Perhaps a diff...

magento router: How can i catch parameters in all urls?

Think of an small and basic affliate system. I want an url like "www.myshop.com/mynewproduct.html?afid=123". Every time "afid" is found in the url an method has to be called. (Basicly to save "afid" in an session an when the customer buys stuff i want to track it.) Someone here who knows how to do that? Every hint is accepted ;-) gree...

Regex routers in zend framework,how to make merge these routers?

Hi there, I need to know how can I merge these routers into one? I want to have just one router instead of these ones. I appreciate any answer.:) $route = new Zend_Controller_Router_Route_Regex( '([a-z]{2})/(\w+)/(\w+)/(\w+)', array('controller'=>'index', 'action' => 'index', 'module'=>'default', 'lang'=>$lang )...

How to extend Network by adding a router into an existing Router

Actually i am trying to extend my Network by attaching a new router to existing network. New Router : WA3002G4 Exiting Router : 4508xi adsl2 ,having net connection from ISP (Airtel) i want to connect both router from wi fi without using Lan connection Waiting for your help ...

Subversion on laptop and moving between internal/external network

I have a subversion server on my local network and access it using the 192.168.1.x address. The problem is that when I leave my house and need to update svn on my laptop, I now have to use an external address. I've been using the svn relocate command to switch between external and internal addresses, but this is cumbersome. Does anyon...