当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 12 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : ASUS EPC 无线网卡驱动 RT2790(已解决)
帖子发表于 : 2008-11-01 18:46 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
各位好:
我用ASUS EPC 1000H
安装DVD版本的UBUNTU 8.10 中文
有线网络可以上 呵呵 系统自动识别的!
无线网络就不能识别 。估计是驱动问题!
我的无线网卡型号是 RALINK RT2790 (802.11N)
下面的连接地址是无线网卡的驱动地址,但是下载下来的驱动要编译,很麻烦请高人给弄下,直接安装就OK!
http://www.ralinktech.com/ralink/Home/S ... Linux.html
附件:
文件注释: 啊啊
111.jpg
111.jpg [ 18.9 KiB | 被浏览 7539 次 ]


图片第一个驱动就是RT2790 的驱动!

我会一直把我的操作过程和解决办法写出来的.
请大家都来参与和提问!
QQ:170752936
附件:
文件注释: 啊啊
111.jpg
111.jpg [ 18.9 KiB | 被浏览 7539 次 ]



最后由 zhangmin2002001 编辑于 2008-11-04 8:52,总共编辑了 1 次

页首
 用户资料  
 
2 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-01 18:56 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
附件:
111111.jpg
111111.jpg [ 12.92 KiB | 被浏览 7481 次 ]


图片上的文件是RT2790 驱动文件夹里的内容!
Makefile 文件 呵呵


页首
 用户资料  
 
3 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-01 19:17 
头像

注册: 2006-09-02 14:18
帖子: 5308
地址: 汉桑城
送出感谢: 1
接收感谢: 1
ifconfig的返回值是什么?


_________________
全世界linux爱好者联合起来 !
一切闭源操作系统都是纸老虎 !
要斗私批修,拒绝黑屏,使用linux !
让一部分人先用起Archlinux来 !
linux是第一生产力 !
讲正气,讲开源,讲free
要坚定不移的走开源的道路 !
linux明天会更好 !

dpkg -l |grep ^rc|awk '{print $2}' |tr ["\n"] [" "]|sudo xargs dpkg -P -
ubuntu粉丝群 26660836 已满员


页首
 用户资料  
 
4 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-03 8:38 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
$ ifconfig
eth0 Link encap:以太网 硬件地址 00:22:15:f0:bd:db
inet 地址:192.168.0.7 广播:192.168.0.255 掩码:255.255.255.0
inet6 地址: fe80::222:15ff:fef0:bddb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:1594 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:205 错误:0 丢弃:0 过载:0 载波:4
碰撞:0 发送队列长度:1000
接收字节:380041 (380.0 KB) 发送字节:25190 (25.1 KB)
中断:220

lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:294 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:294 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:19240 (19.2 KB) 发送字节:19240 (19.2 KB)


页首
 用户资料  
 
5 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-03 8:39 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GME Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
01:00.0 Network controller: RaLink Device 0781
03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)


页首
 用户资料  
 
6 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-03 9:00 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
[b]无线驱动包里面的说明:[/b]
* README
*
* Ralink Tech Inc.
*
* http://www.ralinktech.com
*

=======================================================================
ModelName:
===========
RT2860 Wireless Lan Linux Driver


=======================================================================
Driver lName:
=============
rt2860.o/rt2860.ko


=======================================================================
Supporting Kernel:
===================
linux kernel 2.4 and 2.6 series.
Tested in Redhat 7.3 or later.


=======================================================================
Description:
=============
This is a linux device driver for Ralink RT2860 ABGN WLAN Card.


=======================================================================
Contents:
=============
Makefile : Makefile
*.c : c files
*.h : header files


=======================================================================
Features:
==========
This driver implements basic IEEE802.11. Infrastructure and adhoc mode with
open or shared or WPA-PSK or WPA2-PSK authentication method.
NONE, WEP, TKIP and AES encryption.


=======================================================================
Build Instructions:
====================

1> $tar -xvzf DPB_RT2860_Linux_STA_x.x.x.x.tgz
go to "./DPB_RT2860_Linux_STA_x.x.x.x" directory.

2> In Makefile
set the "MODE = STA" in Makefile and chose the TARGET to Linux by set "TARGET = LINUX"
define the linux kernel source include file path LINUX_SRC
modify to meet your need.

