raspberyypi-2 , wlan0 get no IP number

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

Moderator: Mdamen

raspberyypi-2 , wlan0 get no IP number

Postby backslash » Wed Feb 08, 2017 6:05 pm

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?
backslash
Starting Member
Starting Member
 
Posts: 1
Joined: February 2017

Re: raspberyypi-2 , wlan0 get no IP number

Postby jeroen_ » Fri Feb 10, 2017 2:42 pm

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.
jeroen_
Member
Member
 
Posts: 105
Joined: February 2013
Location: Switzerland


Return to Raspberry, Arduino, Cubietruck and other clones Forum

Who is online

Users browsing this forum: No registered users and 2 guests