[Installation Linux](_docs/INSTALL_ON_LINUX.md [Installation Windows]_docs/INSTALL_ON_WINDOWS.md
- Download and install last stable version of node js for windows :
https://nodejs.org/en/download - Git clone or download the application zip and extract it
https://github.com/dap7z/lanSuperv/archive/refs/heads/master.zip - Setup node-gyp requirements (for WebRTC and native modules)
Node.js 24 LTS is required
- Install dependencies with the command: "npm install"
- Build assets with the command: "npm run dev"
- Copy "config.js.sample" to "config.js" and edit the file
- Launch application with the command: "npm start" 7.1) If you want, docker can help you to run 2 instance on virtual network ;)
docker-compose build
docker compose up -d
docker compose logs --tail=50
You have to validate all theses things : In the bios, option nammed "WOL" or "WakeOnLan" or "PCI-E Wake" is enabled In the OS, properties of the ethernet card, power management : UNCHECK allow the computer to turn off this device to save energy. CHECK allow this device to wake the computer from sleep mode. CHECK only allow a magic packet to wake the computer from sleep mode (On french windows : Panneau de configuration\Réseau et Internet\Connexions réseau, clic droit sur connexion Ethernet, Proprietes, Configurer..., Gestion de l'alimentation)
By default computer responds to PING but not on windows 11, even in a private network, you might have to allow it explicitly in the firewall with theses command for ipv4 and ipv6 : netsh advfirewall firewall add rule name="ICMP Allow incoming V4 echo request" protocol=icmpv4:8,any dir=in action=allow netsh advfirewall firewall add rule name="ICMPv6 Allow" protocol=icmpv6:8,any dir=in action=allow
User loads the web page.
- This triggers a Quick Scan (lanScanner.startQuickScan()): This iterates over previously known devices (G.VISIBLE_COMPUTERS). For each device, check current status (Ping, HTTP, TCP Socket with onePcScan function).
- Then triggers a Full network Scan (lanScanner.startBroadcastScan()): It scans the entire IP range to discover new devices with ARP request. Finally, onePcScans are triggered for newly found devices (EVENT_DEVICE_INFOS)
