Bitcoin Forum
October 20, 2018, 06:34:44 PM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
  Home Help Search Donate Login Register  
  Show Posts
Pages: [1] 2 »
1  Other / Meta / user: DekoliteNom is banned, can you help decompile his malicious code? on: August 09, 2018, 05:26:40 PM
Ok;  So this guy posted something suspicious....

He posted a link to a .doc file with quite an unambiguous name (direct quote at the bottom)

So I looked into it:

Downloaded a copy and 7zipped it for the archive...
opened in nano.   Looks like a photograph for the most part... but with a bunch extra tacked on;  just very little word formatting.  Ok, dig deeper.
Went to the weboffice and generated this link: https://view.officeapps.live.com/op/view.aspx?src=http%3A%2F%2Faziznews.ru%2Ffoto%2FCoins_Pump_Today.doc

Now I can safely see the photo and contents of the document through the link;  and what you see.... is a blurred photo asking you to disable some security features in office.


Yikes.


So;

You guys;  I know you are resourceful.   What can you get out of that .doc file to see what its trying to do extra?  That part is slightly out of my realm, plus I don't have VM's to test with or anything at the moment.

Can we get enough on this guy to get him a permaban?  

This guys type of posting, trade rating... and not to mention;  the last 117 posts of his were spamming this .doc file.    so... there must be something I am onto here...




2  Other / Off-topic / Complicated networking configuration discussion..... on: August 04, 2018, 04:23:43 PM
Ok,

I'm going to try and articulate this properly....


I have two networks.   IP addresses are used as an example.

First one is the "Main network".  Attached is my DNS name and several personal services I run from this network.  One machine in this network is a VPN service for my second network.  I am using OpenVPN; and it has been extremely reliable.  The network layout is as follows:  Internet->Router->Devices. This router is set on 192.168.1.1 255.255.255.0

My second network is a remote network at another property.   It's network layout is as follows:  Internet->Router(With OpenVPN connection)->Devices.
When I connect to "the internet" from location 2;  it automatically connects to my OpenVPN TUN device (remote gateway is 10.8.0.1, 255.255.255.0, the OpenVPN default) and gets the IP 10.8.0.2 as assigned. (so far all as expected)
The router then shares that TUN connection to the internal network at location #2.


From location #2:  
I can ping 192.168.1.1 and administer that router, as well as other PC's on that internal network.  I can not see the network shared drives via browsing in windows networks.

From location #1:
Location #2 doesn't exist and is unreachable.



My ultimate goal is to have these two networks linked seamlessly.  

I know it should take some sort of custom routing tables or settings in my routers... I am just at a loss.   I have configured openVPN as per all of the documents out there;  as well as following several how-to's on "joining two networks with openvpn" and other such similar topics with no avail.

Now;
The router at location #1 is a Linksys new fancy $500 model with crazy amounts of wifi capability, and plenty of bells and whistles... not a problem there so far... Should be plenty configurable for my needs.    The server hosting the OpenVPN service is running a flavor of Debian Linux.

The "router" at location #2 is actually a server PC running ubuntu 16.14;  Using a USB connected modem, and is using the built in network manager for sharing the network coming in from TUN0 to the ETH0 port.  From there it connects to my 3com switch and disperses across my devices.


There is no way to properly "bridge" an ETH0 with TUN0 so that the local network #2 gets it's IP from the openVPN DHCP service that the router#2 gets it from;  that would take one layer off of my onion....    Does anyone know how to do this?


I would ultimately like to be able to browse shares and admin those remote machines at location #2;  from location #1;  without having to SSH into my openVPN server and try and talk to those devices... and even then, i can only talk to my machine that acts as router #2.


If I need to draw a photo with bubbles and lines... I can do.... but I think I have advocated my issues here.


Interested to hear possibilities for remedies.   I know there has to be a way to add some sort of routes that allow my devices connected to router #1 to be able to talk through to network #2.
3  Alternate cryptocurrencies / Mining (Altcoins) / XTL-stak-JK 2.4.4 Compiled with no devfee on: June 04, 2018, 06:55:54 AM
Followed all instructions on the XTL-stak github to compile.... kinda.  Notes are below.  It compiles exactly the same as XMR-stak...


Compiled using Cuda 9.1.  
DevFee set to zero.  
Build version number stayed the same, build name was changed (added -JK).  
No major modifications aside from "built by notes", and changing the donate address to '127.0.0.1' for quick timeouts if there is any code trickery I did not catch.

No donations or whatever required.  Just enjoy.  I know a bunch of you (like me) would like the zero devfee build, but either can't or are too lazy to compile it yourself.   Here you go you lazy ones Wink  If you do feel like taking the time to donate, you can find the donation address in the "miner batch" post that is linked in my signature.  The text is extremely tiny.


***I literally cut/paste the source and built it 100% as per instruction aside from the edits mentioned above.***

MS Visual C++ Runtime:
Download vcredist here

Current Version:
Download XTL-Stak-2.4.4-JK here

Previous versions:
none yet!

If you are getting slower hashrates on older cards, try these DLL files.  They are from a different release of xmr-stak, thus not compiled by me.  But, another user has reported that replacing the DLL's with these has increased performance.  Your mileage may vary:  https://mega.nz/#!oGY0iIxa!X1tlll_HR5LWTa1aT3jBQIZAR3Bv91_Bgll8huVl84w

*update*
2018-06-03: Compiled and uploaded 2.4.4.  Noticed the 2.4.4 source was version marked in the code as 2.4.3, so I edited that as well to 2.4.4.

Just run xtl-stak.exe and fill out the questions.  from there after, just run xtl-stak.exe and there's no need to put any commands after.
See the xmr-stak thread's replies  by clicking here for notes on disabling CPU and GPU's individually.  I can help if you need assistance with your configuration.

Please see all of the build and usage notes (readme.md)on the original github: By clicking here.
4  Alternate cryptocurrencies / Mining (Altcoins) / XMR-stak-JK 2.5.1 Compiled with no devfee 2018-10-18 Fork ready on: April 05, 2018, 08:55:13 PM
Followed all instructions on the XMR-stak github to compile.... kinda.  Notes are below.


Compiled using Cuda 10.  
DevFee set to zero.  
Build version number stayed the same, build name was changed (added -JK).  
No major modifications aside from "built by notes", and changing the donate address to '127.0.0.1' for quick timeouts if there is any code trickery I did not catch.

No donations or whatever required.  Just enjoy.  I know a bunch of you (like me) would like the zero devfee build, but either can't or are too lazy to compile it yourself.   Here you go you lazy ones Wink  If you do feel like taking the time to donate, you can find the donation address in the "miner batch" post that is linked in my signature.

I plan to slowly try and incorporate as many different free miner sources into one set of apps for my mminer batch.   If I can get them all into one project/solution, then I may do a version that does away with the batch altogether.

For now;  I was unable to find a --flag for devfee==0, so I wentt to my main network hub where my VPN is; and finally downloaded the compilers and build tools to build the source myself.  Would have taken ages from my cellular link at home.

***I literally cut/paste the source and built it 100% as per instruction aside from the edits mentioned above.***

MS Visual C++ Runtime:
Download vcredist here

Current Version:
Download XMR-Stak-2.5.1-JK here Note: Old configs are not compatible with this release.  Please delete your old .txt config files and start fresh.

Previous versions:
Download XMR-Stak-2.4.4-JK here
Download XMR-Stak-2.4.2-JK here

If you are getting slower hashrates on older cards, try these DLL files.  They are from a different release of xmr-stak, thus not compiled by me.  But, another user has reported that replacing the DLL's with these has increased performance.  Your mileage may vary:  https://mega.nz/#!oGY0iIxa!X1tlll_HR5LWTa1aT3jBQIZAR3Bv91_Bgll8huVl84w

*update*
2018-10-18: Compiled tested and uploaded 2.5.1
2018-06-03: Compiled and uploaded 2.4.4
2018-05-30: Added vc redistributable install link
2018-05-29: Compiled and uploaded 2.4.3/quickly removed partially built binary
2018-04-10: Alternate .dll files from original dev's older release available, download link added.  May give better or worse hashrates.
2018-04-06: Fixed issue with not launching properly.  Added original usage docs from source.

Just run xmr-stak.exe and fill out the questions.  from there after, just run xmr-stak.exe and theres no need to put any commands after.
See my below replies for notes on disabling CPU and GPU's individually.  I can help if you need assistance with your configuration.

Please see all of the build and usage notes on the original github: By clicking here.



If you are looking for XTL-stak, that's right here.
5  Alternate cryptocurrencies / Mining (Altcoins) / XMR-stak 2.4.2 Compiled with no devfee on: April 05, 2018, 02:43:26 AM
Followed all instructions on the XMR-stak github to compile.


Compiled using Cuda 9.   DevFee set to zero.  No major modifications aside from build note.  I didn't even blank out the devfee pool names in the code.  No need if its set to zero and we can trust the dev's original code Wink

All files in the zip were compiled by me, except for the two .dll files from the "xmr-stak-dep" folder as per the build notes.

No donations or whatever required.  Just enjoy.  I know a bunch of you (like me) would like the zero devfee build, but either can't or are too lazy to compile it yourself.   Here you go you lazy asses Wink

Download XMR-Stak-2.4.2-JK here
6  Alternate cryptocurrencies / Mining (Altcoins) / Nanopool and monero7... on: March 26, 2018, 06:39:37 AM
Does anyone have word if nanopool will support the new monero7 algo?

Whats the best bet do you guys think?
7  Alternate cryptocurrencies / Mining (Altcoins) / JK's Manual Miner for zPool.ca V2.0 on: January 24, 2018, 03:44:14 AM
Here it is finally.  This batch now has the ability to be updated remotely.  Designed in Windows 10.  Should work on Vista or later builds that have Powershell version >= 2.0.

I've hit a few speed bumps along the way but have finally been able to get a version that I can finally release that works as I expect it to.

Currently it's almost identical in function to the original manual farm control batch except for a few key points:

The miner package now has a name (mminer), and comes with all associated miner apps that I am presently using with it.
The batch can now update itself to a newly released version of the code; as well as download any needed/necessary miner applications required for the new updated version.
The batch now stores it's key variables in text files for ease of configuration and the ability to update the batch itself.


Please view README.txt in the application folder for more descriptions on the modifiable variables.


Future plans:
1) Incorporate the automatic algo switching functions into this batch.  So if for instance you would set your requested algo to be "auto", the miner would do the regular stratum controlled mining like my original automatic batch file does.   This is going to happen, but not started as of yet.
2) Add static variable for update URL for easier end-user updates; as well as disabling the update feature.
3) Get the project onto github for ease of file distribution as well as peace of mind.   My old tripod URL will only handle soo much traffic, and I know the second I have to upload a 30+Mb file to pass onto who knows how many miners;  things could get ugly quick.  I have not 100% fully tested a lack of internet connection to the miner, or lost connection at different times of the script running aside from updating.  Trying to figure out a reasonable amount of retires before starting over or simply bypassing the update features.
4) Add AMD Rx card support (Big thanks to phil for making this possible)
5) Combine all app variables into a single text file
6) Create auto-normalization script to only be run once;  This will only be for the automatic miner batch once its incorporated.  I am still considering making a template for each generation of card.  Looking for more user input on this.  My initial thoughts are to have the batch retrieve the hashrate results in a way that a 'grep' works in linux.  Currently researching Windows alternatives.


As always, I am always willing to update to a newer and better miner app;  just please provide me with a download link and the information about it (why its better, etc).   If it seems like the right route to go, I will incorporate it into an update to mminer after I get it tested for stability at least on one of my machines.

Download mminer 2.0 Here: https://mega.nz/#!VaYyib6Y!g5h51YtFFSOBwSl41ZxIXL1aVG9kakZ87dFGu98ZKj0

*NOTE:  If you are getting powershell errors and the miner never launches, download this updated mminer.bat, and replace the one in your mminer folder.  Should fix it.  If not, let me know.   This hotfix will be applied to all future versions: https://mega.nz/#!gPIj2BxK!DrKgS92Z68bdTCybLKVf8084AbLRjFO8QOgiXlELe_Y

Known issues:  
02/18/2018: Some ccminer variants included are not playing well with the new release of windows 10, or the new nvidia drivers.   I am seeking more versatile replacements for these apps.  Specifically ccminer180.exe.  In my next update, it will probably be superseded by ccminerxevan.exe as it has been working for me.

Mminer version history:
2.0:  Initial public release version.
1.9:  Final test of update to test heuristics. *was successful*
1.5:  First successful update
1.1:  second test update version
1.0:  Alpha version;  initial code for auto-updates

A link to the original batch and thread: Here.
A link to the second batch and thread: Here.
A link to the original manual control batch: Here.
A link to the xmr-stak-JK no-devfee build: Here

Donations not necessary but always welcomed: 1pz4yZ6DAjn4ho7x2FiEqE6VVEvefFxK9  I rarely check this address.
8  Economy / Goods / [WTS] QSC ISA 750 & 450 Amplifiers on: December 23, 2017, 03:02:40 AM
I have a huge lot of amplifiers to sell:

Currently I have:

17x QSC ISA750 https://www.qsc.com/cinema/products/power-amplifiers/isa-series/isa750/

12x QSC ISA450 https://www.qsc.com/cinema/products/power-amplifiers/isa-series/isa450/

They are all packed in boxes that the upgrade units came out of for easy transportation and storage.

They all came out of an air-conditioned environment and were in active use.  The location I got them from upgraded all amplifiers and speakers.

Accepting offers.

Picked up in the south bay area, California. 

If you want to arrange a shipper to pickup and pack for shipping, you can, but I am not going to be responsible for any of that... but that will happen after payment is received in full and cleared.
9  Other / Off-topic / 4G LTE Cellular mining connection on: October 15, 2017, 10:50:31 PM
So;  I have finally finished the second phase of hardware setup for using a cellular WWAN card in any windows 10 or Ubuntu/Debian machine.

My current endeavors have lead me to have a solution for configuring these two modems:

Gobi2000 (2G/3G/'4G')
Gobi5000 (Sierra EM7355 LTE)

It was quite a mess getting to the point of where they worked;  even as much as the sellers of the M.2 NGFF to USB adaptors telling me the 7355 isn't compatible.... yet it works now.  finally.

