[Q] How could I have the right IP ?

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Thu Mar 29 12:13:44 UTC 2007


Folks:

For a long time my ISP give us a fix IP, now they change and I have a new IP
each time I start.

I having as NetNameResolver localAddressString the wrong '0.0.0.0' value.

I wish know how I could have the right value .

ifconfig gives me now

200-127-188-175:~ admin$
200-127-188-175:~ admin$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::20d:93ff:fe72:5512%en0 prefixlen 64 scopeid 0x4
        inet 200.127.188.175 netmask 0xffffff00 broadcast 200.127.188.255
        ether 00:0d:93:72:55:12
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: none autoselect 10baseT/UTP <half-duplex>
10baseT/UTP <full-duplex> 10baseT/UTP <full-duplex,hw-loopback> 100baseTX
<half-duplex> 100baseTX <full-duplex> 100baseTX <full-duplex,hw-loopback>
fw9: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 2030
        lladdr 00:0d:93:ff:fe:72:55:12
        media: autoselect <full-duplex> status: inactive
        supported media: autoselect <full-duplex>

I on Mac and Squeak could be accessed from web at
http://200.127.188.175:8088/

showing what Comanche works.

I need the right IP inside Squeak for my remote image could be accessed

<input type=image name=point src="http://' , ip , ':' , port asString ,
'/screen">

ip of course depends of NetNameResolver localAddressString

Very thanks in advance

Edgar





More information about the Squeak-dev mailing list