The simplest way to put the Raspberry Pi on the network is to plug it into an Ethernet cable.
This may not always be practical or convenient.
The best method to get the RPi on the network is to first connect a monitor, mouse and keyboard.
Danger Will Robinson, danger!
Before connecting your Raspberry Pi to any network change your password from the default.
The default username and password is well known.
Changing the password using the GIU
Password: raspberry ---> somethingDifferent
There are two ways to change your password
- Deskstop GUI
Note, for some newer version of the OS you will have to change the password when you first start it up.
Changing the password using the command-line
First bring up the terminal
Press Ctrl-Alt-t (at the same time)
In the terminal type passwd and press enter
Next type your current password
then your new password twice
Note, password text is not displayed.
After successfully changing your password it is safe to put your RPi on the network.
If you connected with an Ethernet cable you will see confirmation of connection in the GUI. See red arrow below.
The GUI method above confirms that the RPi is on the network.
It does not however tell you what the IP address is for your device.
Use the two command line methods below to confirm the IP address for your device.
From the two methods above the IP address for this device is 192.168.1.76.
The mac address (media access control) is b8:27:eb:b0:97:90.
The following links demonstrates how to connect your RPi to a WiFi network.
Questions on the test:
How do I find the IP address of my device?
Answer use one of these commands;
ip a ifconfig
I also see the mac address using these methods. For interface eth0 and wlan0, why are the first three pairs of the mac address the same? (b8:27:eb)
For a given mac address who is the manufacture of that device?
Answer, use this web-tool
Try this with the mac address from your computer.