My whole thing was being able to have my cellular internet connection via USB.... not stuck to one particular machine like a laptop.  I have a Dell Precision R5500 that I would like to take over the job of being my local node.  I still use the lenovo for now;  but I have it's gobi2000 in a USB enclosure and remote up to where signal is better.... and im not quite done setting up that rack cabinet.  I still need to add filtered vents, a grommeted power cord port, extra power distribution, etc.

If there's an interest over the cellular on USB thing.... Ill write up a list of steps to get it all installed.  I myself was using a lenovo thinkpad as the test machine, and used the lenovo hardware ID for the EM7355 so I could just use the easy to get lenovo driver.  I am sure its as simple as figuring out which hardware ID's are for the generic sierra device so you can use the generic driver if you wish.

To sum up:
The Gobi2000 is pretty painless to get set up compared to the Gobi5000/EM7355.

For the Gobi2000 on linux;  you just need to install wine1.3 or greater, a networkmanager patch, and install the windows gobiinstaller.msi file using wine.  Patch over [and select] the modem firmware in the terminal, and you are done.  For windows 10;  you need the lenovo driver (if you have the lenovo device) and manually install in windows 7 before upgrading to 10.  This is necessary for enabling the radio on the device be default.

For linux with the EM7355, you need to install networkmanager 1.6 (or install Ubuntu 16.10, which I believe comes with networkmanager 1.6).  Networkmanager1.6 has the ability to send the "on" packet to the wireless radio.  You also have to assign the proper hardwareID for the device if you wish to use it in windows, by sending it AT commands... but to do that, you need to use a special utility to send it commands and enable the different system device ports/options such as the com port on it.

Mine was originally from an HP;  but it now has Lenovo hardwareID's.
10  Alternate cryptocurrencies / Mining (Altcoins) / Recently got a small gifts for my miners.... on: September 14, 2017, 07:09:59 AM
I have been absent for a while... trying to make ends meet and do a lot of my own side projects.

Among a few things I have yet to reveal (big thanks still to a local member here);  I just received these fine populated cases a few days ago from my friend who runs an A/V company...  he just wanted the space.

https://imgur.com/a/qUWir

They both contain Digital Video Systems portable 16 channel video recorder/controller.....  Think events and jumbotrons, record, playback......... that about sums it up.

Both cases each had/have a system.   One was spare for parts (misc parts disconnected but 99% there), and the other was 100% connected and functioning....  Both still had the 8 drive SCSI raid arrays in them.   Massive beasts that sound like jet engines when you power up the main machine.  I plan to play with these a little more......  mighty cool tech for its day.

I have already stripped down one case to bare and begun configuring it to be a portable miner satellite unit.   100% self contained aside from power (unless I decide to build in a small generator).

I still need to source some more modules such as a rackmount hub, and some other odds and ends.

So far I plan to have this first one at home; and its constituents so far are:
Dell R5400 (WWAN router and acting router;  I plan to populate with probably 3x 960)
Rosewell "rackminer #1": A X58 i7-920 based watercooled system.  Good for 3-4 GPU.
"Oldskool GPU #1":  Another X58 i7-920 based watercooled system.  Good for 2-3 GPU (less airflow in case, was repurposed from the DVS Pentium2 board)

I have several machines in the works built from my scrap pile of parts....  I still have another DVS system I can dismantle to build another 2-3 gpu system for the case.

The second case will probably go right towards my first system I plan to build once I apply for a loan Wink

Even in this down market;  I have a plan and a strategy that in my mind... can't fail.  It will only fail if the hardware itself becomes obsolete too quickly.... and with the way the Vega is looking;  looks like I am going to be ok for a while.


More TBA.   Sorry i've been absent Wink

*edit* sorry for imgur link;  idk what the deal is with photobucket right now.
11  Alternate cryptocurrencies / Mining (Altcoins) / ccminer 2.2 skunk tpruvot: invalid shares on: July 25, 2017, 08:25:02 AM
Test card: EVGA GTX 1070

Miner app version: ccminer 2.2 signatumd skunk: https://github.com/signatumd/releases/blob/master/ccminer-2.2-skunk.zip

What happens is the first share is accepted by the pool fine.

Every single other one is rejected as an "invalid share".


Anyone else run into this issue?  Badly compiled miner app?
12  Economy / Computer hardware / Asus Strix GTX980 DC2 OC 4G DDR5 on: June 20, 2017, 06:48:58 PM
*Hopefully I chose the right section to post this*

Model Number: E1793U-C STRIX-GTX980-DC2OC-4GD5

Condition:  Excellent
OEM Box: Yes
OEM literature and driver disk: Yes

This video card has served me well over the past year.   Bought it new from Frys;  and played games on it just about every day until I picked up a 1070.

All the inbetween time, it has been mining as well.

Never overclocked, always remained at the factory settings (factory OC edition).

Re-pasted the heatsync about 4 months ago.

