Difference between revisions of "NGEE December 2014 Barrow"

From IARC 207 Wiki
Jump to navigation Jump to search
imported>Lcohen
imported>Lcohen
Line 47: Line 47:
 
### 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.
 
### 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.
 
### exit --> this is how you log out
 
### exit --> this is how you log out
### shutdown now -r --> slightly more complex, typing this will restart the dreamplug.
+
### shutdown now -r --> slightly more complex, typing this will restart the dreamplug. need to do this after changing interface file
 
### nano /etc/network/interfaces --> couple of changes I anticipate making:
 
### nano /etc/network/interfaces --> couple of changes I anticipate making:
 
#### iface eth0 inet static
 
#### iface eth0 inet static
 
#### address 199.165.126.165
 
#### address 199.165.126.165
#swap dreamplugs
+
#if still not working swap dreamplugs
  
  

Revision as of 16:10, 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. need to do this after changing interface file
      10. nano /etc/network/interfaces --> couple of changes I anticipate making:
        1. iface eth0 inet static
        2. address 199.165.126.165
  5. if still not working 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