last day (15 days later) » 

6:11 PM
2
Q: Making a wifi adapter RTL8192eu work on Ubuntu

Ionică BizăuI 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 ...

 
You can try this solution
 
@Pilot6 Thanks, I'm trying and give feedback then
@Pilot6 The compiling failed. Here is some relevant output.
The first error says recipe for target '/.../install_folder/driver/rtl8192EU_linux_v4.2.2_7585.2‌​0130524/os_dep/linux/‌​‌​usb_intf.o' failed
 
I can't help at the moment. I build lots of realtek drivers to debs, but did not look into this one yet.
possible duplicate of rtl8192eu driver does not work
 
@Pilot6 Would give you a bounty of 100 rep points if you do it. :D
 
I added another solution, You can give a bounty there, if it works. And I will build a dkms package to be able to upgrade kernels.
 
6:11 PM
@Pilot6 Umm... I'm getting Error! Bad return status for module build on kernel when I dpkg -i that.deb...
 
Well no dice then yet.
 
@Pilot6 It didn't really fail. Now wlan0 appears in ifconfig output but it doesn't have an address. Here is the ifconfig output.
 
This show Ethernet, not wlan0
 
Hi
 
6:12 PM
Click on show more.
 
I do not see wlan0 there
 
I'm posting it here:
eth0      Link encap:Ethernet  HWaddr 00:19:66:83:c7:d4
          inet addr:192.168.2.103  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::219:66ff:fe83:c7d4/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26370 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21068 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:24827018 (24.8 MB)  TX bytes:3200797 (3.2 MB)

lo        Link encap:Local Loopback
wlan0     Link encap:Ethernet  HWaddr 00:13:ef:00:09:1b
          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)
^ @Pilot6
 
What is in your /etc/network/interfaces
 
$ 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
 
If you want to use network manager, then remove everyting from there exceptauto lo
iface lo inet loopback
`auto lo
iface lo inet loopback`
without quotes
If you do not, then you have to start it
ifup wlan0
 
6:16 PM
But I need the eth0, otherwise I lose the internet connection.
 
one or another
 
(right now I'm using eth)
Is ifup wlan0 supposed to work with the current config?
I'm happy to start it manually
 
Why do you need to setup them manually. You can setup both in NM
 
How can I check if network manager is installed?
If I write sudo service network-m<tab> no autocompletion
 
It is always installed, if you did not remove it
 
6:17 PM
But it autocompletes for service networking
I'm running Ubuntu Server
 
OK. Then
ifup wlan0
ifconfig
 
$ sudo ifup wlan0
[sudo] password for ionicabizau:
ifup: interface wlan0 already configured
Should I ifdown it first?
 
you can try
 
And now it hangs:
$ 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)
 
Maybe some wrong config in interfaces
 
6:24 PM
I don't have the network-manager installed... Maybe should I install it?
 
You can install it and use nmcli. or look how correctly setup it manually
 
$ 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)
@Pilot6 Now I'm getting this ^
 
6:53 PM
@IonicăBizău It is good
You got the address
 
7:09 PM
@Pilot6 Oh, didn't realize that.
@Pilot6 Now I'm getting /sbin/wpa_supplicant daemon failed to start
 

last day (15 days later) »