CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 02, 2015, 01:51:57 PM |
|
I got my R1 set up and it's solo mining for me and controlling my U3 (237.5/0785). So far so good, but one thing I am struggling with. The only ip address I have is for the R1 and CryptoGlance sees it just fine, but how do I get CryptoGlance to see the U3? When my U3 was hooked up to my computer I could assign it a port via the command line, but there does not appear to be anyway to do that with the R1, and so all I can see at the ip address is the R1 hash and stats. How do I monitor the U3 in CryptoGlance? ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi67.tinypic.com%2Fvq3aye.jpg&t=665&c=fXTeFTcJYDB2Gg) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi63.tinypic.com%2F2w3411d.jpg&t=665&c=zM_SWx8b2db6XA) It's using port 4029 for the U3 cgminer instance. I'm not familiar with cryptoglance, but it should have a port field, or you can specify port with a colon. Ex: 192.168.1.1:4029
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 02, 2015, 07:09:20 PM Last edit: December 02, 2015, 07:34:01 PM by Mikestang |
|
Hmm, another user suggested port 4029 to me as well, and I tried it and it didn't work. I'll dig a little deeper and try to figure it out, thanks. its the same as cgminer api but its set to use 4029 instead of 4028.
Nope, that didn't do it, still shows it as "off line". I tried 4027 and 4030, too. No other ip addresses show on my router so it must be behind the R1 somewhere. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi68.tinypic.com%2F2ynnnuf.jpg&t=665&c=87Uk3XcRbVVtPg) Edit I looked into the running processes and it does appear that port 4029 is the correct port, but CryptoGlance does not want to talk to the U3 on that port. Any other ideas? ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F2psr346.jpg&t=665&c=Kj4S8dQWYNFBOg) On another note, I restarted the R1 and now the U3 isn't hashing at all. I restarted it several times last night and the U3 always came back hashing, but it's dead now after a restart of the R1 (I'm not at home, I am accessing my home computer over VPN).
|
|
|
|
CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 02, 2015, 07:52:21 PM |
|
Hmm, another user suggested port 4029 to me as well, and I tried it and it didn't work. I'll dig a little deeper and try to figure it out, thanks. its the same as cgminer api but its set to use 4029 instead of 4028.
Nope, that didn't do it, still shows it as "off line". I tried 4027 and 4030, too. No other ip addresses show on my router so it must be behind the R1 somewhere. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi68.tinypic.com%2F2ynnnuf.jpg&t=665&c=87Uk3XcRbVVtPg) Edit I looked into the running processes and it does appear that port 4029 is the correct port, but CryptoGlance does not want to talk to the U3 on that port. Any other ideas? ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi64.tinypic.com%2F2psr346.jpg&t=665&c=Kj4S8dQWYNFBOg) On another note, I restarted the R1 and now the U3 isn't hashing at all. I restarted it several times last night and the U3 always came back hashing, but it's dead now after a restart of the R1 (I'm not at home, I am accessing my home computer over VPN). I haven't tried accessing the api outside of the R1. It's possible openwrt may have a light version of ip tables blocking that port. If so, you'll need to allow inbound/outbound traffic on that port.
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 02, 2015, 08:15:44 PM |
|
I haven't tried accessing the api outside of the R1. It's possible openwrt may have a light version of ip tables blocking that port. If so, you'll need to allow inbound/outbound traffic on that port.
How would I go about opening the port on the R1? I understand how to do it on my normal router, but I do not see similar functions on the R1. Also, any idea why the U3 didn't come back when I restarted the R1? Thanks.
|
|
|
|
CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 02, 2015, 08:37:22 PM |
|
I haven't tried accessing the api outside of the R1. It's possible openwrt may have a light version of ip tables blocking that port. If so, you'll need to allow inbound/outbound traffic on that port.
How would I go about opening the port on the R1? I understand how to do it on my normal router, but I do not see similar functions on the R1. Also, any idea why the U3 didn't come back when I restarted the R1? Thanks. You'll have to secure shell in and confirm it is running ip tables first. It may be some other form of firewall. There may also be an easier way to open up ports through the Lua interface, so you may want to try digging around I'm the network section first. If you go the ip tables route, here's a good starting doc help.ubuntu.com/community/IptablesHowTo As for why your U3 is not being recognized after reboot, it could be a number of things. Power supply died, tripped circuit, shorted cable... I would shell in and run lsusb to see if your R1 even sees the device as connected. Maybe reboot again.
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 02, 2015, 11:01:56 PM Last edit: December 02, 2015, 11:40:26 PM by Mikestang |
|
Cool, thanks, I will mess around with it tonight. It seems to me like the port should be open by default to facilitate use, but I'll see what I can dig up. I've only ssh'd into miners a couple times, I'm really a noob with it, so hopefully the solution presents itself quickly. Edit - so I couldn't wait to get home and VPN tunneled to my home computer, went into the lua interface and found port opening under the traffic rules tab (Network, Firewall, Traffic Rules). There was already a rule for port 4028, so I added the same one for 4029 (like I said above, seems to me that the firmware should do this already since it tells the U3 to use port 4029, maybe something you could add to your custom flash in the future?) and viola, cryptoglance can see the U3. Once I get home I'll figure out why it's not hashing any more, probably just need to unplug/replug. Thanks again! ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi66.tinypic.com%2Ff3i3bd.jpg&t=665&c=7EkeuVe8Qe9egw) ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi65.tinypic.com%2F1547shu.jpg&t=665&c=xLr_Wyulh7tuTA)
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 03, 2015, 06:52:45 PM |
|
I unplug/re-plugged the U3 and it came back to life, no clue why it stopped but it all appears ok now. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi67.tinypic.com%2F2zpickl.jpg&t=665&c=AxcV2lHs66TdYQ) Actually better than ok, my U3 runs about 5GH/s faster being controlled by the R1 with the same freq/volt settings I was using previous. Then factor in the 5GH/s I'm getting from the R1 itself and that's like a "free" 10GH/s upgrade to the U3. The errors on this U3 are always around 5%, but for a long time last night they were just about 1% which I had never seen them so low before, so I'll credit the R1 with that, too. Bitmain should have marketed the R1 as a U3 controller first, they may have sold one to every U3 owner on the planet! I don't think I'll make use of its other functions, but as a U3 controller I'm really digging it. One more question/suggestion for addition to your custom firmware (besides opening port 4029 as I posted above) - why isn't 250 included in the frequency drop down? That's the max freq supported by the U3 and it seems to me that it should be a valid selection. Also, 225 is the default, not 206.25. There's really no reason to include the frequencies below 225, no one underclocks these and there's no reason for them. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fi66.tinypic.com%2F2wmhwk3.jpg&t=665&c=B5O9zXBBRF5AxQ) 225, 237.5, 243.75, 250 should be the frequency choices. Thanks!
|
|
|
|
notlist3d
Legendary
Offline
Activity: 1456
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 15, 2015, 05:43:29 PM |
|
Really is a great U3 controller with custom firmware R1. I had a power outage today due to electricity.
The R1 turned it's self on once power was back and started mining again. So one more plus with this R1.
|
|
|
|
CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 18, 2015, 02:31:29 PM |
|
Compacs are sold out!
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
philipma1957
Legendary
Offline
Activity: 4228
Merit: 8383
'The right to privacy matters'
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 20, 2015, 04:04:47 PM |
|
Compacs are sold out!
good to know so no one has any . By no one no reseller has them as your were the last to sell out.
|
|
|
|
notabeliever
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 21, 2015, 04:11:05 PM |
|
Crazyguy, received one of my AntR1's today and the plug has a short in it. Every time I plug it no power from unit unless I wiggle the router. Doesn't stay powered very long as any vibration will jiggle the plug back to not being fully plugged into outlet. Even tried extension cords and multiply outlets with same results. what to do
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 21, 2015, 08:33:00 PM |
|
Are you using the plug adapter? It comes with a Chinese style plug that may work in some US outlets (if it's a tight fit), but you may just need the plug adapter.
|
|
|
|
CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 22, 2015, 12:07:43 AM |
|
Crazyguy, received one of my AntR1's today and the plug has a short in it. Every time I plug it no power from unit unless I wiggle the router. Doesn't stay powered very long as any vibration will jiggle the plug back to not being fully plugged into outlet. Even tried extension cords and multiply outlets with same results. what to do
I've never had to use the adapter, but if you ordered a modified unit from me, it means I had it plugged in and working for at least 10 minutes while I updated and tested the firmware. Please PM me with your order number and we'll figure out what's going on.
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
notlist3d
Legendary
Offline
Activity: 1456
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 22, 2015, 05:32:57 AM |
|
Crazyguy, received one of my AntR1's today and the plug has a short in it. Every time I plug it no power from unit unless I wiggle the router. Doesn't stay powered very long as any vibration will jiggle the plug back to not being fully plugged into outlet. Even tried extension cords and multiply outlets with same results. what to do
I've never had to use the adapter, but if you ordered a modified unit from me, it means I had it plugged in and working for at least 10 minutes while I updated and tested the firmware. Please PM me with your order number and we'll figure out what's going on. I have not had to use the adapter's either for US plug. I got my R1 from CrazyGuy and still working great controlling 3 U3's. I bought amazon on china to us adapter and have it sitting on a shelf. I am happy I did not have to use looks nice sitting flush with power. It appeared that it would need the adapter as from listing from Bitmain when they were selling. But the the life of me after using I can figure out why they sold US plugs.
|
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 23, 2015, 07:37:00 AM |
|
I got the adapter with my R1 from Crazyguy, but only because it stands the R1 off my power strip and allows me access the the adjacent plug.
|
|
|
|
CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 23, 2015, 06:12:25 PM |
|
ANTMiner U3s are now sold out.
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2015, 06:30:46 PM |
|
Crazyguy, are you aware of this issue? Does your firmware address it, or is it something that can even be addressed via firmware? Thanks. the cgminer bundled with the R1 has a memory leak..
Wed Dec 23 16:45:26 2015 kern.err kernel: [239052.260000] Out of memory: Kill process 1158 (cgminer) score 693 or sacrifice child Wed Dec 23 16:45:26 2015 kern.err kernel: [239052.260000] Killed process 1158 (cgminer) total-vm:72348kB, anon-rss:44264kB, file-rss:0kB
it will eventually cause a crash with the r1.
unfortunately without the source code for the antrouter driver it cant be updated.
|
|
|
|
CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 24, 2015, 08:01:45 PM |
|
Crazyguy, are you aware of this issue? Does your firmware address it, or is it something that can even be addressed via firmware? Thanks. the cgminer bundled with the R1 has a memory leak..
Wed Dec 23 16:45:26 2015 kern.err kernel: [239052.260000] Out of memory: Kill process 1158 (cgminer) score 693 or sacrifice child Wed Dec 23 16:45:26 2015 kern.err kernel: [239052.260000] Killed process 1158 (cgminer) total-vm:72348kB, anon-rss:44264kB, file-rss:0kB
it will eventually cause a crash with the r1.
unfortunately without the source code for the antrouter driver it cant be updated.
I haven't noticed the leak myself, but I wouldn't be surprised. If there is a leak, then it appears to be handling itself... i.e. R1 crashes and reboots, or cgminer crashes and frees the memory, then monitor script restarts cgminer. Depending on the size of the leak, a simple script to restart the R1 cgminer instance every few hours should mitigate the issue.
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
CrazyGuy (OP)
Legendary
Offline
Activity: 1973
Merit: 1007
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 29, 2015, 03:27:52 AM |
|
I've sold out of R1's, and as promised, I am releasing my customized firmware to the community. Please note that although I refer to this package as custom firmware, it is really just a patch file. If you reset your R1 to factory defaults, you will lose the customizations. In which case, you would just need to re-apply the patch. Changelog for release 0.95:- Opened up port 4029 for API access to cgminer-u3 instance - Max frequency for U3 increased to 250M - Max fequency for R1 increased to 250M (I have not personally tested freq past 125. Use at your own risk!) Firmware Enhancements- U3 zombie handling(Scripted auto-cgminer restarts and R1 reboot if necessary) - Supports modifying R1 pools from UI, without losing the ability to use Bitmain's solo pool for R1. - Detailed R1 stats page, including pool statistics - Supports modifying R1 freq and voltage from UI - U3 freq selection increased to 250M - Cgminer-U3 API open for monitoring with 3rd party tools WARNING: These customizations provide the ability to push your R1 beyond its intended limits. Because of this, it will likely void your warranty with Bitmain. Additionally, I provide this patch with no official support, and take no responsibility for any damage done to your R1 device or its surroundings. Use at your own risk! By downloading and applying this patch, the user is accepting these conditions. Download BelowR1CGCustomFW_0.95_2015-12-28.tar.gzUpgrade instructionsTo upgrade your firmware, go to "Backup / Flash Firmware" under the "System" tab - Click on the "Chose File" button to the right of "Restore Backup:" (NOTE: Do not mistake this with the "Chose File" button under Flash new firmware. - This is not a full binary firmware file) - Choose "R1CGCustomFW_0.95_2015-12-28.tar.gz" from your PC and then click on the "Upload archive" button. Your antrouter system will reboot and come back up with updated firmware!
|
ASICPuppy.net ASIC Mining Hardware and Accessories - Compac F in stock!
|
|
|
Mikestang
Legendary
Offline
Activity: 1274
Merit: 1000
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
December 29, 2015, 03:59:37 AM |
|
Changelog for release 0.95: - Opened up port 4029 for API access to cgminer-u3 instance - Max frequency for U3 increased to 250M - Max fequency for R1 increased to 250M (I have not personally tested freq past 125. Use at your own risk!)
Very cool and generous of you, I'm sure a lot of folks will benefit from it. Can I assure release 0.95 is newer than what is on my unit that I ordered a few weeks ago? I'm asking because I see you added U3 freq 250 which mine does not have currently. Thanks again!
|
|
|
|
|