Saturday, October 12, 2013

How to use proxy setting with Linux Mint



The dreaded proxy server has reared its head again. If you read my post about Linux OS for old tech you would have found me advocating Ubuntu, Elementary and Linux Mint. Unfortunately, I have found Linux Mint to be problematic if your school server uses proxy settings to get online. Ubuntu and Elementary also require changes to the network settings if you use a proxy, but this only involves a simple change in the Network Settings panel. This doesn't work in Linux Mint, the settings can be entered but will not remain saved.

So, here's the 'how to' courtesy of the askUbuntu Q&A section - if you're not keen on using terminal commands I suggest you either don't bother using Linux Mint and stick to Ubuntu or Elementary (or any other Linux distro) or swallow your fears and give this a go.

  • Use terminal to open /etc/environment using a text edit app as superuser - e.g. in terminal type sudo gedit /etc/environment     (enter password when asked)
  • Add the following lines to the text document that appears, replacing myproxy.server.com with your proxy address
http_proxy=http://myproxy.server.com:8080/
https_proxy=http://myproxy.server.com:8080/
ftp_proxy=http://myproxy.server.com:8080/
no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
HTTP_PROXY=http://myproxy.server.com:8080/
HTTPS_PROXY=http://myproxy.server.com:8080/
FTP_PROXY=http://myproxy.server.com:8080/
NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"
  • Save the file, then  navigate to /etc/apt/apt.conf.d/ and create a new file there named 95proxies and include the following code (remembering to add your own proxy address in place of myproxy.server.com)
Acquire::http::proxy "http://myproxy.server.com:8080/";
Acquire::ftp::proxy "ftp://myproxy.server.com:8080/";
Acquire::https::proxy "https://myproxy.server.com:8080/";
Reboot and once you have logged in you will find that your proxy settings are in place for Network Settings, apt-get and Update manager. It's a pain but it does give you an idea about using the command line in a Linux terminal.

Additional setting (Tip provided by +Chris Readle
If you need to authenticate on your proxy, you need to stick a <username:password> in front of the proxy server address
For instance
http://myusername:mypassword@myproxy.mydomain.com:8080/


Sources askubuntu and archlinux wiki

Monday, October 7, 2013

Coding in EYFS


Kodable introduces EYFS to logic and simple code

Now let's begin by saying straight off that the iOS app Kodable will not teach a young child (or a child of any age) how to code. What it does do, and does very well, is to introduce a child to code through symbols and logical thinking.

EYFS (Kindergarten) may not be the first age group for many educators to introduce aspects of coding but I've found that it's a perfect age group due to the very inquisitive nature of young learners. The children in my class are 4 years old and using an app like Kodable to start them on their coding journey has been very straightforward. The app begins with a quick demonstration of what to do then leaves the user to it. Perfect for a 4 year old who wants to explore and discover. Through using logical thinking, the children in my class worked their way through each of the presented levels using their fingers to trace out the route and talking it through with each other. As an EYFS teacher this was the perfect opportunity for me to record pupil observations and I was amazed at how they solved each level, even levels that presented conditions in the form of  different coloured squares. Some children asked for help at this point whilst others worked the solution out for themselves.

I found myself using IF...THEN...ELSE statements during discussion with the children.


The new Computing Curriculum for KS1 and KS2 in England the first three attainment targets state that children should be taught to:

  • Understand what algorithms are; how they are implemented as programs on digital devices; and that programs execute by following precise and unambiguous instructions 
  • Create and debug simple programs 
  • Use logical reasoning to predict the behaviour of simple programs 

I don't see the app as just a game but one that meets every target listed above, this is early years games based learning at its zenith. Kodable is not just a game, it's a game you use to learn about the basic principles of coding. And that's perfect for EYFS.

Wednesday, October 2, 2013

Bringing old computing kit back to life with Linux

Tux




Come on then, own up. How many of you have a pile of slow laptops gathering dust in a cupboard or a line of old pcs that no one will touch because they take over two minutes to start up? Well, before you remove their hard drives and consign them to the junk pile you should really take a look at Linux.


Linux is an operating system, just like Windows is an OS that the majority of schools use on their computers. Chances are, the old computers in your school run Windows XP and run it very, very slowly. Linux can help to speed those pcs up and make them almost as good as new (apart from the obvious signs of wear and tear, no OS can remove that).


Linux is freely available and as its an open source operating system it is continually being developed, improved and upgraded to make it even better. But Linux comes in many different distributions (distros) - my favourite is Ubuntu but you can also have Edubuntu, Xbuntu, Fuduntu, Mint, Debian, Fedora...the list goes on but two for beginners are Ubuntu and Mint. For this article I will focus on Ubuntu but most Linux distributions can be used.


What do I need to do before I get it?
Make sure your old pc or laptop has at least 1GB of RAM - I have used Ubuntu on a laptop running 512MB of ram but it is slow and defeats the purpose of breathing new life into one. At least 1GB or more is best. RAM is quite cheap and it is more economical to buy some extra RAM for older pcs and laptops than buying new equipment. RAM is located on the bottom of a laptop, usually under a screwed in plate. You can either add extra RAM or replace the one that is there. Use http://www.crucial.com/uk/ to pinpoint the exact RAM you need. As for a PC, you will need to open the side of the computer and locate the RAM sticks - YouTube has plenty of video walkthroughs to guide you along.


How to get a Linux distro like Ubuntu.
It’s quite easy actually. You can either download one of the distros to a pc (one that is still functioning as it should) and create a LiveCD/DVD of the distro; this is a CD/DVD that lets you play with the Linux OS without having to install it, great to make sure it will function on old pcs and laptops before installing it. You can even download a USB version of the distro and use a USB pendrive to test out the OS before installing, but you will need to make sure you can boot your laptop or pc from a USB drive first before using this route. You can do this quite simply by starting up the laptop or pc, pressing either the ESC key or F2 to enter the Bios menu and changing the boot order there.
To get Ubuntu go to this site and follow the instructions. To install a Linux distribution onto a memory pen the easiest tool for the job is UNetbootin (available free from their site)


So I’ve got it installed, now what?
Well, play with it. Be amazed at how fast your previously defunct and dusty kit has become and how everything you plug into it just works. You will need to get to know your way around and the Ubuntu site has excellent information regarding tips, resources, applications to download, where to download them from and an amazing responsive and helpful community that are there to answer any of your questions. A word of warning though - if your school internet lies behind a proxy then I suggest you stay away from Xubuntu as it requires some coding to get it to work.


My own story.

I’ve installed Ubuntu onto 5 old laptops that I found cast aside in different cupboards in the school. Installing Ubuntu onto them has meant each is now fully functional and used daily by children in my class. We don’t have access to many of the software titles that we have installed on our Microsoft PCs in school but we have found as a school we are gradually moving away from many of those titles in favour of online tools. A Linux OS is perfect for that. The children took very little time to get to grips with Ubuntu and now actually prefer using it to some of the Windows XP machines. Some children have enjoyed using so much that they have installed it on an old pc at home much to the delight of their parents.

My favourite Linux Distributions

This article was originally published in Teach Primary magazine.