With ssh configured the Raspi can be attached using putty after booting.
But how do I know about the IP the raspi got from DHCP? There are several possibilities to look:
1) If there is a screen attached at console the IP can be read there.
But I operate the raspi in different networks just with LAN and power connected only.
2.) In home networks the  web interface of the router (NetGear, FritzBox or whatever) can tell you the IP.
3) For Android users there is a very nice App called ‚fing‘. This app reports all devices on the local network, and the nice thing is, that it tells also which hardware is connected and tells ‚Raspberry Pi Foundation‘ in case of the raspi. I do not know what apps to use with other mobile equipment, but look in the apps store to find the solution.
4) It can also be usefull to operate with the hostname. From a windows PC there is an easy way to be able to call the raspi by name. Samba has to be configured. To use this service it is only neccessary to install and operate samba:

sudo apt-get install samba samba-common-bin
sudo /etc/init.d/samba start

Now with putty you need not to put in the ip it is also possible to enter the hostname.

The hostname can be changed by editing

sudo vim /etc/hosts
sudo vim /etc/hostname

and chage ‚raspberrypi‘ to ‚YourDesiredHostName‘. A short name can be very usefull.
If you want to know the IP address from the hostname open a cmd-Window (Dos-shell) and type
ping raspberrypi
Ping will tell you  the IP address it is pinging to.
5) If you are logged in you can display the IP address with:

hostname -i

or

ifconfig

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert