jclehner / nmrpflash

Netgear Unbrick Utility
GNU General Public License v3.0
818 stars 116 forks source link

Received configuration request from 00:00:00:00:00:00 #151

Open maddoglee opened 1 week ago

maddoglee commented 1 week ago

Hi, I'm trying to flash an RBR50 ( with USB port so i assume v1) but the mac is cleared it seems. I keep getting this no matter what, "Timeout while waiting for ACK(0)/OACK" I've tried 10.0.0.1, 2 for Ips as well. The mac address I used with the -m command was randomly generated I'm sure I'm doing something stupid... I've also done the following:

% sudo nmrpflash -i en8 -B -f RBR50-V9.2.5.2.34SF-HW.img -m 00:25:96:12:34:56 -a 192.168.1.1 -A 192.168.1.10 -vvv
Waiting for Ethernet connection (Ctrl-C to skip).
Adding 192.168.1.10 to interface en8.
Advertising NMRP server on en8 ... |
Received configuration request from 00:00:00:00:00:00.
Sending configuration: 192.168.1.1/24.
Received upload request: filename 'firmware'.
Using remote filename 'firmware'.
Uploading RBR50-V9.2.5.2.34SF-HW.img ... << WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
<< WRQ(firmware, octet)
Timeout while waiting for ACK(0)/OACK.
 % 
jclehner commented 6 days ago

The mac address I used with the -m command was randomly generated

-m doesn't make sense with anything but the actual MAC address of the device.

Please try running the following commands, and post their output:

% arp -a
% sudo nmrpflash -i en8 -vv -f RBR50-V9.2.5.2.34SF-HW.img -m <MAC FROM LABEL> -c 'arp -a'
% sudo nmrpflash -i en8 -vv -f RBR50-V9.2.5.2.34SF-HW.img -c 'arp -a'
% arp -a
maddoglee commented 3 hours ago

Hi,

Sorry for the late reply, I've been on holiday. I tried the commands without success. I didn't realise the MAC address was on the label initially, but I had tried it before your reply. Here is the output.

% arp -a

% sudo nmrpflash -i en8 -vv -f RBR50-V9.2.5.2.34SF-HW.img -m 14:59:C0:4D:C3:27 -c 'arp -a'
Waiting for Ethernet connection (Ctrl-C to skip).
Adding 10.164.183.252 to interface en8.
Advertising NMRP server on en8 ... \
Received configuration request from 00:00:00:00:00:00.
Sending configuration: 10.164.183.253/24.
Received upload request: filename 'firmware'.
Executing 'arp -a' ... 
? (10.164.183.253) at 0:0:0:0:0:0 on en8 permanent [ethernet]
Using remote filename 'firmware'.
Uploading RBR50-V9.2.5.2.34SF-HW.img ... Timeout while waiting for ACK(0)/OACK.

% sudo nmrpflash -i en8 -vv -f RBR50-V9.2.5.2.34SF-HW.img -c 'arp -a'                     
Waiting for Ethernet connection (Ctrl-C to skip).
Adding 10.164.183.252 to interface en8.
Advertising NMRP server on en8 ... -
Received configuration request from 00:00:00:00:00:00.
Sending configuration: 10.164.183.253/24.
Received upload request: filename 'firmware'.
Executing 'arp -a' ... 
? (10.164.183.253) at 0:0:0:0:0:0 on en8 permanent [ethernet]
Using remote filename 'firmware'.
Uploading RBR50-V9.2.5.2.34SF-HW.img ... Timeout while waiting for ACK(0)/OACK.

% arp -a
? (10.0.0.1) at (incomplete) on en8 ifscope [ethernet]
? (10.0.255.255) at ff:ff:ff:ff:ff:ff on en8 ifscope [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en8 ifscope permanent [ethernet]
% 

I've also tried another old Macbook that is running High Sierra and has a built-in ethernet port. I get the same Timeout :( so it doesn't seem to be the USB-C hub or firewall. I've turned off the firewalls on both computers.

jclehner commented 40 minutes ago

Does the following command work?

% sudo nmrpflash -i en8 -vv -f RBR50-V9.2.5.2.34SF-HW.img -c 'arp -d $IP; arp -s $IP 14:59:C0:4D:C3:27`
maddoglee commented 4 minutes ago

it didn't work....

% sudo nmrpflash -i en8 -vv -f RBR50-V9.2.5.2.34SF-HW.img -c 'arp -d $IP; arp -s $IP 14:59:C0:4D:C3:27'
Waiting for Ethernet connection (Ctrl-C to skip).
Adding 10.164.183.252 to interface en8.
Advertising NMRP server on en8 ... |
Received configuration request from 00:00:00:00:00:00.
Sending configuration: 10.164.183.253/24.
Received upload request: filename 'firmware'.
Executing 'arp -d $IP; arp -s $IP 14:59:C0:4D:C3:27' ... 
10.164.183.253 (10.164.183.253) deleted
Using remote filename 'firmware'.
Uploading RBR50-V9.2.5.2.34SF-HW.img ... Timeout while waiting for ACK(0)/OACK.
%