Prelude
Legendary
Offline
Activity: 1596
Merit: 1000
|
|
October 26, 2014, 03:11:29 AM |
|
I'm having a really strange problem with p2pool and I can't figure it out. Something related to it is killing my ethernet connection, seemingly when I refresh the statistics page randomly. I asked for help on ubuntu forums, since I think it was a ubuntu problem but now I strongly suspect the issue lies with p2pool. Here is what I posted on ubuntu forums with all the details: http://ubuntuforums.org/showthread.php?t=2249933Can a linux/p2pool guru give me a hand? I'm pulling my hair out over here and I've tried everything I can think of / find on google. I'm a linux noob. I was having the exact same thing happen to me a few months ago, on two different machines, about 2 weeks apart. The first time it happened was when I started running with two nics to two different neworks, everytime I restarted the computer both connections start, and they seem to fight over who's in control, (even though they're going out to different networks - probably my lack of knowledge and not setting things up correctly), but, if I turned off one and then restarted the other it would be fine and the connection would no longer drop out. For this machine I never solved it, but the band-aid solution of not using the 2nd connection was adequate. The second instance was a stand-alone nic in a basic 14.04 desktop environment, the connection kept dropping out, I did some updates and restarted the machine and it stopped happening. I don't know what the actual cure was, but double checking that you have all updates and restarting may provide relief. Unfortunately, this doesn't give you any hard data. But, you're not alone, I did a quick google and a lot of people have had similar happenings, one was solved by uninstalling amule, one was solved by removing the nic and installing a new compatible one. Cheers. Glad you got it worked out in the end. I can't believe that in 2014 an operating system still can't set up a NIC properly. So far I've tried a board with dual NICs, both realtek. Both had the same issue. Now I'm using a different motherboard with a single Intel NIC (82579V) and it's still happening. I've installed all available updates, updated the kernel to the latest available, and installed the latest Intel drivers from sourceforge. Rebooted countless times. I don;t know what to try next.. Whenever it messes up it can be fixed by simply clicking the network icon at the top right of the screen and clicking on "Wired connection 1".
|
|
|
|
newbuntu
Member
Offline
Activity: 61
Merit: 10
|
|
October 26, 2014, 03:24:12 AM |
|
Glad you got it worked out in the end. I can't believe that in 2014 an operating system still can't set up a NIC properly. So far I've tried a board with dual NICs, both realtek. Both had the same issue. Now I'm using a different motherboard with a single Intel NIC (82579V) and it's still happening.
I've installed all available updates, updated the kernel to the latest available, and installed the latest Intel drivers from sourceforge. Rebooted countless times. I don;t know what to try next.. Whenever it messes up it can be fixed by simply clicking the network icon at the top right of the screen and clicking on "Wired connection 1".
I wonder if there's some sort of power management / sleep setting interfering with the connection(s). Perhaps a BIOS setting controlling a timer or something within Ubuntu that's putting the NIC to sleep. Anyone else have a theory?
|
|
|
|
HellDiverUK
|
|
October 26, 2014, 09:54:00 AM |
|
Ubuntu sucks big hairy goat balls. Go for Debian - it's the OS Ubuntu used to be before they broke it.
|
|
|
|
Prelude
Legendary
Offline
Activity: 1596
Merit: 1000
|
|
October 26, 2014, 03:46:19 PM |
|
Ubuntu sucks big hairy goat balls. Go for Debian - it's the OS Ubuntu used to be before they broke it.
At this point I'd be willing to try that. Would this install script be compatible with Debian? http://bitcoin.kyros.info/
|
|
|
|
upetmcz
Newbie
Offline
Activity: 11
Merit: 0
|
|
October 26, 2014, 04:26:33 PM |
|
i want miner to p2pool use dragon miner 1th, can u help how to set? thanks before
|
|
|
|
newbuntu
Member
Offline
Activity: 61
Merit: 10
|
|
October 26, 2014, 07:26:56 PM Last edit: October 26, 2014, 08:45:59 PM by newbuntu |
|
i want miner to p2pool use dragon miner 1th, can u help how to set? thanks before
Find the IP address and port for the p2pool node that you want to connect to and put that address into your miner. You want to find a node that is near your location - for example 207.81.46.117:9332 if you're near western Canada - as that will help to provide a lower latency (delay) for the information that is sent between the p2pool node and your miner(s). Here's a list of public p2pool nodes. (sort the list by country or other criteria by clicking on the values (country / latency / etc) at the top of the columns) http://p2pool-nodes.info/There are other lists available. There are p2pool node scanners available as well. To get started, unless you have your own p2pool node, use this list to find a node which is near you. You can use the ping command in a terminal / command prompt, or from within some miners' diagnostic page, to check the latency between your location and another location (ip address) ... for example, in a Windows command prompt you could type (without the quotes) "ping 207.81.46.117" (leave the port :9332 off of the ping command). The lower the ping value, the faster / better the connection between your miner and the node. Experiment, have fun. Here's a setup manual for the dragon: https://www.dropbox.com/s/89n6g9155b11an5/Setting%20up%20your%20MintForge%201TH%20Bitcoin%20Miner%20v5.pdfHere's a manual for an older version (no LCD): https://www.dropbox.com/s/xrtn916zzgfksmu/Setting%20up%20your%20Coincraft%201TH%20Bitcoin%20Miner%20v4.pdfCheers.
|
|
|
|
Prelude
Legendary
Offline
Activity: 1596
Merit: 1000
|
|
October 26, 2014, 10:19:14 PM |
|
Ok, so I tried both Debian and Mint. Still having the same issue. The problem lies with p2pool or my installation of it using the script I linked earlier. Does anyone have any ideas?
|
|
|
|
upetmcz
Newbie
Offline
Activity: 11
Merit: 0
|
|
October 27, 2014, 02:34:56 AM |
|
i want miner to p2pool use dragon miner 1th, can u help how to set? thanks before
Find the IP address and port for the p2pool node that you want to connect to and put that address into your miner. You want to find a node that is near your location - for example 207.81.46.117:9332 if you're near western Canada - as that will help to provide a lower latency (delay) for the information that is sent between the p2pool node and your miner(s). Here's a list of public p2pool nodes. (sort the list by country or other criteria by clicking on the values (country / latency / etc) at the top of the columns) http://p2pool-nodes.info/There are other lists available. There are p2pool node scanners available as well. To get started, unless you have your own p2pool node, use this list to find a node which is near you. You can use the ping command in a terminal / command prompt, or from within some miners' diagnostic page, to check the latency between your location and another location (ip address) ... for example, in a Windows command prompt you could type (without the quotes) "ping 207.81.46.117" (leave the port :9332 off of the ping command). The lower the ping value, the faster / better the connection between your miner and the node. Experiment, have fun. Here's a setup manual for the dragon: https://www.dropbox.com/s/89n6g9155b11an5/Setting%20up%20your%20MintForge%201TH%20Bitcoin%20Miner%20v5.pdfHere's a manual for an older version (no LCD): https://www.dropbox.com/s/xrtn916zzgfksmu/Setting%20up%20your%20Coincraft%201TH%20Bitcoin%20Miner%20v4.pdfCheers. thank you for your help. Indonesian my location, I select nodes singapore my dragon is still the old version, means the address pool 103.25.203.25:9332. for the user and password are filled with what?
|
|
|
|
newbuntu
Member
Offline
Activity: 61
Merit: 10
|
|
October 27, 2014, 03:15:28 AM |
|
i want miner to p2pool use dragon miner 1th, can u help how to set? thanks before
Find the IP address and port for the p2pool node that you want to connect to and put that address into your miner. You want to find a node that is near your location - for example 207.81.46.117:9332 if you're near western Canada - as that will help to provide a lower latency (delay) for the information that is sent between the p2pool node and your miner(s). Here's a list of public p2pool nodes. (sort the list by country or other criteria by clicking on the values (country / latency / etc) at the top of the columns) http://p2pool-nodes.info/There are other lists available. There are p2pool node scanners available as well. To get started, unless you have your own p2pool node, use this list to find a node which is near you. You can use the ping command in a terminal / command prompt, or from within some miners' diagnostic page, to check the latency between your location and another location (ip address) ... for example, in a Windows command prompt you could type (without the quotes) "ping 207.81.46.117" (leave the port :9332 off of the ping command). The lower the ping value, the faster / better the connection between your miner and the node. Experiment, have fun. Here's a setup manual for the dragon: https://www.dropbox.com/s/89n6g9155b11an5/Setting%20up%20your%20MintForge%201TH%20Bitcoin%20Miner%20v5.pdfHere's a manual for an older version (no LCD): https://www.dropbox.com/s/xrtn916zzgfksmu/Setting%20up%20your%20Coincraft%201TH%20Bitcoin%20Miner%20v4.pdfCheers. thank you for your help. Indonesian my location, I select nodes singapore my dragon is still the old version, means the address pool 103.25.203.25:9332. for the user and password are filled with what? For connecting to a p2pool node, use your bitcoin public payout address as your username and use anything as your password, it's irrelevant ... most people have 123 as the password. Cheers.
|
|
|
|
newbuntu
Member
Offline
Activity: 61
Merit: 10
|
|
October 27, 2014, 03:35:10 AM |
|
Ok, so I tried both Debian and Mint. Still having the same issue. The problem lies with p2pool or my installation of it using the script I linked earlier. Does anyone have any ideas?
Ok, just spent the day installing ubuntu server over and over to see what happens with this and that. I tried a few options for correcting the problem: 1) Edit connections >>> delete whatever connection is listed, create / add new connection ... I tried that, but it had no effect at all, rebooted, still no effect. 2) In terminal >>> sudo service network-manager stop && sudo rm /var/lib/NetworkManager/NetworkManager.state && sudo service network-manager start >>> reboot ... no effect 3) Uninstall libglib2.0-0 >>> reinstall libglib2.0-0 >>> it broke my server >>> reinstalled 4) Uninstalling and then re-installing the network-manager - no effect. I then recalled that during the setup and install of ubuntu server, it asks which ethernet port (I have two onboard gblans) is primary, I chose eth0, but, it appears I was plugged into eth1 with the ethernet cable >>> I changed the cable to the other port et voila!! - all better instantly, connection manager recognized that I was plugged in and showed all appropriate info in the Connection Information window. So, no guarantee, but perhaps you have a similar situation with which port you're connecting the ethernet cable to when there's only one cable connected - worth checking out. Cheers.
|
|
|
|
Prelude
Legendary
Offline
Activity: 1596
Merit: 1000
|
|
October 27, 2014, 04:46:00 AM |
|
Ok, so I tried both Debian and Mint. Still having the same issue. The problem lies with p2pool or my installation of it using the script I linked earlier. Does anyone have any ideas?
Ok, just spent the day installing ubuntu server over and over to see what happens with this and that. I tried a few options for correcting the problem: 1) Edit connections >>> delete whatever connection is listed, create / add new connection ... I tried that, but it had no effect at all, rebooted, still no effect. 2) In terminal >>> sudo service network-manager stop && sudo rm /var/lib/NetworkManager/NetworkManager.state && sudo service network-manager start >>> reboot ... no effect 3) Uninstall libglib2.0-0 >>> reinstall libglib2.0-0 >>> it broke my server >>> reinstalled 4) Uninstalling and then re-installing the network-manager - no effect. I then recalled that during the setup and install of ubuntu server, it asks which ethernet port (I have two onboard gblans) is primary, I chose eth0, but, it appears I was plugged into eth1 with the ethernet cable >>> I changed the cable to the other port et voila!! - all better instantly, connection manager recognized that I was plugged in and showed all appropriate info in the Connection Information window. So, no guarantee, but perhaps you have a similar situation with which port you're connecting the ethernet cable to when there's only one cable connected - worth checking out. Cheers. Wow, thanks for taking the time to try all that! The motherboard I'm using right now only has one NIC, so it's definitely the right port. I have no problem establishing a connection to my LAN, the issue is keeping it working properly. It just sort of half dies on me, no matter what. Weird thing is when it happens, I can no longer ping my router (192.168.1.1) or the WWW (google.com for example) but I can still ping other rigs on my LAN and they can also ping the troubled Ubuntu rig (192.168.1.200). I set everything up on a VM using virtualbox, and for some reason it works flawlessly. I can't wrap my head around this.
|
|
|
|
newbuntu
Member
Offline
Activity: 61
Merit: 10
|
|
October 27, 2014, 05:11:07 AM |
|
Wow, thanks for taking the time to try all that! The motherboard I'm using right now only has one NIC, so it's definitely the right port. I have no problem establishing a connection to my LAN, the issue is keeping it working properly. It just sort of half dies on me, no matter what. Weird thing is when it happens, I can no longer ping my router (192.168.1.1) or the WWW (google.com for example) but I can still ping other rigs on my LAN and they can also ping the troubled Ubuntu rig (192.168.1.200). I set everything up on a VM using virtualbox, and for some reason it works flawlessly. I can't wrap my head around this. You're welcome, I enjoyed it. It gives me a topic for learning something new. Sounds insulting, but not intended so, try a different ethernet cable. I get this sort of issue regularly with all the cat 5 / cat 6 ethernet cables I have ... I swap out a cable and it's all better. I even have brand new, never used, cables that don't work at all or work on one computer but not another - true story. Now, I only buy high-quality cat7 cables - no more junk. Have you made sure that both the router and your network connection are set to the same thing? ... for example, both set for dhcp or both for static ip assignment. A router set up for static IPs and a computer connection set to dhcp won't get much traffic moving. If no change, and just for fun, you could try this: Delete existing connection (from within the Edit Connections applet) ... DON'T create a new one, disable networking (option from network applet at top of ubuntu desktop), count to 10, enable networking (option from same applet), select autoethernet to connect to (that's the auto generated name my ubuntu comes up with), additionally: sudo service network-manager stop && sudo rm /var/lib/NetworkManager/NetworkManager.state && sudo service network-manager start ... then reboot Cheers.
|
|
|
|
HellDiverUK
|
|
October 27, 2014, 08:25:45 AM |
|
Ok, so I tried both Debian and Mint. Still having the same issue. The problem lies with p2pool or my installation of it using the script I linked earlier. Does anyone have any ideas?
Don't use the script? There's a few good howto guides on here that show you how to install p2pool, those along with a bit of Googling should do it. A linux noob like me got it working in less than an hour (including time to install linux), so it's not difficult.
|
|
|
|
windpath
Legendary
Offline
Activity: 1258
Merit: 1027
|
|
October 29, 2014, 01:33:34 PM |
|
Howdy folks, I have been considering switching the P2Pool reports to Bits instead of Bitcoin in all the CoinCadence reports, and if everyone digs the idea pushing a simple merge to forrest doing the same for the default front-end. Technically it's an easy switch, and I wanted to ask how other p2pool users would feel about the change. I know this is a hot button topic for most, I happen to like Bits. It breaks down a Bitcoin into what most of us are used to in our FIAT money systems where Satoshis = cents. For example, if I make the change, the total mining reward from block 327315 would go from being displayed as: 25.04777923 Bitcoin
to
25,047,779.23 Bits i.e. a 25 million bit reward vs. a 25 bitcoin one. A ~4TH/s expected miner reward per block would go from 0.03759882 Bitcoin
to
37,598.82 Bits What do you think? Edit: Take the 1 question survey: https://www.surveymonkey.com/s/VSJG878
|
|
|
|
IYFTech
|
|
October 29, 2014, 01:37:43 PM |
|
Can't see the point tbh. Everyone is familiar with how it is now.
|
|
|
|
mahrens917
|
|
October 29, 2014, 02:07:22 PM |
|
Howdy folks, I have been considering switching the P2Pool reports to Bits instead of Bitcoin in all the CoinCadence reports, and if everyone digs the idea pushing a simple merge to forrest doing the same for the default front-end. Technically it's an easy switch, and I wanted to ask how other p2pool users would feel about the change. I know this is a hot button topic for most, I happen to like Bits. It breaks down a Bitcoin into what most of us are used to in our FIAT money systems where Satoshis = cents. For example, if I make the change, the total mining reward from block 327315 would go from being displayed as: 25.04777923 Bitcoin
to
25,047,779.23 Bits i.e. a 25 million bit reward vs. a 25 bitcoin one. A ~4TH/s expected miner reward per block would go from 0.03759882 Bitcoin
to
37,598.82 Bits What do you think? Edit: Take the 1 question survey: https://www.surveymonkey.com/s/VSJG878I am a fan. To get adoption of bitcoin as part of a larger community I believe this is an important initiative. For a lively conversation on the topic check: http://www.reddit.com/r/Bitcoin/comments/1rmto3/its_bits/
|
|
|
|
IYFTech
|
|
October 29, 2014, 08:35:02 PM |
|
Wouldn't mind a block or two though.........
|
|
|
|
newbuntu
Member
Offline
Activity: 61
Merit: 10
|
|
October 29, 2014, 09:03:39 PM |
|
12GB should be enough, I'm using 16GB merge mining 8 coins & it's a bit overkill tbh. Mining is also how I learned to use Xubuntu - it's an excellent & fun way to do it eh? It's a great learning curve. I put Ubuntu Server on it, but I'm struggling with the strict text interface, so I broke down and put ubuntu-desktop on for now - until I am more confident. I'm just doing install after install of everything from the raid0 setup, bare minimum server install, updates and everything needed for the p2pool server and merge coins. Get used to it, get comfortable, break it, fix it, break it, fix it, rinse and repeat. I'll be ready to go live with it, perhaps, in a day or so. Any and all advice welcome. Cheers. Check out webmin. Makes managing a text based linux server _so_ much easier. M Thanks for the suggestion, I'll take a look. Though, my goal is to become proficient with the command line, like the matrix - think in code
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
October 29, 2014, 11:16:34 PM |
|
Wouldn't mind a block or two though......... A what? You mean 15-20million share difficulty isn't good enough? M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
October 29, 2014, 11:16:55 PM |
|
12GB should be enough, I'm using 16GB merge mining 8 coins & it's a bit overkill tbh. Mining is also how I learned to use Xubuntu - it's an excellent & fun way to do it eh? It's a great learning curve. I put Ubuntu Server on it, but I'm struggling with the strict text interface, so I broke down and put ubuntu-desktop on for now - until I am more confident. I'm just doing install after install of everything from the raid0 setup, bare minimum server install, updates and everything needed for the p2pool server and merge coins. Get used to it, get comfortable, break it, fix it, break it, fix it, rinse and repeat. I'll be ready to go live with it, perhaps, in a day or so. Any and all advice welcome. Cheers. Check out webmin. Makes managing a text based linux server _so_ much easier. M Thanks for the suggestion, I'll take a look. Though, my goal is to become proficient with the command line, like the matrix - think in code I don't have time for that any more.. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
|