sigra Tux's lil' helper
Joined: 03 Feb 2006 Posts: 137
|
Posted: Mon Sep 02, 2024 11:45 am Post subject: using atftp on NETGEAR Nighthawk RX500 |
|
|
Internet connection was lost after a power outage. (The DIAZED fuse was blown after a short circuit in an unused wall socket. The wall socket has been fixed and the fuse replaced. But the Internet connection did not come back.)
Replacing the new NETGEAR Nighthawk RX500 with an old router restored the Internet connection.
I read My XR500 lives! Step by Step total reset from brick and tried it without luck.
I prepared by turning off the wireless network on my laptop and connecting it to a LAN port on the router. Then I executed: Code: | ifconfig enp8s0 192.168.1.2 netmask 255.255.255.0 up |
The router's LED for the port blinked white for a while and then turned solid orange. Checking the laptop's network showed:
Code: |
# ifconfig
enp8s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255
ether 00:24:e8:ea:ad:d2 txqueuelen 1000 (Ethernet)
RX packets 2774960 bytes 2053534560 (1.9 GiB)
RX errors 0 dropped 111 overruns 0 frame 0
TX packets 1402361 bytes 245284763 (233.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 52961 bytes 4406888 (4.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 52961 bytes 4406888 (4.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
|
Gentoo has atftp and DD-WRT has an instruction how to use it:
Code: | # atftp --option "mode octet" --option "timeout 60" --verbose --trace -p -l XR500-V2.3.2.134.img 192.168.1.1
Option mode = octet
Option timeout = 60
Verbose mode on.
Trace mode on.
sent WRQ <file: XR500-V2.3.2.134.img, mode: octet <timeout: 60>>
timeout: retrying ...
sent WRQ <file: XR500-V2.3.2.134.img, mode: octet <timeout: 60>>
timeout: retrying ...
sent WRQ <file: XR500-V2.3.2.134.img, mode: octet <timeout: 60>>
timeout: retrying ...
sent WRQ <file: XR500-V2.3.2.134.img, mode: octet <timeout: 60>>
timeout: retrying ...
sent WRQ <file: XR500-V2.3.2.134.img, mode: octet <timeout: 60>>
timeout: retrying ...
sent WRQ <file: XR500-V2.3.2.134.img, mode: octet <timeout: 60>>
timeout: retrying ...
tftp: aborting |
While trying, the orange LED on the router blinked, so it saw the network activity. But it did not seem to respond to it. Maybe it did not think that its address was 192.168.1.1? Trying the atftp command with another number than 1 at the end showed the same blinking. Also pinging the address made the router blink, as did pinging with another number than 1 at the end. Can the correct address be confirmed?
Reset does not seem to have any effect.
Has Gentoo a package for NMRP (Netgear Management Remote Protocol)? |
|