Comments (14)
finally got something!
On which LAN port?
I tried playing with my network settings and managed to get further again, with the same error message.
Do you remember what you changed exaclty?
# sudo nmrpflash -i eth1 -f firmware.img
Always use -vv
for now.
Waiting for Ethernet connection (Ctrl-C to skip). Advertising NMRP server on eth1 ... - Received configuration request from c8:9e:43:e4:89:4f. Sending configuration: 10.164.183.253/24. Received upload request without filename. Uploading firmware.img ...
and then it just hangs while the router goes into its setup.
A Wireshark capture of this exchange would be incredibly useful!
from nmrpflash.
Thanks. I see two issues here:
-
While your router acknowledges the TFTP upload requests, these responses are not processed by
nmrpflash
. Is there a firewall running on Kali? You might have to disable that! -
The above issue should cause
nmrpflash
to print a timeout message. Can you try either version0.9.21
and0.9.20
?
from nmrpflash.
I knew I should've waited. Still not working but I got it to build on Kali.
from nmrpflash.
Also the homebrew installed binary needs sudo permissions [...]
Both binaries need sudo
permissions (i.e. root
). Did the linux binary (from the releases section) not print an error message when run without sudo
?
[...] but can't resolve the path to the binary and thus refuses to run.
Please show the exact error message.
following the directions with two different brand new routers I get either an "Error: Ethernet cable is unplugged" or if I ctrl-c past that
Have you tried different Ethernet ports?
from nmrpflash.
Thank you for the quick response! I'll switch over to the machine to cut and paste your error messages, but I'm able to sniff the connection with wireshark and maybe I'm just missing the window for Uboot? I can see the utility sending the advertisiments and then the netgear stack wake up and use the connection for its own sequence.
I have indeed tried different ethernet ports, same results.
And yes, both binaries needed root, that was my poor communication.
from nmrpflash.
A wireshark dump file of the session could be useful! Either attach it here, or send me an email!
from nmrpflash.
Your suggestion to try different ethernet ports was the right one, I thought you meant on the client device, not on the router. I did that, got to a failed upload and then netgear took over again.
Trying again I now get this error message.
Waiting for Ethernet connection (Ctrl-C to skip).
rtnl_addr_add: Unspecific failure
from nmrpflash.
Your suggestion to try different ethernet ports was the right one
Which Ethernet port(s) worked, and which didn't?
I did that, got to a failed upload and then netgear took over again.
What was the exact output of nmrpflash
? Please re-run with -vv
, and always post the full output of the commands you ran.
from nmrpflash.
Brand new router, the internet port (the blue one)
Command:
sudo nmrpflash -i eth0 -f openwrt-23.05.0-ramips-mt76x8-netgear_r6080-squashfs-factory.img -vv
Temporarily disabling NetworkManager on interface.
Waiting for Ethernet connection (Ctrl-C to skip).
Error: Ethernet cable is unplugged.
Nothing captured by wireshark
from nmrpflash.
Same message on the other port, i.e. LAN port #1
from nmrpflash.
finally got something!
I tried playing with my network settings and managed to get further again, with the same error message.
# sudo nmrpflash -i eth1 -f firmware.img
Waiting for Ethernet connection (Ctrl-C to skip).
Advertising NMRP server on eth1 ... -
Received configuration request from c8:9e:43:e4:89:4f.
Sending configuration: 10.164.183.253/24.
Received upload request without filename.
Uploading firmware.img ...
and then it just hangs while the router goes into its setup.
from nmrpflash.
I've sent you an email with wireshark captures of two sessions, both reproducing the behavior. Thank you so much for taking the time to look into this.
from nmrpflash.
I'll have a look at both of these suggestions this week and update accordingly. Thank you for taking so much time, it is sincerely appreciated.
from nmrpflash.
Update time! I removed the most recent version of nmrpflash, built and installed the 0.9.20 version, which worked! On the first try too. I used LAN port # 1 on the router, no problems. Also openwrt has a note on this devices page to say that the filesystem might not be up, but it was. Fully ready to go after the flashing. Thank you again for taking the time to investigate this. I am happy to do some follow up testing with the other devices, checking log files or a BPF based tool on the most recent version to see why it in particular is giving users a hardtime on this specific device. I'll send along any thing that might look interesting.
from nmrpflash.
Related Issues (20)
- What commands are available with the -c option? HOT 2
- Windows instructions not working? HOT 2
- No suitable interfaces found. HOT 8
- Error when attempting to flash MS70 satellite HOT 1
- Problems running on Windows HOT 1
- RBS20 solid amber light HOT 1
- Netgear R7000 doesnt respond after receiving the firmware HOT 9
- RBR750 - TFTP block rollover. Upload might fail! HOT 18
- Timeout waiting for Netgear Orbi flash to complete HOT 16
- Power light stay amber color HOT 1
- Timeout waiting for ACK on RBR40 HOT 2
- procedure entry point pcap_inject could not be loaded in DLL nmrpflash.exe HOT 1
- procedure entry point pcap_set_immediate_mode could not be located... HOT 4
- Netgear 8000 in a reboot loop HOT 1
- R8000 - Timeout while waiting for ACK(1) HOT 19
- Unbrick orbi HOT 1
- "Ethernet cable is unplugged" HOT 3
- R6800 transfert OK but solid amber and routeur doesn't ping HOT 6
- Orbi RBK753, i just want to change region code, HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmrpflash.