Difference between revisions of "Raspberry Pi"

From Applied Optics Wiki
Jump to: navigation, search
Line 51: Line 51:
 
- Add, as root, to the end of the file '/etc/environment' the line;
 
- Add, as root, to the end of the file '/etc/environment' the line;
  
<code>export http_proxy=http://128.243.74.2:62267</code>
+
<code>export http_proxy=http ://128.243.74.2:62267</code>
  
 
- Create file '/etc/apt/apt.conf' and '/etc/apt/apt.conf.d/10proxy', and add to both;
 
- Create file '/etc/apt/apt.conf' and '/etc/apt/apt.conf.d/10proxy', and add to both;
  
<code>Acquire::http::Proxy "http://128.243.74.2:62267";</code>
+
<code>Acquire::http::Proxy "http ://128.243.74.2:62267";</code>
  
 
===Programs===
 
===Programs===

Revision as of 17:18, 13 February 2014

This is a page on configuring and using the Raspberry Pi and Rasbian. This could be adapted to other ARM based linux OSs. Details could be out of order and the page will need sorting at a later point.

Default password

The default user and password for Rasbian is;

User: pi

Password: raspberry

Change as needed using passwd in terminal

Starting GUI

Enter startx in terminal

Accessing root

Open terminal and enter;

sudo passwd root

enter the `comppassword` x2.

Configuring Rasbian

Change some settings of the OS by entering in terminal;


raspi-config including the start-up routine.


Setting your IP address

- Edit /etc/network/interfaces

- Add midway;

iface eth0 inet static

address 128.243.74.xxx replace 'xxx' with your own IP

netmask 255.255.0.0

gateway 128.243.1.1

dns-nameservers 128.243.40.11 128.243.40.12 128.243.21.19

auto eth0

Proxy

- Add, as root, to the end of the file '/etc/environment' the line;

export http_proxy=http ://128.243.74.2:62267

- Create file '/etc/apt/apt.conf' and '/etc/apt/apt.conf.d/10proxy', and add to both;

Acquire::http::Proxy "http ://128.243.74.2:62267";

Programs

- Install synaptic;

apt-get synaptic