Possible wireless issue (Realtek 8187b)

Hi all,

I’m a new user both to Linux and openSuse the latter I just installed yesterday. For the last couple of weeks I have been trying out Ubuntu 8.10 and while it worked ok I wanted to see what else was out there before I settled into a particular distrobution. Also, I’d read many good things about this distribution and felt compelled to give it a try. :slight_smile:

That said, I can obviously connect to the internet but yesterday, after install, I was having some trouble with periodically getting disconnected. I realize my particular NIC is a bit of a stinker, even under Windows, I thought I should seek out some help. This inclination grew stronger when I was unable to acceess the software repositories (I think they’re called?). In attempting to gain access I went through the application launcher (I wanted to install Thunderbird) and then clicked on “Install Software.” After giving my root password things seemed to be working well for a minute or two and then I started getting errors. Here’s what I mean;

Download (curl) error for ‘http://download.opensuse.org/distribution/11.1/repo/oss/content’:
Error code:
Error message: Couldn’t resolve host ‘ftp.osuosl.org

There was an error in the repository initialization.
‘repo-oss’: |] Valid metadata not found at specified URL(s)
History:

Interestingly enough I tried just typing the name "Thunderbird into the search window and voila it pulled it right up and installed just fine. Furthermore, since install Thunderbird has run flawlessly. So, I’m wondering if y’all can help me figure out what’s causing these errors and, of course, get them fixed? :slight_smile:

If I have placed this post in the wrong forum please forgive the faux paux.

Thanks in advance!

In recent weeks, a number of issues with the rtl8187b driver have been
fixed. The worst of these causes stalls that require the driver to be
unloaded and reloaded. It is a one-line patch that was added to
wireless-testing roughly 2 weeks ago, mainline (2.6.29-rc3) two days
ago, and has been queued for stable (2.6.28 and 2.6.27). How long it
will take to propagate through the system and be incorporated in the
openSUSE 2.6.27 kernel is anyone’s guess.

If you want the latest-and-greatest, you should download and build
compat-wireless. You could also apply the patch to the openSUSE kernel
source and rebuild rtl8187. The patch is found at
http://tinyurl.com/d4n2vr. Your other option is to suffer through the
your problems while you wait.

Larry

So does that mean openSuse uses a different kernel than Ubuntu? The reason I ask is my wireless seemed to work ok in that distro?

rdmike wrote:
> So does that mean openSuse uses a different kernel than Ubuntu? The
> reason I ask is my wireless seemed to work ok in that distro?

The short answer is yes, because every distro makes their own
modifications. The general version, such as 2.6.27, may also vary. I
depends on which version of Ubuntu you were using. Their devs may also
pick up changes more quickly that does openSUSE. I know that Fedora
does - one of their devs is the wireless gatekeeper.

Larry

Hi Larry and thanks for the reply.

I can use my wireless to access the internet with the occassional drop, as is (openSuse). It was this way in Vista too which was pre-installed by Gateway. I’m glad to hear this is an ongoing development though so I’m sure things will continue to get easier. I can always plug in a cat5 cable when I need a large file downloaded or what have you.

Thanks again!

Mike

[QUOTE=lwfinger;1935741]In recent weeks, a number of issues with the rtl8187b driver have been
fixed. The worst of these causes stalls that require the driver to be
unloaded and reloaded. It is a one-line patch that was added to
wireless-testing roughly 2 weeks ago, mainline (2.6.29-rc3) two days
ago, and has been queued for stable (2.6.28 and 2.6.27). How long it
will take to propagate through the system and be incorporated in the
openSUSE 2.6.27 kernel is anyone’s guess.

If you want the latest-and-greatest, you should download and build
compat-wireless. You could also apply the patch to the openSUSE kernel
source and rebuild rtl8187. The patch is found at
git.kernel.org - linux/kernel/git/stable/stable-queue.git/blob - queue-2.6.27/rtl8187-add-termination-packet-to-prevent-stall.patch. Your other option is to suffer through the
your problems while you wait.

Larry[/QUOTE]

Hi everybody

im having problems with my wifi card, this is my id device 0bda:8189 rtl8187b, ive read a lots of forums and cant do work my card, and now u saying there is a patch, but im starting in linux and opensuse, can u guide me how rebuild rtl8187 with that patch, and when i open the link, appear only words, i need copy paste on a new file and how i need put the extension?

this appear when a click on the link you wrote:
git.kernel.org - linux/kernel/git/stable/stable-queue.git/blob - queue-2.6.27/rtl8187-add-termination-packet-to-prevent-stall.patch

1
1 From 2fcbab044a3faf4d4a6e269148dd1f188303b206 Mon Sep 17 00:00:00 2001
2 From: Larry Finger <Larry.Finger@lwfinger.net>
3 Date: Fri, 23 Jan 2009 11:46:32 -0600
4 Subject: rtl8187: Add termination packet to prevent stall
5
6 From: Larry Finger <Larry.Finger@lwfinger.net>
7
8 commit 2fcbab044a3faf4d4a6e269148dd1f188303b206 upstream.
9
10 The RTL8187 and RTL8187B devices can stall unless an explicit termination
11 packet is sent.
12
13 Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
14 Signed-off-by: John W. Linville <linville@tuxdriver.com>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16
17 —
18 drivers/net/wireless/rtl8187_dev.c | 1 +
19 1 file changed, 1 insertion(+)
20
21 — a/drivers/net/wireless/rtl8187_dev.c
22 +++ b/drivers/net/wireless/rtl8187_dev.c
23 @@ -263,6 +263,7 @@ static int rtl8187_tx(struct ieee80211_h
24
25 usb_fill_bulk_urb(urb, priv->udev, usb_sndbulkpipe(priv->udev, ep),
26 buf, skb->len, rtl8187_tx_cb, skb);
27 + urb->transfer_flags |= URB_ZERO_PACKET;
28 rc = usb_submit_urb(urb, GFP_ATOMIC);
29 if (rc < 0) {
30 usb_free_urb(urb);
1

thanks for you help…

imazaky wrote:
>
> Hi everybody
>
> im having problems with my wifi card, this is my id device 0bda:8189
> rtl8187b, ive read a lots of forums and cant do work my card, and now u
> saying there is a patch, but im starting in linux and opensuse, can u
> guide me how rebuild rtl8187 with that patch, and when i open the link,
> appear only words, i need copy paste on a new file and how i need put
> the extension?

You seem to be asking for a lot more than your skill level can support. Remember
that this is not Windows, the system is open source, and patches, etc. are for
the source, not the binaries.

If you follow my first suggestion and get the compat-wireless package, that
requires the compilation of new drivers. There is a set of commands that you
need to follow.

To apply a patch file, which is just words as we are modifying the source, one
uses the patch utility, then rebuilds the appropriate part of the system.

I’m sorry, but I don’t have the time to lead you through this process.

Larry