How do I get and setup this "KA-Pi Spanish" version?
1 - Get your Raspberry Pi computer
First of course you need a Raspberry Pi (you may already have one, or many of them.., so in this case just skip this step..). If you never heard about it, it is basically a credit-card sized Linux box, and you can find all about it at www.raspberrypi.org. If you need to buy one you have to also buy the power supply. A plastic case is strongly recommended. Also, get the Model B, which has 512Mb RAM.
2 - Get a 16 GB SD Card ready.
You'll need a 16 GB SD flash memory card, to host the operating system and the KA-Pi Spanish package. It is recommended to get a fast card. For instance, I used for KA-Pi en Español a SanDisk Extreme 16 GB SDHC Class 10 card, which you can get at Amazon for about U$S 12, and has fast read-write speeds.
3 - Download the "KA-Pi" in Spanish image.
Think of the image as an exact copy of the whole hard drive of your PC or Mac, everything in just one file. In this case you will use this "image" file to then burn it, or write it, to your own SD card, making so an exact clone of an original KA-Pi server SD card I have with me. You are going to download it by FTP:
- FTP connection: Host = ftp.mujica.org , Username = email@example.com, Password: anonymous, port = 21 (default).
A very good and free FTP client for Windows, Mac and Linux is FileZilla ( filezilla-project.org). It has very important features (Keep-alive, auto reconnect) for downloading very large files like this.
Sample FTP login using FileZilla:
Once connected you'll see the files in the server available for FTP download. Go to the "pi" folder and drag the kaos_pi_16_spanish.img file to a folder in your computer. Example using FileZilla on Windows:
The FTP download will start.
WARNING: This is a very large file, which may take a very long time to download.
Important: if you want to verify the integrity of the very large downloaded file, which is strongly recommended to make sure that it has arrived intact during the long download process, this is their md5 checksum:
- For the kaos_pi_16_spanish.img file: a067e860eb075151e8d479d8a5045abd
To verify if the MD5 checksum of the downloaded file matches the checksum of the original file (listed above) you can use on Windows a free tool like WinMD5Free (www.winmd5.com). Sample screenshot:
On Linux/UNIX/Mac you can just run the md5sum command, like: $ md5sum kaos_pi_16_spanish.img
4 - Write the downloaded KA-Pi image to your SDHC memory card.
This is what you need to do (example on Windows):
- Download Win32DiskImager, a free Windows software, from http://sourceforge.net/projects/win32diskimager/files/latest/download
- Unzip it and install it in your PC/laptop.
- Plug your SD card into your PC.
- Start the Win32DIskImager software (Win32DiskImager.exe)
- Select the downloaded kaos_pi_16_20130921.img file and the drive where the SD card is inserted. Then click the "Write" button:
Now you have a card with the OS and the pre-configured KA-Pi Spanish package ready for action.
5 - Setup your KA-Pi Spanish server.
- Insert the SD card into the Raspberry Pi slot
- With the Raspberry Pi already plugged to your network or wireless router start the Pi, just plugging the power (If you want to login to this KA-Pi distribution please use username: pi , password: rachel . Of course you can change the password afterwards to anything you want..).
Sample setup with a $40 consumer wireless router:
- Find out the IP address of the Raspberry Pi:
- If you plug a TV to the Pi via an HDMI cable or composite cable you'll see the IP address at the bottom of the boot messages on the screen.
- Or from a terminal on the pi use the ifconfig command:
pi@raspberrypi ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr b8:27:eb:ce:67:31
inet addr:10.0.1.20 Bcast:10.0.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
The IP address in the example above is 10.0.1.20
If you have the Pi plugged to the router you can use another computer or device connected to the same network to see what IP address the Pi was assigned.
For instance you can just you a phone connected to the same wi-fi network and use an app to scan it and find out the connected computers. The one which vendor name is "Raspberry Pi Foundation" is your Raspberry Pi. Make note of the IP address, 10.0.1.20 in this example. (Using the Scany iPhone app for this screenshot on the right).
You can also use the router interface to find our the connected devices and get the IP from there.
Note: later, if you use this solution in a semi-permanent setup, like in a school, you can assign in the router a static IP to the KA-Pi server, so the IP will be always the same, and the users/students can just bookmark it in their browsers.
6 - Start using Khan Academy en Español.
- Now a computer or device connected to this network, wired or wirelessly (wi-fi), will be able to access and play the Khan Academy Spanish content, just by entering the IP address of the Raspberry Pi server in a browser URL field:
- Now, after having directed your students (or just yourself) to the IP address of the KA-Pi server people can start browsing and using the Khan Academy video lectures as needed.
7 - Optional: Use your KA-Pi Spanish as a Wi-Fi hotspot
The latest KA-Pi Spanish image already includes all the software necessary to use the Raspberry Pi as a Wi-Fi hotspot. This pre-configured software is running all the time on your KA-Pi package: You just need to plug a USB WiFi Adapter to a USB port and start up the Raspberry Pi.
It will automatically create a Wi-Fi hotspot called "RPI", to which you can connect from any Wi-Fi enabled device, like a tablet, laptop or smart phone, and access wirelessly the Khan Academy videos, without the need to use any other network device, like a wireless router. Perfect for an instant setup of a wireless educational hotspot.
Another advantage is that you'll need just the Raspberry Pi power adapter and cable, which will in this case power the Raspberry Pi computer and the USB dongle-based Wi-Fi hotspot.
Note: The above Wi-Fi setup can be used together with the previous network setup. So you can have the Raspberry Pi running KA-Pi connected via network cable with a router and at the same time running the Wi-Fi hotspot from the Pi. So some students can connect to the local network setup by the router and to the "RPI" wireless network created by the USB Wi-Fi adapter.
Problems downloading or setting up "Khan Academy on a Pi"?
Please do not hesitate to contact me should you have problems to download or setup KA-Pi. You can contact me as described in the About page and I'll be happy to respond.
- A choice had to be made about the videos format. There is no single video format and video/audio encoding that can be played in all web browsers and operating systems out there (This table online shows which video formats are likely to be supported by a given browser). In this case H.264 video and ACC audio encoded videos in an mp4 container was chosen. This can be played on latest versions of modern browsers supporting HTML 5, as well as iOS devices (iPads, iPhones, iPod Touch) and Android devices. See list of supported browsers in the About page.
- The videos in this distribution are encoded in a relatively low bit-rate, on purpose. This makes their file size fairly small, and makes possible as in this case to have a package for the Raspberry Pi that includes the OS and 2,000 video lectures that fits in a 16 GB memory card. The Khan Academy on a Stick distribution have been deployed in hundreds of remote locations around the world, and a reduced overall size has proven critical on the ground for downloading, installing on devices with reduced storage, cloning, etc.
- The simple guide uses a Windows computer for the PC examples, but you get the same exact functionality on any PC (Personal Computer), like a Mac of Linux.