sudo su
Gotta find out what your ethernet interface is called.
Sometimes it’s eno16777736, sometimes its eth33 or similar.
ifconfig
Then, config the interface.
ifconfig eno16777736 10.150.x.y netmask 255.255.255.0 up
Then, hit the up arrow and hit enter again. Running this once isn’t enough. Sometimes twice isn’t enough.
ip route add default via 10.150.x.254
Run this twice too.
vim /etc/resolv.conf
Add This Line:
nameserver 8.8.8.8
yum clean all
yum --disablerepo=\* --enablerepo=base,extras,updates update
ssh -CY student@10.150.x.y
C enables compression, makes things faster
Y enables X11 forwarding, trusted, no extra security.