VM - Internet Settings?

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

VM - Internet Settings?

Geert Claes
Administrator
I would like to gauge how many Pharo-ers think that it would be great to have the Network/Internet Settings as part of the VM rather than the Image.  I reckon the network setting are (just like display, sound, mouse and printer settings) dependent on the computer and environment an image is running on and not necessarily the image itself.
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

laurent laffont
On Wed, Jun 16, 2010 at 10:49 AM, Geert Claes <[hidden email]> wrote:

I would like to gauge how many Pharo-ers think that it would be great to have
the Network/Internet Settings as part of the VM rather than the Image.  I
reckon the network setting are (just like display, sound, mouse and printer
settings) dependent on the computer and environment an image is running on
and not necessarily the image itself.


Here's the trick to set preferences for all images: http://book.pharo-project.org/book/TipsAndTricks/PharoRC

Cheers, 

Laurent Laffont

http://pharocasts.blogspot.com/
http://magaloma.blogspot.com/

--
View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257076.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Geert Claes
Administrator
laurent laffont wrote
Here's the trick to set preferences for all images:
http://book.pharo-project.org/book/TipsAndTricks/PharoRC
To connect to the Internet will be the same on the same machine for all Images, so it would be nice if the network settings should actually be derived from the OS, like most web browsers do.

I can see that a working repository could fall more or less in the same category.  Name, font and background is probably more an Image rather than an environment or VM thing though.
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Geert Claes
Administrator
In reply to this post by laurent laffont
By the way, could someone help me how to set my Image to "Use automatic configuration script" URL, something like "http://someproxy.company.com:8080/array.dll?Get.Routing.Script"?
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Noury Bouraqadi-2
In reply to this post by Geert Claes
Hi Geert,

I'm rather strongly for moving things the other way around (from VM to the image)!
We'll have more control, and all in Smalltalk.
Still, we need a better communication/integration between pharo and the hosting OS.
Retrieving network setting from the OS (an not from a preference file) is typically the kind of thing that I'd like to have.

Noury

On 16 juin 2010, at 10:49, Geert Claes wrote:

>
> I would like to gauge how many Pharo-ers think that it would be great to have
> the Network/Internet Settings as part of the VM rather than the Image.  I
> reckon the network setting are (just like display, sound, mouse and printer
> settings) dependent on the computer and environment an image is running on
> and not necessarily the image itself.
> --
> View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257076.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Schwab,Wilhelm K
+1


________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Noury Bouraqadi [[hidden email]]
Sent: Wednesday, June 16, 2010 8:03 AM
To: [hidden email]
Subject: Re: [Pharo-project] VM - Internet Settings?

Hi Geert,

I'm rather strongly for moving things the other way around (from VM to the image)!
We'll have more control, and all in Smalltalk.
Still, we need a better communication/integration between pharo and the hosting OS.
Retrieving network setting from the OS (an not from a preference file) is typically the kind of thing that I'd like to have.

Noury

On 16 juin 2010, at 10:49, Geert Claes wrote:

>
> I would like to gauge how many Pharo-ers think that it would be great to have
> the Network/Internet Settings as part of the VM rather than the Image.  I
> reckon the network setting are (just like display, sound, mouse and printer
> settings) dependent on the computer and environment an image is running on
> and not necessarily the image itself.
> --
> View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257076.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Geert Claes
Administrator
In reply to this post by Noury Bouraqadi-2
Bouraqadi Noury wrote
I'm rather strongly for moving things the other way around (from VM to the image)!
I agree.  Network settings are now defined in the OS and need to be set again in the Image.  When I suggested moving the network settings to the VM I was thinking along the lines of how web browsers manage their connection to the Internet.  Web browsers seem to either link directly to the OS network settings (IE and Chrome) or extract the settings from the OS (Firefox and Opera).

Bouraqadi Noury wrote
Retrieving network setting from the OS (an not from a preference file) is typically the kind of thing that I'd like to have.
Absolutely, I'd rather not duplicate the network settings in the Image but have the system use the OS's network settings so the same Image can be used on machines with different network settings without the need to change these settings.
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Schwab,Wilhelm K
I have not taken this leap yet, but I have been assuming I would use os process to run ifconfig (ipconfig when forced<g>) and parse the output.  Please feel free to beat me to it :)



________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Geert Claes [[hidden email]]
Sent: Wednesday, June 16, 2010 8:48 AM
To: [hidden email]
Subject: Re: [Pharo-project] VM - Internet Settings?

Bouraqadi Noury wrote:
>
> I'm rather strongly for moving things the other way around (from VM to the
> image)!
>

I agree.  Network settings are now defined in the OS and need to be set
again in the Image.  When I suggested moving the network settings to the VM
I was thinking along the lines of how web browsers manage their connection
to the Internet.  Web browsers seem to either link directly to the OS
network settings (IE and Chrome) or extract the settings from the OS
(Firefox and Opera).


Bouraqadi Noury wrote:
>
> Retrieving network setting from the OS (an not from a preference file) is
> typically the kind of thing that I'd like to have.
>

Absolutely, I'd rather not duplicate the network settings in the Image but
have the system use the OS's network settings so the same Image can be used
on machines with different network settings without the need to change these
settings.
--
View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257285.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Geert Claes
Administrator
Did a quick Google and it looks like the Chromium project has put quite some thought into it :)  On Chrome, "chrome://net-internals/proxyservice.config" gives the OS proxy configuration.  On windows they use WinINet (http://msdn.microsoft.com/en-us/library/aa383630(VS.85).aspx) functions.  More info: http://dev.chromium.org/developers/design-documents/proxy-settings-fallback

Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Michael Roberts-2
In reply to this post by Geert Claes
Hi
You asked this question before I think on the users list.

Someone would have to write a parser for the specific formats  
returned. In this case i think they are a ms specific text format. The  
more common auto config files are JavaScript and require a parser or  
mini execution environment to evaluate.

Thanks mike

On 16 Jun 2010, at 11:20, Geert Claes <[hidden email]> wrote:

>
> By the way, could someone help me how to set my Image to "Use  
> automatic
> configuration script" URL, something like
> "http://someproxy.company.com:8080/array.dll?Get.Routing.Script"?
> --
> View this message in context: http://forum.world.st/VM-Internet-Settings-tp2257076p2257147.html
> Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Geert Claes
Administrator
Michael Roberts-2 wrote
You asked this question before I think on the users list.
Hi Mikael, yep, I have been struggling with that one for a little while now (submitted an issue ticket too), just posted my debug findings :)
Reply | Threaded
Open this post in threaded view
|

Re: VM - Internet Settings?

Geert Claes
Administrator
In reply to this post by Michael Roberts-2
Michael Roberts-2 wrote
Someone would have to write a parser for the specific formats returned. In this case i think they are a ms specific text format. The more common auto config files are JavaScript and require a parser or  
mini execution environment to evaluate.
The "URL/array.dll?Get.Routing.Script" returns a Javascript file.

See: http://support.microsoft.com/kb/270524