MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Mon Jan 02, 2017 5:15 pm

orgertot wrote:Thanks the fast response !
Yea sorry. It's a zero.
The result is:
4.4.34+ #930 armv61

I'm pretty sure I choose the correct version tho ...
The driver should be https://dl.dropboxusercontent.com/u/802 ... 930.tar.gz if you are using Raspbian OS so I've no idea why you are getting the errors you see.

How are you actually installing it? Normally the Pi would have an internet connection of some sort but not so easy with a Pi Zero. The install would then be done using commands

Code: Select all

wget https://dl.dropboxusercontent.com/u/80256631/8192eu-4.4.34-930.tar.gz
tar xzf 8192eu-4.4.34-930.tar.gz
./install.sh
If you don't have an internet connection then you would need to download the driver on another system and copy the file to the /boot directory of the SD card. Then put the card in the Pi Zero. Assuming you have a keyboard/screen connected to the Pi Zero copy the file from the /boot directory to your home directory, usually /home/pi then run commands

Code: Select all

tar xzf 8192eu-4.4.34-930.tar.gz
./install.sh
to untar and install it.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

orgertot
Posts: 3
Joined: Sun Jan 01, 2017 11:33 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Mon Jan 02, 2017 8:01 pm

Oh thanks man! Finally!
The key was to move the file into the home folder!

rbjj
Posts: 4
Joined: Thu Jan 05, 2017 2:42 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Thu Jan 05, 2017 2:57 pm

hi

looks that my first post is about problem / error

I did buy pi zero with explorer HAT from pimoroni and now I want to connect it to NET.
Simply, I will used usb wifi from gembird which is on table for while and working with archlinux desktop / laptops ...

