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