求翻译达人

包含网卡/无线网的网络问题和ADSL/校园网/宽带拨号支持及代理/共享等网络使用问题
回复
austin886
帖子: 20
注册时间: 2009-01-25 22:19

求翻译达人

#1

帖子 austin886 » 2011-02-15 20:48

网络适配器无法切换到monitormode AR9285无线。
Hi all,大家好,


First of all i'd like to point out that i'm brand new at Linux-systems.首先我想指出的是,我的品牌在Linux的系统的新。 I had my install done yesterday and i'm loving it so far.我有我昨天安装完成,我热爱它至今。
Since last night i've been looking up how to switch my AR9285 Wireless Network Adapter into monitormode.从昨晚开始我一直在寻找如何切换到monitormode我的AR9285无线网络适配器。
I've found the patching commands ;我发现修补命令;

PaulFertser> Get _your_ country code from regd.h, add 32768 and supply as a parameter. PaulFertser>“获取代码从regd.h _your_国家,添加一个参数32768和供应。
fercerpav@gmail.com fercerpav@gmail.com
--- linux-2.6.32-gentoo-r1-orig/drivers/net/wireless/ath/ath9k/main.c 2009-12-03 06:51:21.000000000 +0300 --- linux-2.6.32-gentoo-r1-orig/drivers/net/wireless/ath/ath9k/main.c 2009-12-03 06:51:21.000000000 0300
+++ linux-2.6.32-gentoo-r1/drivers/net/wireless/ath/ath9k/main.c 2010-01-16 02:04:00.000000000 +0300 + + + linux-2.6.32-gentoo-r1/drivers/net/wireless/ath/ath9k/main.c 2010-01-16 02:04:00.000000000 0300
@@ -28,6 +28,11 @@ @ @ -28,6 +28,11 @ @
module_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444); module_param_named(nohwcrypt,modparam_nohwcrypt,诠释,0444);
MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption"); MODULE_PARM_DESC(nohwcrypt,“禁用硬件加密”);

