MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
July 29, 2013, 09:55:21 PM |
|
If you 'locate cgminer.service' as root you will find the file you want. After editing reboot or reload cgminer and it will keep your settings.
One of these days I will get cgminer to make me a Big Jason file with all the options in it and I will make them avalible through the webui.
Neil
|
|
|
|
Tinua
|
|
July 29, 2013, 10:49:26 PM |
|
If you 'locate cgminer.service' as root you will find the file you want. After editing reboot or reload cgminer and it will keep your settings.
One of these days I will get cgminer to make me a Big Jason file with all the options in it and I will make them avalible through the webui.
Neil
I found the file under '/usr/lib/systemd/system/cgminer-service'. But i can't save the file after changes. It's denied. Sorry, I'am Linux noob.
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
July 29, 2013, 10:50:56 PM |
|
If you 'locate cgminer.service' as root you will find the file you want. After editing reboot or reload cgminer and it will keep your settings.
One of these days I will get cgminer to make me a Big Jason file with all the options in it and I will make them avalible through the webui.
Neil
I found the file under '/usr/lib/systemd/system/cgminer-service'. But i can't save the file after chnges. It's denied. That's the one, you need to do it as root (either sudo it or use sudo -i to get an interactive console). Neil
|
|
|
|
kano
Legendary
Offline
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
|
|
July 29, 2013, 10:52:11 PM |
|
If you 'locate cgminer.service' as root you will find the file you want. After editing reboot or reload cgminer and it will keep your settings.
One of these days I will get cgminer to make me a Big Jason file with all the options in it and I will make them avalible through the webui.
Neil
I found the file under '/usr/lib/systemd/system/cgminer-service'. But i can't save the file after changes. It's denied. Sorry, I'am Linux noob. Probably need to add 'sudo' to the front of whatever command you are using to edit the file. e.g. sudo vim filenameEdit: OK - what he said
|
|
|
|
turtle83
|
|
July 29, 2013, 10:53:37 PM |
|
If you 'locate cgminer.service' as root you will find the file you want. After editing reboot or reload cgminer and it will keep your settings.
One of these days I will get cgminer to make me a Big Jason file with all the options in it and I will make them avalible through the webui.
Neil
I found the file under '/usr/lib/systemd/system/cgminer-service'. But i can't save the file after changes. It's denied. Sorry, I'am Linux noob. Probably need to add 'sudo' to the front of whatever command you are using to edit the file. e.g. sudo vim filenameEdit: OK - what he said Sorry couldnt resist.
|
|
|
|
Tinua
|
|
July 29, 2013, 11:03:32 PM |
|
Oki, I see, I do it completely wrong. I opened the file over winscp and modified. But could not save it. This happens, when windows user try to use linux. Maybe better I wait, until the functions are in the Gui?
|
|
|
|
BR0KK
|
|
July 29, 2013, 11:04:42 PM |
|
Oki, I see, I do it completely wrong. I opened the file over winscp and modified. But could not save it. This happens, when windows user try to use linux. Maybe better I wait, until the functions are in the Gui? can still be done via winscp you just need the program to login as root
|
|
|
|
Tinua
|
|
July 29, 2013, 11:08:38 PM |
|
can still be done via winscp you just need the program to login as root And how?
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
July 29, 2013, 11:09:39 PM |
|
Oki, I see, I do it completely wrong. I opened the file over winscp and modified. But could not save it. This happens, when windows user try to use linux. Maybe better I wait, until the functions are in the Gui? LOL windows users, they are so silly . Have a go with ssh, it will do you good . Neil
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
July 29, 2013, 11:11:08 PM |
|
can still be done via winscp you just need the program to login as root And how? You need to login via ssh and set a root password, you may as well just change the file instead. Neil
|
|
|
|
Tinua
|
|
July 29, 2013, 11:20:54 PM |
|
can still be done via winscp you just need the program to login as root And how? You need to login via ssh and set a root password, you may as well just change the file instead. Neil You are right I feel me so silly. I go over SSH. Login as root....then i cant set new password. How can you work this way?
|
|
|
|
Tinua
|
|
July 29, 2013, 11:22:57 PM |
|
I think tomorrow I buy a book for dummies
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
July 29, 2013, 11:26:41 PM |
|
1. Login as minepeon, password peon. 2. type sudo -i and use the password peon. 3. type passwd and follow the prompts to set a root password. 4. Don't take my teasing seriously . (I do encourage learning linux though). Nei;
|
|
|
|
Tinua
|
|
July 29, 2013, 11:33:54 PM |
|
1. Login as minepeon, password peon. 2. type sudo -i and use the password peon. 3. type passwd and follow the prompts to set a root password. 4. Don't take my teasing seriously . (I do encourage learning linux though). Nei; Yupi My first Linux success. Thanks Nei
|
|
|
|
teletobi
|
|
July 29, 2013, 11:44:40 PM |
|
I just tried to set up my first RasPi with Minepeon. But when I open the Adress in the Browser there is just tha Message:
Graph error: the first entry to fetch should be after 1980 (-1978) Graph error: the first entry to fetch should be after 1980 (-84778) Graph error: the first entry to fetch should be after 1980 (-603178) Graph error: the first entry to fetch should be after 1980 (-2676778) Graph error: the first entry to fetch should be after 1980 (-31534378)
When I tried to log in with Terminal, I was prompted for a Password (no user) and Peon didn't work. Anyone an Idea what to do?
I tried about three Times to set up the SD Card, but nothing changed...
|
|
|
|
MineForeman.com (OP)
Legendary
Offline
Activity: 896
Merit: 1000
|
|
July 29, 2013, 11:52:29 PM |
|
I just tried to set up my first RasPi with Minepeon. But when I open the Adress in the Browser there is just tha Message:
Graph error: the first entry to fetch should be after 1980 (-1978) Graph error: the first entry to fetch should be after 1980 (-84778) Graph error: the first entry to fetch should be after 1980 (-603178) Graph error: the first entry to fetch should be after 1980 (-2676778) Graph error: the first entry to fetch should be after 1980 (-31534378) Were you able to setup your pools? If you did your mining. There are two reasons for those date messages;- 1. There is no data in the graph files yet, wait 5 minutes. 2. An annoying NTP problem that will be fixed next version. (sudo ntpd -s will fix it temporarily) When I tried to log in with Terminal, I was prompted for a Password (no user) and Peon didn't work. Anyone an Idea what to do? Is Terminal a SSH program or are you trying to log via a keyboard and screen (commonly called the console). Either way it should be asking for a user first. Neil
|
|
|
|
Tinua
|
|
July 30, 2013, 12:03:06 AM Last edit: July 30, 2013, 12:23:52 AM by Tinua |
|
I set "--avalon-options 115200:32:10:36:350 --avalon-fan 60-100" to '/usr/lib/systemd/system/cgminer-service' folder. [Unit] Description=cgminer After=network.target openntpd.service
[Service] Type=forking ExecStart=/usr/bin/screen -dmS cgminer /opt/minepeon/bin/cgminer --api-listen --avalon-options 115200:32:10:36:350 --avalon-fan 60-100 --api-allow W:127.0.0.1 --sharelog /opt/minepeon/log/share.log -c /opt/minepeon/etc/miner.conf ExecStop=/usr/bin/screen -S cgminer -X quit Restart=always
[Install] WantedBy=multi-user.target
After that....nothing runing anymore. Seems like, i do something wrong again.
|
|
|
|
KyrosKrane
|
|
July 30, 2013, 12:06:43 AM |
|
When I tried to log in with Terminal, I was prompted for a Password (no user) and Peon didn't work. Anyone an Idea what to do? Is Terminal a SSH program or are you trying to log via a keyboard and screen (commonly called the console). Either way it should be asking for a user first. Neil This happened to me when I used a console to log in. What happens is that the user login prompt does come up, but background processes are still loading and dumping output to stdout (I assume it's stdout, at least). So the prompt gets lost in the visual spam. Eventually it looks like things just stop ... but it's waiting for a user to log in. If you hit enter, it prompts you for a password, apparently without taking a user ID first. As far as I know, this problem doesn't appear if you SSH in. The workaround is to wait until about 30 seconds have passed with no additional screen output, then even if no prompt is showing, type in the username. Do NOT hit enter before you type the username. Just start typing it in, and hit enter when you're done. You'll get prompted for the password next, and can proceed normally from there. The solution would be to defer the login prompt from appearing at all until all background loads complete.
|
|
|
|
Beastlymac
|
|
July 30, 2013, 12:13:15 AM |
|
I just tried to set up my first RasPi with Minepeon. But when I open the Adress in the Browser there is just tha Message:
Graph error: the first entry to fetch should be after 1980 (-1978) Graph error: the first entry to fetch should be after 1980 (-84778) Graph error: the first entry to fetch should be after 1980 (-603178) Graph error: the first entry to fetch should be after 1980 (-2676778) Graph error: the first entry to fetch should be after 1980 (-31534378)
When I tried to log in with Terminal, I was prompted for a Password (no user) and Peon didn't work. Anyone an Idea what to do?
I tried about three Times to set up the SD Card, but nothing changed...
I got that try setting your date. Using this command worked for me. sudo /usr/bin/ntpd -s
|
Message me if you have any problems
|
|
|
BG4
Legendary
Offline
Activity: 1006
Merit: 1024
PaperSafe
|
|
July 30, 2013, 01:42:16 AM |
|
HI everybody. Im totally new to this linux thing and Arch has been a nice learning curve . Ive had to power cycle and reinstall OS on SD card a few times..Also the NTP Time thing was driving me nuts....I dont know If this was the answer or not.. But I want to share it anyways...
When I used sudo /usr/bin/ntpd -s The time was current but on wrong time zone... So I just tryed to set the correct time...Arch displayed a message about with changing this come great responsability...So I did it anyways....I guess it didnt like the time that far in the future...My BFL 30gh went unresponsive and would not mine....after pulling the plug on the RPi a few times, I reinstalled minepeon ....
I have no real clue if this is what is suppose to happen or not....but this time
I used Sudo ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime then I used sudo /usr/bin/ntpd -s
Now I can cycle the power and It will always show the correct time....I have been up and running with no problems for almost 4 days
Keep up the good work ...Mineforman
|
|
|
|
|