User Tools

Site Tools


add_a_network_interface_without_using_usb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
add_a_network_interface_without_using_usb [2016/08/27 22:33] walkeradminadd_a_network_interface_without_using_usb [2023/03/09 22:35] (current) – external edit 127.0.0.1
Line 20: Line 20:
 \\  \\ 
 \\ \\
-==== Connecting the NIC =====+===== Connecting the NIC ======
 \\  \\ 
 +Here are the connections I used for this board:
 +\\ 
 +    GPIO     RPi Pin    Nic PNo    Nic Func
 +    
 +    n/c                          CLK
 +    n/c                          WOL
 +    GPIO10   19                  SI
 +    GPIO08   24                  CS
 +    3v3      17                  Vcc
 +    GPIO25   22                  NT
 +    GPIO09   21                  SO
 +    GPIO11   23                  SCK
 +    n/c                          RST
 +    GND      20         10         GND
 +\\ 
 +===== Configuration =====
 +\\ 
 +Enable the SPI Pins:
 +\\ 
 +    From the command line
 +    
 +    sudo raspi-config
 +    
 +    Advanced Options - SPI - Yes to Enable
 +\\ 
 +Add the following to your <color Orange>/boot/config.txt</color>
 +\\ 
 +    dtoverlay=enc28j60
 +\\ 
 +Now <color red>reboot</color> the Pi
 +\\ 
 +\\ 
 +===== Updates =====
 +\\ 
 +<color Red>WARNING!!! - </color>I initially got kernel panics when I tested this unit, so using a standard USB nic, you need to do the following:
 +\\ 
 +    sudo apt-get update
 +    sudo apt-get upgrade
 +    sudo rpi-update (this forces a kernel update)
 +\\ 
 +===== Testing =====
 +\\ 
 +You can use a command line version of speedtest.net if you install it…
 +\\ 
 +    sudo apt-get install python-pip
 +    sudo easy_install speedtest-cli
 +    
 +    Run it with speedtest-cli
 +\\ 
 +I am currently getting:\\ 
 +\\ 
 +<color orange>4Mb/s Download</color>\\ 
 +<color orange>3Mb/s Upload</color>\\ 
 +\\ 
 +The best part is that it is super reliable (and cheap) and we can still use the USB port for something else :)
 +\\ 
 +\\ 
 +{{:gpio_spi_nic.jpg?400|}}{{:gpio_spi_nic_2.jpg?400|}}
 +\\ 
 +\\ 
 +
 +
  
add_a_network_interface_without_using_usb.1472333587.txt.gz · Last modified: 2023/03/09 22:35 (external edit)