OPENWRT挂载USB无线网卡实现有线无线叠加教程_第1页
OPENWRT挂载USB无线网卡实现有线无线叠加教程_第2页
OPENWRT挂载USB无线网卡实现有线无线叠加教程_第3页
OPENWRT挂载USB无线网卡实现有线无线叠加教程_第4页
OPENWRT挂载USB无线网卡实现有线无线叠加教程_第5页
已阅读5页,还剩3页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、luci-i18n-chinese kmod-usb-core kmod-usb-ohci kmod-usb-uhci kmod-usb2 usbutils kmod-ath kmod-ath9k kmod-ath9k-common kmod-ath9k-htc# ATHEROS 驱动#安装kmod-ath9k时会自动添加OPENWRT挂载USB无线网卡实现有线无线叠加教程目 的:通过叠加有线网络和无线网络提升本地网络带宽现有设备:中兴H618B路由器(官方固件)、水星MERCURY54M USB无线网卡MW54U ver:7.0 (AR9271 芯片)当前网络环境:1、电脑和手机分别通过本地

2、路由器连接至公司内部局域网。2、周围存在可用的无线网络信号(WIFI)。适用阅读对象:初级使用者、对高阶使用者有一定参考价值参考文献:1、Program to install ath9k_htc (Atheros Linux Driver)链接地址: HYPERLINK /showthread.php?t=1564278 /showthread.php?t=15642782、 New package: mwan3; multi-wan policy routing链接地址: HYPERLINK /viewtopic.php?id=39052 /viewtopic.php?id=39052需要的

3、软件:1、OPENWRT固件(采用原版 HYPERLINK /backfire/10.03.1/brcm47xx/openwrt-brcm47xx-squashfs /backfire/10.03.1/brcm47xx/openwrt-brcm47xx-squashfs. trx)2、TFTP、WinSCP、Putty (请自行百度搜索)3、MWAN3 (采用最新版,至U HYPERLINK /folder/fvd0r4i8n4ikg/mwan3 /folder/fvd0r4i8n4ikg/mwan3 下载 luci-app-mwan3_1.1-13_all.ipk、mwan3_1.2-17_

4、all.ipk)一、刷新固件默认路由器现在使用中兴原版固件。我们使用TFTP把openwrt-brcm47xx-squashfs.trx上传路由器刷新, 具体方法及过程不在本文探讨范围,请百度搜索(有很多教程)。、配置 OPENWRT1、在浏览器输入输入用户名:root密码:root进入web管理界面。检查路由器相关选项 保证路由器能够连接外网。2、进入如下界面安装以下软件包(10个):#luci中文语言包#内核支持通用串行总线#安装usb ohci控制器驱动#UHCI USB控制器#安装 usb2.03、配置中文界面和时间设置(可选)定记得点右下角Save & Apply按钮改时间服务器一定

5、记得点右下角Save & Apply按钮Reset OSave Save & Apply4、其他设置:记得要保存并重启路由器。、配置网卡1、把usb无线网卡插入路由器的usb接口。2、用putty登陆路由器rootSun:# IsusbBus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 002: ID 0cf3:1006 Atheros Communications, I

6、nc. TP-Link TL-WN422G v2 802.11g AtherosAR9271rootSun:#可以看到网卡被当作TP-Link TL-WN422G,呵呵,不管他,只要能用就行。rootSun:# dmesg usbcore: registered new interface driver usbfsusbcore: registered new interface driver hubusbcore: registered new device driver usbcfg80211: World regulatory domain updated:cfg80211:(start

7、_freq - end_freq bandwidth), (max_antenna_gain, max_eirp)cfg80211:(2402000KHz- 2472000KHz 40000 KHz),(300 mBi,2000 mBm)cfg80211:(2457000KHz- 2482000KHz 20000 KHz),(300 mBi,2000 mBm)cfg80211:(2474000KHz- 2494000KHz 20000 KHz),(300 mBi,2000 mBm)cfg80211:(5170000KHz- 5250000KHz 40000 KHz),(300 mBi,2000

8、 mBm)cfg80211:(5735000KHz- 5835000KHz 40000 KHz),(300 mBi,2000 mBm)b43-phy0: Broadcom 5354 WLAN found (core revision 13) ieee80211 phy0: Selected rate control algorithm minstrel_htRegistered led device: b43-phy0:txRegistered led device: b43-phy0:rxRegistered led device: b43-phy0:radioBroadcom 43xx d

