Skip to content

Commit 3023f2f

Browse files
Added note about bad ARP entries
When trying to connect to buildslave from dev machine, I experienced issues with bad entries in the ARP cache. Added a note on how I fixed it. Not sure if it was due to an ARP cache bug or a lingering ghost VM. Hence, I added the note to the end of the README.md to not make two much noice. Co-authored-by: Craig Comstock <craig.comstock@northern.tech> Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent f14144f commit 3023f2f

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,8 @@ Type logout or simply press `CTRL + D` to return to the dev machine:
288288
logout
289289
```
290290

291+
**Didn't work?** Check out [Troubleshooting](#troubleshooting)
292+
291293
From the dev machine, execute the build-remote script:
292294

293295
```
@@ -492,3 +494,23 @@ the `synced_folder` lines. So something like this:
492494
- config.vm.synced_folder ".", "/vagrant",
493495
+ config.vm.synced_folder ".", "/vagrant", type: "rsync",
494496
```
497+
498+
## Troubleshooting
499+
500+
### ssh: connect to host 192.168.56.100 port 22: Protocol not available
501+
502+
If you get the following error when trying to ssh into the buildslave from the dev machine:
503+
504+
```
505+
ssh: connect to host 192.168.56.100 port 22: Protocol not available
506+
```
507+
508+
Then I experienced the same issue. Not sure if it was an ARP cache bug or a lingering ghost VM.
509+
Nevertheless, when I tried to connect, I saw that the ARP cache was updated with a different MAC address then that of the buildslave.
510+
However, by doing the reverse connection. E.g. (run this command from your host machine):
511+
512+
```
513+
vagrant ssh buildslave -c "ping -c1 192.168.56.10"
514+
```
515+
516+
I was able to repopulate the ARP cache with the correct MAC address.

0 commit comments

Comments
 (0)