here is how to setup your R1 for bridged wired to wifi mode.. please excuse any typos.
you will need the program PUTTY
http://www.putty.org/you CANT break anything. if something doesnt go right, just hold the reset button down for 5 seconds and start over.
special thanks to LDP who showed me how to add packages.. without that help we would be stuck.
step 1, hook up the R1 to your internet router.. make sure dhcp is enabled..
go in and find the IP your router gave it..
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5834%2F21642834453_807fa170a3_c.jpg&t=665&c=2-hZUr2oAalfXw)
step 2, log into the router.. username root, password root..
you should come up to a screen just like any other bitmain device..
first thing, go under miner and set your bitmain username and hit save and apply.. it would suck to find a block and not get counted for it.. its a long shot, but it could happen.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F619%2F22274370571_9b6f0db9ac_c.jpg&t=665&c=GC6av8_EgxWfnQ)
then go under system, software and configuration and change the url to this and hit submit. nothing happens so dont worry.
http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages/![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F705%2F22274370511_4fda00da50_c.jpg&t=665&c=1oOWDemWTb05MA)
now go back to actions and update list. go to available packages and search for
luci-proto-relay install it.. this should install both of the packages you need.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5709%2F22237811536_90a0307dac_c.jpg&t=665&c=BaWgiatJKLFOpQ)
Installing luci-proto-relay (0.11.1-1) to root...
Downloading
http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages//luci-proto-relay_0.11.1-1_ar71xx.ipk.
Installing relayd (2011-10-24-4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3) to root...
Downloading
http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages//relayd_2011-10-24-4e8f1fa4ca2b176500362843a9e57ea5abd4b7a3_ar71xx.ipk.
Configuring relayd.
Configuring luci-proto-relay.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5653%2F22251041912_255b7970de_c.jpg&t=665&c=je01QExkap_Y1w)
step 3, go into network, then wifi.. and remove the default wifi settings..
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F629%2F22263880115_7a95dc3811_c.jpg&t=665&c=RPUK7-Y0vkf5qg)
step 4, hit scan and connect to your home wifi.. leave all options default, just insert password, assign it to the LAN firewall, hit submit, then save and apply..
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5787%2F22251041752_475d3b70fc_c.jpg&t=665&c=PplvHz35FIRVRg)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F588%2F21641143554_eea2c008eb_c.jpg&t=665&c=XGfiAru_3SFllA)
step 5, go into network, interfaces and choose the WWAN one and edit it.. change the protocol to static and insert an IP, netmask (255.255.255.0), your gateway (usually 192.168.1.1 or 10.0.0.1) and dns (google is 8.8.8.8 comcast is 75.75.75.75). leave DHCP OFF. hit save and apply.
it seems to get stuck here, saying waiting for changes to apply... you probably will have to click on status and it will ask you to relog in..
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5809%2F22251041662_a1237a0a13_c.jpg&t=665&c=zwQm0h5rAcsfYA)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5658%2F22076127818_f0134b4f72_c.jpg&t=665&c=QbxgYKQ8TzIJ4Q)
step 6, go into network, WAN, under firewall settings, put it in the LAN firewall. again it might get stuck. relog in, go to network, then firewall and choose accept for all the of the LAN dropdowns.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F668%2F22274370231_df55ef0919_c.jpg&t=665&c=FbIQZR33t1XgUw)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F687%2F22077025049_9d0d8c1ceb_c.jpg&t=665&c=T0MmZG6XvexeVg)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5790%2F22251041492_0ddbee0dbe_c.jpg&t=665&c=GUd_mmWPrHpI0Q)
at this point you need to reboot the R1 (just unplug and plug it back in), unplug your LAN and connect your web browser to the IP you assigned the WWAN.
step 7, go into network, WAN and edit. change the protocol to static and put this IP in.. 192.168.2.1 and 255.255.255.0 as netmask, then 192.168.1.1 as gateway and dns 8.8.8.8 or 75.75.75.75 (change to 10.0.0.1 if this is what you use) hit save and apply.
again it might get stuck.. just hit status and relog in.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F737%2F22077024909_469585f9cd_c.jpg&t=665&c=W5Rfs9WXEs5bHQ)
step 8, go into network, interfaces, add new interface, name it relay, choose Relay bridge as the protocol and hit submit. you will then choose to relay between networks WAN and WWAN. Do not worry about the ipv4 address, leave it blank and hit save and apply.
again it might get stuck.. just hit status and relog in.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F571%2F22075834160_0d2ea9b38d_c.jpg&t=665&c=5PDmxQffp1rctg)
reboot the r1 by unplugging it and plugging it back in.
now this is where things get a little tricky.. you need to enable the relayd we installed in step 2..
using putty.. log into the R1 issue this commands.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F733%2F22274369981_23e0d83690_c.jpg&t=665&c=8W9HFazPsx8m2A)
/etc/init.d/relayd enable
/etc/init.d/dnsmasq restart
/etc/init.d/firewall restart
reboot
at this point you can be done and it will work in wired to wifi bridge mode..
but if you also want wifi to wifi bridge keep going..
step9, go into network and WIFI and ADD wifi device. name it anything you want, something DIFFERENT then your home wifi. mode access point. check the create box and name it WWANB, dont forget securty, and hit SAVE..
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F727%2F22076127538_3f45f9a885_c.jpg&t=665&c=ThV4BClf_waAuQ)
now you should see a new interface WWANB.. select it and hit edit and go to advanced settings and check the box, then assign it to the LAN firewall and hit SAVE
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm1.staticflickr.com%2F695%2F22296533176_492c820051_c.jpg&t=665&c=PCjE6e_755josQ)
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5740%2F21641143074_c9237037a1_c.jpg&t=665&c=S2cgsOAUEQyDKA)
now edit the relay interface and add wwanb to it.. save and apply..
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5767%2F22075833860_f9a0ccfa79_c.jpg&t=665&c=s1-qFCCG7YcyaQ)
at this point you will probably get kicked off the R1s IP it will display web page not available... because we just setup a new wifi and well it kind changed a few things internally.. you gotta just reboot it.
![](https://ip.bitcointalk.org/?u=https%3A%2F%2Ffarm6.staticflickr.com%2F5819%2F22295574366_ce9b9dd9af_c.jpg&t=665&c=YFhA_FcvD3xIcw)
you should have a fully functioning wireless bridge with wireless relay.