Presently it's installed in one of my 2 card miners that I keep in my RV at the ranch;  when sold, I will remove from the miner, clean up any dust, and package it in the OEM box as it originally came.  I am clearing out my 9 series cards to make room here for some 1080ti's that have been purchased by a customer I host for.... I'll make more $$$ by populating the slots with his cards and taking my percentage split; so these cards regrettably must go.

Shipping will most-likely be USPS.  It has been (historically) the most reliable for me.

My price will be $250 firm + $20 shipping. (Ill refund some shipping in the form of a BTC payment if it ends up being a lot less)  Overseas these cards amazingly still sell for ~600-800USD. I assume it's the import fee/duty/tax.  I sadly don't want to deal with the problems that may arise from doing an overseas sale; so US/Canada only please.  Item will be insured and tracked.  A one-cut video will be taken of me boxing it up and bringing it to the post office and dropped off to protect my ass if someone tries to rip me off.  This action has already saved me from two people on ebay trying to rip me off.

Will accept payment in BTC; or Cash if you live in California and can meet somewhere in the bay area.




**The EVGA GTX 960 SSC in the photo is also for sale;  $120 firm as well.  It was mainly used in a projection pc for live events/videomapping until I received it as a gift (he upgraded).  It has only been in a miner for about 4 months.  It never gets over 68C because of its location in the rack case, and it's power usage is only around 62% on the algo I have been running.  No box/manuals/etc for this one.**
13  Bitcoin / Hardware / Supermicro PWS-1K41P-1R Power Supply on: May 19, 2017, 03:09:16 AM
K guys.... finally got it working.... well, finally got around to properly testing it.

My buddy Tiger was able to get a good deal on these power supplies, and they are 100-140/180-250v compatible.  He left me a free sample to play with.  I see them on ebay for as low as $40 shipped OBO.

Supermicro PWS-1K41P-1R: 80 Plus Gold rated.

In 110V mode they supply 1100W(92A of +12V)
In 220V mode they supply 1400W(116A of +12V)

Looking at the top of the edge connector in the back, the large rail on the right is +12V.  The large rail on the right underside is GND.

If you bridge GND to the pin on the left edge connector that is "cut short" at the end (it stands out from ALL the rest, trust me)...  It will power on the +12V rail.

I think ill be using these on my personal miners from now on.

I am having trouble sourcing board-edge connectors (like block erupters I think, but with small pin spacing) to make an adaptor card to plug into this supply.   I could just hack some PCIE cables and whatnot and solder to the edge connector, but I'd like something that takes a little less time to assemble.  If I had to compare this card edge connector to anything, it's closest to looking like a PCIE slot.  It's a 44 pin double sided connector.


Any thoughts?
14  Alternate cryptocurrencies / Mining (Altcoins) / .BAT to reset network upon failure on: May 09, 2017, 09:29:05 PM
I have had a personal internet issue;  My main location is out in the boonies, which only allows for cellular high speed.  Next choice was satellite, which is plainly never gonna happen....  So, cellular it is.

Now, it works all fine and dandy, but when the area gets flooded with traffic (interstate backed up for instance), the connection seems to timeout and stay unresponsive until I disconnect, then reconnect the cellular adaptor from the cellular data network.  Which, in-turn, requires me to disconnect my VPN service (openVPN) before and reconnect it after the cellular disconnect as well.

Over time this has pointed me towards problems with connection handling at my local node.    So;  how did I remedy this?  Same as everything else in my life.....  a batch file.  If I were working for the cellular provider;  I'd fix the actual problem.  Till it's fixed, I have this.

They belong in the root of C:\     Yes;  Because admin priv is necessary anyways.
Requires Windows Powershell. (Typically built-in to windows)