So I did connect that usb wifi into usb hub where I have keyboard and mouse but find out that there is not driver :-(

after searching I did came here. I did download driver, install it but getting error in journal.

here is output from install-wifi script:

Code: Select all

[email protected]:~/wifina $ ./install-wifi 

Your current kernel revision = 4.4.34+
Your current kernel build    = #930

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 023: ID 0bda:818b Realtek Semiconductor Corp. 

And it uses the 8192eu driver.

Checking for a new 8192eu wifi driver module for your current kernel.
The script cannot access Dropbox to check a driver is available.
I did download file 8192eu-4.4.34-930.tar.gz manualy and copy to SD card on laptop, then boot from that SD pizero and install driver.

and here is output from journal when plugin usb wifi into hub.

Code: Select all

Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: new low-speed USB device number 5 using dwc_otg
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: New USB device found, idVendor=09da, idProduct=000a
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: Product: PS/2+USB Mouse
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: Manufacturer: A4Tech
Nov 25 22:22:31 raspberrypi kernel: input: A4Tech PS/2+USB Mouse as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:09DA:000A.0004/input/input3
Nov 25 22:22:31 raspberrypi kernel: a4tech 0003:09DA:000A.0004: input,hidraw2: USB HID v1.10 Mouse [A4Tech PS/2+USB Mouse] on usb-20980000.usb-1.1/input0
Nov 25 22:22:31 raspberrypi systemd-udevd[725]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1 1 5': No such file or directory
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: new high-speed USB device number 6 using dwc_otg
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=818b
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: Product: 802.11n NIC
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: Manufacturer: Realtek
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: SerialNumber: 00e04c000001
Nov 25 22:22:31 raspberrypi systemd-udevd[729]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.4 1 6': No such file or directory
Nov 25 22:22:33 raspberrypi kernel: cfg80211: World regulatory domain updated:
Nov 25 22:22:33 raspberrypi kernel: cfg80211:  DFS Master region: unset
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: usbcore: registered new interface driver rtl8192eu
Nov 25 22:22:33 raspberrypi systemd[1]: Starting system-systemd\x2drfkill.slice.
Nov 25 22:22:33 raspberrypi systemd[1]: Created slice system-systemd\x2drfkill.slice.
Nov 25 22:22:33 raspberrypi systemd[1]: Starting Load/Save RF Kill Switch Status of rfkill0...
Nov 25 22:22:33 raspberrypi systemd[1]: Started Load/Save RF Kill Switch Status of rfkill0.
Nov 25 22:22:33 raspberrypi dhcpcd[334]: wlan0: adding address fe80::8fb9:55d:4bc5:925f
Nov 25 22:22:34 raspberrypi systemd[1]: Starting system-ifup.slice.
Nov 25 22:22:34 raspberrypi systemd[1]: Created slice system-ifup.slice.
Nov 25 22:22:34 raspberrypi systemd[1]: Starting ifup for wlan0...
Nov 25 22:22:34 raspberrypi systemd[1]: Started ifup for wlan0.
Nov 25 22:22:34 raspberrypi wpa_supplicant[792]: Successfully initialized wpa_supplicant
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: USB disconnect, device number 6
Nov 25 22:22:36 raspberrypi kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Nov 25 22:22:36 raspberrypi dhcpcd[334]: wlan0: waiting for carrier
Nov 25 22:22:36 raspberrypi avahi-daemon[338]: Withdrawing workstation service for wlan0.
Nov 25 22:22:36 raspberrypi dhcpcd[334]: wlan0: removing interface
Nov 25 22:22:36 raspberrypi kernel: ------------[ cut here ]------------
Nov 25 22:22:36 raspberrypi kernel: WARNING: CPU: 0 PID: 119 at net/wireless/sme.c:907 __cfg80211_disconnected+0x280/0x2c8 [cfg80211]()
Nov 25 22:22:36 raspberrypi kernel: Modules linked in: 8192eu(O) cfg80211 bnep bluetooth rfkill joydev evdev hid_a4tech snd_bcm2835 snd_pcm snd_timer snd bcm2835_gpiomem bcm2835_wdt uio_pdrv_genirq uio i2c_dev fuse ipv6
Nov 25 22:22:36 raspberrypi kernel: CPU: 0 PID: 119 Comm: kworker/0:3 Tainted: G           O    4.4.34+ #930
Nov 25 22:22:36 raspberrypi kernel: Hardware name: BCM2708
Nov 25 22:22:36 raspberrypi kernel: Workqueue: usb_hub_wq hub_event
Nov 25 22:22:36 raspberrypi kernel: [<c0016cfc>] (unwind_backtrace) from [<c0013c20>] (show_stack+0x20/0x24)
Nov 25 22:22:36 raspberrypi kernel: [<c0013c20>] (show_stack) from [<c02e437c>] (dump_stack+0x20/0x28)
Nov 25 22:22:36 raspberrypi kernel: [<c02e437c>] (dump_stack) from [<c0021ef4>] (warn_slowpath_common+0x8c/0xc4)
Nov 25 22:22:36 raspberrypi kernel: [<c0021ef4>] (warn_slowpath_common) from [<c0021fe8>] (warn_slowpath_null+0x2c/0x34)
Nov 25 22:22:36 raspberrypi kernel: [<c0021fe8>] (warn_slowpath_null) from [<bf1abb84>] (__cfg80211_disconnected+0x280/0x2c8 [cfg80211])
Nov 25 22:22:36 raspberrypi kernel: [<bf1abb84>] (__cfg80211_disconnected [cfg80211]) from [<bf1870ac>] (cfg80211_process_wdev_events+0x1a0/0x20c [cfg80211])
Nov 25 22:22:36 raspberrypi kernel: [<bf1870ac>] (cfg80211_process_wdev_events [cfg80211]) from [<bf1841f8>] (cfg80211_netdev_notifier_call+0x308/0x568 [cfg80211])
Nov 25 22:22:36 raspberrypi kernel: [<bf1841f8>] (cfg80211_netdev_notifier_call [cfg80211]) from [<c003e018>] (notifier_call_chain+0x54/0x94)
Nov 25 22:22:36 raspberrypi kernel: [<c003e018>] (notifier_call_chain) from [<c003e1d0>] (raw_notifier_call_chain+0x28/0x30)
Nov 25 22:22:36 raspberrypi kernel: [<c003e1d0>] (raw_notifier_call_chain) from [<c0492a60>] (call_netdevice_notifiers_info+0x40/0x6c)
Nov 25 22:22:36 raspberrypi kernel: [<c0492a60>] (call_netdevice_notifiers_info) from [<c0495458>] (rollback_registered_many+0x1f8/0x310)
Nov 25 22:22:36 raspberrypi kernel: [<c0495458>] (rollback_registered_many) from [<c04955a8>] (rollback_registered+0x38/0x50)
Nov 25 22:22:36 raspberrypi kernel: [<c04955a8>] (rollback_registered) from [<c0497da8>] (unregister_netdevice_queue+0x64/0xc0)
Nov 25 22:22:36 raspberrypi kernel: [<c0497da8>] (unregister_netdevice_queue) from [<c0497e2c>] (unregister_netdev+0x28/0x30)
Nov 25 22:22:36 raspberrypi kernel: [<c0497e2c>] (unregister_netdev) from [<bf25f6b0>] (rtw_usb_if1_deinit+0x5c/0xbc [8192eu])
Nov 25 22:22:36 raspberrypi kernel: [<bf25f6b0>] (rtw_usb_if1_deinit [8192eu]) from [<bf25f810>] (rtw_dev_remove+0x60/0x74 [8192eu])
Nov 25 22:22:36 raspberrypi kernel: [<bf25f810>] (rtw_dev_remove [8192eu]) from [<c03da2b8>] (usb_unbind_interface+0x80/0x280)
Nov 25 22:22:36 raspberrypi kernel: [<c03da2b8>] (usb_unbind_interface) from [<c036b88c>] (__device_release_driver+0x94/0x110)
Nov 25 22:22:36 raspberrypi kernel: [<c036b88c>] (__device_release_driver) from [<c036b934>] (device_release_driver+0x2c/0x38)
Nov 25 22:22:36 raspberrypi kernel: [<c036b934>] (device_release_driver) from [<c036a9e0>] (bus_remove_device+0xe4/0x114)
Nov 25 22:22:36 raspberrypi kernel: [<c036a9e0>] (bus_remove_device) from [<c0367668>] (device_del+0x118/0x220)
Nov 25 22:22:36 raspberrypi kernel: [<c0367668>] (device_del) from [<c03d7a5c>] (usb_disable_device+0xb0/0x1f4)
Nov 25 22:22:36 raspberrypi kernel: [<c03d7a5c>] (usb_disable_device) from [<c03ceb90>] (usb_disconnect+0x74/0x1f4)
Nov 25 22:22:36 raspberrypi kernel: [<c03ceb90>] (usb_disconnect) from [<c03d05a4>] (hub_event+0x564/0x10e8)
Nov 25 22:22:36 raspberrypi kernel: [<c03d05a4>] (hub_event) from [<c00376a4>] (process_one_work+0x11c/0x39c)
Nov 25 22:22:36 raspberrypi kernel: [<c00376a4>] (process_one_work) from [<c0037964>] (worker_thread+0x40/0x4d0)
Nov 25 22:22:36 raspberrypi kernel: [<c0037964>] (worker_thread) from [<c003d2e8>] (kthread+0xdc/0xf8)
Nov 25 22:22:36 raspberrypi kernel: [<c003d2e8>] (kthread) from [<c000f8a8>] (ret_from_fork+0x14/0x2c)
Nov 25 22:22:36 raspberrypi kernel: ---[ end trace 18df5d4a5c68e9ea ]---
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: Could not get interface wlan0 hwaddr: No such device
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: Could not read interface wlan0 flags: No such device
Nov 25 22:22:36 raspberrypi systemd[1]: Stopping ifup for wlan0...
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: Could not read interface wlan0 flags: No such device
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: WEXT: Could not set interface 'wlan0' UP
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: wlan0: Failed to initialize driver interface
ov 25 22:22:36 raspberrypi kernel: usb 1-1.4: new high-speed USB device number 7 using dwc_otg
Nov 25 22:22:36 raspberrypi ifup[760]: /etc/network/if-pre-up.d/wpasupplicant: 120: /etc/network/if-pre-up.d/wpasupplicant: cannot create /dev/stderr: No such device or address
Nov 25 22:22:36 raspberrypi ifup[760]: run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=818b
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: Product: 802.11n NIC
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: Manufacturer: Realtek
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: SerialNumber: 00e04c000001
Nov 25 22:22:36 raspberrypi systemd-udevd[827]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.4 1 7': No such file or directory
Nov 25 22:22:37 raspberrypi systemd[1]: Stopped ifup for wlan0.
Nov 25 22:22:38 raspberrypi systemd[1]: Starting Load/Save RF Kill Switch Status of rfkill1...
Nov 25 22:22:38 raspberrypi dhcpcd[334]: wlan0: adding address fe80::8fb9:55d:4bc5:925f
Nov 25 22:22:38 raspberrypi systemd[1]: Started Load/Save RF Kill Switch Status of rfkill1.
Nov 25 22:22:38 raspberrypi systemd[1]: Starting ifup for wlan0...
Nov 25 22:22:38 raspberrypi systemd[1]: Started ifup for wlan0.
Nov 25 22:22:38 raspberrypi wpa_supplicant[969]: Successfully initialized wpa_supplicant
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 0.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 1.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 2.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 3.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi kernel: usb 1-1.4: USB disconnect, device number 7
Nov 25 22:22:40 raspberrypi kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Nov 25 22:22:40 raspberrypi kernel: ------------[ cut here ]------------
Nov 25 22:22:40 raspberrypi kernel: WARNING: CPU: 0 PID: 4 at net/wireless/sme.c:907 __cfg80211_disconnected+0x280/0x2c8 [cfg80211]()
Nov 25 22:22:40 raspberrypi kernel: Modules linked in: 8192eu(O) cfg80211 bnep bluetooth rfkill joydev evdev hid_a4tech snd_bcm2835 snd_pcm snd_timer snd bcm2835_gpiomem bcm2835_wdt uio_pdrv_genirq uio i2c_dev fuse ipv6
Nov 25 22:22:40 raspberrypi kernel: CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G        W  O    4.4.34+ #930

thank you very much for help

EDIT #1:
I am adding a journal out when pluged that USB wifi into my archlinux laptop, maybe it will help.

Code: Select all

jan 05 23:30:46 jarvis kernel: usb 3-2: new high-speed USB device number 32 using xhci_hcd
jan 05 23:30:46 jarvis kernel: usb 3-2: This Realtek USB WiFi dongle (0x0bda:0x818b) is untested!
jan 05 23:30:46 jarvis kernel: usb 3-2: Please report results to [email protected]
jan 05 23:30:46 jarvis kernel: usb 3-2: Vendor: Realtek
jan 05 23:30:46 jarvis kernel: usb 3-2: Product: 802.11n NIC
jan 05 23:30:46 jarvis kernel: [28B blob data]
jan 05 23:30:46 jarvis kernel: usb 3-2: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
jan 05 23:30:46 jarvis kernel: usb 3-2: 00: 29 81 00 7c 01 40 03 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 08: 40 74 04 50 14 00 00 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 10: 23 23 23 26 26 26 23 23
jan 05 23:30:46 jarvis kernel: usb 3-2: 18: 25 26 26 dd ef ef ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 20: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 28: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 30: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 38: ff ff 25 25 25 24 24 24
jan 05 23:30:46 jarvis kernel: usb 3-2: 40: 25 25 23 22 22 fe ef ef
jan 05 23:30:46 jarvis kernel: usb 3-2: 48: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 50: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 58: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 60: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 68: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 70: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 78: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 80: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 88: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 90: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 98: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: a0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: a8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: b0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: b8: 20 27 20 00 00 00 ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: c0: ff 01 20 13 00 00 00 ff
jan 05 23:30:46 jarvis kernel: usb 3-2: c8: 00 00 ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: d0: da 0b 8b 81 e7 47 02 00
jan 05 23:30:46 jarvis kernel: usb 3-2: d8: e0 4c 10 bf ed 09 03 52
jan 05 23:30:46 jarvis kernel: usb 3-2: e0: 65 61 6c 74 65 6b 0d 03
jan 05 23:30:46 jarvis kernel: usb 3-2: e8: 38 30 32 2e 31 31 6e 20
jan 05 23:30:46 jarvis kernel: usb 3-2: f0: 4e 49 43 00 ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: f8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 100: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 108: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 110: ff ff ff ff ff ff ff 0d
jan 05 23:30:46 jarvis kernel: usb 3-2: 118: 03 00 05 00 30 00 00 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 120: 00 93 ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 128: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 130: f6 a8 98 2d 03 92 98 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 138: fc 8c 00 11 9b 44 02 0a
jan 05 23:30:46 jarvis kernel: usb 3-2: 140: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 148: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 150: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 158: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 160: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 168: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 170: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 178: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 180: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 188: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 190: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 198: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1a0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1a8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1b0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1b8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1c0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1c8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1d0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1d8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1e0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1e8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1f0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1f8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
jan 05 23:30:46 jarvis kernel: usb 3-2: RTL8192EU MAC: 00:e0:4c:10:bf:ed
jan 05 23:30:46 jarvis kernel: usb 3-2: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
jan 05 23:30:46 jarvis kernel: usb 3-2: Firmware revision 19.0 (signature 0x92e1)
jan 05 23:30:47 jarvis wpa_supplicant[544]: wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.2715] (wlan0): using nl80211 for WiFi device control
jan 05 23:30:47 jarvis kernel: rtl8xxxu 3-2:1.0 wlp0s20u2: renamed from wlan0
jan 05 23:30:47 jarvis mtp-probe[12292]: checking bus 3, device 32: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.2727] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/6)
jan 05 23:30:47 jarvis mtp-probe[12292]: bus: 3, device: 32 was not an MTP device
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.2836] rfkill33: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/ieee80211/phy4/rfkill33) (driver rtl8xxxu)
jan 05 23:30:47 jarvis systemd[1]: Starting Load/Save RF Kill Switch Status...
jan 05 23:30:47 jarvis systemd[1]: Started Load/Save RF Kill Switch Status.
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3165] device (wlan0): interface index 7 renamed iface from 'wlan0' to 'wlp0s20u2'
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3190] device (wlp0s20u2): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3246] (wlp0s20u2): using nl80211 for WiFi device control
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3267] device (wlp0s20u2): set-hw-addr: set MAC address to FE:4E:AF:AB:7E:B4 (scanning)
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3826] sup-iface[0x2035d60,wlp0s20u2]: supports 4 scan SSIDs
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3840] device (wlp0s20u2): supplicant interface state: starting -> ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3840] device (wlp0s20u2): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:48 jarvis NetworkManager[466]: <info>  [1483655448.4660] device (wlp0s20u2): supplicant interface state: ready -> inactive
later on I did switch off laptop internal wifi and start to used usb wifi dongle, no problems ...


EDIT #2:
what is strange on pi zero is why is that usb device disconnet, check log

Code: Select all

Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: USB disconnect, device number 6
if I leave that pluged in HUB it is happening in cycle and each time led on usb wifi dongle blink.
I did check power suply and looks OK, I am using 5V / 2.1A, I did connect DC voltmeter on 5V pinout and it is nice stable.

jantman
Posts: 3
Joined: Wed May 22, 2013 12:11 am

Re: Realtek RTL8192EU ID 0BDA:818B

Sat Jan 07, 2017 2:49 pm

MrEngman,

Just following up on this...
jantman wrote:MrEngman, thanks so much for this! I'm really happy that I didn't need to compile these myself on my early model B, like I did with some other wireless drivers.
  • Where can I find the source code for your modified driver version?
I'm very appreciative of the work that you've done and continue to do, compiling these modules for various operating systems.

However, (as confirmed by both running modinfo on the module, as well as RealTek's original 8192eu source code) the module you're distributing was written and is copyrighted by Realtek Semiconductor Corp., and licensed under the GNU GPL Version 2.

The GNU GPL v2 license, under which both the Linux kernel itself as well as this driver in particular, are released carries certain provisions related to the modification and/or distribution of the software, in particular:
  • Clause 1, you MUST distribute a copy of the GNU GPL itself along with the Program.
  • Clause 2, if you modify the Program, any modified files must "carry prominent notices stating that you changed the files and the date of any change", and your modified version must be licensed under the same license (GNU GPL v2).
  • Clause 3 (the most pertinent here), if you distribute the Program in executable (compiled) form, you must either include the full corresponding source code (including any modifications, and including "the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable"), or include instructions for where to obtain the exact machine-readable source code used to build those binaries (using a method that will be vaild for at least three years).
  • Clause 4, "You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance."
I appreciate the level of effort that you're going to, to help the Pi community... but unless you either include the source code in your downloads or release it publicly (and include instructions for how to find the exact source used to build a given download) and also include a copy of the GPL license in those downloads, you're in violation of the license, which automatically revokes your rights to use, modify or distribute the module.

If you could please provide a way for us to access the source code for these drivers, including your modifications, it would be greatly appreciated. I'm specifically interested in the 8192eu-4.4.38-938.tar.gz version... but perhaps maintaining your source code on GitHub or somewhere similar, and tagging the package versions, would suffice?

Thank You,
Jason Antman

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 1:07 pm

The driver is available from TP-Link - http://uk.tp-link.com/download/TL-WN822N.html and the patch here https://dl.dropboxusercontent.com/u/802 ... tch.tar.gz.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

jantman
Posts: 3
Joined: Wed May 22, 2013 12:11 am

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 2:07 pm

MrEngman wrote:The driver is available from TP-Link - http://uk.tp-link.com/download/TL-WN822N.html and the patch here https://dl.dropboxusercontent.com/u/802 ... tch.tar.gz.

MrEngman
Cool, thank you! I assume the patch is the same for all of the binaries you build, and the build process just uses the Makefile, etc. included in the upstream?

It would be wonderful if, for new builds, you could include the patch and the link to the upstream source in your tar files, to maintain compliance with the GPL.

Thanks,
Jason

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 5:11 pm

jantman wrote:
MrEngman wrote:The driver is available from TP-Link - http://uk.tp-link.com/download/TL-WN822N.html and the patch here https://dl.dropboxusercontent.com/u/802 ... tch.tar.gz.

MrEngman
Cool, thank you! I assume the patch is the same for all of the binaries you build, and the build process just uses the Makefile, etc. included in the upstream?

It would be wonderful if, for new builds, you could include the patch and the link to the upstream source in your tar files, to maintain compliance with the GPL.

Thanks,
Jason
With that patch I have compiled for 3.18, 4.0, 4.1, 4.8 and 4.9 raspbian kernels. I actually cross-compile on a PC using the RPI tool chain.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

BillBixby
Posts: 4
Joined: Sun Jan 08, 2017 5:32 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 5:38 pm

@MrEngman

I spent pretty much a weekend working on this and have come to the conclusion that I owe you a beer :D

Was such an easy install of your pre-compiled driver that sorted me out.

I really need to figure out how to compile these myself really as I'd also like to get it running on Arch. But try as I might I get compilation errors on the Pi and x86 :( That's not even trying cross-compiling - which I also don't yet understand.

So thank you very much. I shall now move onto the easy stuff and reward myself with a glass of red with my Sunday lunch.

rbjj
Posts: 4
Joined: Thu Jan 05, 2017 2:42 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 5:44 pm

@MrEngman

please, can you comment my post viewtopic.php?p=1092732#p1092732
what is the problem or what could be a problem?

thank you very much

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 8:32 pm

rbjj wrote:hi

looks that my first post is about problem / error

I did buy pi zero with explorer HAT from pimoroni and now I want to connect it to NET.
Simply, I will used usb wifi from gembird which is on table for while and working with archlinux desktop / laptops ...

So I did connect that usb wifi into usb hub where I have keyboard and mouse but find out that there is not driver :-(

after searching I did came here. I did download driver, install it but getting error in journal.

here is output from install-wifi script:

Code: Select all

[email protected]:~/wifina $ ./install-wifi 

Your current kernel revision = 4.4.34+
Your current kernel build    = #930

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 023: ID 0bda:818b Realtek Semiconductor Corp. 

And it uses the 8192eu driver.

Checking for a new 8192eu wifi driver module for your current kernel.
The script cannot access Dropbox to check a driver is available.
I did download file 8192eu-4.4.34-930.tar.gz manualy and copy to SD card on laptop, then boot from that SD pizero and install driver.

and here is output from journal when plugin usb wifi into hub.

Code: Select all

Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: new low-speed USB device number 5 using dwc_otg
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: New USB device found, idVendor=09da, idProduct=000a
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: Product: PS/2+USB Mouse
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.1: Manufacturer: A4Tech
Nov 25 22:22:31 raspberrypi kernel: input: A4Tech PS/2+USB Mouse as /devices/platform/soc/20980000.usb/usb1/1-1/1-1.1/1-1.1:1.0/0003:09DA:000A.0004/input/input3
Nov 25 22:22:31 raspberrypi kernel: a4tech 0003:09DA:000A.0004: input,hidraw2: USB HID v1.10 Mouse [A4Tech PS/2+USB Mouse] on usb-20980000.usb-1.1/input0
Nov 25 22:22:31 raspberrypi systemd-udevd[725]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.1 1 5': No such file or directory
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: new high-speed USB device number 6 using dwc_otg
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=818b
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: Product: 802.11n NIC
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: Manufacturer: Realtek
Nov 25 22:22:31 raspberrypi kernel: usb 1-1.4: SerialNumber: 00e04c000001
Nov 25 22:22:31 raspberrypi systemd-udevd[729]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.4 1 6': No such file or directory
Nov 25 22:22:33 raspberrypi kernel: cfg80211: World regulatory domain updated:
Nov 25 22:22:33 raspberrypi kernel: cfg80211:  DFS Master region: unset
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Nov 25 22:22:33 raspberrypi kernel: usbcore: registered new interface driver rtl8192eu
Nov 25 22:22:33 raspberrypi systemd[1]: Starting system-systemd\x2drfkill.slice.
Nov 25 22:22:33 raspberrypi systemd[1]: Created slice system-systemd\x2drfkill.slice.
Nov 25 22:22:33 raspberrypi systemd[1]: Starting Load/Save RF Kill Switch Status of rfkill0...
Nov 25 22:22:33 raspberrypi systemd[1]: Started Load/Save RF Kill Switch Status of rfkill0.
Nov 25 22:22:33 raspberrypi dhcpcd[334]: wlan0: adding address fe80::8fb9:55d:4bc5:925f
Nov 25 22:22:34 raspberrypi systemd[1]: Starting system-ifup.slice.
Nov 25 22:22:34 raspberrypi systemd[1]: Created slice system-ifup.slice.
Nov 25 22:22:34 raspberrypi systemd[1]: Starting ifup for wlan0...
Nov 25 22:22:34 raspberrypi systemd[1]: Started ifup for wlan0.
Nov 25 22:22:34 raspberrypi wpa_supplicant[792]: Successfully initialized wpa_supplicant
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: USB disconnect, device number 6
Nov 25 22:22:36 raspberrypi kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Nov 25 22:22:36 raspberrypi dhcpcd[334]: wlan0: waiting for carrier
Nov 25 22:22:36 raspberrypi avahi-daemon[338]: Withdrawing workstation service for wlan0.
Nov 25 22:22:36 raspberrypi dhcpcd[334]: wlan0: removing interface
Nov 25 22:22:36 raspberrypi kernel: ------------[ cut here ]------------
Nov 25 22:22:36 raspberrypi kernel: WARNING: CPU: 0 PID: 119 at net/wireless/sme.c:907 __cfg80211_disconnected+0x280/0x2c8 [cfg80211]()
Nov 25 22:22:36 raspberrypi kernel: Modules linked in: 8192eu(O) cfg80211 bnep bluetooth rfkill joydev evdev hid_a4tech snd_bcm2835 snd_pcm snd_timer snd bcm2835_gpiomem bcm2835_wdt uio_pdrv_genirq uio i2c_dev fuse ipv6
Nov 25 22:22:36 raspberrypi kernel: CPU: 0 PID: 119 Comm: kworker/0:3 Tainted: G           O    4.4.34+ #930
Nov 25 22:22:36 raspberrypi kernel: Hardware name: BCM2708
Nov 25 22:22:36 raspberrypi kernel: Workqueue: usb_hub_wq hub_event
Nov 25 22:22:36 raspberrypi kernel: [<c0016cfc>] (unwind_backtrace) from [<c0013c20>] (show_stack+0x20/0x24)
Nov 25 22:22:36 raspberrypi kernel: [<c0013c20>] (show_stack) from [<c02e437c>] (dump_stack+0x20/0x28)
Nov 25 22:22:36 raspberrypi kernel: [<c02e437c>] (dump_stack) from [<c0021ef4>] (warn_slowpath_common+0x8c/0xc4)
Nov 25 22:22:36 raspberrypi kernel: [<c0021ef4>] (warn_slowpath_common) from [<c0021fe8>] (warn_slowpath_null+0x2c/0x34)
Nov 25 22:22:36 raspberrypi kernel: [<c0021fe8>] (warn_slowpath_null) from [<bf1abb84>] (__cfg80211_disconnected+0x280/0x2c8 [cfg80211])
Nov 25 22:22:36 raspberrypi kernel: [<bf1abb84>] (__cfg80211_disconnected [cfg80211]) from [<bf1870ac>] (cfg80211_process_wdev_events+0x1a0/0x20c [cfg80211])
Nov 25 22:22:36 raspberrypi kernel: [<bf1870ac>] (cfg80211_process_wdev_events [cfg80211]) from [<bf1841f8>] (cfg80211_netdev_notifier_call+0x308/0x568 [cfg80211])
Nov 25 22:22:36 raspberrypi kernel: [<bf1841f8>] (cfg80211_netdev_notifier_call [cfg80211]) from [<c003e018>] (notifier_call_chain+0x54/0x94)
Nov 25 22:22:36 raspberrypi kernel: [<c003e018>] (notifier_call_chain) from [<c003e1d0>] (raw_notifier_call_chain+0x28/0x30)
Nov 25 22:22:36 raspberrypi kernel: [<c003e1d0>] (raw_notifier_call_chain) from [<c0492a60>] (call_netdevice_notifiers_info+0x40/0x6c)
Nov 25 22:22:36 raspberrypi kernel: [<c0492a60>] (call_netdevice_notifiers_info) from [<c0495458>] (rollback_registered_many+0x1f8/0x310)
Nov 25 22:22:36 raspberrypi kernel: [<c0495458>] (rollback_registered_many) from [<c04955a8>] (rollback_registered+0x38/0x50)
Nov 25 22:22:36 raspberrypi kernel: [<c04955a8>] (rollback_registered) from [<c0497da8>] (unregister_netdevice_queue+0x64/0xc0)
Nov 25 22:22:36 raspberrypi kernel: [<c0497da8>] (unregister_netdevice_queue) from [<c0497e2c>] (unregister_netdev+0x28/0x30)
Nov 25 22:22:36 raspberrypi kernel: [<c0497e2c>] (unregister_netdev) from [<bf25f6b0>] (rtw_usb_if1_deinit+0x5c/0xbc [8192eu])
Nov 25 22:22:36 raspberrypi kernel: [<bf25f6b0>] (rtw_usb_if1_deinit [8192eu]) from [<bf25f810>] (rtw_dev_remove+0x60/0x74 [8192eu])
Nov 25 22:22:36 raspberrypi kernel: [<bf25f810>] (rtw_dev_remove [8192eu]) from [<c03da2b8>] (usb_unbind_interface+0x80/0x280)
Nov 25 22:22:36 raspberrypi kernel: [<c03da2b8>] (usb_unbind_interface) from [<c036b88c>] (__device_release_driver+0x94/0x110)
Nov 25 22:22:36 raspberrypi kernel: [<c036b88c>] (__device_release_driver) from [<c036b934>] (device_release_driver+0x2c/0x38)
Nov 25 22:22:36 raspberrypi kernel: [<c036b934>] (device_release_driver) from [<c036a9e0>] (bus_remove_device+0xe4/0x114)
Nov 25 22:22:36 raspberrypi kernel: [<c036a9e0>] (bus_remove_device) from [<c0367668>] (device_del+0x118/0x220)
Nov 25 22:22:36 raspberrypi kernel: [<c0367668>] (device_del) from [<c03d7a5c>] (usb_disable_device+0xb0/0x1f4)
Nov 25 22:22:36 raspberrypi kernel: [<c03d7a5c>] (usb_disable_device) from [<c03ceb90>] (usb_disconnect+0x74/0x1f4)
Nov 25 22:22:36 raspberrypi kernel: [<c03ceb90>] (usb_disconnect) from [<c03d05a4>] (hub_event+0x564/0x10e8)
Nov 25 22:22:36 raspberrypi kernel: [<c03d05a4>] (hub_event) from [<c00376a4>] (process_one_work+0x11c/0x39c)
Nov 25 22:22:36 raspberrypi kernel: [<c00376a4>] (process_one_work) from [<c0037964>] (worker_thread+0x40/0x4d0)
Nov 25 22:22:36 raspberrypi kernel: [<c0037964>] (worker_thread) from [<c003d2e8>] (kthread+0xdc/0xf8)
Nov 25 22:22:36 raspberrypi kernel: [<c003d2e8>] (kthread) from [<c000f8a8>] (ret_from_fork+0x14/0x2c)
Nov 25 22:22:36 raspberrypi kernel: ---[ end trace 18df5d4a5c68e9ea ]---
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: Could not get interface wlan0 hwaddr: No such device
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: Could not read interface wlan0 flags: No such device
Nov 25 22:22:36 raspberrypi systemd[1]: Stopping ifup for wlan0...
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: Could not read interface wlan0 flags: No such device
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: WEXT: Could not set interface 'wlan0' UP
Nov 25 22:22:36 raspberrypi wpa_supplicant[792]: wlan0: Failed to initialize driver interface
ov 25 22:22:36 raspberrypi kernel: usb 1-1.4: new high-speed USB device number 7 using dwc_otg
Nov 25 22:22:36 raspberrypi ifup[760]: /etc/network/if-pre-up.d/wpasupplicant: 120: /etc/network/if-pre-up.d/wpasupplicant: cannot create /dev/stderr: No such device or address
Nov 25 22:22:36 raspberrypi ifup[760]: run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=818b
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: Product: 802.11n NIC
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: Manufacturer: Realtek
Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: SerialNumber: 00e04c000001
Nov 25 22:22:36 raspberrypi systemd-udevd[827]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.4 1 7': No such file or directory
Nov 25 22:22:37 raspberrypi systemd[1]: Stopped ifup for wlan0.
Nov 25 22:22:38 raspberrypi systemd[1]: Starting Load/Save RF Kill Switch Status of rfkill1...
Nov 25 22:22:38 raspberrypi dhcpcd[334]: wlan0: adding address fe80::8fb9:55d:4bc5:925f
Nov 25 22:22:38 raspberrypi systemd[1]: Started Load/Save RF Kill Switch Status of rfkill1.
Nov 25 22:22:38 raspberrypi systemd[1]: Starting ifup for wlan0...
Nov 25 22:22:38 raspberrypi systemd[1]: Started ifup for wlan0.
Nov 25 22:22:38 raspberrypi wpa_supplicant[969]: Successfully initialized wpa_supplicant
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 0.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 1.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 2.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi ntpd_intres[408]: host name not found: 3.debian.pool.ntp.org
Nov 25 22:22:40 raspberrypi kernel: usb 1-1.4: USB disconnect, device number 7
Nov 25 22:22:40 raspberrypi kernel: IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Nov 25 22:22:40 raspberrypi kernel: ------------[ cut here ]------------
Nov 25 22:22:40 raspberrypi kernel: WARNING: CPU: 0 PID: 4 at net/wireless/sme.c:907 __cfg80211_disconnected+0x280/0x2c8 [cfg80211]()
Nov 25 22:22:40 raspberrypi kernel: Modules linked in: 8192eu(O) cfg80211 bnep bluetooth rfkill joydev evdev hid_a4tech snd_bcm2835 snd_pcm snd_timer snd bcm2835_gpiomem bcm2835_wdt uio_pdrv_genirq uio i2c_dev fuse ipv6
Nov 25 22:22:40 raspberrypi kernel: CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G        W  O    4.4.34+ #930

thank you very much for help

EDIT #1:
I am adding a journal out when pluged that USB wifi into my archlinux laptop, maybe it will help.

Code: Select all

jan 05 23:30:46 jarvis kernel: usb 3-2: new high-speed USB device number 32 using xhci_hcd
jan 05 23:30:46 jarvis kernel: usb 3-2: This Realtek USB WiFi dongle (0x0bda:0x818b) is untested!
jan 05 23:30:46 jarvis kernel: usb 3-2: Please report results to [email protected]
jan 05 23:30:46 jarvis kernel: usb 3-2: Vendor: Realtek
jan 05 23:30:46 jarvis kernel: usb 3-2: Product: 802.11n NIC
jan 05 23:30:46 jarvis kernel: [28B blob data]
jan 05 23:30:46 jarvis kernel: usb 3-2: rtl8192eu_parse_efuse: dumping efuse (0x200 bytes):
jan 05 23:30:46 jarvis kernel: usb 3-2: 00: 29 81 00 7c 01 40 03 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 08: 40 74 04 50 14 00 00 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 10: 23 23 23 26 26 26 23 23
jan 05 23:30:46 jarvis kernel: usb 3-2: 18: 25 26 26 dd ef ef ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 20: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 28: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 30: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 38: ff ff 25 25 25 24 24 24
jan 05 23:30:46 jarvis kernel: usb 3-2: 40: 25 25 23 22 22 fe ef ef
jan 05 23:30:46 jarvis kernel: usb 3-2: 48: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 50: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 58: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 60: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 68: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 70: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 78: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 80: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 88: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 90: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 98: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: a0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: a8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: b0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: b8: 20 27 20 00 00 00 ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: c0: ff 01 20 13 00 00 00 ff
jan 05 23:30:46 jarvis kernel: usb 3-2: c8: 00 00 ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: d0: da 0b 8b 81 e7 47 02 00
jan 05 23:30:46 jarvis kernel: usb 3-2: d8: e0 4c 10 bf ed 09 03 52
jan 05 23:30:46 jarvis kernel: usb 3-2: e0: 65 61 6c 74 65 6b 0d 03
jan 05 23:30:46 jarvis kernel: usb 3-2: e8: 38 30 32 2e 31 31 6e 20
jan 05 23:30:46 jarvis kernel: usb 3-2: f0: 4e 49 43 00 ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: f8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 100: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 108: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 110: ff ff ff ff ff ff ff 0d
jan 05 23:30:46 jarvis kernel: usb 3-2: 118: 03 00 05 00 30 00 00 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 120: 00 93 ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 128: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 130: f6 a8 98 2d 03 92 98 00
jan 05 23:30:46 jarvis kernel: usb 3-2: 138: fc 8c 00 11 9b 44 02 0a
jan 05 23:30:46 jarvis kernel: usb 3-2: 140: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 148: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 150: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 158: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 160: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 168: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 170: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 178: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 180: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 188: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 190: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 198: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1a0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1a8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1b0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1b8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1c0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1c8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1d0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1d8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1e0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1e8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1f0: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: 1f8: ff ff ff ff ff ff ff ff
jan 05 23:30:46 jarvis kernel: usb 3-2: RTL8192EU rev B (SMIC) 2T2R, TX queues 3, WiFi=1, BT=0, GPS=0, HI PA=0
jan 05 23:30:46 jarvis kernel: usb 3-2: RTL8192EU MAC: 00:e0:4c:10:bf:ed
jan 05 23:30:46 jarvis kernel: usb 3-2: rtl8xxxu: Loading firmware rtlwifi/rtl8192eu_nic.bin
jan 05 23:30:46 jarvis kernel: usb 3-2: Firmware revision 19.0 (signature 0x92e1)
jan 05 23:30:47 jarvis wpa_supplicant[544]: wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.2715] (wlan0): using nl80211 for WiFi device control
jan 05 23:30:47 jarvis kernel: rtl8xxxu 3-2:1.0 wlp0s20u2: renamed from wlan0
jan 05 23:30:47 jarvis mtp-probe[12292]: checking bus 3, device 32: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-2"
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.2727] manager: (wlan0): new 802.11 WiFi device (/org/freedesktop/NetworkManager/Devices/6)
jan 05 23:30:47 jarvis mtp-probe[12292]: bus: 3, device: 32 was not an MTP device
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.2836] rfkill33: found WiFi radio killswitch (at /sys/devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/ieee80211/phy4/rfkill33) (driver rtl8xxxu)
jan 05 23:30:47 jarvis systemd[1]: Starting Load/Save RF Kill Switch Status...
jan 05 23:30:47 jarvis systemd[1]: Started Load/Save RF Kill Switch Status.
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3165] device (wlan0): interface index 7 renamed iface from 'wlan0' to 'wlp0s20u2'
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3190] device (wlp0s20u2): state change: unmanaged -> unavailable (reason 'managed') [10 20 2]
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3246] (wlp0s20u2): using nl80211 for WiFi device control
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3267] device (wlp0s20u2): set-hw-addr: set MAC address to FE:4E:AF:AB:7E:B4 (scanning)
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3826] sup-iface[0x2035d60,wlp0s20u2]: supports 4 scan SSIDs
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3840] device (wlp0s20u2): supplicant interface state: starting -> ready
jan 05 23:30:47 jarvis NetworkManager[466]: <info>  [1483655447.3840] device (wlp0s20u2): state change: unavailable -> disconnected (reason 'supplicant-available') [20 30 42]
jan 05 23:30:47 jarvis kernel: IPv6: ADDRCONF(NETDEV_UP): wlp0s20u2: link is not ready
jan 05 23:30:48 jarvis NetworkManager[466]: <info>  [1483655448.4660] device (wlp0s20u2): supplicant interface state: ready -> inactive
later on I did switch off laptop internal wifi and start to used usb wifi dongle, no problems ...


EDIT #2:
what is strange on pi zero is why is that usb device disconnet, check log

Code: Select all

Nov 25 22:22:36 raspberrypi kernel: usb 1-1.4: USB disconnect, device number 6
if I leave that pluged in HUB it is happening in cycle and each time led on usb wifi dongle blink.
I did check power suply and looks OK, I am using 5V / 2.1A, I did connect DC voltmeter on 5V pinout and it is nice stable.
Sorry for not responding sooner.

I've not seen that error before so I'm not sure why it is happening. There are several other errors like

Code: Select all

Nov 25 22:22:36 raspberrypi systemd-udevd[827]: failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/soc/20980000.usb/usb1/1-1/1-1.4 1 7': No such file or directory
and I'm wondering if this is what is causing your problem. There is a post about that error here viewtopic.php?p=864077#p864077 which may possibly be causing an issue with the connection to the hub which may then be causing the wifi to disconnect.

As far as the 8192eu driver I've not seen any problems using it and I have it connected to a Pi and running 24/7.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rbjj
Posts: 4
Joined: Thu Jan 05, 2017 2:42 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 8:48 pm

still trying to find out what is wrong.

#1 I did uninstall your driver, so when plugin usb wifi it will stop writing errors in journal in cycle

#2 looking on journal after plugin usb wifi into hub I did find out that USB keyboard and mouse was disconected and leter connected and they were working well. If am plugin USB flash nothing like that happen.