3> In os/linux/config.mk
define the GCC and LD of the target machine
define the compiler flags CFLAGS
modify to meet your need.
** Build for being controlled by NetworkManager or wpa_supplicant wext functions
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.
=> #>cd wpa_supplicant-x.x
=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d
** Build for being controlled by WpaSupplicant with Ralink Driver
Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.
=> #>cd wpa_supplicant-0.5.7
=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4> $make
# compile driver source code
# To fix "error: too few arguments to function ˉiwe_stream_add_event"
=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5> $cp RT2860STA.dat /etc/Wireless/RT2860STA/RT2860STA.dat

6> load driver
#[kernel 2.4]
# $/sbin/insmod rt2860sta.o
# $/sbin/ifconfig ra0 inet YOUR_IP up

#[kernel 2.6]
# $/sbin/insmod rt2860sta.ko
# $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver
$/sbin/ifconfig ra0 down
$/sbin/rmmod rt2860sta

=======================================================================
CONFIGURATION:
====================
RT2860 driver can be configured via following interfaces,
i.e. (i)"iwconfig" command, (ii)"iwpriv" command, (iii) configuration file

i) iwconfig comes with kernel.
ii) iwpriv usage, please refer to file "iwpriv_usage.txt" for details.
iii)modify configuration file "RT2860STA.dat" in /etc/Wireless/RT2860STA/RT2860STA.dat.

Configuration File : RT2860STA.dat
---------------------------------------
# Copy this file to /etc/Wireless/RT2860STA/RT2860STA.dat
# This file is a binary file and will be read on loading rt.o module.
#
# Use "vi -b rt61sta.dat" to modify settings according to your need.
#
# 1.) set NetworkType to "Adhoc" for using Adhoc-mode, otherwise using Infrastructure
# 2.) set Channel to "0" for auto-select on Infrastructure mode
# 3.) set SSID for connecting to your Accss-point.
# 4.) AuthMode can be "WEPAUTO", "OPEN", "SHARED", "WPAPSK", "WPA2PSK", "WPANONE"
# 5.) EncrypType can be "NONE", "WEP", "TKIP", "AES"
# for more information refer to the Readme file.
#
#The word of "Default" must not be removed
Default
CountryRegion=5
CountryRegionABand=7
CountryCode=
SSID=Dennis2860AP
NetworkType=Infra
WirelessMode=9
Channel=0
BeaconPeriod=100
TxPower=100
BGProtection=0
TxPreamble=0
RTSThreshold=2347
FragThreshold=2346
TxBurst=1
WmmCapable=0
AckPolicy=0;0;0;0
AuthMode=OPEN
EncrypType=NONE
WPAPSK=
DefaultKeyID=1
Key1Type=0
Key1Str=
Key2Type=0
Key2Str=
Key3Type=0
Key3Str=
Key4Type=0
Key4Str=
PSMode=CAM
FastRoaming=0
RoamThreshold=70
HT_RDG=1
HT_EXTCHA=0
HT_OpMode=1
HT_MpduDensity=4
HT_BW=1
HT_AutoBA=1
HT_BADecline=0
HT_AMSDU=0
HT_BAWinSize=64
HT_GI=1
HT_MCS=33
HT_MIMOPSMode=3
IEEE80211H=0
TGnWifiTest=0
WirelessEvent=0

-----------------------------------------------
*NOTE:
WMM parameters
WmmCapable Set it as 1 to turn on WMM Qos support
AckPolicy1~4 Ack policy which support normal Ack or no Ack
(AC_BK, AC_BE, AC_VI, AC_VO)

All WMM parameters do not support iwpriv command but ˉWmmCapableˇˇ,
please store all parameter to RT2860STA.dat, and restart driver.

-----------------------------------------------
syntax is 'Param'='Value' and describes below.

@> CountryRegion=value
value
0: use 1 ~ 11 Channel
1: use 1 ~ 13 Channel
2: use 10 ~ 11 Channel
3: use 10 ~ 13 Channel
4: use 14 Channel
5: use 1 ~ 14 Channel
6: use 3 ~ 9 Channel
7: use 5 ~ 13 Channel
31: use 1 ~ 14 Channel (ch1-11:active scan, ch12-14 passive scan)

@> CountryRegionABand=value
value
0: use 36, 40, 44, 48, 52, 56, 60, 64, 149, 153, 157, 161, 165 Channel
1: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140 Channel
2: use 36, 40, 44, 48, 52, 56, 60, 64 Channel
3: use 52, 56, 60, 64, 149, 153, 157, 161 Channel
4: use 149, 153, 157, 161, 165 Channel
5: use 149, 153, 157, 161 Channel
6: use 36, 40, 44, 48 Channel
7: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165 Channel
8: use 52, 56, 60, 64 Channel
9: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 132, 136, 140, 149, 153, 157, 161, 165 Channel
10: use 36, 40, 44, 48, 149, 153, 157, 161, 165 Channel
11: use 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 149, 153, 157, 161 Channel

