Physical -> Ethernet
This commit is contained in:
parent
98d3a53ae8
commit
dcedf37624
2 changed files with 4 additions and 5 deletions
|
@ -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
|
# 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:
|
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
|
Received configuration request from fe:ed:1b:ad:f0:0d
|
||||||
Sending configuration: 10.164.183.252/24
|
Sending configuration: 10.164.183.252/24
|
||||||
Received upload request: filename 'firmware'.
|
Received upload request: filename 'firmware'.
|
||||||
Uploading EX2700-V1.0.1.8.img ...
|
Uploading EX2700-V1.0.1.8.img ... OK (3539077 b)
|
||||||
Upload successful.
|
|
||||||
Waiting for remote to respond.
|
Waiting for remote to respond.
|
||||||
Received keep-alive request (11).
|
Received keep-alive request (11).
|
||||||
Remote finished. Closing connection.
|
Remote finished. Closing connection.
|
||||||
|
|
2
nmrp.c
2
nmrp.c
|
@ -447,7 +447,7 @@ int nmrp_do(struct nmrpd_args *args)
|
||||||
sigh_orig = signal(SIGINT, sigh);
|
sigh_orig = signal(SIGINT, sigh);
|
||||||
|
|
||||||
if (ethsock_is_unplugged(sock)) {
|
if (ethsock_is_unplugged(sock)) {
|
||||||
printf("Waiting for physical connection.\n");
|
printf("Waiting for Ethernet connection.\n");
|
||||||
|
|
||||||
bool unplugged = true;
|
bool unplugged = true;
|
||||||
time_t beg = time_monotonic();
|
time_t beg = time_monotonic();
|
||||||
|
|
Loading…
Add table
Reference in a new issue