From dcedf376240a2291c16a0f72f09336c6266e168d Mon Sep 17 00:00:00 2001 From: "Joseph C. Lehner" Date: Mon, 31 May 2021 17:58:05 +0200 Subject: [PATCH] Physical -> Ethernet --- README.md | 7 +++---- nmrp.c | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 96b885d..154681e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/nmrp.c b/nmrp.c index 5263229..29eed8b 100644 --- a/nmrp.c +++ b/nmrp.c @@ -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();