@> CountryCode=value
value
AG, AR, AW, AU, AT, BS, BB, BM, BR, BE, BG, CA, KY, CL, CN, CO, CR, CY, CZ, DK, DO, EC, SV, FI, FR, DE,
GR, GU, GT, HT, HN, HK, HU, IS, IN, ID, IE, IL, IT, JP, JO, LV, LI, LT, LU, MY, MT, MA, MX, NL, NZ, NO,
PE, PT, PL, RO, RU, SA, CS, SG, SK, SI, ZA, KR, ES, SE, CH, TW, TR, GB, UA, AE, US, VE
"" => using default setting: 2.4 G - ch 1~11; 5G - ch 52~64, 100~140, 149~165

@> SSID=value
value
0~z, 1~32 ascii characters.

@> WirelessMode=value
value
0: legacy 11b/g mixed
1: legacy 11B only
2: legacy 11A only //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
3: legacy 11a/b/g mixed //Not support in RfIcType=1(id=RFIC_5225) and RfIcType=2(id=RFIC_5325)
4: legacy 11G only
5: 11ABGN mixed
6: 11N only
7: 11GN mixed
8: 11AN mixed
9: 11BGN mixed
10: 11AGN mixed

@> Channel=value
value
depends on CountryRegion or CountryRegionABand

@> BGProtection=value
value
0: Auto
1: Always on
2: Always off

@> TxPreamble=value
value
0:Preamble Long
1:Preamble Short
2:Auto

@> RTSThreshold=value
value
1~2347

@> FragThreshold=value
value
256~2346

@> TxBurst=value
value
0: Disable
1: Enable

@> NetworkType=value
value
Infra: infrastructure mode
Adhoc: adhoc mode

@> AuthMode=value
value
OPEN For open system
SHARED For shared key system
WEPAUTO Auto switch between OPEN and SHARED
WPAPSK For WPA pre-shared key (Infra)
WPA2PSK For WPA2 pre-shared key (Infra)
WPANONE For WPA pre-shared key (Adhoc)
WPA Use WPA-Supplicant
WPA2 Use WPA-Supplicant

@> EncrypType=value
value
NONE For AuthMode=OPEN
WEP For AuthMode=OPEN or AuthMode=SHARED
TKIP For AuthMode=WPAPSK or WPA2PSK
AES For AuthMode=WPAPSK or WPA2PSK

@> DefaultKeyID=value
value
1~4

@> Key1=value
Key2=value
Key3=value
Key4=value
value
10 or 26 hexadecimal characters eg: 012345678
5 or 13 ascii characters eg: passd
(usage : "iwpriv" only)

@> Key1Type=vaule
Key2Type=value
Key3Type=vaule
Key4Type=vaule
value
0 hexadecimal type
1 assic type
(usage : reading profile only)

@> Key1Str=value
Key2Str=value
Key3Str=vaule
Key4Str=vaule
value
10 or 26 characters (key type=0)
5 or 13 characters (key type=1)
(usage : reading profile only)

@> WPAPSK=value
value
8~63 ASCII or
64 HEX characters

@> WmmCapable=value
value
0: Disable WMM
1: Enable WMM

@> PSMode=value
value
CAM Constantly Awake Mode
Max_PSP Max Power Savings
Fast_PSP Power Save Mode

@> FastRoaming=value
value
0 Disabled
1 Enabled

@> RoamThreshold=value
value
Positive Interger(dBm)

@> HT_RDG=value
value
0 Disabled
1 Enabled

@> HT_EXTCHA=value (Extended Channel Switch Announcement)
value
0 Below
1 Above

@> HT_OpMode=value
value
0 HT mixed format
1 HT greenfield format

@> HT_MpduDensity=value
value (based on 802.11n D2.0)
0: no restriction
1: 1/4 s
2: 1/2 s
3: 1 s
4: 2 s
5: 4 s
6: 8 s
7: 16 s

@> HT_BW=value
value
0 20MHz
1 40MHz

@> HT_AutoBA=value
value
0 Disabled
1 Enabled

@> HT_BADecline
value
0 Disabled
1 Enabled <Reject BA request from AP>

@> HT_AMSDU=value
value
0 Disabled
1 Enabled

