[Sugar-devel] Cannot connect to internet on school server

Jerry Vonau me at jvonau.ca
Fri Aug 1 07:34:39 EDT 2014



> On August 1, 2014 at 5:51 AM Tony Anderson <tony at olenepal.org> wrote:
>
>
> Jerry,
>
> As I understand it he is using XS-0.7. XS-0.7 has two configured ports
> The first is for the LAN, the
> second is for the WAN.

Only after running xs-setup-network do 2 interfaces get configured. You can
setup a single interface XS for testing.

> If he follows your suggestion he will not have a
> network connection to the
> laptops.

He will via the one network connection.

> The XS-0.7 xs-setup-network sets up the second port to accept
> DHCP from the ISP. If a
> server has one ethernet port, the second port may need to be accessed
> via a usb-ethernet adapter.
>

I know how the network is laid out, but he has one interface to use on the
VM.

> Yours,
>
> Tony

Since you know what he wants to do, you can do the hand holding.

Jerry

> On 07/31/2014 07:49 PM, sugar-devel-request at lists.sugarlabs.org wrote:
> > Send Sugar-devel mailing list submissions to
> >     sugar-devel at lists.sugarlabs.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >     http://lists.sugarlabs.org/listinfo/sugar-devel
> > or, via email, send a message with subject or body 'help' to
> >     sugar-devel-request at lists.sugarlabs.org
> >
> > You can reach the person managing the list at
> >     sugar-devel-owner at lists.sugarlabs.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Sugar-devel digest..."
> >
> >
> > Today's Topics:
> >
> >     1. Re: Cannot connect to internet on school server (Athar Haque)
> >     2. Re: Pootle SOS (Martin Abente)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Thu, 31 Jul 2014 23:01:59 +0530
> > From: Athar Haque <findathar at gmail.com>
> > To: Jerry Vonau <me at jvonau.ca>
> > Cc: Sugar-dev Devel <sugar-devel at lists.sugarlabs.org>
> > Subject: Re: [Sugar-devel] Cannot connect to internet on school server
> > Message-ID:
> >   
> > <CABW62E0eXZ-ZGLpVWS3AzZJg1RWLPUKoa8KFWDNbJweaewfvqA at mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hey,
> >
> > I followed the steps and was successful with those but the same error
> > persists till now though I am able to ping 'schoolserver'.
> >
> >
> > On Thu, Jul 31, 2014 at 8:12 PM, Jerry Vonau <me at jvonau.ca> wrote:
> >
> >> 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
> >
> >
>
> _______________________________________________
> 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