tina870163
Posts: 7
Joined: Fri Jul 13, 2018 8:05 am

Want to connect to WiFi but"No wireless interfaces found"

Fri Jul 13, 2018 8:55 am

Hi, I'm new to raspberry pi, and I have start with Raspberry Pi Zero W.
When I use the GUI and want to connect to WiFi, it shows "No wireless interfaces found.", but I setting up the

/etc/network/interfaces with

Code: Select all

auto lo
iface lo inet loopback

#auto eth0
#iface eth0 inet static
#address 192168.3.100
#network 192.168.3.0
#netmask 255.255.255.0
#boradcast 192.168.3.255
#gateway 192168.3.1

auto wlan0
allow-hotpuub wlan0
iface wlan0 inet static
address 192.168.2.33
netmask 255.255.255.0
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
/etc/wpa_supplicant/wpa_supplicant.conf

Code: Select all

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="myssid"
psk="mypassword"
key_mgmt=WPA-PSK
}
#route -n shows

Code: Select all

Kernel IP routing table
Destination   Gateway    Genmask           Flags   Metric Ref  Use  Iface
192.168.2.0  0.0.0.0       255.255.255.0   U          0          0      0      wlan0
#ifconfig

Code: Select all

lo: flags=73<UP, LOOPBACK, RUNNING>  mtu 65536
	inet 127.0.0.1 netmask 255.0.0.0
	inet6 ::1 prefixlen 128  scopeid 0x10<host>
	loop txqueuelen 1000 (Local Loopback)
	RX Packets 0 byte 0(0.0 B)
	RX errors 0 dropped 0 overruns 0 frame 0
	TX packets 0 bytes 0 (0.0 B)
	TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0:  flags=4163<UP, BROADCAST, RUNNING, MULTICAST>  mtu 1500
 	inet 192.168.2.33 netmask 255.255.255.0 broadcast 192.168.2.255
 	inet6 fe80::ba27:ebff:fe7f:a08a  prefixlen 64  scopeid 0x20 <link>
 	ether b8:27:eb:7f:a0:8a  txqueuelen 1000 (Ethernet)
 	RX packets 2627 bytes 337540 (329.6KiB)
 	RX errors 0 dropped 0 overruns 0 frame 0
 	TX packets 249 bytes 36280 (35.4 KiB)
 	TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
When I restart my networking.service, I checked the status of service and it shows that Pi have Associated with my router which is the router of the WiFi which Pi supposed to be connect with.

Also I checked the ARP table on my laptop, Pi's IP shows on the list, and both my laptop and Pi can ping each other, but still have no internet.

Any ideas, has anyone been through this?

Many thanks.
Tina

SurferTim
Posts: 1706
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Want to connect to WiFi but"No wireless interfaces found"

Fri Jul 13, 2018 10:58 am

A couple things stand out.
1) Don't set static network settings in /etc/network/interfaces. Use /etc/dhcpcd.conf.
2) I see no country code in your wpa_supplicant.conf file.

Roken
Posts: 213
Joined: Sun Dec 31, 2017 4:35 pm

Re: Want to connect to WiFi but"No wireless interfaces found"

Fri Jul 13, 2018 8:19 pm

SurferTim probably has it in answer No.2.

Wireless is disabled until a country code is set (I found it the easiest way to disable wireless on mine, which are all wired)
Headless PI. OMG, someone cut it's head off. Oh, hang on. it didn't have one to start with.

tina870163
Posts: 7
Joined: Fri Jul 13, 2018 8:05 am

Re: Want to connect to WiFi but"No wireless interfaces found"

Mon Jul 16, 2018 2:46 am

Thanks for all your replying, after I replace udhcpd with isc-dhcp-server and re-setting up the AP, the problem is solved... And I'm not really sure what's causes this problem...

Return to “Troubleshooting”

Who is online

Users browsing this forum: LTolledo and 45 guests