echo951357
Posts: 13
Joined: Thu Jul 14, 2016 10:28 pm

WI-FI stop working

Fri Sep 02, 2016 10:37 pm

hello folks,
i wanted to use a raspberry pi as a AP i downloaded the required software : hostapd iptables dnsmasq
and configured the interface, after that, wlan0 does not want to connect to wifi, before i do the operation it was working perfectly.
i want to reuse wlan0 to connect to the internet.

Code: Select all

ifconfig wlan0

Code: Select all

wlan0     Link encap:Ethernet  HWaddr fa:7f:16:8a:2f:5b
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
and

Code: Select all

sudo nano etc/network/interfaces

Code: Select all

# interfaces(5) file used by ifup(8) and ifdown(8)
 Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'

# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
hope that i was enough explicite
thanks for replying.

User avatar
DougieLawson
Posts: 37095
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: WI-FI stop working

Sat Sep 03, 2016 10:57 am

Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

echo951357
Posts: 13
Joined: Thu Jul 14, 2016 10:28 pm

Re: WI-FI stop working

Sat Sep 03, 2016 11:01 pm

hello,
thank you for your reply,
my probleme is not use the pi as an AP but to fix the wirless, after i tried to use it as ap, WIFI does not work anymore on my raspberry, i want to reuse wlan0 to connect to the internet.

Return to “Troubleshooting”