The default ubuntu fan control isn't installed.
sudo apt-get install lm-sensors xsensors fancontrol
#!/bin/bash #sudo apt install lm-sensors fancontrol sudo sensors-detect /etc/init.d/kmod start sudo pwmconfig sudo service fancontrol start
Calculate network IP address: 255.255.255.224 -> last octet = E0 99. 1. 81.209 -> last octet = D1 Logical AND the mask and your ip: E0 & D1 = C0 = 192 --> network = 184.108.40.206 Calculate broadcast address: 255.255.255.224 : E0 -> there are 1F = 31, -> broadcast = 220.127.116.11 + .31 = 18.104.22.168
Calculate broadcast address: 255.255.255.224 -> last octet = E0 99. 1. 81.209 -> last octet = D1 Hosts' IPs = 1F Logical OR the hosts ips with your ip: 1F | D6 = DF = 223 --> broadcast = 22.214.171.124
255.255.255.224 is the netmask, add up the "1" bits: 8 + 8 + 8 + 3 = 27 so "this network" gets /27 notation and can be described as 126.96.36.199/27
BROADCAST=`ip address show $DEV | grep 'inet .* brd ' | head -1 | sed -e 's/^.* brd \([0-9\.]*\) .*$/\1/'`
dc@dc-Precision-T7600:/etc/network$ echo $BROADCAST 192.168.0.255
For deep learning to TitanX box:
On Server: home user project directory where you are running ipython:
ipython notebook --no-browser --port=8080 or a port which has been port forwarded
On the remote laptop:
ssh -N -f -L localhost:8888:localhost:8080 remote_user@remote_hostBrowser: localhost:8888if error: bind: Address already in use channel_setup_fwd_listener_tcpip: cannot listen to port: 8888 Could not request local forwarding.
run lsof to find which processes are using the port:
localhost:~ dc$ lsof -ti:8888 325 1764
Then sudo kill -9 325 1764