Physical -> Ethernet

This commit is contained in:
Joseph C. Lehner 2021-05-31 17:58:05 +02:00
parent 98d3a53ae8
commit dcedf37624
2 changed files with 4 additions and 5 deletions

View file

@ -60,10 +60,10 @@ First of all, turn *off* the router. Then start `nmrpflash` using the following
```
# nmrpflash -i eth2 -f EX2700-V1.0.1.8.img
Waiting for physical connection.
Waiting for Ethernet connection.
```
As soon as you see the `Waiting for physical connection.` message, turn the router *on*. If all went
As soon as you see the `Waiting for Ethernet connection.` message, turn the router *on*. If all went
well, `nmrpflash` will continue printing messages:
```
@ -71,8 +71,7 @@ Advertising NMRP server on eth2 ... /
Received configuration request from fe:ed:1b:ad:f0:0d
Sending configuration: 10.164.183.252/24
Received upload request: filename 'firmware'.
Uploading EX2700-V1.0.1.8.img ...
Upload successful.
Uploading EX2700-V1.0.1.8.img ... OK (3539077 b)
Waiting for remote to respond.
Received keep-alive request (11).
Remote finished. Closing connection.

2
nmrp.c
View file

@ -447,7 +447,7 @@ int nmrp_do(struct nmrpd_args *args)
sigh_orig = signal(SIGINT, sigh);
if (ethsock_is_unplugged(sock)) {
printf("Waiting for physical connection.\n");
printf("Waiting for Ethernet connection.\n");
bool unplugged = true;
time_t beg = time_monotonic();