Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
raspberry-udk_ss2016:interfaces [2016/06/25 10:12]
admin
raspberry-udk_ss2016:interfaces [2018/06/20 15:36] (current)
admin
Line 4: Line 4:
 Find you IP address: Find you IP address:
   $ ip addr   $ ip addr
-For ginving the Raspberry Pi a static IP address. Open the interfaces file:+For giving the Raspberry Pi a static IP address. Open the interfaces file:
   $ sudo nano /etc/network/interfaces   $ sudo nano /etc/network/interfaces
 And change the file to: And change the file to:
Line 20: Line 20:
        
    # Ethernet    # Ethernet
-    auto etho+    auto eth0
     allow-hotplug eth0     allow-hotplug eth0
     iface eth0 inet static     iface eth0 inet static
Line 35: Line 35:
     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf     wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
  
-Disable the DHCP-Client:\\     +Disable the DHCP-Client:   
   $ sudo service dhcpcd stop   $ sudo service dhcpcd stop
   $ sudo systemctl disable dhcpcd    $ sudo systemctl disable dhcpcd 
      
 Reboot:\\ Reboot:\\
-   $ sudo reboot   +  $ sudo reboot