Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ust:meeting_minutes_september_13_15_2022 [2022/09/14 00:41] jchang |
ust:meeting_minutes_september_13_15_2022 [2022/09/16 00:26] (current) jchang |
||
---|---|---|---|
Line 4: | Line 4: | ||
=====Updates===== | =====Updates===== | ||
**September 13, 2022** | **September 13, 2022** | ||
+ | |||
+ | __Gateway Setup__ | ||
* Downloaded code onto new computer | * Downloaded code onto new computer | ||
* Login to github | * Login to github | ||
Line 21: | Line 23: | ||
* make sure requirements file is in the same directory and run cat requirements.txt | * make sure requirements file is in the same directory and run cat requirements.txt | ||
* Note: new computer so there are different ports | * Note: new computer so there are different ports | ||
+ | * use sudo chmod a+rw to give permission for port | ||
* python3 works | * python3 works | ||
* Took out Python2 syntax (ex: from decoder import Decoder) and ran production without the sudo | * Took out Python2 syntax (ex: from decoder import Decoder) and ran production without the sudo | ||
* Gave permission to user to use the port | * Gave permission to user to use the port | ||
* Gateway/src working | * Gateway/src working | ||
+ | * Writes to file Node-420.csv | ||
+ | |||
+ | __Port Forwarding__ | ||
+ | * Open terminal on test gateway | ||
+ | * Run /sbin/ifconfig | ||
+ | * Run ip route | ||
+ | * Want to see where default route goes to = 192.168.1.1 (selecting raspberry pi for ip address) | ||
+ | * Make sure raspberry pi doesn't change addresses, otherwise, port forwarding dosn't work anymore | ||
+ | * Open browser and go to address | ||
+ | * Enter credentials (username: admin, password: same as scel user) | ||
+ | * run ip link show eno8303 | ||
+ | * ssh in | ||
+ | * connected to scel server: ssh [email protected] | ||
+ | * otherwise: ssh [email protected] -p 11121 | ||
**September 15, 2022** | **September 15, 2022** | ||
- | * | + | * SQL tutorials to begin thinking about data vending machines while we wait for Kenny and Gian |
== Goals === | == Goals === |