Computer Application 2015

Blog to accompany the CA course

May 9, 2016
by H. Watanabe
0 comments

Project 2 – Blog post on remote access

Describe in a new blog post how you achieved remote access using your iPad. Indicate the advantages and disadvantages of such an implementation.

Advantages examples can be increased setup process, wire cut..

Disadvantages can be WLAN network performances, IP address change of the RPI…

This must be completed for the 16.05.2016.

May 2, 2016
by H. Watanabe
0 comments

Project 2 – Word document update

Update your project 2 word document including a chapter on remote access using SSH and VNC. This chapter must include the different commands you used and a step by step guide.

Once completed, every member of the group must upload the word document on Moodle.

April 25, 2016
by H. Watanabe
0 comments

Graphical Remote Access (VNC)

Now that you know how to access the RPI using SSH we can move on to the Graphical access. Download the app VNC Viewer on your iPad and setup the remote connection on the RPI.

Connect to the RPI using vSSH lite and type the following commands to download and install the VNC server on the RPI:

sudo apt-get udpate

sudo apt-get install tightvncserver

Once it is installed, follow the user guide at the following address that will also indicate you how to setup VNC server so that it starts at the same time than the RPI when it boots so that you don’t have to connect to the RPI each time per SSH to start the VNC server:

https://www.raspberrypi.org/documentation/remote-access/vnc/

April 18, 2016
by H. Watanabe
0 comments

Remote Access to the RPI

Remote access to the Raspberry Pi will avoid to connect the Keyboard, Mouse and HDMI cables. Setup time will drop and you will have more time to work towards your project 2.

The first access will be performed using SSH or remote secure shell. This will give you a command prompt. You will have to download the vSSH lite app on the app store or an equivalent.

Make sure you know the IP address of the RPI that has been offered by the server distributing those addresses when you connected the RPI using the WLAN dongle. You have to be on the same “Student” WLAN network for this to work. The IP address might change but you will notice this quickly as the access will not work anymore. The username and password are “pi” and “raspberry” once you are asked for the login credentials.

March 21, 2016
by H. Watanabe
0 comments

D-Link DWA-131 troubleshooting

1. Is the WLAN dongle connected to the RPI ?

lsusb

This should list you device as D-Link System.

2. Is the adapter working with the kernel used ?

uname -a

Check on raspberrypi.org if the kernel you chose to install is compatible with the WLAN dongle. If this is not the case you will have to install or update the driver, see section 3 as an example.

wget https://dl.dropboxusercontent.com/u/80256631/8192eu-kernel-build.tar.gz
tar xzf 8192eu-kernel-build.tar.gz
./install.sh

Replace kernel and build by the result of the command.

3. Update/Install driver

If you experience issues with the the WLAN dongle you can update the driver. Run the following three commands on the shell for kernel 4.1.18 build 845:

wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.1.18-v7-845.tar.gz
tar xzf 8192eu-4.1.18-v7-845.tar.gz
./install.sh

March 7, 2016
by H. Watanabe
0 comments

Project 2 – Start

For your second project, choose a project that uses one or more of the following usage possibilities:

http://www.raspberrypi.org/documentation/usage/

Every team must be able to access the RPI with the iPad using the Student wireless network. The WLAN chapter from Project 1 must be included also as a chapter.

For those who want to make usage of Windows 10 IoT as presented in class you don’t need to rely on the usage above.

The Word document of Project 2 must be uploaded every end of lesson on Moodle.

February 29, 2016
by H. Watanabe
0 comments

WLAN on the RPI

Complete the Project 1 Word document with this final chapter on how to connect the RPI to the Student WLAN network of the school. You can use the GUI as described here:

https://www.raspberrypi.org/documentation/configuration/wireless/

Or the command line as displayed here:

https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md

1. Configure the interface

Terminal command to edit the file:
sudo nano /etc/network/interfaces
Content:
#local
auto lo
iface lo inet loopback
#ethernet
iface eth0 inet dhcp
#wireless lan
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

2. Configure the WPA file

Terminal command to edit the file:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Content:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network{
ssid="Student"
psk="ASK_THE_TEACHER"
}

Once completed go back to the terminal and bring up wlan0:

Terminal command: sudo ifup wlan0

You should receive a DHCP offer at this point. If not, check with me.

January 26, 2016
by H. Watanabe
0 comments

RPI – User Guide

Create and update a complete User Guide describing project one setup. Your User Guide must include a title page (one page dedicated to the title) and an abstract, a second page containing a document control section, a third page containing the table of content and then the content. Don’t forget your bibliography at the end.

You can look at the example by following this link:

http://www2.le.ac.uk/departments/law/current/writing-guide-and-document-template

 

January 25, 2016
by H. Watanabe
0 comments

RPI – Setup

To install the OS on the RPI you will need to do the following steps

1. Format the SDCARD

Do this with the feature included in Windows or ask me to do it using the Formatter 4.0 tool.

https://www.sdcard.org/downloads/formatter_4/

2. NOOBS

Download the file to the desktop, extract it and drag the content to the SDCARD.

3. ISO image

If you download an ISO image use the UNetbootin tool and select the radio button Diskimage to pick the downloaded ISO file.

https://unetbootin.github.io/

January 18, 2016
by H. Watanabe
0 comments

RPI – Project 1

Create a Word document containing the project description and install guide. Upload the document to your Blog.

To help you with this you can have a look at the following online guides:

a) Quick Start Guide
http://www.raspberrypi.org/help/quick-start-guide/

b) How to setup NOOBS
http://www.raspberrypi.org/help/noobs-setup/

c) How to install an RPI OS image
http://www.raspberrypi.org/documentation/installation/installing-images/

Skip to toolbar