0

I'm new to this. I followed this documentation to set up as a stand alone access point network.

https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md

However, after that, I am unable to use my Raspberry Pi and connect to the internet. I wanted to download an IDE on my Raspberry Pi.

How do I enable back my wifi? I know that due to setting up of access point, it disabled my wifi capability.

Marcus
  • 31
  • 1
  • 1
  • 8
  • Was WiFil working before hand? If so, it's likely that the /etc/wpa_supplicant/wpa_supplicant.conf got deleted or changed. – CharlieHorse May 09 '17 at 15:17
  • Yes it was working beforehand. Ahh, so the only way to fix it is by re-flashing the Raspian OS onto the microsd? – Marcus May 09 '17 at 15:37
  • Not at all. You can sudo nano /etc/wpa_supplicant/wpa_supplicant.conf and add the appropriate stuff in there. I don't recall off the top of my head what goes there but you can google "wpa_supplicant.conf" and get what you need. – CharlieHorse May 09 '17 at 17:30
  • Oh that's great! I will try it tomorrow and let you know if it works! thanks – Marcus May 10 '17 at 04:28
  • 1
    @CharlieHorse I managed to solve the problem! Thanks alot man! – Marcus May 11 '17 at 06:18

1 Answers1

0

Following CharlieHorse's comment, I did the following:

Turns out, it was because i changed the wlan0 codes while setting it up as an access point. This is what i did. I revert the settings back to default on my

sudo nano /etc/network/interfaces using the link below.

https://stackoverflow.com/questions/20251320/default-settings-raspberry-pi-etc-network-interfaces

Then, in sudo nano /etc/dhcpcd.conf, i removed:

denyinterfaces wlan0

I reboot, and my wifi is back to normal! :)

Marcus
  • 31
  • 1
  • 1
  • 8