@> HT_BAWinSize=value
value
1 ~ 64

@> HT_GI=value
value
0 long GI
1 short GI

@> HT_MCS=value
value
0 ~ 15
33: auto

@> HT_MIMOPSMode=value
value (based on 802.11n D2.0)
0 Static SM Power Save Mode
1 Dynamic SM Power Save Mode
2 Reserved
3 SM enabled
(not fully support yet)

@> IEEE80211H=value
value
0 Disabled
1 Enabled

@> TGnWifiTest=value
value
0 Disabled
1 Enabled

@> WirelessEvent=value
value
0 Disabled
1 Enabled <send custom wireless event>

MORE INFORMATION
=================================================================================
If you want for rt2860 driver to auto-load at boot time:
A) choose ra0 for first RT2860 WLAN card, ra1 for second RT2860 WLAN card, etc.

B) create(edit) 'ifcfg-ra0' file in /etc/sysconfig/network-scripts/,
edit( or add the line) in /etc/modules.conf:
alias ra0 rt2860sta

C) edit(create) the file /etc/sysconfig/network-scripts/ifcfg-ra0
DEVICE='ra0'
ONBOOT='yes'


NOTE:
if you use dhcp, add this line too .
BOOTPROTO='dhcp'

*D) To ease the Default Gateway setting,
add the line
GATEWAY=x.x.x.x
in /etc/sysconfig/network


页首
 用户资料  
 
7 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-03 9:47 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
*-network UNCLAIMED
description: Network controller
product: RaLink
vendor: RaLink
physical id: 0
bus info: pci@0000:01:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0


页首
 用户资料  
 
8 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-04 8:07 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
最后 解决办法 :Firts of all grab the new drivers from ralink.
Unpack into a folder.
1、Code:
[b]Edit the file <your_folder_name>/os/linux/config.mk
[/b]

Change the following lines:

2、Code:
# Support Wpa_Supplicant
HAS_WPA_SUPPLICANT=y

# Support Native WpaSupplicant for Network Maganger
HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y

now go into the root of your folder and:

3、Code:
sudo make && sudo make install

To autostart the interface just do the following:

4、Code:
sudo gedit /etc/init.d/rt2860up
Paste this into the File:

5、Code:
#!/bin/sh

sudo ifconfig ra0 up

Now do the following:

6、Code:

cd /etc/init.d
sudo chmod +x rt2860up
sudo ln - s /etc/init.d/rt2860up /etc/rcS.d/S33rt2860up

Last but not least:

7、Code:

sudo rm /etc/Wireless/RT2860STA/RT2860STA.dat
EDIT:
your /etc/network/interfaces/ should look like this:

8、Code:

auto lo
iface lo inet loopback


Put a # in front of all other lines

Now everything should work like a charme, no need to use Wicd anymore.
参考文章:http://ubuntuforums.org/showthread.php?p=5114684


页首
 用户资料  
 
9 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-04 8:12 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
LSPCI

01:00.0 Network controller: RaLink Device 0781
03:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0)

lshw

*-network:0
description: Wireless interface
physical id: 1
logical name: ra0
serial: 00:22:43:00:0**:**
capabilities: ethernet physical wireless
configuration: broadcast=yes multicast=yes wireless=RT2860 Wireless
*-network:1 DISABLED
description: Ethernet interface
physical id: 2
logical name: pan0
serial: fa:f4:17:b6:**:**
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A multicast=yes


页首
 用户资料  
 
10 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-04 8:19 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
安装WICD来 管理无线网络:
系统 ----系统管理 ----新立得软件管理----设置----软件库---第三方软件---添加。
具体添加的是:deb http://apt.wicd.net feisty extras


页首
 用户资料  
 
11 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790 安装包(高人进)
帖子发表于 : 2008-11-04 8:43 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
[img][img]/home/anthony/桌面/111.png[/img][/img]
附件:
1111.jpg
1111.jpg [ 24.63 KiB | 被浏览 7442 次 ]

附件:
1111.jpg
1111.jpg [ 24.63 KiB | 被浏览 7442 次 ]



页首
 用户资料  
 
12 楼 
 文章标题 : Re: ASUS EPC 无线网卡驱动 RT2790(已解决)
帖子发表于 : 2008-11-04 8:54 

注册: 2008-11-01 18:23
帖子: 11
送出感谢: 0 次
接收感谢: 0 次
下面准备解决WEP加密问题
1、WEP加密后 就不能上
没有加密的无线可以连接上


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 12 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Sogou [Spider], 九天星 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译