Page 1 of 1

raspberyypi-2 , wlan0 get no IP number

Posted: Wed Feb 08, 2017 7:05 pm
by backslash
trying to get wifi dongle to work

/etc/network/interfaces

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet dhcp
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
wpa_ssid MIJNSSID
wpa_psk MIJNWACHTWOORD
iface default inet dhcp

ps

SSID = MIJNSSID

and

SSID = MIJNSSID 2,4 GHz

(first is 5 GHz)

where do i go wrong?

Re: raspberyypi-2 , wlan0 get no IP number

Posted: Fri Feb 10, 2017 3:42 pm
by jeroen_
All you need is:

Code: Select all

auto lo

auto eth0
iface eth0 inet dhcp

auto wlan0
allow-hotplug wlan0

iface wlan0 inet dhcp
	wpa-ssid SSID
	wpa-psk HASHEDPASSWORD
HASHEDPASSWORD comes from:

Code: Select all

wpa_passphrase SSID PASSWORD
it will spit out the hashed edition that can be included in the /etc/network/interfaces config above.

See also https://wiki.debian.org/WiFi/HowToUse for more details.