LinuxWireless

Differences between revisions 1 and 27 (spanning 26 versions)
Revision 1 as of 2010-07-21 13:23:19
Size: 3707
Editor: 193
Comment:
Revision 27 as of 2013-06-11 00:22:55
Size: 7355
Editor: penalvch
Comment: 1) Removed Oneiric as EOL. 2) RM'd realtek backport as unmaintained. 3) Misc. syntax fixes
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
== General Info == = General Info =
Line 8: Line 8:
== Ubuntu's kernels == = Debugging information to provide in your bug report =
Line 10: Line 10:
During the Ubuntu development cycle, which happens every 6 months, the Ubuntu kernel will pick the latest stable kernel release available. At Ubuntu's Intrepid release cycle, for example, this was the 2.6.27 kernel, for Jaunty this was the 2.6.28 kernel, and for Karmic 2.6.31. When providing information for a bug to be worked on by a developer, please mention the following information:
 1. What is the full computer model number (ex. HP G32-301TX Notebook PC)?
 1. If you update your BIOS to the newest version, does this change anything?
 1. Regarding your wireless Access Point (AP):
  A. What is the AP manufacturer, model, and firmware version?
  A. What wireless connection type are you using (e.g. 802.11n, 802.11g, etc.)?
  A. Encryption Type (ex. WEP, WPA2-PSK TKIP/AES)?
  A. MAC Filtering
  A. QoS/WMM
  A. Beacon Interval
  A. Router Internal Firewall
   a. If you change any of the settings above does it change anything?
 1. Does another wireless device tested with the AP have the same problem as the hardware you initially reported with?
 1. What is the distance of the wireless device from AP?
 1. What is the number and type of obstructions between your device and the AP?
  A. If you bring the device close to the AP and eliminate obstructions, does this change anything?
 1. Does the issue occur with different APs?
 1. Is it a regression (e.g. did the problem happen in a prior Ubuntu release)?
  A. If so, what release specifically did it last work with?
  A. If you do not know, could you please test for this in the earliest release of Ubuntu that is supported as per [[https://wiki.ubuntu.com/Releases|Ubuntu Releases]]?
 1. Does this problem occur in the newest mainline kernel following [[https://wiki.ubuntu.com/Kernel/MainlineBuilds]]? Please mention what specific version of the mainline kernel you tested with in your report.
  * If the mainline works, does the Ubuntu provided stable compat-wireless backport work following [[https://wiki.ubuntu.com/Kernel/LinuxWireless#Compat-wireless_in_Ubuntu]]? Please mention in your report the specific version you tested.
  * If the mailine does not work, could you please test upstream's compat-wireless backport via [[https://wiki.ubuntu.com/Kernel/LinuxWireless#Compat-wireless_from_upstream]]? Please mention in your report the specific version you tested.
 1. Does ndiswrapper work following [[https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper]]? Please mention what specific version of ndiswrapper you tested with, and a link to the Windows driver you used in your report.
  A. If ndiswrapper does not work, you are welcome to file a new bug report by executing at a terminal: {{{
ubuntu-bug ndiswrapper-utils-1.9 }}}
 1. For '''Broadcom''' wireless chipsets, does the Broadcom STA driver work following [[https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx]]? Please mention what specific version of Broadcom STA you tested with in your report.
 1. For '''Realtek''' wireless chipsets, does the upstream Realtek drivers downloaded from [[http://www.realtek.com.tw]] work? Please mention what specific version of the drivers you tested with in your report.
Line 12: Line 39:
== The Linux wireless guide on reporting bugs == = Ubuntu's kernels =
Line 14: Line 41:
Please be sure to read this guide, then finish this guide. During the Ubuntu development cycle, which happens every 6 months, the Ubuntu kernel will be picked from the latest stable kernel release available. At Ubuntu's Intrepid release cycle, for example, this was the 2.6.27 kernel, for Jaunty this was the 2.6.28 kernel, and for Karmic 2.6.31.

= The Linux wireless guide on reporting bugs =

Please be sure to read this guide in its entirety.
Line 18: Line 49:
== The Ubuntu proposed repository == = The Ubuntu proposed repository =
Line 20: Line 51:
Keep in mind Ubuntu has a "proposed" repository which allows you get newer kernels stable kernels (if you are 2.6.27.10 the proposed repository may have a 2.6.27.14 kernel). For Intrepid this would look like in /etc/apt/sources.list: Keep in mind Ubuntu has a "proposed" repository which allows you to get newer stable kernels (if you are using 2.6.27.10 the proposed repository may have a 2.6.27.14 kernel). Instructions on enabling this repository may be found [[https://wiki.ubuntu.com/Testing/EnableProposed|here]]. The kernels are propagated over time from the proposed repository to updates over a few weeks period of time after general testing and acceptance.
Line 22: Line 53:
{{{
deb http://us.archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ intrepid-proposed main restricted
}}}
= Ubuntu Intrepid kernel release to stable kernel map =
Line 27: Line 55:
On Jaunty: Unfortunately Ubuntu's Intrepid kernels do not tell you what the extra version is (the .10 in 2.6.27.10) and this is required to report bugs upstream. Because of this you can look at the [[http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html|Ubuntu kernel version --> detailed mainline kernel version map]] to find out what exact upstream mainline kernel your kernel is based on.
Line 29: Line 57:
{{{
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-proposed main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-proposed main restricted
}}}

On Karmic:

{{{
deb http://us.archive.ubuntu.com/ubuntu/ karmic-proposed main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ karmic-proposed main restricted
}}}

The kernels are propagated over time from the proposed repository to updates over a few weeks period of time after general testing and acceptance.

== Ubuntu Intrepid kernel release to stable kernel map ==

Unfortunately Ubuntu's Intrepid kernels do not tell you what the extraversion (the .10 in 2.6.27.10) and this is required to report bugs upstream. Because of this you can look at the [[http://kernel.ubuntu.com/~kernel-ppa/info/kernel-version-map.html|Ubuntu kernel version --> detailed mainline kernel version map]] to find out what exact upstream mainline kernel your kernel is based on.

For example if you get:

{{{
For example if you get: {{{
Line 58: Line 66:
== Compat-wireless in Ubuntu == = Compat-wireless from Ubuntu repositories =
Line 60: Line 68:
Ubuntu packages compat-wireless in the linux-backports-modules package. For example, if you are running Intrepid Ibex 8.10, linux-backports-modules can be installed by running the following command from a Terminal: The compat-wireless packages in Ubuntu are generated with select wireless commits from linus' stable tree. This provides one with the benefit of improved wireless functionality in a stable Ubuntu release, without adding any other, potentially unnecessary code. The following is a list of compat-wireless packages available from the Ubuntu repositories:
Line 62: Line 70:
{{{
sudo apt-get install linux-backports-modules-intrepid
sudo reboot
}}}
Quantal - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.5.0]] <<BR>><<BR>> Precise - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.0.0]] <<BR>><<BR>> Lucid - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32]] <<BR>><<BR>> Hardy - [[https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24]]
Line 67: Line 72:
You will probably get newer version of this package if you enable the proposed repository are explained above in this section. == Installing compat-wireless ==
Line 69: Line 74:
It should be noted that linux-backports-modules is updated regularly but not every day. If you want to ensure you are running bleeding edge you are better off using [[http://wireless.kernel.org/en/users/Download|compat-wireless directly]]. Also keep in mind that linux-backports-modules installs modules in /lib/modules/$(uname -r)/updates/ and upon removal the modules are not removed. So be sure to rm -rf that updates directory (and only the updates directory!). For [[https://launchpad.net/ubuntu/+source/linux-backports-modules-3.2.0|Precise]], this may be done by executing the following at a terminal: {{{
sudo apt-get -y install linux-backports-modules-cw-3.3-3.2.0.23-generic-pae
}}} and then reboot.

You will probably get newer versions of this package if you enable the proposed repository as explained above.

While compat-wireless in Ubuntu is updated regularly, it may not be every day. If you want to ensure you are running the cutting edge, one would want to use compat-wireless from upstream.

== Removing compat-wireless ==

Please keep in mind that linux-backports-modules install modules in /lib/modules/$(uname -r)/updates/ and upon removal the modules are not removed. So be sure to rm -rf that updates directory (and only the updates directory!).

= Compat-wireless from upstream =

Upstream packages a compat-wireless backport based on the [[http://linux.f-seidel.de/linux-next/pmwiki/pmwiki.php?n=Linux-next.FAQ|linux-next]] tree. This may be found at [[https://backports.wiki.kernel.org/index.php/Releases]]. The linux-next tree contains new features and fixes, and is a staging area for testing code that may be merged into linus' tree. Testing this gives developers vital information on what may fix your issue.

General Info

Escalating bugs and issues to the upstream developers is important to improving the overall quality of wireless drivers. Before we get started we will review first a few general details about the life cycle of Ubuntu's kernel releases so you are more comfortable with how things get into Ubuntu and what you are using.

Debugging information to provide in your bug report

When providing information for a bug to be worked on by a developer, please mention the following information:

  1. What is the full computer model number (ex. HP G32-301TX Notebook PC)?
  2. If you update your BIOS to the newest version, does this change anything?
  3. Regarding your wireless Access Point (AP):
    1. What is the AP manufacturer, model, and firmware version?
    2. What wireless connection type are you using (e.g. 802.11n, 802.11g, etc.)?
    3. Encryption Type (ex. WEP, WPA2-PSK TKIP/AES)?
    4. MAC Filtering
    5. QoS/WMM
    6. Beacon Interval
    7. Router Internal Firewall
      1. If you change any of the settings above does it change anything?
  4. Does another wireless device tested with the AP have the same problem as the hardware you initially reported with?
  5. What is the distance of the wireless device from AP?
  6. What is the number and type of obstructions between your device and the AP?
    1. If you bring the device close to the AP and eliminate obstructions, does this change anything?
  7. Does the issue occur with different APs?
  8. Is it a regression (e.g. did the problem happen in a prior Ubuntu release)?
    1. If so, what release specifically did it last work with?
    2. If you do not know, could you please test for this in the earliest release of Ubuntu that is supported as per Ubuntu Releases?

  9. Does this problem occur in the newest mainline kernel following https://wiki.ubuntu.com/Kernel/MainlineBuilds? Please mention what specific version of the mainline kernel you tested with in your report.

  10. Does ndiswrapper work following https://help.ubuntu.com/community/WifiDocs/Driver/Ndiswrapper? Please mention what specific version of ndiswrapper you tested with, and a link to the Windows driver you used in your report.

    1. If ndiswrapper does not work, you are welcome to file a new bug report by executing at a terminal:

      ubuntu-bug ndiswrapper-utils-1.9 
  11. For Broadcom wireless chipsets, does the Broadcom STA driver work following https://help.ubuntu.com/community/WifiDocs/Driver/bcm43xx? Please mention what specific version of Broadcom STA you tested with in your report.

  12. For Realtek wireless chipsets, does the upstream Realtek drivers downloaded from http://www.realtek.com.tw work? Please mention what specific version of the drivers you tested with in your report.

Ubuntu's kernels

During the Ubuntu development cycle, which happens every 6 months, the Ubuntu kernel will be picked from the latest stable kernel release available. At Ubuntu's Intrepid release cycle, for example, this was the 2.6.27 kernel, for Jaunty this was the 2.6.28 kernel, and for Karmic 2.6.31.

The Linux wireless guide on reporting bugs

Please be sure to read this guide in its entirety.

http://wireless.kernel.org/en/users/Documentation/Reporting_bugs

The Ubuntu proposed repository

Keep in mind Ubuntu has a "proposed" repository which allows you to get newer stable kernels (if you are using 2.6.27.10 the proposed repository may have a 2.6.27.14 kernel). Instructions on enabling this repository may be found here. The kernels are propagated over time from the proposed repository to updates over a few weeks period of time after general testing and acceptance.

Ubuntu Intrepid kernel release to stable kernel map

Unfortunately Ubuntu's Intrepid kernels do not tell you what the extra version is (the .10 in 2.6.27.10) and this is required to report bugs upstream. Because of this you can look at the Ubuntu kernel version --> detailed mainline kernel version map to find out what exact upstream mainline kernel your kernel is based on.

For example if you get:

ogasawara@emiko:~$ cat /proc/version_signature
Ubuntu 2.6.27-10.20-generic

You can then look at the map as to what exactly this maps to. In this case this would map to the 2.6.27.7 kernel.

It should be noted that the /proc/version_signature is an Ubuntu specific feature to help you get the detailed kernel version.

Compat-wireless from Ubuntu repositories

The compat-wireless packages in Ubuntu are generated with select wireless commits from linus' stable tree. This provides one with the benefit of improved wireless functionality in a stable Ubuntu release, without adding any other, potentially unnecessary code. The following is a list of compat-wireless packages available from the Ubuntu repositories:

Quantal - https://launchpad.net/ubuntu/+source/linux-backports-modules-3.5.0

Precise - https://launchpad.net/ubuntu/+source/linux-backports-modules-3.0.0

Lucid - https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.32

Hardy - https://launchpad.net/ubuntu/+source/linux-backports-modules-2.6.24

Installing compat-wireless

For Precise, this may be done by executing the following at a terminal:

sudo apt-get -y install linux-backports-modules-cw-3.3-3.2.0.23-generic-pae

and then reboot.

You will probably get newer versions of this package if you enable the proposed repository as explained above.

While compat-wireless in Ubuntu is updated regularly, it may not be every day. If you want to ensure you are running the cutting edge, one would want to use compat-wireless from upstream.

Removing compat-wireless

Please keep in mind that linux-backports-modules install modules in /lib/modules/$(uname -r)/updates/ and upon removal the modules are not removed. So be sure to rm -rf that updates directory (and only the updates directory!).

Compat-wireless from upstream

Upstream packages a compat-wireless backport based on the linux-next tree. This may be found at https://backports.wiki.kernel.org/index.php/Releases. The linux-next tree contains new features and fixes, and is a staging area for testing code that may be merged into linus' tree. Testing this gives developers vital information on what may fix your issue.

Kernel/LinuxWireless (last edited 2018-02-17 16:20:26 by penalvch)