OSC not working with direct ethernet connection

All the topics related to QLC+ on the Raspberry Pi
Post Reply
sjames
Posts: 4
Joined: Fri Oct 14, 2016 12:36 am
Real Name: Sean James

I've built an Arduino based fader wing to use with QLC+, which sends OSC through an ENC28J60 ethernet adapter. When I connect it to a netbook running Lubuntu, everything works as expected. When I connect to a Raspberry Pi 3, however, it doesn't...

On both machines, eth0 is configured as static at 192.168.1.42, and the fader wing is at 192.168.1.1
I boot the machine with the fader wing already running

ifconfig eth0 on the netbook reports:

Code: Select all

Link encap:Ethernet  HWaddr 00:21:70:d8:2e:bf
inet addr:192.168.1.42  Bcast:192.168.1.255   Mask 255.255.255.0
inet6 addr: fe80::221:70ff:fed8:2ebf/64  Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:5043 errors:0 dropped:0 overruns:0 frame:0
TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1018402 (1 MB)  TX bytes:16372 (16 KB)
ifconfig eth0 on the Pi reports:

Code: Select all

Link encap:Ethernet  HWaddr b8:27:eb:60:00:53
inet addr:192.168.1.42  Bcast:192.168.1.255   Mask 255.255.255.0
inet6 addr: fe80::8c51:469:8111:6356/64  Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B)  TX bytes:4427 (4.3 KiB)
if I restart the fader wing when it's plugged into the Pi, there seems to be a flicker of activity (joystick indicator in inputs/outputs tab), and some rx errors show up:

Code: Select all

Link encap:Ethernet  HWaddr b8:27:eb:60:00:53
inet addr:192.168.1.42  Bcast:192.168.1.255   Mask 255.255.255.0
inet6 addr: fe80::8c51:469:8111:6356/64  Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:58 errors:2 dropped:1 overruns:0 frame:2
TX packets:63 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7496 (7.3 KiB)  TX bytes:11855 (11.5 KiB)
/etc/dhcpcd.conf on the Pi has what looks to be the correct lines added by QLC+ at the end:

Code: Select all

interface eth0
static ip_address=192.168.1.42/24
static routers=192.168.1.1
static domain_name_servers=127.0.0.1
I've tried a crossover cable instead of a standard cable - both work on the netbook, neither make any difference on the Pi.
The Pi can see OSC messages over the WiFi connection from touchOSC, it just doesn't want to talk to the fader wing on ethernet.

I've run out of ideas - anyone got any suggestions on what I should try next?
Sean James <dancer/tech/teacher/artist/maker>
Post Reply