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

Athar Haque findathar at gmail.com
Wed Jul 30 18:33:55 EDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20140731/ae1ab367/attachment.html>
-------------- next part --------------
#XS LAN configuration
DEVICE=eth0
IPADDR1=172.18.96.1
NETMASK1=255.255.224.0

# The actrd initramfs tries to connect to the server on 172.18.0.1 to request 
# activation. Retain this old/deprecated address binding for compatibility.
IPADDR2=172.18.0.1
NETMASK2=255.255.255.0

IPV6INIT=yes
IPV6ADDR_SECONDARIES="fe80::abcd:ef02/64"
ONBOOT=yes
TYPE=Ethernet
HOTPLUG=yes

# Configure your WAN connection here.
# The default is automatic configuration via DHCP.

DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
DHCP_HOSTNAME=schoolserver
HOSTPLUG=yes

# If you want to set a static address, remove the BOOTPROTO and DHCP_HOSTNAME
# lines above, and use the example settings below:
#IPADDR=18.85.46.29
#IPV6ADDR=2001:4830:2446:ff00::2/64
#NETMASK=255.255.255.0
#NETWORK=18.85.46.0
#BROADCAST=18.85.46.255
#GATEWAY=18.85.46.1
DEVICE=lo
IPADDR=127.0.0.1
NETMASK=255.0.0.0
NETWORK=127.0.0.0
# if you're having problems with gated making 127.0.0.0/8 a martian,
# you can change this to something else (255.255.255.255, for example)
BROADCAST 127.255.255.255
ONBOOT=yes
NAME=loopback


More information about the Sugar-devel mailing list