Re: [Catalyst] Catalyst::Manual::Tutorial::01_Intro

2011-09-17 Thread Chris Stinemetz
On Tue, Sep 13, 2011 at 8:17 PM,  hkcl...@gmail.com wrote:
 On Tue, Sep 13, 2011 at 5:03 PM, Chris Stinemetz chrisstinem...@gmail.com
 wrote:

 Thanks everyone that helped.

 I was able to get it to work, although I had to use VMware instead of
 Virtualbox to get bridged connection to work. I must have been
 configuring virtualbox incorrectly. At any rate, it works and I can
 start the tutorial!

 Thanks,

 Chris


 Hi Chris,

 Thanks for the update.  I'll probably post an image with a lightweight X
 Windows setup so people can do it totally local to the VM console even if
 they can't get any network outside of the VM working... hopefully that will
 help in cases where the network stuff proves difficult.  That being said,
 I'm glad you got it working! :-)

 BTW, let me know if you came away with any tips that other folks might
 benefit from (the whole Tutorial VM stuff is new, so definitely open to
 suggestions).


Kennedy,

Chapter 1 was put together really well. The only challenge I had was
trying to set up VirtualBox with bridged connection therefore, my only
recommendation for Chapter 1 would be to include a step by step
process on configuring VirtualBox with bridged connection. I hope to
complete some more chapters tonight. Thanks for making this tutorial
available!

regards,

Chris

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Catalyst::Manual::Tutorial::01_Intro

2011-09-13 Thread Chris Stinemetz
 Did you have ssh server started in VM?

Yes.

 If you have one check firewall on VM.

Where do I check the firewall on VM? What changes do I need to make?

Thank you,

Chris

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Catalyst::Manual::Tutorial::01_Intro

2011-09-13 Thread Chris Stinemetz
 Which network type or you using for the VM (bridged vs. NAT vs. host
 only)?


I have it set up as bridged

 If you type netstat -tupan | grep 22 in the VM console, do you get
 anything?  (That should show if there is an SSH daemon on port 22.)


tcp 0  0 0.0.0.0:22 0.0.0.0:*LISTEN
1153/sshd

tcp6 0  0 :::22 :::*LISTEN
1153/sshd


 Can the server ping the outside world?  For example, if you type ping
 www.google.com on the VM console, does it work?


No I can't.
I get ping: unknown host www.google.com

 And you are sure that you are using the IP of the guest VM (get from
 ifconfig on the guest VM console), not the host, right?


correct.

ifconfig returns

int addr:127.0.0.1


 The downloadable VM images shouldn't have any sort of iptables firewalling
 enabled, so that shouldln't be an issue unless you enabled something there.


Thanks

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Catalyst::Manual::Tutorial::01_Intro

2011-09-13 Thread hkclark
On Tue, Sep 13, 2011 at 11:45 AM, Chris Stinemetz
chrisstinem...@gmail.comwrote:

  Which network type or you using for the VM (bridged vs. NAT vs. host
  only)?
 

 I have it set up as bridged

  If you type netstat -tupan | grep 22 in the VM console, do you get
  anything?  (That should show if there is an SSH daemon on port 22.)
 

 tcp 0  0 0.0.0.0:22 0.0.0.0:*LISTEN
 1153/sshd

 tcp6 0  0 :::22 :::*LISTEN
 1153/sshd


  Can the server ping the outside world?  For example, if you type ping
  www.google.com on the VM console, does it work?
 

 No I can't.
 I get ping: unknown host www.google.com

  And you are sure that you are using the IP of the guest VM (get from
  ifconfig on the guest VM console), not the host, right?
 

 correct.

 ifconfig returns

 int addr:127.0.0.1


That address should be assigned to the lo interface.  Do you see an eth0
interface?  If not, we need to figure out why it's missing or not up.  Maybe
ping me on IRC #catalyst if that's an option for you.

The fact that you can't ping www.google.com does make it seem like you might
be having an issue with the network setup... in theory, that should work.

Also, it might be worth disabling any firewall you have on the *host*
machine and rebooting the VM.

Thanks,
Kennedy



  The downloadable VM images shouldn't have any sort of iptables
 firewalling
  enabled, so that shouldln't be an issue unless you enabled something
 there.
 

 Thanks

 ___
 List: Catalyst@lists.scsys.co.uk
 Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
 Searchable archive:
 http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
 Dev site: http://dev.catalyst.perl.org/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Catalyst::Manual::Tutorial::01_Intro

2011-09-13 Thread Simon Wilcox

On 13/09/2011 16:45, Chris Stinemetz wrote:

If you type netstat -tupan | grep 22 in the VM console, do you get
  anything?  (That should show if there is an SSH daemon on port 22.)


tcp 0  0 0.0.0.0:22 0.0.0.0:*LISTEN
1153/sshd

tcp6 0  0 :::22 :::*LISTEN
1153/sshd


Do you have a DHCP server on your network ?

That output suggests to me that no IP address has been assigned to 
eth0.  The VM uses DHCP to assign an IP address. In NAT'd mode the VM 
host software, such as VMPlayer or VirtualBox, will use it's own 
internal DHCP server but in bridged mode you will need one available on 
the local network.


Simon.

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Catalyst::Manual::Tutorial::01_Intro

2011-09-13 Thread Chris Stinemetz
Thanks everyone that helped.

I was able to get it to work, although I had to use VMware instead of
Virtualbox to get bridged connection to work. I must have been
configuring virtualbox incorrectly. At any rate, it works and I can
start the tutorial!

Thanks,

Chris

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Catalyst::Manual::Tutorial::01_Intro

2011-09-13 Thread hkclark
On Tue, Sep 13, 2011 at 5:03 PM, Chris Stinemetz
chrisstinem...@gmail.comwrote:

 Thanks everyone that helped.

 I was able to get it to work, although I had to use VMware instead of
 Virtualbox to get bridged connection to work. I must have been
 configuring virtualbox incorrectly. At any rate, it works and I can
 start the tutorial!

 Thanks,

 Chris


Hi Chris,

Thanks for the update.  I'll probably post an image with a lightweight X
Windows setup so people can do it totally local to the VM console even if
they can't get any network outside of the VM working... hopefully that will
help in cases where the network stuff proves difficult.  That being said,
I'm glad you got it working! :-)

BTW, let me know if you came away with any tips that other folks might
benefit from (the whole Tutorial VM stuff is new, so definitely open to
suggestions).

Thanks!
Kennedy
___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/