From 4faff02c97188e2569697820c28b96baede3cdb0 Mon Sep 17 00:00:00 2001 From: lucus lee Date: Mon, 26 Dec 2016 14:49:16 +0900 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 575263f..291720a 100644 --- a/README.md +++ b/README.md @@ -182,18 +182,19 @@ func main() { } ``` -Same as Linux version, but you don't need to bring up the device by hand, the only thing you need is to assign an IP address to it. You will need admin right to assign IP. +Same as Linux version, but you don't need to bring up the device by hand, the only thing you need is to assign an IP address to it. ```dos go run main.go ``` -If will output a lot of lines because of some windows services and dhcp. +It will output a lot of lines because of some windows services and dhcp. +You will need admin right to assign IP. In a new cmd (admin right): ```dos -# Replace with your device name +# Replace with your device name, it can be achieved by ifce.Name(). netsh interface ip set address name="Ehternet 2" source=static addr=10.1.0.10 mask=255.255.255.0 gateway=none ```