Difference between revisions of "NGEE December 2014 Barrow"

From IARC 207 Wiki
Jump to navigation Jump to search
imported>Lcohen
Line 16: Line 16:
 
==How I think things will work==
 
==How I think things will work==
 
# Gain access to the control shed
 
# Gain access to the control shed
# Look to see if the lights are active on the dreamplug (ie is it getting power)
+
# Look to see if the lights are active on the dreamplug (ie is it getting power. 3 of 4 should be on)
# If yes...  
+
#* If no, check power supply, replace if necessary
## Try using ''PUTTY'' to ssh to the dreamplug.
+
#* If yes...  
## First, disconnect the port 1 ethernet cable, which connects to the webcam
+
# disconnect the port 1 ethernet cable, which connects to the webcam (disable wireless on toughbook)
## connect another ethernet cable between port 1 on the dreamplug and the laptop
+
#*connect another ethernet cable between port 1 on the dreamplug and the laptop
## when you connect your laptop to the dreamplug if it is working fine it should dynamically supply an IP address using DHCP
+
#* when you connect your laptop to the dreamplug if it is working fine it should dynamically supply an IP address using DHCP
## IP address for the server will be '''192.168.1.1'''; port initially is '''22''' ''(if we use the replacement dreamplug the port will be '''20593''')''; user will be ''bob''
+
#* IP address for the server will be '''192.168.1.1'''; port initially is '''22''' ''(if we use the replacement dreamplug the port will be '''20593''')''; user will be ''bob''
 +
#* Open command prompt (cmd) and ping 192.168.1.1
 +
#* If doesn't work, ipconfig. If ethernet adapter local area connection, Media state reads 169.... then need to set up static IP address
 +
#:* control panel> Network and internet> Network Connections ->right click local area connection, IP Version 4, properties
 +
#::* IP: 192.168.1.5
 +
#::* subnet: 255.255.255.0
 +
#::* default gateway: 192.168.1.1
 +
#* Ping again
 +
#* Download data with loggernet 
 +
#:* change dreamplug IP to 192.168.1.1
 +
#:* change the file names to reflect the date.
 +
#:* collect the data for A-D.
 +
# Try using ''PUTTY'' to ssh to the dreamplug.
 
## If you're able to log in... awesome!
 
## If you're able to log in... awesome!
 
### let's try a few commands then.  Here are some commands:
 
### let's try a few commands then.  Here are some commands:
Line 39: Line 51:
 
#### iface eth0 inet static
 
#### iface eth0 inet static
 
#### address 199.165.126.165
 
#### address 199.165.126.165
# After all of that is done:
+
#swap dreamplugs
## Download the data using LoggerNet
 
### change the file names to reflect the date.
 
### collect the data for A-D.
 
  
  

Revision as of 15:50, 3 December 2014

12/5/2014

  • 9:45 Arrive at Airport
  • 11:15am Fly to Barrow, on Alaska Flight 2817
  • 6:10pm arrival
  • 7:00pm Safety Training & Barrow Introduction (maybe?)

12/6/2014

  • 9am Snowmachine training
  • 9:30am Snowmachine to control shed
  • Any other odds or ends?
  • @ the control shed


How I think things will work

  1. Gain access to the control shed
  2. Look to see if the lights are active on the dreamplug (ie is it getting power. 3 of 4 should be on)
    • If no, check power supply, replace if necessary
    • If yes...
  3. disconnect the port 1 ethernet cable, which connects to the webcam (disable wireless on toughbook)
    • connect another ethernet cable between port 1 on the dreamplug and the laptop
    • when you connect your laptop to the dreamplug if it is working fine it should dynamically supply an IP address using DHCP
    • IP address for the server will be 192.168.1.1; port initially is 22 (if we use the replacement dreamplug the port will be 20593); user will be bob
    • Open command prompt (cmd) and ping 192.168.1.1
    • If doesn't work, ipconfig. If ethernet adapter local area connection, Media state reads 169.... then need to set up static IP address
    • control panel> Network and internet> Network Connections ->right click local area connection, IP Version 4, properties
    • IP: 192.168.1.5
    • subnet: 255.255.255.0
    • default gateway: 192.168.1.1
    • Ping again
    • Download data with loggernet
    • change dreamplug IP to 192.168.1.1
    • change the file names to reflect the date.
    • collect the data for A-D.
  4. Try using PUTTY to ssh to the dreamplug.
    1. If you're able to log in... awesome!
      1. let's try a few commands then. Here are some commands:
      2. su root --> typing this will allow you to become the root user, which is used for configuration and advanced management.
      3. ifconfig --> this will output to the screen the current ip address of the dreamplug. there is a lot of information that will be spit out. eth0 = connection to the greater internet & eth1 = connection to the webcam.
      4. nano --> this is a simple text editor. To use it, from the command line type nano followed by the file name. for example nano textfile.txt
        1. important nano commands: <CONTROL><X> = exit & save
        2. <CONTROL><O> = save
        3. <ESCAPE><\> = fast forward to the last line of the program
      5. cat $filename = output to the terminal screen the contents of a file (like a text file)
      6. tail $filename = output to the terminal screen the last 10 lines of a text file
      7. cd = change directory. so, like cd .. or cd /etc/ or cd /home/bob/bin. invoking that command will take you different places. Also, to denote directories in linux you'll use the forward slash as shown there so /home/bob/bin is three directories in from the root directory.
      8. exit --> this is how you log out
      9. shutdown now -r --> slightly more complex, typing this will restart the dreamplug.
      10. nano /etc/network/interfaces --> couple of changes I anticipate making:
        1. iface eth0 inet static
        2. address 199.165.126.165
  5. swap dreamplugs


Tools list:

  • charged laptop
  • laptop power cable
  • putty installed on it
  • serial cable
  • Network cable (5 -10 feet long to stretch from dreamplug mounted on wall to the desk.
  • Cell phone and charger
  • Camera