#3 I did leave sudo journalctl -f, unplug the HUB from pi zero and plug usb wifi directly into pi zero over usb adapter. WOW, pi zero did reboot in a second!


I am using this dongle
http://www.gembird.nl/item.aspx?id=8711

I think that power suply which I am using is not enough, it is 5V 2.1A. But I dont have stronger one at the moment.
What do you think?

thank you

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Sun Jan 08, 2017 9:59 pm

rbjj wrote:still trying to find out what is wrong.

#1 I did uninstall your driver, so when plugin usb wifi it will stop writing errors in journal in cycle

#2 looking on journal after plugin usb wifi into hub I did find out that USB keyboard and mouse was disconected and leter connected and they were working well. If am plugin USB flash nothing like that happen.

#3 I did leave sudo journalctl -f, unplug the HUB from pi zero and plug usb wifi directly into pi zero over usb adapter. WOW, pi zero did reboot in a second!


I am using this dongle
http://www.gembird.nl/item.aspx?id=8711

I think that power suply which I am using is not enough, it is 5V 2.1A. But I dont have stronger one at the moment.
What do you think?

thank you
I would think 2.1A is OK. Does your hub have it's own power supply or do you power it from the Pi zero.

I have tried a Pi zero with the 8192eu wifi directly connected to the Pi and it works OK. I have now connected a small hub to the Pi zero and plugged the wifi into the hub and that is also working OK. The hub is powered from the Pi zero. The hub is a Logik L4THUB10.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rbjj
Posts: 4
Joined: Thu Jan 05, 2017 2:42 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Mon Jan 09, 2017 7:18 pm

