Skip to content

Commit

Permalink
updated IP address
Browse files Browse the repository at this point in the history
  • Loading branch information
rawalshree committed Jan 19, 2018
1 parent f59197d commit d76fb85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 32 deletions.
29 changes: 0 additions & 29 deletions rover/core/servers/iftop/screenlog.0

This file was deleted.

9 changes: 6 additions & 3 deletions rover/core/servers/oLed/deepstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
import commands


roverIp = "localhost" # This ip will change periodically,
roverIp = "192.168.1.2" # This ip will change periodically,
# for now, this is the ip of the rover on openvpn


try:
if "titan-share" in commands.getoutput("iwgetid -r"):
roverIp = "192.168.1.161"
if "titan" in commands.getoutput("iwgetid -r"):
roverIp = "192.168.1.2"
#print('Your Deepstream IP address is : ' + str(roverIp))
elif "00:24:B2:CA:8B:86" in commands.getoutput("nmap -sP 192.168.1.1"):
roverIp = "192.168.1.2"
#print('Your Deepstream IP address is : ' + str(roverIp))
else:
roverIp = "127.0.0.1"
Expand Down

0 comments on commit d76fb85

Please sign in to comment.