Difference between revisions of "Pi"

From Bike Wiki
Jump to navigation Jump to search
(some directions)
 
(Giving the Pi the Internet: can't believe I have to do this)
Line 9: Line 9:
 
If you don't want to walk, set up a hotspot on your phone and then run these commands:
 
If you don't want to walk, set up a hotspot on your phone and then run these commands:
  
<code>
+
sudo ip link set dev wlan0 up
sudo ip link set dev wlan0 up
+
sudo iw dev wlan0 connect -w 'NAME OF WIFI NETWORK'
sudo iw dev wlan0 connect -w 'NAME OF WIFI NETWORK'
+
sudo dhclient
sudo dhclient
 
</code>
 

Revision as of 22:34, 3 February 2020

For setting up the Pi, see Setting up the Pi.

For connecting to the Pi, see Connecting to the Pi.

Giving the Pi the Internet

Go to the fifth floor of Upson and stand outside the bike lab, then use the LocomotionLab wifi as detailed in Connecting to the Pi#General notes.

If you don't want to walk, set up a hotspot on your phone and then run these commands:

sudo ip link set dev wlan0 up
sudo iw dev wlan0 connect -w 'NAME OF WIFI NETWORK'
sudo dhclient