Closed Lazzaretti closed 6 years ago
docker0
is not the interface to use. I think you want hvint0
Same error with hvint0
:
>docker exec scanner sh -c "find3-cli-scanner -i hvint0 -device laptop -family mytest -server http://localhost:11883 -scantime 1 -debug"
2018-04-09 06:24:38 [INFO] main.go main:76 scanning with hvint0
2018-04-09 06:24:38 [DEBUG] utils.go RunCommand:14 /sbin/iw dev hvint0 scan -u
2018-04-09 06:24:38 [ERROR] utils.go RunCommand:40 exit status 1: /sbin/iw dev hvint0 scan -u
2018-04-09 06:24:38 [DEBUG] main.go basicCapture:162 {
"t": 1523255078668,
"f": "mytest",
"d": "laptop",
"s": {
"wifi": {}
},
"gps": {}
}
2018-04-09 06:24:38 [DEBUG] server-main.go postData:47 posting data
2018-04-09 06:24:38 [ERROR] main.go basicCapture:164 Post http://localhost:11883/data: EOF
What about the other interfaces?
I get the same error with all listed interfaces
Hm, I'm not sure then. I haven't tested with Docker on Windows, we'll have to wait for someone else to try.
It should now work natively on Windows
I started the container with the command:
docker run --net="host" --privileged --name scanner -d -i -t schollz/find3-cli-scanner
The interfaces of the container:
They don't look like WiFi adapters to me... But I tried to use all of them like this:
How could I use the scanner with Docker for Windows?