OpenLightingProject / ola

The Open Lighting Architecture - The Travel Adaptor for the Lighting Industry
https://www.openlighting.org/ola/
Other
644 stars 204 forks source link

mutlicast being sent to wifi interface #133

Closed ola-importer closed 10 years ago

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 12, 2010 14:55:49

Using a OS X install - patching a E1.31 port and sending it data will send multicast data over the wifi interface EN1 and not EN0.

Workaround is to turn off wifi, the packets are sent out over EN0

Original issue: http://code.google.com/p/open-lighting/issues/detail?id=132

ola-importer commented 10 years ago

From si...@nomis52.net on November 12, 2010 15:29:02

Fix went in this morning, waiting on verification.

Status: Blocked

ola-importer commented 10 years ago

From si...@nomis52.net on November 23, 2010 21:55:24

Did this get sorted out?

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 28, 2010 15:14:59

So I finally got time to try to verify this - and the issue remains unresolved. Setting the IP = setting in the conf file to either the IP address for en0, or to "en0" did not cause E1.31 traffic to go over that interface, would continue to go out over en1/wifi. If the radio was powered off, then traffic would go over en0 until the airport was powered up again. This was tested with a pretty clean machine, with a build from source of:

commit 1152019b06c0a27900860d61122748a84f606925 Author: Simon Newton simonn@simonn-macbookpro.local Date: Sun Nov 28 08:35:36 2010 -0800

Attached below are the outputs for ifconfig and netstat:

lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 inet 127.0.0.1 netmask 0xff000000 gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 stf0: flags=0<> mtu 1280 en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:25:bc:e2:fe:68 inet6 fe80::225:bcff:fee2:fe68%en0 prefixlen 64 scopeid 0x4 inet 10.10.10.5 netmask 0xffffff00 broadcast 10.10.10.255 media: autoselect (100baseTX <full-duplex,flow-control>) status: active fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078 lladdr 00:25:bc:ff:fe:e2:fe:68 media: autoselect status: inactive en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 00:25:4b:99:24:8d inet6 fe80::225:4bff:fe99:248d%en1 prefixlen 64 scopeid 0x6 inet 192.168.1.106 netmask 0xffffff00 broadcast 192.168.1.255 media: autoselect status: active Routing tables

Internet: Destination Gateway Flags Refs Use Netif Expire default wrt54g UGSc 13 0 en1 default link#4 UCSI 0 0 en0 10.10.10/24 link#4 UCS 1 0 en0 10.10.10.5 localhost UHS 0 0 lo0 127 localhost UCS 0 0 lo0 localhost localhost UH 0 5082 lo0 169.254 link#4 UCS 0 0 en0 192.168.1 link#6 UCS 6 0 en1 wrt54g 0:14:bf:3f:3e:26 UHLWI 5 16 en1 1172 erie localhost UHS 0 0 lo0

Internet6: Destination Gateway Flags Netif Expire localhost localhost UH lo0 fe80::%lo0 localhost Uc lo0 localhost link#1 UHL lo0 fe80::%en0 link#4 UC en0 erie.local 0:25:bc:e2:fe:68 UHL lo0 fe80::%en1 link#6 UC en1 fe80::223:6cff:fe8 0:23:6c:83:3e:8b UHLW en1 erie.local 0:25:4b:99:24:8d UHL lo0 ff01:: localhost Um lo0 ff02:: localhost UmC lo0 ff02:: link#4 UmC en0 ff02:: link#6 UmC en1

ola-importer commented 10 years ago

From si...@nomis52.net on November 28, 2010 15:24:46

Please pull from the repo again and send me the output of

olad -l4

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 28, 2010 18:32:20

pulled commit 3eed6ac6fb57aab9ec5f29a35c421fea85d39f29

output from olad -l4

the IP on en0 is 10.10.10.5 - not sure where the 192.168.2 part is coming from, the en1 IP was: 192.168.1.106


PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) OlaServer.cpp:209: Server UID is 7a70:0102a8c0 PluginManager.cpp:74: Trying to start ArtNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:6454 DeviceManager.cpp:110: Installed device: ArtNet [192.168.2.1]:2-1 PluginManager.cpp:78: Started ArtNet Preferences.cpp:302: Missing ola-dummy.conf: No such file or directory - this isn't an error, we'll just use the defaults PluginManager.cpp:74: Trying to start Dummy DeviceManager.cpp:110: Installed device: Dummy Device:1-1 PluginManager.cpp:78: Started Dummy PluginManager.cpp:74: Trying to start E1.31 (sACN) PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet NetworkUtils.cpp:59: Could not convert address en0 InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:5568 DeviceManager.cpp:110: Installed device: E1.31 (DMX over ACN) [192.168.2.1]:11-1 PortManager.cpp:149: Patched 11-1-O-0 to universe 1 PluginManager.cpp:78: Started E1.31 (sACN) PluginManager.cpp:74: Trying to start ESP Net PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:3333 DeviceManager.cpp:110: Installed device: ESP Net [192.168.2.1]:4-1 PluginManager.cpp:78: Started ESP Net PluginManager.cpp:74: Trying to start Enttec Open DMX OpenDmxPlugin.cpp:78: Could not open /dev/dmx0 No such file or directory PluginManager.cpp:78: Started Enttec Open DMX PluginManager.cpp:74: Trying to start SandNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:37895 Socket.cpp:396: Binding to 0.0.0.0:37900 DeviceManager.cpp:110: Installed device: SandNet [192.168.2.1]:7-1 PluginManager.cpp:78: Started SandNet PluginManager.cpp:74: Trying to start ShowNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:2501 DeviceManager.cpp:110: Installed device: ShowNet [192.168.2.1]:3-1 PluginManager.cpp:78: Started ShowNet PluginManager.cpp:74: Trying to start StageProfi StageProfiDevice.cpp:79: StageProfiPlugin: failed to connect to /dev/ttyUSB0 PluginManager.cpp:78: Started StageProfi PluginManager.cpp:74: Trying to start Enttec USB Pro Plug...

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 28, 2010 18:32:20

...inManager.cpp:78: Started Enttec USB Pro Preferences.cpp:302: Missing ola-usbdmx.conf: No such file or directory - this isn't an error, we'll just use the defaults PluginManager.cpp:74: Trying to start USB PluginManager.cpp:78: Started USB PluginManager.cpp:74: Trying to start Pathport PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:3792 DeviceManager.cpp:110: Installed device: Pathport [192.168.2.1]:9-1 PluginManager.cpp:78: Started Pathport Socket.cpp:68: Failed to disable SIGPIPE on 17: Socket operation on non-socket HttpServer.cpp:517: Adding 18 as a new socket SelectServer.cpp:367: ss process time was 0.000000 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000227 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000036 SelectServer.cpp:367: ss process time was 0.000240 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000098 SelectServer.cpp:367: ss process time was 0.000023 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000145 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000022 SelectServer.cpp:367: ss process time was 0.000123 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000026 SelectServer.cpp:367: ss process time was 0.000155 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000147 SelectServer.cpp:367: ss process time was 0.000031 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000154 HttpServer.cpp:435: Notifying HTTP server thread to stop HttpServer.cpp:437: Waiting for HTTP server thread to exit HttpServer.cpp:439: HTTP server thread exited

ola-importer commented 10 years ago

From si...@nomis52.net on November 28, 2010 19:39:03

Update and send me the same output one more time please.

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 28, 2010 20:13:32

from b15337ea137511cb9401d0a62c8f3e94823de83d

PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 192.168.2.1, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) OlaServer.cpp:209: Server UID is 7a70:0102a8c0 PluginManager.cpp:74: Trying to start ArtNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 192.168.2.1, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:6454 DeviceManager.cpp:110: Installed device: ArtNet [192.168.2.1]:2-1 PluginManager.cpp:78: Started ArtNet Preferences.cpp:302: Missing ola-dummy.conf: No such file or directory - this isn't an error, we'll just use the defaults PluginManager.cpp:74: Trying to start Dummy DeviceManager.cpp:110: Installed device: Dummy Device:1-1 PluginManager.cpp:78: Started Dummy PluginManager.cpp:74: Trying to start E1.31 (sACN) PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 192.168.2.1, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) Socket.cpp:396: Binding to 0.0.0.0:5568 DeviceManager.cpp:110: Installed device: E1.31 (DMX over ACN) [10.10.10.5]:11-1 PortManager.cpp:149: Patched 11-1-O-0 to universe 1 PluginManager.cpp:78: Started E1.31 (sACN) PluginManager.cpp:74: Trying to start ESP Net PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 192.168.2.1, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:3333 DeviceManager.cpp:110: Installed device: ESP Net [192.168.2.1]:4-1 PluginManager.cpp:78: Started ESP Net PluginManager.cpp:74: Trying to start Enttec Open DMX OpenDmxPlugin.cpp:78: Could not open /dev/dmx0 No such file or directory PluginManager.cpp:78: Started Enttec Open DMX PluginManager.cpp:74: Trying to start SandNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 192.168.2.1, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:37895 Socket.cpp:396: Binding to 0.0.0.0:37900 DeviceManager.cpp:110: Installed device: SandNet [192.168.2.1]:7-1 PluginManager.cpp:78: Started SandNet PluginManager.cpp:74: Trying to start ShowNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 192.168.2.1, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:2501 DeviceManager.cpp:110: Installed device: ShowNet [192.168.2.1]:3-1 PluginManager.cpp:78: St...

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 28, 2010 20:13:32

...arted ShowNet PluginManager.cpp:74: Trying to start StageProfi StageProfiDevice.cpp:79: StageProfiPlugin: failed to connect to /dev/ttyUSB0 PluginManager.cpp:78: Started StageProfi PluginManager.cpp:74: Trying to start Enttec USB Pro PluginManager.cpp:78: Started Enttec USB Pro Preferences.cpp:302: Missing ola-usbdmx.conf: No such file or directory - this isn't an error, we'll just use the defaults PluginManager.cpp:74: Trying to start USB PluginManager.cpp:78: Started USB PluginManager.cpp:74: Trying to start Pathport PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 192.168.2.1, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet InterfacePicker.cpp:121: Using interface en0 (192.168.2.1) Socket.cpp:396: Binding to 0.0.0.0:3792 DeviceManager.cpp:110: Installed device: Pathport [192.168.2.1]:9-1 PluginManager.cpp:78: Started Pathport Socket.cpp:68: Failed to disable SIGPIPE on 17: Socket operation on non-socket HttpServer.cpp:517: Adding 18 as a new socket SelectServer.cpp:367: ss process time was 0.000000 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000213 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000036 SelectServer.cpp:367: ss process time was 0.000239 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000094 SelectServer.cpp:367: ss process time was 0.000022 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000147 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000090 SelectServer.cpp:367: ss process time was 0.000022 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000024 SelectServer.cpp:367: ss process time was 0.000153 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000142 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000025 SelectServer.cpp:367: ss process time was 0.000157 PathportDevice.cpp:143: Sending pathport arp reply SelectServer.cpp:367: ss process time was 0.000173 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000027 SelectServer.cpp:367: ss process time was 0.000112 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000143 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000026 SelectServer.cpp:367: ss process time was 0.000160 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000024 SelectServer.cpp:367: ss process time was 0.000167 SelectServer.cpp:367: ss process time was 0.000011 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000143 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000022 SelectServer.cpp:367: ss process time was 0.000087 HttpServer.cpp:435: Notifying HTTP server thread to stop HttpServer.cpp:437: Waiting for HTTP server thread to exit HttpServer.cpp:439: HTTP server thread exited

ola-importer commented 10 years ago

From si...@nomis52.net on November 28, 2010 22:58:19

This is really weird. The information OLA gets back from the kernel doesn't match what ifconfig reports.

Can you answer / do the following:

That said, if you put in 'ip = 10.10.10.5' in the config file it should do the right thing. If it doesn't please send me another run of olad -l4.

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 29, 2010 20:46:14

OK, the 192.168.2.1 had me head scratching - but sorted it out. I had enabled internet sharing, with the hope that I might be able to "bridge" the multicast traffic from the wifi to the en0 from my dev maching. This sets up its own router on the machine at that IP. But really that is of no consequence, as the problem persists after disabling that service. This is with the following in ~/.ola/ola-e131.conf

cid = DCCFA23D-64D7-4B01-AF34-9396F3F61278 dscp = 0 ignore_preview = true ip = 10.10.10.5 prepend_hostname = true revision = 0.46

