Kyma Forum
  Tips & Techniques
  Is it possible to assign a static IP address to pacarana

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   Is it possible to assign a static IP address to pacarana
ChristianSchloesser
Member
posted 09 March 2010 10:41         Edit/Delete Message   Reply w/Quote
Is it possible to assign a static IP address to pacarana?
I don t do DHCP and bonjour on my mashines in the studio.
I connected the pacarana to a dedicated Ethernet Card of one of my OS X mashines. But it is not possible to activate Bonjour just for one Ethernet adapter in OS X as i know.
The easiest way would be assigning a static IP to the pacarana as i do audio over ethernet on the other cards and i don t want to "flood" network with broadcast messages...etc.

anyway to do it?
all the best
chris

IP: Logged

bar|none
Member
posted 09 March 2010 11:41         Edit/Delete Message   Reply w/Quote
If it's connected to an ethernet card directly, go into Network preferences in OS X and change the ethernet connection from Using DHCP to Using DHCP with manual Address. Then you can assign the address yourself.

If you are simple connected to a router like a linksys, some routers in their configuration page allow you to fix the IP address of hardware in the DHCP table so they will always use the same address. Usually you just pick the device from a list and fix the address basically binding the hardware's MAC Address to a fixed IP.

IP: Logged

ChristianSchloesser
Member
posted 09 March 2010 13:52         Edit/Delete Message   Reply w/Quote
Yes i use DHCP with manual address on the dedicated ethernet adaptor. The problem is that i could not enable bonjour only on one adapter.
Another Card is connected to a special switch which is used with midi/audio over ethernet with doesn not like DHCP and bonjour broadcast messages.

Is there a way to enable bonjour only on one eth port?

Everytime i start Osculator i have to enter the new Pacarana IP by hand... without bonjour it does not find the pacarana.(PacaMIDI does not find the pacarana at all...)

If i could assign a manual address i could configure Osculator once and forget about it.

All the best
Chris

IP: Logged

bar|none
Member
posted 09 March 2010 14:23         Edit/Delete Message   Reply w/Quote
Ah understand now.

I don't think there is a way to enable/disable bonjour on specific ethernet ports.

The solution is probably to make sure pacarana always gets same fixed IP.

PacaMidi is a separate issue, it has no manual override of IP address. It's beta right now so maybe Douglas wou;d add a way to enter manual IP there for you.

IP: Logged

ChristianSchloesser
Member
posted 10 March 2010 13:16         Edit/Delete Message   Reply w/Quote
till i find a better solution or the pacarana s could be configured with a static IP. i switched bonjour back on ;-( and blocked it on my audio and MIDI network cards with a trick from a hackintosh forum...
chris

IP: Logged

ChristianSchloesser
Member
posted 12 March 2010 15:16         Edit/Delete Message   Reply w/Quote
hmmm...after a bit using it with bonjour i found out it is not such a good solution...
For example i build a simple 32 Step interface for my TR sequencer in Quartz Composer ... but QC only works with static IPs ;-(

... so please SCC a simple static IP address for the pacarana would be great to integrate the pacarana with lots of nice OSC software out there... or am i missing here something?

all the best
chris

IP: Logged

ChristianSchloesser
Member
posted 12 March 2010 15:36         Edit/Delete Message   Reply w/Quote
if i use Osculator as a hub "in between" it works...
but not my prefered solution...
i should open a new topic on this one...
all the best
chris


IP: Logged

SSC
Administrator
posted 12 March 2010 16:14         Edit/Delete Message   Reply w/Quote
There is no way to assign a fixed IP address within the Paca(rana) itself.

The Paca(rana) uses DHCP to get its address, so if you can configure a DHCP server, you could make that server hand out a fixed IP address whenever it sees the Paca(rana)'s Ethernet ID.

There are two ways to do this:

1. The easy way is to have an external Ethernet router on the Paca(rana)-host computer network. Most routers let you configure the internal DHCP to hand out these static addresses.

2. The more difficult way is to turn on a DHCP server within the Mac OS. This would most likely involve typing in some Unix commands in Terminal. I would guess that there are some hints on how to do this somewhere on the internet.

IP: Logged

tuscland
Member
posted 12 March 2010 17:58         Edit/Delete Message   Reply w/Quote
Hey all,

The easiest way to turn your mac into a DHCP server is to activate Internet Sharing.
Even if your mac is not connected to internet, the Internet Sharing (found in Sharing Preferences Pane), creates a sub-network with a static IP address, turns on a basic DHCP server, and activates routing between the newly created sub-network and the interface that is supposed to be connected to Internet.


Cam

[This message has been edited by tuscland (edited 12 March 2010).]

IP: Logged

ChristianSchloesser
Member
posted 12 March 2010 18:02         Edit/Delete Message   Reply w/Quote
yes i figured it all out now.
at this moment i received your reply i configured my bootpd.plist (witch is read when you turn internet sharing on) to give the pacarana a dedicated ip...
but thanx

all the best
chris

IP: Logged

ChristianSchloesser
Member
posted 13 March 2010 11:17         Edit/Delete Message   Reply w/Quote
I finally used the ISC DHCP compiled from source (but there is an easier way see below).

The Mac "Internet sharing" was not an option for me. It is uncomfortable to configure because of missing tools and documentation on the workstation version of SnowLeo (i think Apple wants you now to buy OS X server for this purpose. thats reasonable).

On default OS X does NOT assign a static IP but any IP from a pool and it ALSO starts BIND (DNS server) to forward DNS requests.

The easiest way to use Mac OS X as a small DHCP server it would be to download/install darwin ports (http://www.darwinports.com/)
and install dhcpd with:

sudo port install dhcp

then edit the dhcpd.conf in /opt/local/etc/dhcp/
create an empty lease file in the same directory: touch dhcpd.leases

and finally run as a Daemon:
sudo launchctl load -w /Library/LaunchDaemons/org.macports.dhcpd.plist

so that are my 5 cents on DHCP for static IP for pacarana on a dedicated Ethernet Port.

if there is an easier way please let me know.

all the best
Chris

IP: Logged

All times are CT (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply

Contact Us | Symbolic Sound Home

This forum is provided solely for the support and edification of the customers of Symbolic Sound Corporation.


Ultimate Bulletin Board 5.45c