[squeak-dev] Re: NetNameResolver/ifconfig/interfaces
andreas.raab at gmx.de
Fri Mar 12 18:14:13 UTC 2010
On 3/12/2010 9:32 AM, Jon Hylands wrote:
> On Fri, 12 Mar 2010 11:41:02 -0500, Chris Cunnington
> <smalltalktelevision at gmail.com> wrote:
>> Can it be told which interface to look at? How does it choose?
> Been there done that. I was told there is no simple way to do this,
> that it would require VM changes, etc.
Yup. Don't laugh, this is what we do:
ETH0= `/sbin/ifconfig eth0 | grep 'inet addr' | cut -c21-`
$(VM) -defaultServerName: "$ETH0"
More information about the Squeak-dev