BETA TEST VERSION Re-arranged some things.  Changed disconnect/reconnect as to require only one file for the whole batch.  Now there is a powershell script for people with openVPN that properly and cleanly shuts down the connection and application.  This is for inactive systems;  as there is a "foreground sent" enter key by the powershell script to close a dialogue.  The powershell script can be omitted, and your own VPN string inserted in place if you don't use openVPN (see a post comment just a few below the top post for an example).  So far tested on Win7 x64 and Win 10 x64.
C:\rebooter.bat
Code:
@ECHO OFF
SET OVERALLCOUNT=0
SET FAILEDPINGS=0
SET COUNT1=0
SET COUNT2=0
SET COUNT3=0
SET COUNT4=0
SET COUNT5=0
SET COUNT6=0
SET COUNT7=0
SET C1=47.35.23.146
SET C2=www.google.com
SET C3=www.microsoft.com
SET C4=www.facebook.com
SET C5=www.myspace.com
SET C6=sfbay.craigslist.org
SET C7=garlic.com
SET REBOOTCOUNT=0
GOTO FIRSTSTART
:START
SET /A OVERALLCOUNT=%OVERALLCOUNT%+1
:FIRSTSTART
CLS
ECHO Ping loops since reboot:    %OVERALLCOUNT%
ECHO Failed pings since reboot:  %FAILEDPINGS%
ECHO Total number of netReboots: %REBOOTCOUNT%
ECHO.
ECHO Total Ping Breakdown:
ECHO.
ECHO %COUNT1% : %C1%
ECHO %COUNT2% : %C2%
ECHO %COUNT3% : %C3%
ECHO %COUNT4% : %C4%
ECHO %COUNT5% : %C5%
ECHO %COUNT6% : %C6%
ECHO %COUNT7% : %C7%
choice /c q /n /t 60 /d q
ping %C1% -n 1 -w 5000
SET /A COUNT1=%COUNT1%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C2% -n 1 -w 5000
SET /A COUNT2=%COUNT2%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C3% -n 1 -w 5000
SET /A COUNT3=%COUNT3%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C4% -n 1 -w 5000
SET /A COUNT4=%COUNT4%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C5% -n 1 -w 5000
SET /A COUNT5=%COUNT5%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C6% -n 1 -w 5000
SET /A COUNT6=%COUNT6%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C7% -n 1 -w 5000
SET /A COUNT=%COUNT7%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C1% -n 1 -w 5000
SET /A OVERALLCOUNT=%OVERALLCOUNT%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
:JUMP
ECHO Internet connection down, Restarting cellular adaptor...
SET /A REBOOTCOUNT=%REBOOTCOUNT%+1
SET OVERALLCOUNT=0
SET FAILEDPINGS=0
powershell -executionPolicy bypass -file "C:\closeVPN.ps1"
ipconfig /flushdns
netsh interface set interface "Cellular" DISABLED
netsh interface set interface "Cellular" ENABLED
ECHO Restarting VPN Service...
START c:\Progra~1\OpenVPN\bin\openvpn-gui.exe --connect JaredKaragen.ovpn
ECHO VPN Service Started.
choice /c q /n /t 5 /d q
GOTO START

