Author Topic: OSX network settings  (Read 2198 times)

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
OSX network settings
« on: June 30, 2015, 06:55:24 PM »
I have a question for the OS X users of Xlights.
I am running XL4 on my macbook pro and was wondering what settings I might have wrong when outputting to my lights.
If I run XL4 windows version  (in bootcamp on my macbook) I can plug the ethernet cable into the port on my macbook and happily run XL4 with lights flashing away to the music while I also have wifi working and can connect to the internet.
However, I much prefer working in OS X but have noticed that I cannot get any output to the lights through the ethernet cable while I also have wifi enabled on the mac.
With wifi enabled I can connect via ethernet cable to my switch and communicate with my Pixlite 4 and change the settings on that controller so at that point both ethernet connection and wifi connection are working at the same time. But as soon as I try playing a sequence in XL4, I will get no lights flashing until I turn off wifi.
Is there a setting I need to change to get XL4 outputting lights with the wifi also on? It seems to work in windows ok so thought I should be able to get the same in OS X

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: OSX network settings
« Reply #1 on: June 30, 2015, 07:22:16 PM »
Not sure if this would make a difference, but within your network system preference, what order is your ethernet and wi-fi in?  I have ethernet listed first and then wi-fi.  The first item in the list gets preference over the other items, so my system will try to go through ethernet first, then wi-fi if needed.  You could try switching the positions around in your settings and see if that makes work under OS X.
Kevin Pankratz
Blaine MN

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: OSX network settings
« Reply #2 on: June 30, 2015, 07:33:09 PM »
Probably depends on whether you are setup for Unicast or Multicast.

Offline gerry

  • Hero Member
  • *****
  • Posts: 695
    • View Profile
Re: OSX network settings
« Reply #3 on: June 30, 2015, 07:53:29 PM »
Hi Logan,

I used to have the same problem under Windows and LSP last year. So I simply (every single day :) ) , turned my Wifi off  and then it would work. Never bothered to ask anyone , after I figured out that was the problem,
Simply shrugged and used one or another.
Even now , I make sure that Wifi is off ...(force of habit)

Just saying that it may not be a MAC setup 'issue'..
 
Gerry

Offline flyinverted

  • Administrator
  • Hero Member
  • *****
  • Posts: 756
    • View Profile
Re: OSX network settings
« Reply #4 on: June 30, 2015, 08:49:22 PM »
You can only have one default gateway on your computer no matter how many network connections you have.

The default gateway can be viewed via command line in windows via IPCONFIG
OSX = IFCONFIG

The network interface with the default gateway needs to be your internet connection.  (Windows)
In OSX you will have to view the TCP/IP connection for the network adapater to see which one has the gateway and it is labeled "router" under OSX.

« Last Edit: June 30, 2015, 11:18:17 PM by flyinverted »
Steve Giron
Maricopa County, AZ
xLights user with a boat-load of channels.

Do not ask to know all the answers, but ask to understand the question.

Offline logandc99

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
Re: OSX network settings
« Reply #5 on: June 30, 2015, 09:41:15 PM »
Thanks for the replies. I will look into the network settings to see how the default gateway is setup.
I'll check out how my windows is setup since that seems to work and try do make things the same in OSX.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
Re: OSX network settings
« Reply #6 on: July 01, 2015, 07:17:18 AM »
From a command line, run "netstat -r".   You should see something like:

Code: [Select]
Internet:
Destination        Gateway            Flags        Refs      Use   Netif Expire
default            router             UGSc           46        0     en0
127                localhost          UCS             0        0     lo0
localhost          localhost          UH             10    99511     lo0
192.168.1          link#4             UCS             8        0     en0
192.168.1.1/32     link#4             UCS             2        0     en0
....

That first line shows the "default" route which is the one that is likely important although the 4th one (192.168.1) could also effect unicast.     You can do something like:

Code: [Select]
sudo route add -host 192.168.1.200 -link 14:10:9f:e7:fd:0a

where the 192.... part is the target IP address and the last thing is the mac address of your en0 (ifconfig -a will show it) to direct the traffic to that particular IP address out that one adapter.


Daniel Kulp
Framingham, MA

Offline Trickyd

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: OSX network settings
« Reply #7 on: July 21, 2015, 11:57:51 AM »
good afternoon,

I am Dick de Wit, from The Netherlands

While setting up for the first time my 16 strings megatree for test, I noticed some strange behaviour, 

Xlights runs ok for a short while, than it stops, and after some seconds (15 ) it seems to run a while again.


This was a setup without my router connected in the nearby garage, just a cable from the powerbook 17 to the 16 port 10/100 3com superstack 3 switch, and from the switch to my 4 6804   sandevices controllers.

Went back inside, did the same test, with my fritzbox router connected, all runs perfectly. The same as I did test each controller here inside when constructing the controllers.

Tried this same config with my Imac 27", same happens. So it should not be a hardware related problem. tmho

Do I need always a router like the fritzbox? or should I be able to use only a switch?

Who knows what I am doing/thinking wrong here.

Dick