I recently purchased a USB wifi dongle for my raspberry pi 2 B and attempted to connect through the Wifi Networks Panel Item in Raspbain Jessie. After entering the key, nothing happened, so I decided to check the network configuration files in /etc/network/interfaces
and /etc/wpa_supplicant/wpa_supplicant.conf
. Everything seemed to be configured properly.
interfaces file:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
iface eth0 inet manual
allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
allow-hotplug wlan1
iface wlan1 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="CXSD1"
key_mgmt=NONE
wep_key0="MYWIFIKEY"
}
When I checked the connection on ifconfig
i got an innet6 addr
, which I'm assuming is a static IP:
eth0 Link encap:Ethernet HWaddr b8:27:eb:aa:f1:15
inet6 addr: fe80::b27a:4007:e151:7eea/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:600 errors:0 dropped:0 overruns:0 frame:0
TX packets:600 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:49896 (48.7 KiB) TX bytes:49896 (48.7 KiB)
wlan0 Link encap:Ethernet HWaddr 74:da:38:42:48:46
inet6 addr: fe80::ee15:adc7:776c:fe8a/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:51 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I've tried SSHing to the computer and even used the epiphany web browser but to no avail. As I am still a beginner at Linux I would appreciate any help at fixing this issue and understanding what is wrong.
Thanks in advance!
WEP encryption
as indicated bywep_key0