1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Kamoj information add-on V4 for Netgear R7800 X4S and R9000 X10 (Temperatures a.o.)

Discussion in 'NETGEAR AC Wireless' started by kamoj, Feb 16, 2019.

  1. percy3

    percy3 Regular Contributor

    Joined:
    Sep 21, 2018
    Messages:
    115
    Might be good to see contents of log files from around the issue. From telnet (or ssh) console:
    less /tmp/log/dnscrypt-proxy-2.log (ignore that one since I realized you are not using DNSCrypt)
    and
    less /tmp/log/messages
    and for both files scroll to the time when you have lost your connection.
     
    Last edited: Feb 19, 2019
    farenheit and kamoj like this.
  2. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67
    Thanks, will try and get a log the next time it drops.
    At the moment i have disabled all add-ons and it seems to be holding ok.
    Will wait for a couple of hours before i enable an add-on one day at a time.
     
  3. Robert Laverty

    Robert Laverty New Around Here

    Joined:
    Feb 19, 2019
    Messages:
    5
    @kamoj Bravo all around my dear friend =]
     
    kamoj likes this.
  4. percy3

    percy3 Regular Contributor

    Joined:
    Sep 21, 2018
    Messages:
    115
    Based on my experience there might be an issue with some corrupted files/errors in the config file that could even survive reset to original settings. You might try reset plus mtd erase netgear command. Obviously you will lose all the config and mods with that step.

     
  5. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67
    I'd like to try this but not sure how.
    Are you able to direct/guide me to this "mtd erase"? Also is it safe?
     
  6. percy3

    percy3 Regular Contributor

    Joined:
    Sep 21, 2018
    Messages:
    115
    From console:
    mtd erase netgear
    reboot
    In addition you can try reset to default values either from GUI or by pressing and holding hardware reset button.
    If you will put those commands as written above you should end up with clean config.
    Might be good to create backup of the config prior to the reset (but do not apply it after reset, at least not immediately).
     
    farenheit likes this.
  7. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67
    Thanks
    I have tried the hardware reset button in the past and from the GUI and noticed once its booted up it will still connect to my VPN lol. So hopefully this command should do the trick. Will try it tomorrow :)
     
  8. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67
    I get the following error trying to issue the above command:
    Code:
     === IMPORTANT ============================
     Use 'passwd' to set your login password
     this will disable telnet and enable SSH
    ------------------------------------------
    
    
    BusyBox v1.4.2 (2019-02-18 12:30:24 UTC) Built-in shell (ash)
    Enter 'help' for a list of built-in commands.
    
    
      __        __   _                            _
      \ \      / /__| | ___ ___  _ __ ___   ___  | |_ ___
       \ \ /\ / / _ \ |/ __/ _ \| '_ ` _ \ / _ \ | __/ _ \
        \ V  V /  __/ | (_| (_) | | | | | |  __/ | || (_) |
         \_/\_/ \___|_|\___\___/|_| |_| |_|\___|  \__\___/
    
       _   _ _       _     _   _                    _    _
      | \ | (_) __ _| |__ | |_| |__   __ ___      _| | _| |
      |  \| | |/ _` | '_ \| __| '_ \ / _` \ \ /\ / / |/ / |
      | |\  | | (_| | | | | |_| | | | (_| |\ V  V /|   <|_|
      |_| \_|_|\__, |_| |_|\__|_| |_|\__,_| \_/\_/ |_|\_(_)
               |___/
    
    [email protected]:/$
    [email protected]:/$ mtd erase netgear
    /bin/ash: mtd: not found
    [email protected]:/$
    [email protected]:/$
     
  9. percy3

    percy3 Regular Contributor

    Joined:
    Sep 21, 2018
    Messages:
    115
    Sorry to hear that. I have R7800 and was sure mtd toolkit is available on R9000 as well. Try searching on the web for R9000 nvram erase.
    Also to doublecheck there is indeed no mtd you can run:
    find / -name mtd

     
    Last edited: Feb 19, 2019
    kamoj likes this.
  10. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67
  11. kamoj

    kamoj Very Senior Member

    Joined:
    May 12, 2017
    Messages:
    828
    Hi percy3, and thank you for your help and good suggestions!

    While trying to find out farenheit's issue I implemented your wish for WiFi device info.
    It will be in next version of the add-on!

    Example output:
    Code:
    Wed Feb 20 00:55:26 GMT 2019
    ###2.4G### 
    D-LINK CAMERA             192.168.0.124   00:11:22:33:44:55    70Mbps     -43dBm
    NEATGEAR Camera           192.168.0.106   01:11:22:33:44:55    70Mbps     -64dBm
    Zyxel Extender            192.168.0.112   02:11:22:33:44:55   292Mbps     -53dBm
     
    ###5G### 
    SAMSUNG-GALAXY-TAB        192.168.0.119   03:11:22:33:44:55   422Mbps     -46dBm
    LG-PHONE GSM              192.168.0.111   04:11:22:33:44:55   845Mbps     -43dBm
    
    ###2.4G Guest###
    Sony Xperia GSM           192.168.0.107   05:11:22:33:44:55   101Mbps     -44dBm
    
    What do you think?

     
    farenheit and percy3 like this.
  12. percy3

    percy3 Regular Contributor

    Joined:
    Sep 21, 2018
    Messages:
    115
    Last edited: Feb 20, 2019
    kamoj likes this.
  13. percy3

    percy3 Regular Contributor

    Joined:
    Sep 21, 2018
    Messages:
    115
    Looks great! The only info I can think of in addition is connection time but I guess that would be available only from DHCP lease and not necessary is going to provide info about last disconnection. So probably of not much use.

     
  14. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67
    I started from scratch with everything.
    Reset my isps modem, reset my router and also upgraded it to the latest fw.
    Restored my settings and installed the latest add-on. It's been a day now and all is working great. Fingers crossed.
    I still have the dnscrypt 2 enabled but not active, should I have this active or should I just disable it?
    Thx all for your support
     
    kamoj likes this.
  15. percy3

    percy3 Regular Contributor

    Joined:
    Sep 21, 2018
    Messages:
    115
    @kamoj I am still no sure about it but having quick look at log files it seams after upgrade of your add-on following error is being logged:
    kernel: [Warning] skb_warn_bad_offload!!!
    Could you check your syslog if you got the same?
     
    kamoj likes this.
  16. kamoj

    kamoj Very Senior Member

    Joined:
    May 12, 2017
    Messages:
    828
    Yes, I have them too.
    This error also exist without add-ons.
    I've seen it in since I started using my R7800.
    Sometimes there are more of these logs, sometimes less.
    Are you getting more of them when running OpenVPN with high load?

    I googled it long time ago, and as I remember the error is due o a bug in the kernel, corrected in kernel 4.x...

     
  17. kamoj

    kamoj Very Senior Member

    Joined:
    May 12, 2017
    Messages:
    828
    :):):):)
     
    farenheit likes this.
  18. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67
    Sad news.. last night the internet decided to drop off again :(
    log attached.
    Code:
    === IMPORTANT ============================
    [DHCP IP: 192.168.1.14][Device Name: PHILIPS-HUE] to MAC address XX:XX:XX:XX:XX
    :8c, Wednesday, February 20, 2019 22:16:31
    [DoS Attack: SYN/ACK Scan] from source: 54.38.193.154, port 80, Wednesday, Febr
    uary 20, 2019 23:04:26
    [DoS Attack: RST Scan] from source: 185.143.232.2, port 80, Wednesday, February
     20, 2019 23:08:18
    [DoS Attack: SYN/ACK Scan] from source: 37.10.125.33, port 7777, Wednesday, Feb
    ruary 20, 2019 23:13:03
    [DoS Attack: TCP/UDP Echo] from source: 94.102.49.190, port 27221, Thursday, Fe
    bruary 21, 2019 00:22:35
    [DoS Attack: TCP/UDP Echo] from source: 120.52.152.16, port 58914, Thursday, Fe
    bruary 21, 2019 01:23:45
    [DoS Attack: ACK Scan] from source: 213.240.249.114, port 61600, Thursday, Febr
    uary 21, 2019 01:29:44
    [DoS Attack: ACK Scan] from source: 213.240.249.114, port 61601, Thursday, Febr
    uary 21, 2019 01:29:44
    [DoS Attack: ICMP Scan] from source: 213.240.249.114, Thursday, February 21, 20
    19 01:29:48
    [Internet disconnected] Thursday, February 21, 2019 01:45:59
    [Internet connected] IP address: 192.168.100.20, Thursday, February 21, 2019 01
    :47:32
    [Internet connected] IP address: 192.168.100.20, Thursday, February 21, 2019 01
    :48:02
    ==================================
    ===============================
    [Internet connected] IP address: 8x.1X.5x.7, Thursday, February 21, 2019 01:48:
    33
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 01:48:37
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 01:51:51
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 01:55:49
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 01:57:12
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 01:59:48
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 02:03:13
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 02:03:46
    [DoS Attack: SYN/ACK Scan] from source: 149.28.232.38, port 80, Thursday, Febru
    ary 21, 2019 02:05:09
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 02:07:49
    [DHCP IP: 192.168.1.5][Device Name: WISERHEAT028A80] to MAC address XX:XX:XX:XX:XX:80, Thursday, February 21, 2019 02:15:50
     
    Last edited: Feb 21, 2019
  19. farenheit

    farenheit Regular Contributor

    Joined:
    Jul 11, 2018
    Messages:
    67

    Attached Files:

  20. kamoj

    kamoj Very Senior Member

    Joined:
    May 12, 2017
    Messages:
    828
    Enabled means that you have the service installed and ready to use.
    Just switch it on, by issuing these commands from the command prompt:
    Code:
    nvram set dnscrypt2=1
    nvram commit
    reboot
     
    farenheit likes this.