Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I own a Belkin wireless USB adapter. It seems to be supported by the rtl8192cu driver in 11.10 betas, which is great, because in 11.04 the driver had to be compiled/installed manually. But, nobody is perfect, and I seem to have some driver-related problems with the dongle.

It seems that it is able to connect only after several retries (taking the dongle out and plugging it in another port), or after a reboot, or sometimes at the first boot.

I don't know how to diagnose this wireless things from the command line, so I'll tell you what I see in Kubuntu's network manager: When it can't connect, it says "Configuring interface" for a loong time, and then sometimes "Waiting for authorization". Nothing else.

What I'm asking is:

  1. What type of information (logs, traces, etc), and
  2. How do I exactly get it (where is it, is there a special command like dmesg),

in order to

  1. try to troubleshoot the problem myself,
  2. Have better chances to spot a duplicate bug report.
  3. Provide that information in a new bug report.

I'd appreciate as much information as possible regarding this matter, because I've never done it but I've already needed it in the past.

UPDATE I've finally filed a bug report on this matter. Does anybody know why might be this happening?

share|improve this question
    
It's a bug as you mentioned and you have filed a bug report :) You officially figured it out yourself :) –  nitstorm Feb 27 '12 at 14:03
    
@nitstorm Indeed :) I've got to mention the proprietary driver from Realtek is working. –  Xavi López Feb 27 '12 at 14:06
2  
@XaviLópez I've reopened it, if you could write a answer explaining how you installed the driver from Realtek, that'd be great! :) –  jrg Feb 27 '12 at 14:12

1 Answer 1

up vote 2 down vote accepted

I finally submitted a bug report using apport. This command can be used to automatically attach some useful information to a bug. Other logs/information that turned out to be probably relevant were dmesg, lsusb and uname outputs, grepped lsmod to show modules related to the device, and modinfo of those modules.

Finally, it turned out that the proprietary driver from Realtek worked fine. The driver can be downloaded from Realtek's website. It seems that Realtek has modified the driver so that it supports newer versions of the kernel. In previous versions, it was necessary to patch a couple of includes, as @chicoff pointed out in his answer to the question Installing Realtek 8188 wireless driver fails, and in this comment on a similar Launchpad bug report

Realtek's package provides a sh installer that compiles and installs the module into the kernel. It's necessary to blacklist the driver included in the kernel, so that it's not eligible for loading when rebooting. See this question for details on how to achieve it: How to force a proprietary driver to load on startup?.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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