Getting netjack working

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
tavasti
Established Member
Posts: 1121
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Contact:

Getting netjack working

Post by tavasti »

I am trying to setup netjack between my linux machine jack, and VM running windows.
In master( Ubuntu 18.04), running 'jack_load netmanager '. I have 2 network interfaces, and one bridge where VM networking is running.

In VM, starting jack with qjackctl, with net backend. Windows firewall is disabled.

I can see that windows is sending stuff:

Code: Select all

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 262144 bytes
00:51:40.754978 IP 192.168.8.112.19000 > 225.3.19.154.19000: UDP, length 644
And I can see that master is listening that port:

Code: Select all

root@hermo:~# netstat -lnp | grep 19000
udp        0      0 0.0.0.0:19000           0.0.0.0:*                           17199/jackdbus      
But still, nothing works :-(
Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
More my music https://audiu.net/users/tawaste

User avatar
bluebell
Established Member
Posts: 1402
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Getting netjack working

Post by bluebell »

tavasti wrote:
Fri Sep 11, 2020 9:53 pm
I am trying to setup netjack between my linux machine jack, and VM running windows.
In master( Ubuntu 18.04), running 'jack_load netmanager '. I have 2 network interfaces, and one bridge where VM networking is running.

In VM, starting jack with qjackctl, with net backend. Windows firewall is disabled.

I can see that windows is sending stuff:

Code: Select all

tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br0, link-type EN10MB (Ethernet), capture size 262144 bytes
00:51:40.754978 IP 192.168.8.112.19000 > 225.3.19.154.19000: UDP, length 644
And I can see that master is listening that port:

Code: Select all

root@hermo:~# netstat -lnp | grep 19000
udp        0      0 0.0.0.0:19000           0.0.0.0:*                           17199/jackdbus      
But still, nothing works :-(
There are 2 netjacks. One with multicast and one with point-to-point connections. You are using the multicast version.

Maybe your windows doesn't react to multicast or you are using a switch that tries to manage IGMP and fails. I had a TP Link switch with builtin IGMP management and it broke my OSPF at home which uses multicast.


When playing with netjack I use the point-to-point version:

Machine without audio interface:
jackd -R -d netone

Machine with audio interface:
jack_netsource -H <Machine without audio interface>
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

tavasti
Established Member
Posts: 1121
Joined: Tue Feb 16, 2016 6:56 am
Location: Kangasala, Finland
Contact:

Re: Getting netjack working

Post by tavasti »

bluebell wrote:
Sat Sep 12, 2020 7:55 am
There are 2 netjacks. One with multicast and one with point-to-point connections. You are using the multicast version.

Maybe your windows doesn't react to multicast or you are using a switch that tries to manage IGMP and fails. I had a TP Link switch with builtin IGMP management and it broke my OSPF at home which uses multicast.


When playing with netjack I use the point-to-point version:

Machine without audio interface:
jackd -R -d netone

Machine with audio interface:
jack_netsource -H <Machine without audio interface>
Oh, that is great info!

Do I need to do load netmanager before running jack_netsource, or is it ment to run alone?
Linux veteran & Novice musician

Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
More my music https://audiu.net/users/tawaste

User avatar
bluebell
Established Member
Posts: 1402
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Getting netjack working

Post by bluebell »

tavasti wrote:
Sat Sep 12, 2020 9:17 pm
bluebell wrote:
Sat Sep 12, 2020 7:55 am
There are 2 netjacks. One with multicast and one with point-to-point connections. You are using the multicast version.

Maybe your windows doesn't react to multicast or you are using a switch that tries to manage IGMP and fails. I had a TP Link switch with builtin IGMP management and it broke my OSPF at home which uses multicast.


When playing with netjack I use the point-to-point version:

Machine without audio interface:
jackd -R -d netone

Machine with audio interface:
jack_netsource -H <Machine without audio interface>
Oh, that is great info!

Do I need to do load netmanager before running jack_netsource, or is it ment to run alone?
I don't load netmanager.
Linux – MOTU UltraLite AVB – Qtractor – https://soundcloud.com/suedwestlicht

Post Reply