2

I am trying to configure raspberry pi WiFi on Raspbian. I get an error when typing this command.

sudo iwlist wlan0 scan

Here is my /etc/network/interfaces file

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.4.2
netmask 255.255.255.0

auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid "iPhone"
wpa-psk "iphone4ss"
  • What error do you get? – Patrick Cook Jan 23 '16 at 3:42
  • wlan0 Interface doesn't support scanning. – Sami Kobbi Jan 23 '16 at 4:36
  • Install the proper drivers for your adapter. – PNDA Jan 23 '16 at 10:59
  • The configuration you have posted has many errors and will not work. See raspberrypi.stackexchange.com/a/37921/8697 for detail of how to set it up. – Milliways Jan 25 '16 at 10:41
  • @SamiKobbi glad I could help :) – 1'' Jan 27 '16 at 8:53
1

Try this (after running update, upgrade, etc):

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp

wpa-ssid "iPhone"
wpa-psk "iphone4ss"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.