tags 648396 patch
thanks

On Fri, Nov 11, 2011 at 03:42:32PM +0400, Cyril Lacoux wrote:
> Not really necessary but a clean patch was submitted and all wireless
> interfaces that are in my other computers are named wlan0, so why not?

OK, but other ethX references in this package would need to be similarly
adjusted or omitted.  A patch is attached.

> Right, are you ok with this message:
>
>   Interface is now renamed from ethX to wlanY to follow mac80211 convention
>   (in my case, eth1 was renamed to wlan0).
>   If you experience any networking problem after this upgrade, you should
>   have a look to /etc/network/interfaces file and replace any occurrences of
>   ethX with wlanY.
>   You can also safely remove the old configuration parameters concerning wl
>   module from udev persistent network rules file:
>   /etc/udev/rules.d/70-persistent-net.rules

This could be better presented as (NetworkManager note added):

  As of broadcom-sta version 5.100.82.112-2, interfaces created by the
  driver supplied in this package will use the "wlan" prefix (e.g. wlan0),
  following the convention set by mac80211 drivers.

  If you experience networking problems following an upgrade, edit
  /etc/network/interfaces and adjust lines relating to your wireless LAN
  configuration (e.g. "iface eth1 inet dhcp") with the new interface name.
  NetworkManager users should not be affected by this change.

  You can safely remove the old configuration parameters concerning the wl
  module from /etc/udev/rules.d/70-persistent-net.rules.

Geoff
diff -Nru broadcom-sta-5.100.82.112/debian/broadcom-sta-source.README.Debian broadcom-sta-5.100.82.112/debian/broadcom-sta-source.README.Debian
--- broadcom-sta-5.100.82.112/debian/broadcom-sta-source.README.Debian	2011-11-10 15:40:30.000000000 +1100
+++ broadcom-sta-5.100.82.112/debian/broadcom-sta-source.README.Debian	2011-11-12 00:51:53.000000000 +1100
@@ -7,12 +7,10 @@
 
 In order to try it, please observe the following steps:
  - Install b43-fwcutter then fetch and extract firmwares
- - Shut down your wireless network card (eg. eth1)
+ - Shut down your wireless network card
  - Remove wl module with `modprobe -r wl`
  - Insert the b43 module with `modprobe b43`
- - Set up your wireless network card (eg. wlan0)
-
-Important: the network card name is wlanX instead of ethX for intree module.
+ - Set up your wireless network card
 
 If the card is working, you should uninstall broadcom-sta-common,
 broadcom-sta-modules-KVER and this package.
diff -Nru broadcom-sta-5.100.82.112/debian/patches/02-rename-to-wlan0.patch broadcom-sta-5.100.82.112/debian/patches/02-rename-to-wlan0.patch
--- broadcom-sta-5.100.82.112/debian/patches/02-rename-to-wlan0.patch	2011-11-10 15:47:04.000000000 +1100
+++ broadcom-sta-5.100.82.112/debian/patches/02-rename-to-wlan0.patch	2011-11-12 00:48:34.000000000 +1100
@@ -1,8 +1,8 @@
 Index: broadcom-sta-5.100.82.112/i386/src/wl/sys/wl_linux.c
 ===================================================================
---- broadcom-sta-5.100.82.112.orig/i386/src/wl/sys/wl_linux.c	2011-11-08 19:54:08.000000000 +0100
-+++ broadcom-sta-5.100.82.112/i386/src/wl/sys/wl_linux.c	2011-11-08 20:11:40.000000000 +0100
-@@ -258,7 +256,7 @@
+--- broadcom-sta-5.100.82.112.orig/i386/src/wl/sys/wl_linux.c	2011-11-12 00:47:39.931947586 +1100
++++ broadcom-sta-5.100.82.112/i386/src/wl/sys/wl_linux.c	2011-11-12 00:47:39.943947966 +1100
+@@ -258,7 +258,7 @@
  #define quote_str(s) to_str(s)
  
  #ifndef BRCM_WLAN_IFNAME
@@ -11,11 +11,11 @@
  #endif
  
  static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
-Index: broadcom-sta-5.100.82.112/i386/src/wl/sys/wl_linux.c
+Index: broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c
 ===================================================================
---- broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c	2011-11-08 19:54:08.000000000 +0100
-+++ broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c	2011-11-08 20:11:40.000000000 +0100
-@@ -258,7 +256,7 @@
+--- broadcom-sta-5.100.82.112.orig/amd64/src/wl/sys/wl_linux.c	2011-11-12 00:47:39.931947586 +1100
++++ broadcom-sta-5.100.82.112/amd64/src/wl/sys/wl_linux.c	2011-11-12 00:47:39.943947966 +1100
+@@ -258,7 +258,7 @@
  #define quote_str(s) to_str(s)
  
  #ifndef BRCM_WLAN_IFNAME
@@ -24,3 +24,33 @@
  #endif
  
  static char name[IFNAMSIZ] = quote_str(BRCM_WLAN_IFNAME);
+Index: broadcom-sta-5.100.82.112/README.txt
+===================================================================
+--- broadcom-sta-5.100.82.112.orig/README.txt	2011-10-26 10:53:22.000000000 +1100
++++ broadcom-sta-5.100.82.112/README.txt	2011-11-12 00:48:30.225552314 +1100
+@@ -266,7 +266,7 @@
+ 
+ TX POWER EXPLAINED
+ ------------------
+-'iwconfig eth1 txpower' & 'iwlist eth1 txpower' set and get the drivers 
++'iwconfig wlan0 txpower' & 'iwlist wlan0 txpower' set and get the drivers 
+ user-requested transmit power level. This can go up to 32 dbm and allows
+ the user to lower the tx power to levels below the regulatory limit.
+ Internally, the actual tx power is always kept within regulatory limits
+@@ -319,14 +319,14 @@
+ 
+ wpa_supplicant 0.6.3 + nl80211 + WEP - (Note: This would only affect you if 
+ you are using wpa_supplicant directly from the command line and specify 
+-nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -ieth1 ..". If you are using
++nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -iwlan0 ..". If you are using
+ network manager GUI to connect it should work file.)
+ wpa_supplicant 0.6.3 might have a bug that affect WEP connections created 
+ through nl80211. Upgrade to wpa_supplicant to 0.7.3 would solve this problem.
+ 
+ Ubuntu 10.10 kernel + nl80211 + WPA/WPA2 - (Note: This would only affect you if 
+ you are using wpa_supplicant directly from the command line and specify 
+-nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -ieth1 ..". If you are using
++nl80211 interface, e.g. "wpa_supplicant -Dnl80211 -iwlan0 ..". If you are using
+ network manager GUI to connect it should work file.)
+ Some kernel versions of Ubuntu such as 2.6.35-22 (released with Ubuntu 
+ 10.10) may have problems that affect WPA/WPA2 connections created through 

Reply via email to