wr703n刷openwrt挂载usb网卡rt2870

http://jasonschaefer.com/openwrt-access-point-only-config/php

http://www.tuicool.com/articles/bEbYV3
html





原理ui

http://wiki.openwrt.org/doc/networking/network.interfaces
router

http://www.tuicool.com/articles/QZfyQnhtm

http://fuyufu.blog.51cto.com/4425673/1150253blog

http://fuyufu.blog.51cto.com/4425673/1150255路由

http://www.openwrt.org.cn/bbs/forum.php?mod=viewthread&tid=4020&extra=page%3D4
get



目标:io

用2870作clent接外网,内置wlan0作ap+本地eth0作LAN
thread

 



zone                             lan                            ---->NAT--->                           wan

                                        ^                                                                                ^

                                        |                                                                                  |

network                        lan                                                                            wan

                                         ^                                                                                 ^

                                         |                                                                                  |

interface                       lan                                                                          wwan

                                        ^                                                                                 ^

                                        |                                                                                  |

device     eth0-----------------------radio0                                                    radio1

                                  brige

                                                                                                                          |

                                                                                                                         v

                                                                                                                       other router------------------->INETERNET

                                                                                                                        

 

1,装驱动

opkg install kmod-rt2800-usb 

opkg install usbutils

 

重启

2,配置外网

 

 

3,配置内网






几经试验,AP能够,WIFI CLEINT也接上, 本地LAN也能够上网,就是AP没法经过WAN口,估计是FIREWALL设置问题,有待解决


再经试验,其它正常,AP的客户端也能够PING通外网,但却PING不出INTERNET,这应该同一,二级路由的设置有关,有待解决





附:

mac地址克隆命令

http://www.qzxx.com/bbs/archiver/tid-13720.html



vi /etc/rc.local

ifconfig eth0 down ifconfig eth0 hw ether 00:30:E0:00:00:01 up