Jump to content


Photo

Wifi Drivers DM7020HD

rtl8192

  • Please log in to reply
20 replies to this topic

#1 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 10:21

I know this is a topic that has been discussed on here before but I think it is worth raising again.

The DM7020HD is shipped with the RTL8192cu wifi dongle and this is supported in many images.

For years I have used PLi then OpenPLi images on various dreamboxes, love the look and feel of them. When I got the 7020 I found the wifi drivers werent included, but found they are in the OpenAAF version. Recently there was a bug in the DVB module which caused Cccam to carry on working, but without a picture on screen. The fix has been made in recent OpenPLi images, but not in the aaf version. Forcing an update of the DVB module in the aaf version just causes the box to hang on boot up.

So we have similar images, one with bugged DVB drivers, one without wifi.

I may be making this too simplistic, but is it really not possible to include whatever modules are needed in the PLi image to get wifi working? Yes I know I could use a LAN cable, but that's not practical, and yes I could use something like a vonets bridge. But since the machine is shipped with the dongle it would be good to have a working OpenPLi image.

Re: Wifi Drivers DM7020HD #2 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 August 2012 - 10:46

What is missing?

dm7020hd kernel config contains

CONFIG_RTL8192CU=m

however people say the external rtl8192cu driver performs better, so we install that in the image instead:
openpli-enigma2-image contains 'rtl8192cu' and 'firmware-rtl8192cu', when the 'wifi' MACHINE_FEATURE is defined.
And for the dm7020hd, 'wifi' is in the MACHINE_FEATUREs

So when you check

opkg list_installed *rtl8192*

you should see the driver being in the image.

Now, it should also autoload.
the dm7020hd machine config includes autoload-wifi.inc, which includes an entry for rtl8192cu.
This is the in-kernel driver.

The external driver also generates an autoload entry:
/etc/modules-load.d/r8192cu.conf

So with lsmod you should probably see the external driver:

lsmod | grep 8192

Or if you want to try the in-kernel driver instead:

opkg remove rtl8192cu
opkg install kernel-module-rtl8192cu

and reboot

Re: Wifi Drivers DM7020HD #3 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 11:21

Hi thanks for very prompt reply.

Unfortunately I'm no expert, but yes i have looked at the package list and see the drivers are there. But something is missing/not working. When reflashing with other images, they detect the WLAN dongle and then go into a setup wizard. The OpenPLi image doesnt do this, just connects via LAN. If I then go into adaptor settings for WLAN and Detect Networks, the message "no wireless networks detected, scanning" (or similar) appears and the network is never discovered.

Manually entering the settings, network SSID, WPA etc. does not connect either.

Re: Wifi Drivers DM7020HD #4 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 11:24

I will reflash the image later on and try your suggestions and report back, but I honestly dont hold out much hope of success.

Re: Wifi Drivers DM7020HD #5 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 11:56

ok, have tried installing the kernal driver and get this:

root@dm7020hd:~# opkg remove rtl8192cu
Removing package rtl8192cu from root...
root@dm7020hd:~# opkg install kernel-module-rtl8192cu
Unknown package 'kernel-module-rtl8192cu'.
Collected errors:
* opkg_install_cmd: Cannot install package kernel-module-rtl8192cu.

Doesnt look as though it is included in the image?

Re: Wifi Drivers DM7020HD #6 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 August 2012 - 12:20

perhaps the package name is not quite right, please check with

opkg list *8192*

Re: Wifi Drivers DM7020HD #7 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 14:50

I'm pretty sure the name is right, have googled it and can find reference to it but unfortunatley havent found a download for it.

The search gave this:

root@dm7020hd:~# opkg list *8192*
firmware-rtl8192cu - 1.0-r0
root@dm7020hd:~#

Re: Wifi Drivers DM7020HD #8 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 August 2012 - 15:10

Are you running 3.0?

in 2.1 the dm7020hd is still on linux 2.6.18, so it lacks in-kernel wifi drivers.

Re: Wifi Drivers DM7020HD #9 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 15:30

Not yet but can do! Will flash it now and see what happens - thank you for all your help.

Re: Wifi Drivers DM7020HD #10 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 15:39

Same result with last nightly build of 3.0:- OpenPLi-3.0-beta-dm7020hd-20120803.nfi

root@dm7020hd:~# opkg remove rtl8192cu
Removing package rtl8192cu from root...
root@dm7020hd:~# opkg install kernel-module-rtl8192cu
Unknown package 'kernel-module-rtl8192cu'.
Collected errors:
* opkg_install_cmd: Cannot install package kernel-module-rtl8192cu.