9、river loaded Features: PL Broadcom 43xx-legacy driver loaded Features: PLID PPP generic driver version 2.4.2ip_tables: (C) 2000-2006 Netfilter Core TeamNET: Registered protocol family 24ehci_hcd: USB 2.0 Enhanced Host Controller (EHCI) Driver nf_conntrack version 0.5.0 (463 buckets, 1852 max) CONFIG

10、_NF_CT_ACCT is deprecated and will be removed soon. Please use nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or sysctl filter.nf_conntrack_acct=1 to enable it.xt time: kernel timezone is -0000 ohci_hcd: USB 1.1 Open Host Controller (OHCI) Driver ohci_hcd ssb0:1: SSB OHCI Co

11、ntrollerohci_hcd ssb0:1: new USB bus registered, assigned bus number 1 ohci_hcd ssb0:1: irq 6, io mem 0 x18003000usb usb1: configuration #1 chosen from 1 choicehub 1-0:1.0: USB hub foundhub 1-0:1.0: 2 ports detectedohci_hcd ssb0:1: SSB EHCI Controllerohci_hcd ssb0:1: new USB bus registered, assigned

12、 bus number 2 ohci_hcd ssb0:1: irq 6, io mem 0 x18003800ohci_hcd ssb0:1: USB 0.0 started, EHCI 1.00usb usb2: configuration #1 chosen from 1 choicehub 2-0:1.0: USB hub foundhub 2-0:1.0: 2 ports detecteduhci_hcd: USB Universal Host Controller Interface driverusbcore: registered new interface driver at

13、h9k_htcusb 2-1: new high speed USB device using ohci_hcd and address 2 usb 2-1: configuration #1 chosen from 1 choiceusb 2-1: ath9k htc: Transferred FW: htc 9271.fw, size: 51272 ath9k htc 2-1:1.0: ath9k htc: HTC initialized with 33 credits ath9k htc 2-1:1.0: ath9k htc: FW Version: 1.3 ath: EEPROM re

14、gdomain: 0 x809cath: EEPROM indicates we should expect a country code ath: doing EEPROM country-regdmn map search ath: country maps to regdmn code: 0 x52 ath: Country alpha2 being used: CN ath: Regpair used: 0 x52 ieee80211 phy1: Atheros AR9271 Rev:1 cfg80211: Calling CRDA for country: CNRegistered

15、led device: ath9k htc-phy1 usb 2-1: ath9k htc: USB layer initialized cfg80211: Regulatory domain changed to country: CNcfg80211(start freq - end freq bandwidth), (max antenna gain, max eirp)cfg80211(2102000 KHz - 2182000 KHz 10000 KHz), (N/A, 2000 mBm)cfg80211(5735000 KHz - 5835000 KHz 10000 KHz), (

16、N/A, 3000 mBmib|3-phy0Loading firmware version 508.1081 (2009-01-11 01:32:01)b|3-phy0Loading firmware version 508.1081 (2009-01-11 01:32:01)device wlan0 entered promiscuous modebr-lan: port 2(wlan0) entering forwarding state device wlan0 left promiscuous mode br-lan: port 2(wlan0) entering disabled

17、state device wlan0 entered promiscuous modebr-lan: port 2(wlan0) entering forwarding state rootSun:#如果红色部分出现如下代码:ath9k_htc 4-2:1.0: ath9k_htc: Target is unresponsive Failed to initialize the deviceath9k_htc: probe of 4-2:1.0 failed with error -22 usbcore: registered new interface driver ath9k_htc说明挂载网卡失败只需要把usb网卡拔下再重新接入即可正常。(以后usb无线网卡出现异常都可如此处理)#插入USB无线网卡rootSun:#ifconfig wlanl up#生成默认无线设置 也就是将USB无线网卡在web界面里出现radiol rootSun:#wifi detect /etc/config/wireless 然后进web设

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论