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

Jerry Vonau me at jvonau.ca
Fri Aug 1 12:37:42 EDT 2014



> On August 1, 2014 at 8:39 AM Tony Anderson <tony at olenepal.org> wrote:
>
>
> Hi, Jerry
>

Hi Tony,

> I think what you are describing may be Daniel Drake's 'enhancement' to
> allow one network for
> internet and local access. I have never used that and so do not know
> what he did in that script.

I had a single interface, kickstart driven, usb based working install as
far back as mid 2010[1]. Remember I had a small piece of input into the
networking layout[2]. When the AA[3] went away so did the need to support
them allowing for the revised networking layout that is found in the latest
XS.

> In
> the day, I actually wrote it in Nepal (you can tell my code - it is the
> ugliest).
>
> I did send an email with information and am available to help if it is
> needed. I have not gotten a response as yet.
>

Why not keep the conversation on the list?

> On a separate topic. I understand from the credits that you wrote the
> mkusbinstall script.

That was written before Fedora's livecd-creator grew the ability to handle
install isos[4].

> Among
> other things, udev has been modified so the script no longer works.

Depends on what your environment is when you run it, lots of things changed
since F9, might have better luck with this one[5]. With the above ability
being provide by Fedora the need to maintain the script fell by the
wayside.

> I am
> trying to get the script
> to run on an XO (build 13) to create the XS usb stick.

This stick is to run on the XO or a different machine? Think you would have
better luck using livecd-iso-to-disk.sh from F18 pointing to the install
iso.

> My other problem
> is that the new Intel NUC
> is using uefi instead of a bios - I think this needs to be solved since
> uefi will probably appear on many or all new desktops.
>

That would be a usb based booting issue, might be solved with the later
livecd-iso-to-disk.sh (--efi) from F18, not sure of what version is
supplied by CentOS.

> My current strategy is to rewrite the script in Python so I can see what
> you did step-by-step.
>

What do you want to do? Once you have a booting key, updating the install
routine via a kickstart file, and/or a yum repo on the usbkey becomes much
easier.


> Yours,
>
> Tony
>

Jerry

1. http://mirror.aarnet.edu.au/pub/olpc-au/XS/F9/
2.
http://dev.laptop.org/git/projects/xs-config/log/?id=88cc7c3a925349397195fd32af3383cf1e520d04&qt=grep&q=vonau
3. http://wiki.laptop.org/go/Active_Antenna
4.
https://git.fedorahosted.org/cgit/livecd/commit/tools/livecd-iso-to-disk.sh?id=09678eb9284f2df7618c4609998fd3bd95787251
5.
http://mirror.aarnet.edu.au/pub/olpc-au/XS/F9/XS-AU/tools/mkusbinstall-F12forXSAU

> On 08/01/2014 01:34 PM, Jerry Vonau wrote:
> >
> >> 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