What I am trying to achieve : I have a RPi2. I don't have a Wifi dongle that can be used with the RPi2. I decided to connect an ESP8266 to RPi2 so that ESP8266 will act as the Wifi receiver for RPi2. Can this be done? If this can't be done, I prefer buying a RPi3 instead of spending money on a Wifi Dongle.
What I have done till now : Google says that to connect an ESP8266 to the serial port of Pi, I have to disable kernel startup messages and serial console login (These by default uses the serial port of Pi)
I have already tried the following to disable the serial port
sudo raspi-configand selecting
Advanced Optionsand disabling the
serialport in it
Following this link i have done
sudo systemctl stop serial-getty@ttyAMA0.service sudo systemctl disable serial-getty@ttyAMA0.service
to disable serial console login. But when I asked this question, I was told this step is not required.
After trying all these steps, I still don't get a reply from ESP8266 if I send an AT command. I am using minicom to send the AT command.