[Q] How could I have the right IP ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Q] How could I have the right IP ?

Edgar J. De Cleene
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



Reply | Threaded
Open this post in threaded view
|

Re: [Q] How could I have the right IP ?

Giuseppe Luigi Punzi-2
Hi Edgar,

I don't know If I understand you correctly, but I will try.

If you have Dynamic IP, you can use some of the various Free DNS systems
on the NET.

I can give you 2 for example:
No-IP: http://www.no-ip.com/
DynDNS: http://www.dyndns.com/

Cheers.

P.D.: You can mail me if you need some help about this . En español claro :P

Edgar J. De Cleene escribió:

> 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
>
>
>

--
Giuseppe Luigi Punzi

:: ZYO :: Solutions everywhere

email: [hidden email]
tlfno: +34 675 145 912
web: http://www.zyoconsulting.com


Reply | Threaded
Open this post in threaded view
|

Re: [Q] How could I have the right IP ?

Edgar J. De Cleene



El 3/29/07 10:15 AM, "Giuseppe Luigi Punzi" <[hidden email]>
escribió:

> Hi Edgar,
>
> I don't know If I understand you correctly, but I will try.
>
> If you have Dynamic IP, you can use some of the various Free DNS systems
> on the NET.
>
> I can give you 2 for example:
> No-IP: http://www.no-ip.com/
> DynDNS: http://www.dyndns.com/
>
> Cheers.
>
> P.D.: You can mail me if you need some help about this . En español claro :P
>
> Edgar J. De Cleene escribió:
>> 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
>>
>>
>>
Gracias.
Como se puede ver en el ejemplo, yo perfectamente conozco my IP y lo puedo
utilizar .
El que aparentemente no sabe mas como obtener el IP correcto es el Squeak.
Hasta ahora , en todas las imagenes que he usado y tanto en Mac como en
Windows esto se hace con:

Socket initializeNetwork.
NetNameResolver localAddressString.

o en una imagen Morphic con World reportLocalAddress

hasta ayer esto daba el IP correcto.
Hoy seria 200.127.188.175 como se ve desde la consola.

To all , I apologize, but Giusseppe and me understand Spanish better.

I know how get ip !!

What I ask is why Squeak gives me the wrong one and before yesterday (when
the problem begins) all images and VM combinations gives the right one.

I don't change any on Mac (to my knowledge), the only thing what seems
different is ISP seems using some dynamic IP

Edgar