Moved network from to 192.168.2 because 192.168.1 is very common

This commit is contained in:
Adam Mooers 2023-08-08 23:59:34 -04:00
parent 3d00a65147
commit 5be3459332
4 changed files with 6 additions and 6 deletions

View File

@ -127,7 +127,7 @@ OPENFPGALOADER=./openFPGALoader/build/openFPGALoader
flash: flash:
${OPENFPGALOADER} -c digilent ../boot/digilent_arty.bit ${OPENFPGALOADER} -c digilent ../boot/digilent_arty.bit
tftp: tftp:
cd ../boot && py3tftp --host 192.168.1.100 -p 6969 -v cd ../boot && py3tftp --host 192.168.2.100 -p 6969 -v
copy: copy:
scp ../boot/mmio.py ../linux/comm.py upsilon:~/ scp ../boot/mmio.py ../linux/comm.py upsilon:~/

View File

@ -3,7 +3,7 @@ iface lo inet loopback
auto eth0 auto eth0
iface eth0 inet static iface eth0 inet static
address 192.168.1.50 address 192.168.2.50
netmask 255.255.255.0 netmask 255.255.255.0
network 192.168.1.0 network 192.168.2.0
gateway 192.168.1.1 gateway 192.168.2.1

View File

@ -40,7 +40,7 @@ def sign_extend(value, bits):
# Start a SSH connection to the server. # Start a SSH connection to the server.
print('connecting') print('connecting')
client = SSHClient('192.168.1.50', user='root', pkey='~/.ssh/upsilon_key') client = SSHClient('192.168.2.50', user='root', pkey='~/.ssh/upsilon_key')
# Upload the script. # Upload the script.
print('connected') print('connected')
client.scp_send('../linux/noise_test.py', '/root/noise_test.py') client.scp_send('../linux/noise_test.py', '/root/noise_test.py')

View File

@ -34,7 +34,7 @@ def connect_execute(f, *arg):
from pssh.clients import SSHClient # require parallel-ssh from pssh.clients import SSHClient # require parallel-ssh
print('connecting') print('connecting')
client = SSHClient('192.168.1.50', user='root', pkey='~/.ssh/upsilon_key') client = SSHClient('192.168.2.50', user='root', pkey='~/.ssh/upsilon_key')
# Upload the script. # Upload the script.
print('connected') print('connected')
client.scp_send(f'../linux/{f}', '/root/') client.scp_send(f'../linux/{f}', '/root/')