PNPtutorials / PNP_RPi3_AP

convert your Raspberry pi 3 into a Access Point by creating the hotspot
69 stars 35 forks source link

wlan0 not configured #6

Open fhnaseer opened 6 years ago

fhnaseer commented 6 years ago

I followed the steps. But i got these errors. Any idea?,

pi@raspberrypi:~/PNP_RPi3_AP $ sudo ap mywifi somepass [ ok ] Stopping hostapd (via systemctl): hostapd.service. [ ok ] Stopping udhcpd (via systemctl): udhcpd.service. ifdown: interface wlan0 not configured RTNETLINK answers: File exists ifup: failed to bring up wlan0 [ ok ] Restarting hostapd (via systemctl): hostapd.service. [ ok ] Restarting udhcpd (via systemctl): udhcpd.service. ● hostapd.service - LSB: Advanced IEEE 802.11 management daemon Loaded: loaded (/etc/init.d/hostapd; generated; vendor preset: enabled) Active: active (running) since Wed 2017-10-11 08:04:57 UTC; 829ms ago Docs: man:systemd-sysv-generator(8) Process: 4171 ExecStop=/etc/init.d/hostapd stop (code=exited, status=0/SUCCESS Process: 4333 ExecStart=/etc/init.d/hostapd start (code=exited, status=0/SUCCE CGroup: /system.slice/hostapd.service └─4338 /usr/sbin/hostapd -B -P /run/hostapd.pid /etc/hostapd/hostapd.

Oct 11 08:04:56 raspberrypi systemd[1]: Starting LSB: Advanced IEEE 802.11 manag Oct 11 08:04:57 raspberrypi hostapd[4333]: Starting advanced IEEE 802.11 managem Oct 11 08:04:57 raspberrypi systemd[1]: Started LSB: Advanced IEEE 802.11 manage

nilipta commented 6 years ago

I followed the steps. But i got these errors. Any idea?,

pi@raspberrypi:~/Music/hotspot $ sudo ap PNPtutorials pnptutorials sudo: ap: command not found