if also tried en0 both quoted and unquoted

Erie:~ admin$ olad -l4 PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en1, 192.168.1.106, 00:25:4b:99:24:8d InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) OlaServer.cpp:209: Server UID is 7a70:050a0a0a PluginManager.cpp:74: Trying to start ArtNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en1, 192.168.1.106, 00:25:4b:99:24:8d InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) Socket.cpp:396: Binding to 0.0.0.0:6454 DeviceManager.cpp:110: Installed device: ArtNet [10.10.10.5]:2-1 PluginManager.cpp:78: Started ArtNet Preferences.cpp:302: Missing ola-dummy.conf: No such file or directory - this isn't an error, we'll just use the defaults PluginManager.cpp:74: Trying to start Dummy DeviceManager.cpp:110: Installed device: Dummy Device:1-1 PluginManager.cpp:78: Started Dummy PluginManager.cpp:74: Trying to start E1.31 (sACN) PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en1, 192.168.1.106, 00:25:4b:99:24:8d InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) Socket.cpp:396: Binding to 0.0.0.0:5568 DeviceManager.cpp:110: Installed device: E1.31 (DMX over ACN) [10.10.10.5]:11-1 PortManager.cpp:149: Patched 11-1-O-0 to universe 1 PluginManager.cpp:78: Started E1.31 (sACN) PluginManager.cpp:74: Trying to start ESP Net PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en1, 192.168.1.106, 00:25:4b:99:24:8d InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) Socket.cpp:396: Binding to 0.0.0.0:3333 DeviceManager.cpp:110: Installed device: ESP Net [10.10.10.5]:4-1 PluginManager.cpp:78: Started ESP Net PluginManager.cpp:74: Trying to start Enttec Open DMX OpenDmxPlugin.cpp:78: Could not open /dev/dmx0 No such file or directory PluginManager.cpp:78: Started Enttec Open DMX PluginManager.cpp:74: Trying to start SandNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en1, 192.168.1.106, 00:25:4b:99:24:8d InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) Socket.cpp:396: Binding to 0.0.0.0:37895 Socket.cpp:396: Binding to 0.0.0.0:37900 DeviceManager.cpp:110: Installed device: SandNet [10.10.10.5]:7-1 PluginManager.cpp:78: Started SandNet PluginManager.cpp:74: Trying to start ShowNet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skippin...

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 29, 2010 20:46:14

...g lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en1, 192.168.1.106, 00:25:4b:99:24:8d InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) Socket.cpp:396: Binding to 0.0.0.0:2501 DeviceManager.cpp:110: Installed device: ShowNet [10.10.10.5]:3-1 PluginManager.cpp:78: Started ShowNet PluginManager.cpp:74: Trying to start StageProfi StageProfiDevice.cpp:79: StageProfiPlugin: failed to connect to /dev/ttyUSB0 PluginManager.cpp:78: Started StageProfi PluginManager.cpp:74: Trying to start Enttec USB Pro PluginManager.cpp:78: Started Enttec USB Pro Preferences.cpp:302: Missing ola-usbdmx.conf: No such file or directory - this isn't an error, we'll just use the defaults PluginManager.cpp:74: Trying to start USB PluginManager.cpp:78: Started USB PluginManager.cpp:74: Trying to start Pathport PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping lo0 because it's not af_inet PosixInterfacePicker.cpp:139: skipping lo0 because it's a loopback PosixInterfacePicker.cpp:121: skipping gif0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping stf0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en0 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en0, 10.10.10.5, 00:25:bc:e2:fe:68 PosixInterfacePicker.cpp:121: skipping fw0 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:121: skipping en1 because it's not af_inet PosixInterfacePicker.cpp:190: Found: en1, 192.168.1.106, 00:25:4b:99:24:8d InterfacePicker.cpp:121: Using interface en0 (10.10.10.5) Socket.cpp:396: Binding to 0.0.0.0:3792 DeviceManager.cpp:110: Installed device: Pathport [10.10.10.5]:9-1 PluginManager.cpp:78: Started Pathport Socket.cpp:68: Failed to disable SIGPIPE on 17: Socket operation on non-socket SelectServer.cpp:367: ss process time was 0.000001 HttpServer.cpp:517: Adding 18 as a new socket SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000331 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000063 SelectServer.cpp:367: ss process time was 0.000025 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000072 SelectServer.cpp:367: ss process time was 0.000023 SandNetDevice.cpp:147: Sending Sandnet advertisement SelectServer.cpp:367: ss process time was 0.000135 OlaServer.cpp:336: Garbage collecting SelectServer.cpp:367: ss process time was 0.000024 SelectServer.cpp:367: ss process time was 0.000245 ^CHttpServer.cpp:435: Notifying HTTP server thread to stop HttpServer.cpp:437: Waiting for HTTP server thread to exit HttpServer.cpp:439: HTTP server thread exited

