[OBSOLETE] Netgear Nighthawk Router

I thought you were able to capture all this within the native apps (Genie to Router Admin logs), that’s why I didn’t look elsewhere. I already had Fiddler so I turned that on.

I did a ton of searches around the NH Routers and others who have attempted similar things and I was surprised at how little this had been touched upon.

The remote access didn’t play into accessibility to the soap url. However as you said, it might be a different url. There were 0 results for that url anywhere on the web.

Anyway, knowing the approach you took, I will ping ya with what I discover.

This is very cool. Yesterday on a R6700
However I am getting these icons that look like guiter plugs to a sub woofer. Not sure what that is.

Also is there a way the wifi and guest can be labelled differently?

So i can confirm that the /soap/server_sa/ is indeed being used on the R8500.

It doesn’t matter if I use:

192.168.1.1/soap/server_sa/
routerlogin.com/soap/server_sa/
Remote IP:Port/soap/server_sa/

There is no direct access to this url. I have gone through the entire Router Admin panel and modified and changed a ton of different settings to no avail. Yes, the Remote Access is turned on and so is Device Access. There has to be something different with how this router uses the information with respect to the url (whether is some sort cookie or session established that terminates, or maybe the keepalive) and how it is handled with the R6700.

Here is a snippet from Wireshark (NOTE: If I double click on the URL within Wireshark, I still get the HTTP 404 - Not found message):

1 Like

Hi,

Actually I just checked and see that "404 not found is normal from web browser"
on my R6700v2 I also get this. Because the web browser is not sending a soap request. instead it sends a standard “http get”

now that we see the soap URL is same , we should focus on what is different on your router.
I am not home and I can not analyze it from the image you just posted.
Please check the “getattacheddevice” part in my code.
is it different than what you see on your wireshark ?
there must be something dfferent.

Btw, you have to configure the device “netgear router” on your smart things app with correct IP, port 80 and user, password.
if any of them are wrong or missing then it is normal to have a non working device.
in fact, I believe that if your router’s soap URL is same as mine , than it should work…

I have a R7000, I think the box said Night Hawk on it. I’ve tried every combination in the settings I can think of and nothing is working. Can you clarify the format of the IP and port? Above you show HEXIP:HEXPORT but there are two fields. Do I enter the colon with the port 80 in the IP field or only on the port field or both? (I’m using Hex. i.e. Dec 80 = Hex 50)

Also I’m assuming this is connecting to my router from the SmartThings cloud, so I should be using the external or public IP address, correct?

Thank you for the work you’ve done. I look forward to the applications that can tap into this.

Hi,

Just to clarify:

You have to enter private (LAN) IP address of your router on the device settings.
IP and Port fields will be filled in with decimal numbers (80 for the default port)
But on the device (on graph API) you have to enter the network ID as HEXIP:HEXPORT

Please try and let me know…

Can you edit so if I add the nighthawk device to my dashboard in ST it gives me the ability to reboot. It just has a green button for guest wifi (which isnt even on on my router)

what is your router model ? does any function work for your router ?
we can of course make changes but I still did not receive any positive feedback yet.
Also there are missing features. First I need to make it refresh periodically. But I don’t know how to do that.

R6700 Nighthawk.

No they arent working right now as the button (on the dashboard only says guest wifi). When I go into the device I can see more options but also a ton of the plugs that look like guitar amp plugs.

did you try the reboot function or wifi on/off ?

Hi,

I have a Netgear R8000-100PES, did eveything (IP, port,in hex, etc…) but it seems I have the exact same error than WB70. Seems to be the R8X00 Serie :confused:

Any news?

Thanks a lot !

well I just have a R6700v2. So anything other than this router , I can only make assumptions.
it would be helpful to understand if you can get traces between your computer and the router while you are using PC Genie app.

Starting from the basics, so bear with me, but I get an error from live-logging while setting this up…

java.lang.NumberFormatException: For input string: “C0A80101”

Am I using the wrong format hex IP address for 192.168.1.1?

I will try to trace. Can you recommend a tool?
And by the way, thank you for you work! :wink:

the hex of IP is correct but where do you enter this ? in device config on the mobile app you should put 192.168.1.1
In the graph api on web you should put the hex format on device network id.

you can use free tool wireshark for network traces. But if you don’t have any knowledge on it, it will take some time to understand how to use it.

OK, I had tried it from both, but I’ll enter the IP address in the device config on mobile. I probably have other issues as well to troubleshoot when I get home…

I installed packet capture on my android device and I found this :

POST /soap/server_sa/ HTTP/1.1
Accept: text/xml
SOAPAction: urn:NETGEAR-ROUTER:service:WLANConfiguration:1#Is60GSupported
Cache-Control: no-cache
Pragma: no-cache
Accept-Encoding: gzip
Accept-Language: zh-CN,en,*
Content-type: multipart/form-data
User-Agent: SOAP Toolkit 3.0
Content-Length: 544
Host: routerlogin.net:5000
Connection: Keep-Alive

<?xml version="1.0" encoding="utf-8" standalone="no"?>

<SOAP-ENV:Envelope xmlns:SOAPSDK1=“http://www.w3.org/2001/XMLSchema” xmlns:SOAPSDK2=“http://www.w3.org/2001/XMLSchema-instance” xmlns:SOAPSDK3=“http://schemas.xmlsoap.org/soap/encoding/” xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/”>
SOAP-ENV:Header
A7D88AE69687E58D9A00
</SOAP-ENV:Header>
SOAP-ENV:Body
<M1:Is60GSupported xmlns:M1=“urn:NETGEAR-ROUTER:service:WLANConfiguration:1”>
</M1:Is60GSupported>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>HTTP/1.1 200 OK
CONTENT-LENGTH:310
CONTENT-TYPE: text/xml; charset="UTF-8"
SERVER: “OS/version” UPnP/1.0 “product/version”

<?xml version="1.0" encoding="UTF-8"?>
<soap-env:Envelope
xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"
soap-env:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/
>
soap-env:Body
503
</soap-env:Body>
</soap-env:Envelope>

It’s seems to be the same soap URL but when I type it in my browser I have a 404 error…

ok. soap url is correct. (404 from pc is normal)

what I need you to do is ,
1- open debug , network trace ffrom your router
http://192.168.1.1/debug.htm (if your router is at 192.168.1.1)

2- start capture
3- run my device handler and try to turn on/off wifi
4- stop capture and download capture file
5- attach capture file here and let me see what’s going on.

(ps. I believe you are either entering login credentials wrong, or there is a problem in IP/port, hexIP settings)
(ps. did you enter port number as 80 ?)