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:48] 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: Here are the connections I used for this board:
Line 36: Line 36:
     n/c                          RST     n/c                          RST
     GND      20         10         GND     GND      20         10         GND
-\\  
 \\  \\ 
 ===== Configuration ===== ===== Configuration =====
-\\  
 \\  \\ 
 Enable the SPI Pins: Enable the SPI Pins:
Line 49: Line 47:
     Advanced Options - SPI - Yes to Enable     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.1472334498.txt.gz · Last modified: 2023/03/09 22:35 (external edit)