I am using the following link :https://thepi.io/how-to-use-your-raspberry-pi-as-a-wireless-access-point/ to set up my raspberry pi to act like a wireless router. So far I have installed raspbian on a sd card. I don't have access to an external monitor or a keyboard. I have access to a ubuntu laptop. I want to use the commands on the tutorial to set up the pi but how do I connect to pi in the first place. This is the first time I am doing this and I have no idea. I have an ethernet cable and wifi access that is again provided by a raspberry pi that was already set up by somebody else. How can I connect to the raspberry pi in the terminal to execute the commands? Thanks!
Asked
Active
Viewed 314 times
1 Answers
1
ENABLE SSH
SSH is what you're looking for. If you connect your RPI ethernet port to your router you can use arp -a
(linux, mac) to see all IP addresses on your network. You will likely see your pi as pi (192.168.1.15)
or something along those lines.
Once you find the pi IP you can connect to the raspberry pi using the ssh
command. When connecting to the raspberry pi a prompt will ask you for a password (it is usually raspberry
on raspbian OS).
ssh pi@192.168.1.15
If this doesn't work, SSH might not be enabled. You can take your SD card and put create an empty file with the name SSH at the boot directory.

Colin Rosati
- 209
- 1
- 9
-
When I execute
apr -a
on my Raspberry Pi I get:-bash: apr: command not found
. Did you meanip a
? But this only shows the IP addresses of the local interfaces not all IP addresses on the network. – Ingo Feb 12 '19 at 21:49 -
-
Ah.. you mean asking the local arp cache. But this will not give you all IP addresses on your network. It will only show addresses that where addressed the last 5 minutes. If you haven't addressed the RasPi the last 5 minutes (e.g. with ping) it isn't shown in the arp cache. Using
nmap
seems to be better. – Ingo Feb 13 '19 at 19:34
ssh pi@raspberrypi.local
orssh pi@<ip address of your pi>
. – jake Jan 26 '19 at 13:44