well, usb hub can be powered by external power adapter, but I did not used it.
ok, I did try that, same problem.

I did buy another usb wifi dongle today with atheros chipset and working perfectly.

rhcp-ng
Posts: 2
Joined: Sat Mar 18, 2017 12:45 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Sat Mar 18, 2017 12:48 pm

Hi MrEngman,

Do you maybe have a version for my kernel? It's: 4.9.14-v7+ #977

My dongle stopped working after a kernel update. Should have thought of that.

Thanks!

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Sat Mar 18, 2017 6:27 pm

rhcp-ng wrote:Hi MrEngman,

Do you maybe have a version for my kernel? It's: 4.9.14-v7+ #977

My dongle stopped working after a kernel update. Should have thought of that.

Thanks!
Yes, there is a driver for your kernel version.

The drivers were installed on Dropbox but they have made a major change to their web site and its really screwed things up. Really annoying to say the least so I have moved the drivers to a new site. You will need to download and install a new script to use the new site.

Download and install the new version of the script with commands

Code: Select all

sudo wget http://www.fars-robotics.net/install-wifi -O /usr/bin/install-wifi
sudo chmod +x /usr/bin/install-wifi
The command

Code: Select all

sudo install-wifi -h
will show details on using it.

To install the driver on your current kernel you should just need to run command

