0

In the latest Raspbian I found the firmware-realtek package is already installed. It should provide the drivers for RTL8188EU/EE WiFi dongles.

When I insert such a dongle dmesg shows:

[  152.651026] usb 1-1.2: new high-speed USB device number 8 using dwc_otg
[  152.783255] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8179
[  152.783283] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  152.783297] usb 1-1.2: Product: 802.11n NIC
[  152.783308] usb 1-1.2: Manufacturer: Realtek
[  152.783320] usb 1-1.2: SerialNumber: 00E04C0001
[  152.958053] r8188eu: module is from the staging directory, the quality is unknown, you have been warned.
[  152.980655] Chip Version Info: CHIP_8188E_Normal_Chip_TSMC_D_CUT_1T1R_RomVer(0)
[  153.047078] usbcore: registered new interface driver r8188eu
[  154.932419] MAC Address = f4:f2:6d:1c:f8:64
[  154.940265] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

and lsmod:

Module                  Size  Used by
r8188eu               425544  0
rtc_ds1307             13710  0
hwmon                  10533  1 rtc_ds1307
spidev                  7034  0
cfg80211              525806  1 r8188eu
rfkill                 21373  2 cfg80211
evdev                  11746  0
ftdi_sio               33030  1
usbserial              29996  3 ftdi_sio
snd_bcm2835            23131  0
snd_pcm                97825  1 snd_bcm2835
snd_timer              22706  1 snd_pcm
snd                    68784  3 snd_timer,snd_bcm2835,snd_pcm
i2c_bcm2835             6433  0
spi_bcm2835             7424  0
bcm2835_gpiomem         3791  0
uio_pdrv_genirq         3718  0
uio                    10166  1 uio_pdrv_genirq
fixed                   3029  0
i2c_dev                 6642  0
i2c_bcm2708             5740  0
ip_tables              12512  0
x_tables               20921  1 ip_tables
ipv6                  384532  28

But, iw wlan0 info:

command failed: No such device (-19)

anyway, iwconfig:

wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
      Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated   
      Sensitivity:0/0  
      Retry:off   RTS thr:off   Fragment thr:off
      Power Management:off
      Link Quality:0  Signal level:0  Noise level:0
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:0   Missed beacon:0

and it doesn't connect. The WPA configuration is ok because pluggin in another dongle will connect in a while.

What am I missing?

UPDATE

Output of ip link:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether b8:27:eb:62:80:99 brd ff:ff:ff:ff:ff:ff
5: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether f4:f2:6d:1c:f8:64 brd ff:ff:ff:ff:ff:ff

and rfkill see nothing.

  • Probably won't be any different but try looking at ip link. – goldilocks Oct 3 '17 at 11:35
0

I think you may have to blacklist old drivers before you can use a different one, I cant test this as I dont have a wifi dongle

  1. Copy the your .ko file to /lib/modules/4.9.41-v7+/kernel/net/wireless.

  2. Create a Blacklist file rtl8xxx-your-old-chipset into /etc/modprobe.d/rtl8xxx-your-old-chipset-blacklist.conf.

  3. Run the command depmod –a.

  • my *.ko files are the ones in the firmware-realtek package, aren't they? – Mark Oct 3 '17 at 12:30
  • yeah there should be one for your dongle in there. – Dr.Rabbit Oct 3 '17 at 12:33
  • Actually I have rtl8188eu.ko in /lib/modules/4.9.41+/kernel/drivers/staging/rtl8188eu and /lib/modules/4.9.41-v7+/kernel/drivers/staging/rtl8188eu. Then I have rtl8188e*fw.bin in /lib/firmware/rtlwifi. The debian package doesn't come with *.ko files, only *.bin and *.fw – Mark Oct 3 '17 at 12:34
  • do you have any blacklist files? – Dr.Rabbit Oct 3 '17 at 12:36
  • I found the following: /etc/modprobe.d/blacklist-rtl8xxxu.conf /etc/modprobe.d/blacklist-rtl8192cu.conf /usr/share/initramfs-tools/scripts/init-top/blacklist /sys/kernel/debug/kprobes/blacklist – Mark Oct 3 '17 at 12:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.