Difference between revisions of "Super-Site"

From IARC 207 Wiki
Jump to navigation Jump to search
Line 26: Line 26:
 
# set up sshd
 
# set up sshd
 
# set up keys w/ toughbook & iarc.server
 
# set up keys w/ toughbook & iarc.server
 +
# LoggerNet isn't initially running at start.  For [https://help.ubuntu.com/community/UbuntuBootupHowto ubuntu]:
 +
sudo update-rc.d myscript defaults 98 02
 +
# add sites to loggernet
 +
  
 
# Yet to be done:
 
# Yet to be done:
## Install drivers (if needed for [http://www.radiolabs.com/products/wireless/wave-magnum.php High power WiFi adapter])
 
 
## Dig out an old CRT monitor
 
## Dig out an old CRT monitor
 
## make insulated enclosure for laptop
 
## make insulated enclosure for laptop
 
## search/replace to get datapro scripts running on the new computer
 
## search/replace to get datapro scripts running on the new computer
 
## set up scp & data processing on the cron
 
## set up scp & data processing on the cron
## add sites to loggernet
 
## configure MD485s & NL100 for pakbus network
 
Things that may yet come in handy:
 
  
 
Things running locally on the cron:
 
Things running locally on the cron:

Revision as of 14:38, 1 December 2010

Here's a page started by Bob. Not sure how often I'll be adding stuff but it's been on my to-do list. Thought I'd start with packages added to the toughbook.

Toughbook Setup

Toughbook is a CF-19 (small one with the touchscreen)

  1. Install Ubuntu 10.10
  2. Install Xinput Calibrator as per suggestions here
  3. Install Numpy
  4. Install Git
  5. Install DHCP server for local network access on eth0 (wlan0, intel chipset installed on toughbook wasn't designed to serve as a wireless access point)
  6. Install DNS Masq for supplying dns to local network (eth0 only) dnsmasq website
  7. Manually configure IPTables for internet connection sharing
  8. Install Loggernet for Linux
    1. Handy: this page on rpm to dem
    2. Handy: Ken's Notes
    3. Handy: Redhat vs. Debian naming convention
    4. Gist is to change the daemon command in csilgrnet, csildmp, csildep to something like this: start-stop-daemon --start --user loggernet --exec /opt/CampbellSci/LoggerNet/csilgrnet -- --run-as-daemon=true
  9. clone git repositories for datapro tools
cd ~/.ssh
ssh-keygen -t rsa -C "bob"
cat ~/.ssh/id_rsa.pub
[paste key on github]
cd ~/working_files/bin/py_datapro/
git clone git@github.com:frankohanlon/DataPro.git
  1. sftp datapro configs
  2. Buy a bluetooth keyboard/mouse
  3. set up sshd
  4. set up keys w/ toughbook & iarc.server
  5. LoggerNet isn't initially running at start. For ubuntu:
sudo update-rc.d myscript defaults 98 02
  1. add sites to loggernet


  1. Yet to be done:
    1. Dig out an old CRT monitor
    2. make insulated enclosure for laptop
    3. search/replace to get datapro scripts running on the new computer
    4. set up scp & data processing on the cron

Things running locally on the cron: IP address posted to peeps.working_files/ss_status/

Sensors

To Do

  1. Figure out problems with Soil Moisture probes
  2. Figure out problem with soil heat flux plate

Local Network

I'd draw pictures if I knew how. Anyway:

  • Small Toughbook gets internet over wlan1 from the Poker Flats facility over DHCP
  • Out of eth0, the wired ethernet port, it acts as a DHCP server on the 192.168.1.1 address range.
  • The site NL100 is set to 192.168.1.2
  • The camera is set to _____
  • There is a network switch so that other devices can also connect such as the eddy flux down the road.

PakBus etc.

NL100 settings:

NL100/105:
TLink config: [disabled]
RS485 config: [PakBus]
 RS485 bps: [38k]
 RS485 beacon interval (sec): [60]
 RS485 verify interval (sec): [0]
 RS485 neighbor list: [0]
CS I/O config: [disabled]
RS232 config: [disabled]
EtherNet 10BASE-T: [enabled]
 10BASE-T port IP address: [192.168.1.2]
 10BASE-T port network mask: [255.255.255.0]
 IP address of the default gateway: [192.168.1.1]
PakBus Address of the NL100/105: [678]
 Clock source address: [0]
 Central Routers: [0]
PakBus/TCP server config: [enabled]
 PakBus/TCP server port number: [7808]
PakBus/TCP client config: [disabled]
Modbus/TCP gateway config: [disabled]
Telnet IP port number: [23]
DevConfig security code: [0]
NL100/105 (ver, show, edit, defaults, reset, help, bye): ver
                ROM version: 2.10
                OS version: 9
 EtherNet physical address: 00d02c001395
Number of objects on heap: 431 (pkt pool: 1)

MD485s are setup:

RS485 & CSI/O active
RS485 @ 38k
CSI/O @ 38k
Transparent communication mode

Data loggers:

Super-Site Met (16 meter tower & radiation) -- PakBus ID 420
Super-Site Soil (Soil Pit, Heat Flux, Snow, Surface Temps) -- PakBus ID 421
Super-Site Power (Current Monitor & diagnostics) -- PakBus ID 422