0

I already know how to enable SSH : you have to drop a "ssh" file on the boot partition on the MicroSD card.

What I don't know, is how to get an IP for my raspberry. In /etc/network/interfaces, the default raspbian settings is all on "manual" :

# interfaces(5) file used by ifup(8) and ifdown(8)

# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

allow-hotplug wlan1
iface wlan1 inet manual
    wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

Do I have to plug a screen and a keyboard only to change "manual" to "dhcp" on the "iface eth0" line ?

Would NOOBS help for this ?

Tristan
  • 101
  • 1

1 Answers1

1

You "get" an IP address from your router (or other network element) providing your DHCP server.

Without knowing details of your network, it is difficult to be more specific.

If you are connected to the Pi ifconfig will show the address.

In most cases you do not need to know the IP address. raspberrypi.local can be used in lieu of IP in most cases (certain uncommon Windows networks excepted).

Milliways
  • 62,573
  • 32
  • 113
  • 225