Changes between Version 12 and Version 13 of SetupPiZeroSSHOverUSB


Ignore:
Timestamp:
Oct 14, 2016, 8:16:25 PM (9 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SetupPiZeroSSHOverUSB

    v12 v13  
    22   * [https://www.raspberrypi.org/documentation/installation/installing-images/README.md Installation instructions]
    33   * [http://blog.gbaman.info/?p=791 Setup for USB connectivity]
    4         * Edit config.txt:[https://github.com/raspberrypi/firmware/blob/master/boot/overlays/README more info]
     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]
    55            * Uncomment: dtparam=i2c_arm=on
    66            * Add to end: {{{dtoverlay=dwc2}}}  (is this the default?)
    7         * Edit cmdline.txt:
     7        * Edit [http://elinux.org/RPi_cmdline.txt cmdline.txt]:
    88            *  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. 
    99     
     
    1818    * Username: pi
    1919    * Password: raspberry
    20  
     20* Note: by default the connections use IPv6.  If you want to force IPv4, disable IPv6 for the new network adapter
     21
     22* Setup DNS services on your PiZero:
     23   * Edit /etc/resolv.conf and add: {{{nameserver 8.8.8.8}}}
    2124* Set up connection sharing between Windows and the Pi. 
    2225    * Go to Control Panel > Network and Sharing Center > Adapter Settings.
    2326    * Identify the name of the network corresponding to the Pi--Its a Unidentified Network, USB Ethernet/RNDIS Gadget.  Its probably something generic like "Ethernet 3".
    24     * Right click on your main ethernet card.  Pick Properties > Sharing Tab.  Check "Allow other network users to connect through this computer's internet connection, and pick the name of the home networking connection identified in the step above.  Click OK.
     27    * Right click on your main ethernet or wifi connection.  Pick Properties > Sharing Tab.  Check "Allow other network users to connect through this computer's internet connection, and pick the name of the home networking connection identified in the step above.  Click OK.
    2528    * NOTE: on some systems (e.g. a laptop with WiFi access only), you may not be able to choose the specific network connection you will share your main connection with, you just enable internet sharing.  You may also need to manually add the Google name server (8.8.8.8) to the IPv4 properties of the virtual (USB) connection that corresponds to your Pi:
    2629         * Control Panel -> Network and Internet -> Network Connections