diff --git a/vTunnel/README.md b/vTunnel/README.md index 9d73ea9..12ab692 100644 --- a/vTunnel/README.md +++ b/vTunnel/README.md @@ -49,11 +49,7 @@ This will create a virtual linked card component connected to server\_address:se #### Minitel configuration 1. Disable minitel with rc - `rc minitel disable` -1. Enable vtunnel with rc - `rc vtunnel enable` -2. Add the following to your ~/.shrc: +2. Enable vtunnel with rc - `rc vtunnel enable` +3. Enable minitel with rc - `rc minitel enable` -``` -rc minitel start > /dev/null -``` - -This will ensure that Minitel sees the virtual tunnel component created by vTunnel and routes packets via it. +This will ensure that Minitel starts later than vTunnel, allowing it to see the virtual tunnel component. diff --git a/vTunnel/bridge.lua b/vTunnel/bridge.lua index 9af2740..9424fb9 100644 --- a/vTunnel/bridge.lua +++ b/vTunnel/bridge.lua @@ -42,7 +42,7 @@ hasValidPacket("") function socketLoop() local server = socket.bind("*", port) - server:settimeout(0) + server:settimeout(0.01) print("vTunnel bridge server listening on port "..tostring(port)) while true do local client,err = server:accept()