C:\closevpn.ps1
Code:
$sig = @"
        [DllImport(`"user32.dll`")]
           public static extern IntPtr FindWindow(string className, IntPtr useZero);
        [DllImport(`"user32.dll`")]
           public static extern int SendMessage(IntPtr hwnd, uint msg, IntPtr wParam, IntPtr lParam);
        [DllImport(`"user32.dll`")]
           public static extern void keybd_event(Byte bVk, Byte bScan, UInt32 dwFlags, UInt32 dwExtraInfo);
        [DllImport(`"user32.dll`")]
           public static extern int PostMessage(IntPtr hwnd, uint msg, IntPtr wParam, IntPtr lParam);
"@
$win32_methods = Add-Type -MemberDefinition $sig -Name "Win32FindWindow" -Namespace Win32Functions -PassThru
$h = $win32_methods::FindWindow("OpenVPN-GUI", 0)
$win32_methods::PostMessage($h, 0x10, 0, 0)
sleep 1
##### simulate enter key down VK_ENTER = 0xD, scan code = 0x9c
$win32_methods::keybd_event(0xD, 0x9c, 0, 0)
##### simulate enter key up: for this change the flags to KEYEVENTF_KEYUP = 0x2
$win32_methods::keybd_event(0xD, 0x9c, 0x2, 0)





*UPDATED 6/14/2017*
 Cleaned up code and added counters with display.  Updated timer values and streamlined the redundancy.
C:\netWatch.bat
Code:
@ECHO OFF
SET OVERALLCOUNT=0
SET FAILEDPINGS=0
SET COUNT1=0
SET COUNT2=0
SET COUNT3=0
SET COUNT4=0
SET COUNT5=0
SET COUNT6=0
SET COUNT7=0
SET C1=10.8.0.1
SET C2=www.google.com
SET C3=www.microsoft.com
SET C4=www.facebook.com
SET C5=www.myspace.com
SET C6=sfbay.craigslist.org
SET C7=garlic.com
SET REBOOTCOUNT=0
GOTO FIRSTSTART
:START
SET /A OVERALLCOUNT=%OVERALLCOUNT%+1
:FIRSTSTART
CLS
ECHO Ping count since reboot:    %OVERALLCOUNT%
ECHO Failed pings since reboot:  %FAILEDPINGS%
ECHO Total number of netReboots: %REBOOTCOUNT%
ECHO.
ECHO Total Ping Breakdown:
ECHO.
ECHO %COUNT1% : %C1%
ECHO %COUNT2% : %C2%
ECHO %COUNT3% : %C3%
ECHO %COUNT4% : %C4%
ECHO %COUNT5% : %C5%
ECHO %COUNT6% : %C6%
ECHO %COUNT7% : %C7%
choice /c q /n /t 60 /d q
ping %C1% -n 1 -w 1000
SET /A COUNT1=%COUNT1%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C2% -n 1 -w 1000
SET /A COUNT2=%COUNT2%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
choice /c q /n /t 5 /d q
ping %C3% -n 1 -w 1000
SET /A COUNT3=%COUNT3%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
choice /c q /n /t 5 /d q
ping %C4% -n 1 -w 1000
SET /A COUNT4=%COUNT4%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
choice /c q /n /t 5 /d q
ping %C5% -n 1 -w 1000
SET /A COUNT5=%COUNT5%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
choice /c q /n /t 5 /d q
ping %C6% -n 1 -w 1000
SET /A COUNT6=%COUNT6%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
choice /c q /n /t 5 /d q
ping %C7% -n 1 -w 1000
SET /A COUNT=%COUNT7%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ping %C1% -n 1 -w 1000
SET /A OVERALLCOUNT=%OVERALLCOUNT%+1
if not errorlevel 1 (GOTO START)
SET /A FAILEDPINGS=%FAILEDPINGS%+1
ECHO Internet connection down, Restarting cellular adaptor...
SET /A REBOOTCOUNT=%REBOOTCOUNT%+1
SET OVERALLCOUNT=0
SET FAILEDPINGS=0
START C:\netReset.bat
choice /c q /n /t 120 /d q
GOTO START

C:\netReset.bat
Code:
@ECHO OFF
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq openvpn-gui.exe"') DO IF %%x == openvpn-gui.exe TASKKILL /F /IM openvpn-gui.exe
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq openvpn.exe"') DO IF %%x == openvpn.exe TASKKILL /F /IM openvpn.exe
FOR /F %%x IN ('tasklist /NH /FI "IMAGENAME eq openvpnserv.exe"') DO IF %%x == openvpnserv.exe TASKKILL /F /IM openvpnserv.exe
choice /c q /n /t 1 /d q
powershell -Command "Restart-NetAdapter -Name "Cellular""
ECHO Restarting VPN Service...
START c:\Progra~1\OpenVPN\bin\openvpn-gui.exe --connect JaredKaragen.ovpn
ECHO VPN Service Started.
EXIT

To create these files, open a command prompt window with admin rights,  go to the root of "C:\" , and type "notepad netWatch.bat".  When notepad loads it will tell you that the file is not found and ask if you want to create it.... this is how.   Be sure you do not save it as a text file.

To run netWatch.bat, and netReset.bat, you need admin privileges.  
You must create a .lnk to a random file;  and point that new .lnk at the batch file "netWatch.bat", and in "Advanced options" check the box to have it "Run as Administrator".  There is no way to run this powershell command without admin priv.

Use this new .lnk to run netWatch.bat

I had several crazy issues I can not explain, which required me to run the batch in a very strange way (one batch triggering another) because when it would reach the end of the loop (after using powershell), powershell didn't seem to ever close cleanly and it would leave me back at a prompt;  instead of looping to the start of the code.   Thus the reason it looks like that.  All good, it works still.

To configure this for your adaptor, and visit the "Network: Change Adaptor Settings" window that lists the active and inactive network adaptors.   Give it a custom name now or use the current one, just know it's exact name.  
Mine in the batch is "Cellular".  
Sometimes it's "Ethernet 2", "Wireless" etc....

if you don't use openVPN... I suggest commenting out those lines via adding "REM " in front of those lines in netReset.bat or removing them.  I can help you if necessary.

You can see how the primary batch pings multiple different locations, and if there's a valid response along the way, it starts over and waits to check again.
You can use your own choices for IP addresses/domain names.

All in all, this should be a pretty clean template for making a network adaptor reset tool.   It is sooooooo nice that my machine automatically fixes itself now when I am not home.    It has worked and done its job several times already...    I think times need to be lengthened... but there's some very strange behavior when my network adaptor needs reset.  sometimes one miner stays online; but I can't visit any webpages on it or use the internet on any other machine.... very strange stuff;  or no ping response yet it can still query DNS for the IP to ping....(and all DNS caching is removed on my entire network chain so its definitely not cached).  Its been a pain; but doesn't happen often.... usually...
15  Alternate cryptocurrencies / Mining (Altcoins) / Rosewell Rackmount GTX 1080 build on: March 28, 2017, 10:21:32 AM




These are AWESOME cases.   Hands down, best bang for the buck.   Tomorrow I am installing my home/Gaming PC into one of these cases.   You can actually properly manage airflow, compared to a typical CPU case.


The machine is as follows:
ASRock H97 Anniversary
Celeron 2.6Ghz cpu
6Gb DDR3
200Gb SSD
Rosewell 4U EATX case
2x EVGA GTX 1080 FTW
1x EVGA GTX 1080 SC
1x PNY GTX 1080 Reference style
1x Dell-OEM GTX 1080 Reference style


My comments about building a miner into the case:
*For the novice/intermediate id suggest sourcing the GPU rack a member here sells.  Eyeballing it all, is a PITA especially when only using hand tools (hacksaw, drill, riveter, etc)
*You have to cut and modify the front assembly that's removed initially (to fit the video cards) to be able to use the front fans the case comes with.  *When I finish modifying this one, I'll post up photos of how I did it using all the OEM case hardware/components and still fit the GPU assembly.
*Be sure to properly insulate and stand-off the risers.  I learned the lesson by riveting them directly to the support bracket.  Shorts to ground suck for diagnosing.
*Always, ALWAYS, install the first card, and get it fully running and hashing;  then add a second, and so-on.  Don't try to do them all at once.  This is doubly so for GPU setups over 2 cards.  You get less driver issues.
*You can't use the intermediate set of fans in the case with larger/longer GPU and power supplies.  The shorter cards (single fan nvidia, or RX series cards) seem to be able to fit behind it.
*It's easy to attach hardware to the casing like rails to screw the GPU's to, just use rivets if you don't need to countersink the bolts for a tight-fitting rack.


After it was up and hashing;  holy crap.  The 1080's put out a LOT of heat.  They began to thermally regulate pretty quick.  The casing needs more airflow (I am working on the fans for the front now) and it's currently running as an open rig.... plus, its not in the data center yet.

Feel free to flame;  the internet is good for that.  I take it rather well Wink
16  Alternate cryptocurrencies / Mining (Altcoins) / Ghettominers.... on: February 20, 2017, 08:14:54 AM
The things we do to keep all of our cards up and running when you perform an upgrade....  so.....

How about contributing to this thread of ghetto-fabulous GPU miner configurations.... Just think duct tape and bailing wire sort of thing Wink

For instance, this PC has a 215w power supply, yet it houses a GTX980 and hosts a GTX960SSC as well =)  Luckily the temporary 1600w power supply was tall enough to let the PCIE riser just baaaaaarely reach.  Previously it was able to (surprisingly) host the GTX960SSC all by itself; while now the 1600w supply is supplying solely PCIE-plug power on both cards.  

I am amazed the OEM power supply didn't melt after running the 960 solid for months.



I know you guys got some juicy photos to share.....
17  Alternate cryptocurrencies / Mining (Altcoins) / ~30Mh Litecoin miner... Help me ID this thing... on: February 10, 2017, 11:12:47 PM
So my frined;  long story short, had his miner shipped to the states after being neglected in china.  They lost the free power at it's location, so it just sat there for quite some time.

Got rust damage;  magic smoke came from the USB hub/fan controller that's inside the machine (can be seen in photo), but it still powers the fans.  The power supply in it did nothing;  I strung PCIE lines from my home PC for testing.

The pi had it's SD card slot smashed off in transit.  Soldered it on;  figured out the IP, and was able to reconfigure for zpool.  Tested one hashboard, then magic smoke from the USB controller on the pi....  so I am waiting on a replacement from that... at least the ROM and the one hashboard are known good so far.  Two hashboards' USB ports were torn from the PCB;  one lifted traces, the other is missing a little bit of trace... this will be hard as sin to replace with just an iron; Id probably need a heat gun....

The hashboards have the ID: LK-L55-1 REV1.1, and one hashboard was ~7-8Mh.  There are four total in this machine.

With one hashboard hashing, The wattage for the one board was hovering between 210 and 260w (reasonable, I am assuming the unlabeled power supply is 1200w rating).  I wish I could have had a second hashboard hooked up to test to be sure it's truly that number.

I went to test the hashboards with cgminer on my PC, but no ports that I have will recognise the ASICS... so.... yeah.  (yes, I zadig'd the drivers)

What it boils down to right now is:
Anyone know what make and model this miner is?  Also the build of cgminer that will run these hashboards so I can continue my diag on the unit using a PC instead of the pi that no longer functions?  I am going to try and read the SD card and create a copy of it onto a microsd and pop it into a RPI3 I have... maybe that will be my only option... but the community hasn't failed me yet.

Thanks guys =)

18  Economy / Web Wallets / How many confirmations does it take? SMH coinbase.... on: January 29, 2017, 03:26:09 AM


That number made me laugh right now.... yet still pending.

It's only 22 min old, but that many confirmations already?!?!?!??
19  Other / Off-topic / ANyone down to make Kriegercoin? [KGC] on: June 09, 2016, 03:01:12 AM


Yes?  No?? Maybe???
20  Alternate cryptocurrencies / Mining (Altcoins) / Late windows DOS batch file logic question... on: May 17, 2016, 12:35:37 AM
So I am working on an upgrade idea for my GPU miner's batch file.

There has to be a way to check if an app is running through the terminal window and use it with logic in a batch file.

such as:

:beginfile
start ccminer.exe --options
:memoryloop
<check for ccminer.exe in memory>
  true, wait x time and goto memoryloop
  false, goto beginfile


Any ideas guys?   Probably going to have to define a variable for the true/false?

I never learned the advanced windows-connected DOS commands...
Pages: [1] 2 »
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!