I bought a wifi adapter for my raspberry pi, but I have problems making work on raspberry pi.
I tested it on a PC running Ubuntu. It has exactly the same behavior, as follows:
When inserted, lsusb shows it.
$ lsusb ...
$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
# Wifi
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "Edimax"
wpa-psk "ghi.....4"
@Pilot6 I added # Wifi stuff manually, from a previous try
$ sudo ifdown wlan0
Killed old client process
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit isc.org/software/dhcp
Listening on LPF/wlan0/00:13:ef:00:09:1b
Sending on LPF/wlan0/00:13:ef:00:09:1b
Sending on Socket/fallback
ionicabizau@desktop:~/Documents$ sudo ifup wlan0
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit isc.org/software/dhcp
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9 (xid=0x643ae26c)
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 (xid=0x643ae26c)
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15 (xid=0x643ae26c)
$ sudo ifup wlan0
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit isc.org/software/dhcp
Listening on LPF/wlan0/00:13:ef:00:09:1b
Sending on LPF/wlan0/00:13:ef:00:09:1b
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 (xid=0xb8ac5950)