Search shows:

root@dm7020hd:~# opkg list *8192*
firmware-rtl8192cu - 1.0-r0

Does that indicate that the drivers are not in the image?

Re: Wifi Drivers DM7020HD #11 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 August 2012 - 15:56

Just checked on the buildserver, kernel-module-rtl8192cu should definitely be in the feed for the 7020hd.
Did you run 'opkg update' before trying to install?

And, on 3.0 the external rtl8192cu does not work either?

Re: Wifi Drivers DM7020HD #12 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 16:09

I didnt originally run opkg update, you are talking to a novice I'm afraid. Have now done so and can see a lot of realtek drivers in there.

Ok after a reboot success! Connected by wifi and one very happy PLi user again.

Thank you very much for your time and advice.

Re: Wifi Drivers DM7020HD #13 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 August 2012 - 16:17

Glad you got it working.
Just for my information, did you end up using the kernel-module-rtl8192cu, or the external rtl8192cu, which is in the image by default?

Re: Wifi Drivers DM7020HD #14 deepy

  • Member
  • 9 posts

0
Neutral

Posted 3 August 2012 - 18:03

Once I had updated the package list I rebooted and tried straight from there so I guess it must have been the external default rtl8192cu.

I based my original post on a couple of others on this forum asking about the same - maybe pre 3.0, I've learnt today about opkg update, but I wouldnt be surprised if there are a number of users who have swapped to other images, unaware of this.

Just wonder whether the updated packages could be included in future builds?

Re: Wifi Drivers DM7020HD #15 pieterg

  • PLi® Core member
  • 32,766 posts

+245
Excellent

Posted 3 August 2012 - 18:21

We've opted for the external driver, because users reported it worked a lot better than the internal driver.

Re: Wifi Drivers DM7020HD #16 Cor Dreambox

  • Member
  • 18 posts

0
Neutral

Posted 18 August 2012 - 20:25

Hello Pli Core members,

I'm pretty new in this world, but I feel you make it to complex for me (and possible others who have a 7020HD and want to operate with Openpli),
I've bought an DM7020HD especially to get use of the WIFI connection. With OpenPli it does not work as no wireless networks can be found.

In fact I have a new WIFI (original) Dreambox stick, mini shaped and in color white which was delivered by Dreambox. When Í'm not mistaken this is a Realtek 8188U where the driver r8712u is required for. I've followed the procedure to update the opkg and than tried to installed the r8712u, but I get the message : "cannot install package r8712u".

Please help. Your reply is most appreciated.

Thanks and regards,

Cor

DREAMBOX DM7020HD + 1TB HD

OpenPLi 4.0 - 28.2E | 23.5E | 19.2E | 13E |


Re: Wifi Drivers DM7020HD #17 dierry

  • Member
  • 2 posts

0
Neutral

Posted 17 October 2012 - 01:34

Thanks,

I solved with:

opkg remove rtl8192cu
opkg update
reboot

Re: Wifi Drivers DM7020HD #18 Sim

  • Member
  • 4 posts

0
Neutral

Posted 18 October 2012 - 12:21

I have the same issue, where do I find opkg update?

Re: Wifi Drivers DM7020HD #19 hemertje

  • Forum Moderator
    PLi® Core member
  • 33,503 posts

+118
Excellent

Posted 18 October 2012 - 12:44

I have the same issue, where do I find opkg update?


it is a telnet command

on the Glassfibre 1GB DVB-C...


Re: Wifi Drivers DM7020HD #20 JosefToma

  • Member
  • 3 posts

0
Neutral

Posted 1 April 2013 - 16:35

Hi!

 

I didn't wan't to make a new thread because I guess this problem has been brought up many times.

 

My problem is like the first post I can't find any WIFI connections when i search for networks,

 

I followed the steps suggested on other posts and really thought it would work by using telnet commands to use the in-kernel drivers, I wrote:

opkg update

opkg remove rtl8192cu

opkg install kernel-module-rtl8192cu

 

and after that rebooted the system. Now I can't even search for any connections because the box hangs up and the wheels on the upperleft corner keeps showing up and turning.

 

I would appreciate any help/directions on what I can do. I'm not a pro on these things but can follow directions if anyone can dumb it down enough :)

 

Would really like to be able to use wifi again and not have a cable going from the kitchen to the living-room.

(It worked flawlessely before my friend updated my box to openpli 3.0, I have a dm7020 hd and use the included small grey usb WIFI-adapter)

 

Excuse my bad english and thanks in advance!




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users