<div dir="ltr"><div>Hey,<br><br></div>I followed the steps and was successful with those but the same error persists till now though I am able to ping 'schoolserver'. <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Jul 31, 2014 at 8:12 PM, Jerry Vonau <span dir="ltr"><<a href="mailto:me@jvonau.ca" target="_blank">me@jvonau.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sorry for the delay, if you only have one network interface by using<br>
xs-setup-network you have given your only interface the internal address<br>
that has no gateway. Here is what I would do:<br>
<br>
1) stop the network<br>
2) rename ifcfg-eth0 to ifcfg-eth0.old<br>
3) rename ifcfg-eth1 to ifcfg-eth0<br>
4) edit the renamed ifcfg-eth0 file changing DEVICE=eth1 to DEVICE=eth0<br>
5) start the network<br>
<br>
That should give you a default route to the internet when viewing the<br>
routing tables with "ip route ls". You might have to change some other<br>
files if you can't ping the hostname 'schoolserver'<br>
<br>
good luck,<br>
<br>
Jerry<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> On July 30, 2014 at 5:33 PM Athar Haque <<a href="mailto:findathar@gmail.com">findathar@gmail.com</a>> wrote:<br>
><br>
><br>
> Hey,<br>
><br>
> I use my lan connection for internet.<br>
><br>
> PFA the contents of /etc/sysconfig/network-scripts/ifcfg-*.<br>
><br>
><br>
> On Wed, Jul 30, 2014 at 7:50 PM, Jerry Vonau <<a href="mailto:me@jvonau.ca">me@jvonau.ca</a>> wrote:<br>
><br>
> > Hi,<br>
> ><br>
> > Before I try to guide you, can you tell me the number of network<br>
> > connections the VM has and what the contents of the<br>
> > /etc/sysconfig/network/ifcfg-* files are.<br>
> ><br>
> > Jerry<br>
> ><br>
> > > On July 29, 2014 at 4:14 PM Athar Haque <<a href="mailto:findathar@gmail.com">findathar@gmail.com</a>> wrote:<br>
> > ><br>
> > ><br>
> > > I recently installed XO school server in a VM for testing of my<br>
> > > project.<br>
> > > I<br>
> > > have followed steps on -<br>
> > > <a href="http://wiki.laptop.org/go/XS_Installing_Software" target="_blank">http://wiki.laptop.org/go/XS_Installing_Software</a>.<br>
> > > But couldn't connect to the internet. I have activated standard<br>
> > > networking<br>
> > > by running the command<br>
> > ><br>
> > ><br>
> > > *xs-setup-network.*<br>
> > > When I run yum update. I get this error -<br>
> > ><br>
> > > Could not retrieve mirrorlist<br>
> > > <a href="http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os" target="_blank">http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os</a> error<br>
> > > was14: PYCURL ERROR 6 - "Couldn't resolve host<br>
> > > '<a href="http://mirrorlist.centos.org" target="_blank">mirrorlist.centos.org</a>'"Error: Cannot find a valid baseurl for repo:<br>
> > > base<br>
> > ><br>
> > ><br>
> > > I can't find a solution to it and if anyone knows how to fix this, it<br>
> > > would<br>
> > > be of great help.<br>
> > ><br>
> > > --<br>
> > > Regards,<br>
> > > Nazrul<br>
> > > irc - native93<br>
> > > _______________________________________________<br>
> > > Sugar-devel mailing list<br>
> > > <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
> > > <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
> ><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
> Nazrul<br>
> _______________________________________________<br>
> Sugar-devel mailing list<br>
> <a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
> <a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>Regards,<br>Nazrul<br><br></div></div>
</div>