Changes between Version 18 and Version 19 of SetupPiZeroSSHOverUSB
- Timestamp:
- Dec 9, 2016, 11:26:11 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SetupPiZeroSSHOverUSB
v18 v19 4 4 * Edit [https://www.raspberrypi.org/documentation/configuration/config-txt.md config.txt]:[https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README more info] 5 5 * Uncomment: dtparam=i2c_arm=on 6 * Uncomment: framebuffer_width=1280 7 * Uncomment: framebuffer_height=720 (these set the screen size for VNC when no monitor is attached) 6 8 * Add to end: {{{dtoverlay=dwc2}}} (is this the default?) 7 9 * Edit [http://elinux.org/RPi_cmdline.txt cmdline.txt]: 8 10 * Insert {{{modules-load=dwc2,g_ether g_ether.dev_addr=5a:77:1e:af:8e:9e g_ether.host_addr=72:8d:1f:c4:e8:ca}}} after rootwait. This will load the IP over USB driver and configure a fixed MAC address (otherwise, the Pi will generate a new random MAC address each boot and Windows will think it is a different Pi). See [http://blog.gbaman.info/?p=791 here] and [https://gist.github.com/Gadgetoid/319ecf8e3c5d3660e298 here] for more info. Use a unique pair of MAC address for each Pi. Note there is exactly one space between each term, and the whole cmdline.txt file is one line. 9 * create an empty file named /boot/ssh (so ssh will be enabled) 10 11 * create an empty file named /boot/ssh (so ssh will be enabled) 11 12 * Install Bonjour on your computer from [https://support.apple.com/downloads/bonjour%2520for%2520windows here] to support automatic discovery of the Pi 12 13 * Connect your Pi to the computer via a USB 2.0 port. On the Pi use the usb port for data and power, that's the one in the middle, not the one on the end (which is power, no data). … … 32 33 * Press OK 33 34 35 * Enable VNC 36 * Log into your Pi using PuTTY 37 * sudo rasp-config 38 * Enable VNC, I2C, configure localization, etc. 39 34 40 * Setup DNS services on your PiZero: 35 41 * Log into your Pi using PuTTY