Re: [9fans] IP Multicast - Results

2016-09-21 Thread cinap_lenrek
> Btw, I noticed that the net manpage doesn't accurately describe the > format of /net/ipifc/x/status files. It says there are 9 columns but > mine has more than that and also some extra rows for assigned IP addresses. > Does anyone know if this is a 9front specific deviation or if the man page > i

Re: [9fans] IP Multicast - Results

2016-09-20 Thread Chris McGee
Hi All, Multicast is working fine for me with the latest patches in 9front hg on my raspberry Pi. Thanks Cinap, Alex et al for pointing me in the right direction. Current status is that I can use multicast dns to discover nodes on my local network using a Go library and some patches to the Go

Re: [9fans] IP Multicast - Results

2016-09-17 Thread Chris McGee
I recompiled with the latest in hg. I'm still not having success with the multicast. I'm going to start adding debugging to figure out what's going on. Chris

Re: [9fans] IP Multicast - Results

2016-09-16 Thread cinap_lenrek
> Ooh thanks. In hg? yes. -- cinap

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Chris McGee
Ooh thanks. In hg? Chris > On Sep 16, 2016, at 5:26 PM, cinap_len...@felloff.net wrote: > > updated the code for multicast and promisc mode in nusb/ether... > > -- > cinap >

Re: [9fans] IP Multicast - Results

2016-09-16 Thread cinap_lenrek
updated the code for multicast and promisc mode in nusb/ether... -- cinap

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Richard Miller
> It sounds like I need to have a look at how multicast filtering works with > supported PCI nic cards and apply that to nusb/ether. You don't have to do full filtering - it's enough to enable the adapter to receive all multicast messages and the kernel driver will filter out the uninteresting on

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Chris McGee
Thanks Alex, Cinap, Right, the Pi uses USB for its built in nic. I wanted to make sure that I have narrowed down where the missing functionality is. It sounds like I need to have a look at how multicast filtering works with supported PCI nic cards and apply that to nusb/ether. Chris

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Alex Musolino
Chris, As cinap says: nusb/ether doesnt implement multicast filter. > This is your problem. I believe the Raspberry Pi has its NIC attached via USB internally. Therefore, multicast won't (currently) work on the Raspberry Pi. -- Cheers, Alex Musolino

Re: [9fans] IP Multicast - Results

2016-09-16 Thread Chris McGee
Yes, same here. Both are wired directly to a dumb switch using link local addresses. No router. I tried 225.0.0.1 port 1234 on both ends. I can't figure out what the contents of the buffer is. Just random bytes? It is weird that the ifc number gets filled in after pinging the multicast addres

Re: [9fans] IP Multicast - Results

2016-09-16 Thread cinap_lenrek
nusb/ether doesnt implement multicast filter. -- cinap

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Alex Musolino
> > I tried the mcastsend and mcastrecv on my two raspberry Pi's running > 9front. > How are you connecting these devices to the network? I use wired connections to a single (dumb) switch. -- Cheers, Alex Musolino

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Alex Musolino
> > Do you remember if you needed to add/remove routes to make it work? Also, > did you use 9front or the bell labs distribution? > These programs work without any setup on 9front. Once the programs are running I can ping the multicast address from either host and a new route appears in /net/iprou

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Chris McGee
Hi Alex, I tried the mcastsend and mcastrecv on my two raspberry Pi's running 9front. I'm seeing similar routes as in my own experiment without the interface number, tagged as 4m for IPv4 multicast. I can ping each device from the other using their unicast addresses. Unfortunately, it doesn't

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Chris McGee
Thank you Alex, I will give these a try tonight. I'm happy to hear that multicast can work and it's likely just some silly mistake on my end. Chris > On Sep 15, 2016, at 12:23 AM, Alex Musolino wrote: > > I was playing around with multicast on 9front the other week and > managed to get someth

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Jules Merit
Cirno, ix IV : dr No, Jason born. IP multi under res, Mira Au Andromeda's thoughts of Perseus codes my system, and you don't got it. On Sep 15, 2016 12:44 PM, "Adriano Verardo" wrote: > > Years ago I've successfully used multicast for a project. > The project has been aborted just after the test

Re: [9fans] IP Multicast - Results

2016-09-15 Thread Adriano Verardo
Years ago I've successfully used multicast for a project. The project has been aborted just after the test of the multicast. Probably I've that (sparse pieces of) sw ... somewhere. I remember that I wrote them with no problems following the Plan9 man. I also remember successfully tests of one2ma

Re: [9fans] IP Multicast - Results

2016-09-14 Thread Jules Merit
Multi-cast! Alice-code. Mama JDredd. Belgium pulse badaboom. WhiteHat. On Sep 14, 2016 9:44 PM, "Alex Musolino" wrote: I was playing around with multicast on 9front the other week and managed to get something working (for some definition of working). I have attached 2 test programs for sending a

Re: [9fans] IP Multicast - Results

2016-09-14 Thread Alex Musolino
I was playing around with multicast on 9front the other week and managed to get something working (for some definition of working). I have attached 2 test programs for sending and receiving multicast datagrams. Unfortunately, it seems you can't send/receive messages from the same host. I'm not sure

[9fans] IP Multicast - Results

2016-09-14 Thread Chris McGee
After some investigation and trial and error I'm left with the sense that multicast is not entirely implemented on plan9. Here's what I tried. I tried setting up a udp announce directly against /net/udp for port 564. Before listening I sent an addmulti message as described in the ip manual page.