Code: Select all

sudo install-wifi
This will select the driver you need and automatically download and install it.

To download and install the driver without using the script you can use commands

Code: Select all

wget http://www.fars-robotics.net/8192eu-4.9.14-v7-977.tar.gz
tar xzf 8192eu-4.9.14-v7-977.tar.gz
./install.sh

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

rhcp-ng
Posts: 2
Joined: Sat Mar 18, 2017 12:45 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Sat Mar 18, 2017 8:22 pm

Wow, great job! It worked like a charm. Many thanks!

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Sat Mar 18, 2017 8:29 pm

rhcp-ng wrote:Wow, great job! It worked like a charm. Many thanks!
No problem, glad to be able to help.


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

asdfqaz
Posts: 1
Joined: Sun Mar 19, 2017 1:50 pm

Error while using install script

Sun Mar 19, 2017 2:01 pm

Hello Mr. Engman,
I tried using your automated install script (install-wifi). When I ran it, it gave me an error, and didn't work. This is the log of the script:-

Code: Select all

 *** Raspberry Pi wifi driver installer by MrEngman.
 *** Performing self-update
 *** Relaunching after update

 *** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.4.50+
Your current kernel build    = #970

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 006: ID 2357:0109  

And it uses the 8192eu driver.

Checking for a new 8192eu wifi driver module for your current kernel.
There is a driver module available for this kernel revision.
Downloading the 8192eu driver.
Installing the 8192eu driver.