ola-importer commented 10 years ago

From si...@nomis52.net on November 29, 2010 23:20:03

Ok, that explains part of the mystery (but not the important part). If you use the interface name in the config file it should be unquoted.

InterfacePicker.cpp:121: Using interface en0 (10.10.10.5)

^^That means that OLA is picking the right interface to use, the question is why aren't the packets sent out the right interface.

Can you experiment with ping -I en0 <E1.31 multicast address> and see which interface that uses?

Also when you dump the packets in wireshark, what SRC IP do they have?

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 30, 2010 21:45:23

seems ping -I isn't working any magic for either interface:

element:~ preston$ ping -I en0 239.255.0.1 ping: invalid multicast interface: en0' element:~ preston$ ping -I en1 239.255.0.1 ping: invalid multicast interface:en1'

When working with wireshark:

When airport is on and airport is traced - it shows src IP as en1 IP When off and en0 is traced - it shows src as en0 IP

When I plug into a switch - with airport on, and trace en0 - it shows multicast traffic, but src IP is still en1 IP

For lack of a better technical view - it just seems the en1 interface is very greedy.

-Preston

ola-importer commented 10 years ago

From si...@nomis52.net on November 30, 2010 22:24:58

When I plug into a switch - with airport on, and trace en0 - it shows multicast traffic, but src IP is still en1 IP

Just so I've got this correct. With both en0 and en1 up, when you try to send multicast traffic using OLA you see it exiting en0 with a src IP of the en1 interface?

ola-importer commented 10 years ago

From prestonh...@gmail.com on November 30, 2010 22:48:06

No, when I have my machine plugged into my wifi/router ethernet port - and I have both en0 and en1 active (but with OLA config to use en0 via IP setting of 10.10.10.5) I see multicast traffic recorded on en0 with wireshark, but the src IP is the one bound to en1. Basically just saying that I'm seeing the multicast traffic come back to me, and is being broadcast by the wifi-router ( a basic linksys).

-Preston

ola-importer commented 10 years ago

From si...@nomis52.net on November 30, 2010 22:54:12

Oh so you have en0 cabled into the router, and en1 connected to the same router? That should work but I could understand if it caused weird problems. Do you have a switch that you can plug into instead of the router?

ola-importer commented 10 years ago

From si...@nomis52.net on November 30, 2010 23:16:29

Ok, I'm managed to reproduce this at home. I tried a couple of scenarios:

en0 (192.168.1.100) & en1 (192.168.1.200) both connected to the router. With this setup the packets exited the correct interface.

en0 (10.0.0.60) and en1 (192.168.1.200) both connected to the router. The packets exited en1 even when the OLA interface was set to en0

en0 (10.0.0.60) and en1 (192.168.1.200) both connected to the router. Using ping -I 10.0.0.60 239.255.0.1 shows the packets exiting the correct interface.

ola-importer commented 10 years ago

From si...@nomis52.net on November 30, 2010 23:33:47

Ok, I think I've really fixed it this time. I've tested it and it picks the right interface to egress E1.31 traffic on.

ola-importer commented 10 years ago

From prestonh...@gmail.com on December 01, 2010 08:46:48

SQUASHED! Thanks Simon for sticking with this one. It makes a big difference to have my control computer be wired to my device, but be remote manageable over wifi.

And just a huge thanks for maintaining such a wonderful library. Now back to the fun of adding features...

-P

ola-importer commented 10 years ago

From si...@nomis52.net on December 01, 2010 09:11:08

Excellent. Glad we fixed it.

Status: Fixed