raspberyypi-2 , wlan0 get no IP number

All about Arduino, Jeenode and other Clones (hardware & Software)

Moderator: Mdamen

Post Reply
backslash
Starting Member
Starting Member
Posts: 1
Joined: Wed Feb 08, 2017 6:58 pm

raspberyypi-2 , wlan0 get no IP number

Post 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?
jeroen_
Member
Member
Posts: 105
Joined: Mon Feb 11, 2013 4:02 pm
Location: Switzerland
Contact:

Re: raspberyypi-2 , wlan0 get no IP number

Post 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.
Post Reply

Return to “Raspberry, Arduino, Cubietruck and other clones Forum”