1) 另外需要修改的地方
NETIF/os/linux/usb_main_dev.c中添加MODULE_LICENSE("GPL");
MODULE/common/rtmp_init.c中的MODULE_LICENSE("RALINK");改为MODULE_LICENSE("GPL");
否则会出现
[ 1011.612979] rt3070ap: Unknown symbol rausb_buffer_free
[ 1011.613153] rt3070ap: Unknown symbol RtmpOSTaskNotifyToExit
2) 拷贝出来
cp MODULE/os/linux/rt3070ap.ko /tftpboot
cp NETIF/os/linux/rtnet3070ap.ko /tftpboot
cp UTIL/os/linux/rtutil3070ap.ko /tftpboot
3
)按顺序加载
#insmod rtutil3070ap.ko
#insmod rt3070ap.ko
#insmod rtnet3070ap.ko
4)dmesg
[165621.092955] rtusb init --->
[165621.256473] usbcore: registered new interface driver rt2870
5)这时插入rt3070,然后
dmesg
[166224.593218] psmouse serio1: resync failed, issuing reconnect request
[166306.665836] psmouse serio1: Failed to deactivate mouse on isa0060/serio1
[166310.919386] usb 1-1: new high-speed USB device number 2 using ehci-pci
[166312.450830] usb 1-1: New USB device found, idVendor=148f, idProduct=3070
[166312.450839] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[166312.450844] usb 1-1: Product: 802.11 n WLAN
[166312.450846] usb 1-1: Manufacturer: Ralink
[166312.450849] usb 1-1: SerialNumber: 1.0
[166312.821133] e1000: eth0 NIC Link is Down
[166313.766556]
[166313.766556]
[166313.766556] === pAd = ffffc90008a93000, size = 460576 ===
[166313.766556]
[166313.766643] <-- RTMPAllocAdapterBlock, Status=0
[166340.788110] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
[166365.531621] e1000: eth0 NIC Link is Down
[166379.794999] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
6)$ iwconfig
ra0 RTWIFI SoftAP
eth0 no wireless extensions.
阅读(2681) | 评论(0) | 转发(0) |