+static int modparam_override_eeprom_regdomain = -1; +静态诠释modparam_override_eeprom_regdomain = -1;
+module_param_named(override_eeprom_regdomain, + module_param_named(override_eeprom_regdomain,
+ modparam_override_eeprom_regdomain, int, S_IRUGO); + modparam_override_eeprom_regdomain,诠释,S_IRUGO);
+MODULE_PARM_DESC(override_eeprom_regdomain, "Override regdomain hardcoded in EEPROM with this value (DANGEROUS)."); + MODULE_PARM_DESC(override_eeprom_regdomain,“覆盖regdomain EEPROM的硬编码在此值(危险).");
+ +
/* We use the hw_value as an index into our private channel structure */ / * *我们用我们的专用通道结构的hw_value为指标到/

#define CHAN2G(_freq, _idx) { \ #定义CHAN2G(_freq,_idx){\
@@ -1588,6 +1593,14 @@ @ @ -1588,6 +1593,14 @ @
if (error != 0) 如果(错误!= 0)
return error; 返回错误;

+ if (modparam_override_eeprom_regdomain != -1) { +如果(modparam_override_eeprom_regdomain!= -1){
+ printk(KERN_ERR "ath9k: DANGER! You're overriding EEPROM-defined regulatory domain.\n"); +的printk(KERN_ERR“ath9k:你这里太危险了压倒一切的EEPROM的明确的监管领域。!\ ñ”);
+ printk(KERN_ERR "ath9k: Your card was not certified to operate on the domain you choosed.\n"); +的printk(KERN_ERR“ath9k:卡是没有资格去操作的域的选用。您的\ n”);
+ printk(KERN_ERR "ath9k: This might result in a violation of your local regulatory rules.\n"); +的printk(KERN_ERR“ath9k:这可能导致违反规则的地方法规ñ。\”);
+ printk(KERN_ERR "ath9k: Do not ever do that unless you really know what you do!\n"); +的printk(KERN_ERR“ath9k:永远不要做,除非你真的知道你做了什么N不\”);
+ sc->common.regulatory.current_rd = modparam_override_eeprom_regdomain; +的SC -> common.regulatory.current_rd = modparam_override_eeprom_regdomain;
+ } +}
+ +
/* get mac address from hardware and set in mac80211 */ / *获取硬件和设置mac80211 MAC地址从/

SET_IEEE80211_PERM_ADDR(hw, sc->sc_ah->macaddr); SET_IEEE80211_PERM_ADDR(硬件,第SC -> sc_ah -> macaddr把);


but what i can't find so far is how to get this patch actually changing my driver ?但我不能找到这么远是如何获得这个补丁确实改变了我的驱动程序? :/ :/
Pls help me.请帮助我。 Keep in mind, total Linux-newb here.记住,总Linux的国家教育福利局放在这里。

ty,泰,
Sfekke Sfekke

以下是英语
Can't switch AR9285 Wireless Network Adapter into monitormode.
Hi all,


First of all i'd like to point out that i'm brand new at Linux-systems. I had my install done yesterday and i'm loving it so far.
Since last night i've been looking up how to switch my AR9285 Wireless Network Adapter into monitormode.
I've found the patching commands ;

PaulFertser> Get _your_ country code from regd.h, add 32768 and supply as a parameter.
fercerpav@gmail.com
--- linux-2.6.32-gentoo-r1-orig/drivers/net/wireless/ath/ath9k/main.c 2009-12-03 06:51:21.000000000 +0300
+++ linux-2.6.32-gentoo-r1/drivers/net/wireless/ath/ath9k/main.c 2010-01-16 02:04:00.000000000 +0300
@@ -28,6 +28,11 @@
module_param_named(nohwcrypt, modparam_nohwcrypt, int, 0444);
MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption");

+static int modparam_override_eeprom_regdomain = -1;
+module_param_named(override_eeprom_regdomain,
+ modparam_override_eeprom_regdomain, int, S_IRUGO);
+MODULE_PARM_DESC(override_eeprom_regdomain, "Override regdomain hardcoded in EEPROM with this value (DANGEROUS).");
+
/* We use the hw_value as an index into our private channel structure */

#define CHAN2G(_freq, _idx) { \
@@ -1588,6 +1593,14 @@
if (error != 0)
return error;

+ if (modparam_override_eeprom_regdomain != -1) {
+ printk(KERN_ERR "ath9k: DANGER! You're overriding EEPROM-defined regulatory domain.\n");
+ printk(KERN_ERR "ath9k: Your card was not certified to operate on the domain you choosed.\n");
+ printk(KERN_ERR "ath9k: This might result in a violation of your local regulatory rules.\n");
+ printk(KERN_ERR "ath9k: Do not ever do that unless you really know what you do!\n");
+ sc->common.regulatory.current_rd = modparam_override_eeprom_regdomain;
+ }
+
/* get mac address from hardware and set in mac80211 */

SET_IEEE80211_PERM_ADDR(hw, sc->sc_ah->macaddr);


but what i can't find so far is how to get this patch actually changing my driver ? :/
Pls help me. Keep in mind, total Linux-newb here.

ty,
Sfekke
Sfekke is offline

来源
http://ubuntuforums.org/showthread.php?t=1609591
头像
jimmyxu
帖子: 335
注册时间: 2009-11-16 0:30
来自: sh
联系:

Re: 求翻译达人

#2

帖子 jimmyxu » 2011-02-17 17:22

我翻译几句供参考,别见笑
首先我是LINUX系统的菜鸟, 我昨天刚安装好,到目前为止很喜欢它.
但从昨晚开始,我查看如何切换AR9285无线网卡加放到监控模式,发现如下打补丁指令
.... :em06
只有历经,才能懂得!!
austin886
帖子: 20
注册时间: 2009-01-25 22:19

Re: 求翻译达人

#3

帖子 austin886 » 2011-02-17 19:49

:em20
楼上的比我强,我不懂硬度人在说什么
回复