-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Hi,
I test this script with 4 raspberry Pi 2 and only a switch (no router)
I auto run the script at boot with PM2
The script with this method "speech" on random IP
- one time on static ip of eth0 (example 192.168.1.101)
- one other time on static ip of wlan0 (192.168.2.101) running to control the "node" over raspberry Wifi AP
- one time over Zero conf IP (169.254.x.x)
This way some time I have 2 or 3 PI synchronized. Connecting to a router I have full sync over 4 PI after restarting node script.
So over http://player.local I get 4 raspberry that doesn't view each other on the same network or ip range
Same behaviour without Wifi (zero conf and other on static IP) and disabling avahi (zeroconf) disable too mdns so players.local can't be reached anymore and script doesn't synchronise at all
Is there a solution to force the communication on a specific network interface and to force to use a specific ip range (Zeroconf is the best way but i don't know if broacast adress is available this way so static IP can be a config waste of time but with previsible result) ?
I have tried to force the braodcast adress to static range (192.168.1.255) and to zero conf range (169.254.x.255) in config file of the node script without success !
Is PI time need to be in sync with access to the net or a ntp server ? or is it video time code based ?
Many thanks,
Diego