Installing driver module 8192eu.ko.

 *** Raspberry Pi wifi driver installer by MrEngman.
 *** Performing self-update
 *** Relaunching after update

 *** Raspberry Pi wifi driver installer by MrEngman.
unknown command: -p
/usr/bin/install: line 431: /root//usr/bin/install: No such file or directory
Loading and running the new 8192eu driver, 8192eu.ko.
I would be very happy if you could help me.

I am running the latest version of Raspbian on a Raspberry Pi 1 Model B.
When I run uname -a, this is the output:-

Code: Select all

Linux raspberrypi 4.4.50+ #970 Mon Feb 20 19:12:50 GMT 2017 armv6l GNU/Linux

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Error while using install script

Sun Mar 19, 2017 4:28 pm

asdfqaz wrote:Hello Mr. Engman,
I tried using your automated install script (install-wifi). When I ran it, it gave me an error, and didn't work. This is the log of the script:-

Code: Select all

 *** Raspberry Pi wifi driver installer by MrEngman.
 *** Performing self-update
 *** Relaunching after update

 *** Raspberry Pi wifi driver installer by MrEngman.

Your current kernel revision = 4.4.50+
Your current kernel build    = #970

Checking for a wifi module to determine the driver to install.

Your wifi module is Bus 001 Device 006: ID 2357:0109  

And it uses the 8192eu driver.

Checking for a new 8192eu wifi driver module for your current kernel.
There is a driver module available for this kernel revision.
Downloading the 8192eu driver.
Installing the 8192eu driver.

Installing driver module 8192eu.ko.

 *** Raspberry Pi wifi driver installer by MrEngman.
 *** Performing self-update
 *** Relaunching after update

 *** Raspberry Pi wifi driver installer by MrEngman.
unknown command: -p
/usr/bin/install: line 431: /root//usr/bin/install: No such file or directory
Loading and running the new 8192eu driver, 8192eu.ko.
I would be very happy if you could help me.

I am running the latest version of Raspbian on a Raspberry Pi 1 Model B.
When I run uname -a, this is the output:-

Code: Select all

Linux raspberrypi 4.4.50+ #970 Mon Feb 20 19:12:50 GMT 2017 armv6l GNU/Linux
Are you using the new script downloaded from www-dot-fars-robotics-dot-net? Details here viewtopic.php?p=1133335#p1133335.

If you are I think the script may have been corrupted. Can you download it again.



MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

DarkNight_DS
Posts: 1
Joined: Thu Mar 23, 2017 3:18 am

Re: Realtek RTL8192EU ID 0BDA:818B

Thu Mar 23, 2017 3:29 am

Hello Mr. Engman,

I wish the RTL8192EU driver was packaged in raspbian. Any way we can convince the org to include it? I have a RPI zero running:

Linux raspberrypi 4.4.50+ #970 Mon Feb 20 19:12:50 GMT 2017 armv6l GNU/Linux

Your download links for the tar meant for this release aren't working sadly... :( I need a working link to the file.

Thanks!

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Thu Mar 23, 2017 12:52 pm

DarkNight_DS wrote:Hello Mr. Engman,

I wish the RTL8192EU driver was packaged in raspbian. Any way we can convince the org to include it? I have a RPI zero running:

Linux raspberrypi 4.4.50+ #970 Mon Feb 20 19:12:50 GMT 2017 armv6l GNU/Linux

Your download links for the tar meant for this release aren't working sadly... :( I need a working link to the file.

Thanks!
The driver should be available, depends on which link you used as I recently changed it as Dropbox made changes to their web site which stopped everything working for me and my scripts. I have moved the files to a new web site.

See this post viewtopic.php?p=1133335#p1133335 for details of the new script for downloading and details of the new links.

These commands should download and install it manually, otherwise you can download the script and it will find the driver version and download and install automatically.

Code: Select all

wget http://www.fars-robotics.net/8192eu-4.4.50-970.tar.gz
tar xzf 8192eu-4.4.50-970.tar.gz
./install.sh

MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

belalobo
Posts: 9
Joined: Fri Feb 24, 2017 2:47 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Mon Apr 17, 2017 6:09 pm

Hello I have the same problem but upon trying to download the file from dropbox I get a ERROR 404: Not found.

this is the comand: wget https://dl.dropboxusercontent.com/u/802 ... ali.tar.gz
any help please?
thanks

MrEngman
Posts: 3716
Joined: Fri Feb 03, 2012 2:17 pm
Location: Southampton, UK

Re: Realtek RTL8192EU ID 0BDA:818B

Mon Apr 17, 2017 7:15 pm

belalobo wrote:Hello I have the same problem but upon trying to download the file from dropbox I get a ERROR 404: Not found.

this is the comand: wget https://dl.dropboxusercontent.com/u/802 ... ali.tar.gz
any help please?
thanks
Dropbox have made changes to their site so the links no longer work. I have moved the files to another site so try this

Code: Select all

wget http://fars-robotics.net/8192eu-4.1.19-v7-kali.tar.gz


MrEngman
Simplicity is a prerequisite for reliability. Edsger W. Dijkstra

Please post ALL technical questions on the forum. Please Do Not send private messages.

belalobo
Posts: 9
Joined: Fri Feb 24, 2017 2:47 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Mon Apr 17, 2017 8:17 pm

Will try it after dinner and report the results. Thank you very much

xronik
Posts: 1
Joined: Mon Apr 17, 2017 8:16 pm

Re: Realtek RTL8192EU ID 0BDA:818B

Mon Apr 17, 2017 8:19 pm

MrEngman, how to enable LED indicator in dongle now ?
Thx.

Return to “Add-ons”

Who is online

Users browsing this forum: No registered users and 7 guests