Difference between revisions of "SimpleBot Initial Software Configuration"

From Open Hardware Miniconf
Jump to: navigation, search
(Compiling the driver for the RT7601 WiFi chipset)
(Compiling the driver for the RT7601 WiFi chipset)
Line 25: Line 25:
  
 
== Compiling the driver for the RT7601 WiFi chipset ==
 
== Compiling the driver for the RT7601 WiFi chipset ==
 +
 +
'''This worked:'''
 +
 +
mkdir wireless-drivers
 +
cd wireless-drivers
 +
wget https://dl.dropboxusercontent.com/u/11876059/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz
 +
tar zxf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz
 +
cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913
 +
make
 +
sudo make install
 +
sudo reboot
 +
 +
Note that some of the steps below (kernel source setup, etc) may also be necessary. I need to redo this from scratch on a clean system to verify.
 +
 +
'''Other notes from various attempts:'''
  
 
http://va3paw.com/2014/03/16/hsmm-mesh-on-raspberry-pi/
 
http://va3paw.com/2014/03/16/hsmm-mesh-on-raspberry-pi/
Line 52: Line 67:
  
 
  git clone https://github.com/jamesfoley/raspberry-pi-MT7601
 
  git clone https://github.com/jamesfoley/raspberry-pi-MT7601
 
 
mkdir wireless-drivers
 
cd wireless-drivers
 
wget https://dl.dropboxusercontent.com/u/11876059/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz
 
tar zxf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz
 
cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913
 
make
 
sudo make install
 

Revision as of 09:23, 4 January 2015

The Simple Bot software is installed on the Raspberry Pi. If you are attending the workshop you will be provided with a pre-installed SD card to use. This page will help you with any additional configuration that is required and allow you to create your own SD image if you need to later.

Changing the default configuration

1. Insert the Micro SD card into a laptop or workstation using the provided adaptor
2. When the image is mounted open the file `machine.local` in a text editor
3. Edit the file as explained by the comments in the file.
4. Save the file and unmount the SD card and then remove it
5. Insert the card into the Raspberry Pi and power up

By default the Miniconf image will use a hostname based on the unique serial number of the ARM CPU.


Creating your own SD image

You can create a suitable development kit as follows:

1. Install a Raspberry Pi Raspian Image on your SD by following these instructions.
2. Boot your raspberry Pi and login as user `pi` with password `raspberry`
3. Make sure your keyboard is correctly configured and you have internet access
4. Run the following command
    bash <(wget https://   #todo)

General references

Compiling the driver for the RT7601 WiFi chipset

This worked:

mkdir wireless-drivers
cd wireless-drivers
wget https://dl.dropboxusercontent.com/u/11876059/DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz
tar zxf DPO_MT7601U_LinuxSTA_3.0.0.4_20130913.tar.gz
cd DPO_MT7601U_LinuxSTA_3.0.0.4_20130913
make
sudo make install
sudo reboot

Note that some of the steps below (kernel source setup, etc) may also be necessary. I need to redo this from scratch on a clean system to verify.

Other notes from various attempts:

http://va3paw.com/2014/03/16/hsmm-mesh-on-raspberry-pi/

Download driver source from http://www.mediatek.com/en/downloads/mt7610u-usb/

sudo su
apt-get update
apt-get upgrade
rpi-update
cd /usr/src
git clone --depth 1 https://github.com/raspberrypi/linux.git
ln -s /usr/src/linux /lib/modules/`uname -r`/build
cd /lib/modules/`uname -r`/build
make mrproper
gzip -dc /proc/config.gz > .config
make modules_prepare
wget https://github.com/raspberrypi/firmware/raw/master/extra/Module.symvers
exit
cd ~/mt7610u_wifi_sta_v3002_dpo_20130916
make
make install
cd ~/wireless-drivers/DPO_RT5572_LinuxSTA_2.6.1.3_20121022
sudo make
sudo make install
git clone https://github.com/jamesfoley/raspberry-pi-MT7601