WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] RE: XCP 0.5: noob: how can i access the network in the post-

To: "Joe Linoff" <jlinoff@xxxxxxxxxx>, <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] RE: XCP 0.5: noob: how can i access the network in the post-install-script?
From: "Joe Linoff" <jlinoff@xxxxxxxxxx>
Date: Tue, 30 Nov 2010 12:54:52 -0800
Cc:
Delivery-date: Tue, 30 Nov 2010 12:56:27 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <8AD4194C251EC74CB897E261038F447868FBCF@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <8AD4194C251EC74CB897E261038F447868FBCF@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcuP+shbzAzrHIixTtGolSlR5fASCwA1eEYQ
Thread-topic: XCP 0.5: noob: how can i access the network in the post-install-script?

Hi Folks:

 

I didn’t figure out the reason but I figured out a workaround. If one wants to start a network service (or cron job), one can simply added a boot script to /etc/init.d or /etc/rc.local.

 

Cheers,

 

Joe

 

From: Joe Linoff
Sent: Monday, November 29, 2010 11:23 AM
To: xen-users@xxxxxxxxxxxxxxxxxxx
Cc: Joe Linoff
Subject: XCP 0.5: noob: how can i access the network in the post-install-script?

 

Hi Folks:

 

Why can’t I access the network from the post-install-script?

 

I am trying to access the internal LAN in the post-install-script when the XCP hypervisor is initially installed. Here are some of the commands I tried:

 

1.      ping –w 5 192.168.3.1

2.      service network status

3.      /sbin/service network status

4.      /etc/init.d/network status

 

All of them failed with a return status that was not zero. My other post-install-script commands like wget http://192.168.3.1/post-install.sh worked. Furthermore, all of the above command worked when I logged into the command shell after the installation.

 

Thanks,


Joe

 

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>