On Jan 14, 2008 10:52 AM, Jason Grout <[EMAIL PROTECTED]> wrote:
>
> William Stein wrote:
> > On 1/14/08, mabshoff <[EMAIL PROTECTED]> wrote:
> >> Hi Jason,
> >>
> >> On Jan 14, 6:51 pm, Jason Grout <[EMAIL PROTECTED]> wrote:
> >>> I'd like to set up a sage notebook for my class to use.  At the AMS
> >>> meetings, William mentioned that the easiest way to do this was to use
> >>> the vmware appliance to run the notebook (even if I plan to run the
> >>> appliance under linux).  I presume the reasons have to do with security.
> >>>   I have the vmware appliance running now, so the initial setup is all
> >>> good.  However, the address is a 192.168.x.x address, which I presume is
> >>> not visible outside of my network.  Is there a way to get the sage
> >>> vmware appliance visible to the world so students could use it from
> >>> anywhere?  When I installed vmware, I just used the defaults everywhere.
> >>>   Should I have chosen something different when answering questions
> >>> about the networking?
> >> You need to set up bridged networking instead of NAT.
> >
> > Which is trivial, by the way.  All you have to do is change some menu
> > option in the vmware gui.   Are you using vmware server, workstation,
> > or player?    Anyway you should easily figure out how to setup bridged
> > from the vmware docs or just looking around.
>
> I'm using the player.  Should I be using something else?

No, player is pretty good and free.

>  The
> workstation costs money and some website somewhere said that the server
> would run slower, so I opted for the simplest solution.

Yep.

> I don't see any options in the preference dialog dealing with
> networking.

I think it's a menu that maybe pops up when you click on the network icon
in the GUI.  Unfortunately, i can't remember for sure.  You _really_ want to
find this in the vmware gui.  Definitely just try the vmware help,
which is supposed
to be really good.

>  I ran the vmware-config.pl script and it asked about
> networking.  I enabled bridge networking (apparently it was already
> enabled) and disabled NAT networking (which apparently also was  enabled
> by default).

That doesn't make sense -- only one can be enabled at a time, I think.

>  I started the sage image and typed "notebook" at the
> prompt. The vmware console spit out a paragraph like it was logging in,
> then it briefly flashed "Error starting notebook" and refreshed the
> screen back to the original login prompt.

You probably broke your network completely or maybe completely disabled
it by mucking with vmware-config.pl.  I don't know.  Hmm.

You should try instead login in as manage and do

  /sbin/ifconfig |grep eth

and report the results.  If nothing comes out, you've completely
disabled your vmware network.  If a line with an address comes
out, that's the address of your vmware machine.  YOu could
then do

   sage: notebook(address="ip.address.you.got.above", accounts=True)

to start the notebook setup so that visitors to your site can create new
accounts.

> I read a bit of the documentation for vmware about the bridged
> networking, but still have some questions.  Can I have vmware bridged to
> my (one and only) ethernet adapter and still have ethernet access from
> my host computer?

Yes.  Bridged networking is logically like having two completely separate
network cards in your computer -- one for your normal host OS, and one
for the virtual machine.  They are completely separate.

> Does vmware use my host IP address, or do I need a
> separate address for the vmware image?

Your vmware image will get (or must be assigned) a completely
separate IP address.

William

>
>
> Thanks for the answers about the security issues.
>
> Jason
>
>
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to