Re: [newbie] Anybody running the distributed net client?
On Tue, 16 Jul 2002 08:22, Glenn wrote: Please pardon what is probably a FAQ, but I've been running Mandrake 8.2 for all of about 10 hours or so, and my *nix experience is purely as a command line user about 8 years ago on a dumb terminal. Can anybody point me to a dummy's guide to distributed net client installation. I gather I'm supposed to go to a command line where I am to type dnetc -install (to run it as a hidden service). I walk my way down to the dnetc directory, which contains my client files, in the Konsole. An ls confirms that the executable is there. However, when I type the command, I get a command not found error. Anything in here sound like a newbie-knucklehead trick? Glenn I'll give it a crack Glenn. To make an executable run you need to check the user has permission to run it like so. $ cd dnetc $ ls -l A short example from my home directory. [michael@tirnanog michael]$ ls -l -rwx--1 michael michael 121 Jun 3 22:42 freeciv* -rw-rw-r--1 michael michael 812 Jun 19 11:49 log.txt See the x in the permissions of the file freeciv (and not for log.txt). $ man chmod for details of how to set this. The current directory (folder if you are still thinking in Windows speak) is not in the path statement for security reasons. $ echo $PATH So to run an executable use: $ ./program The dot (.) represents the current directory (not a nipple). The slash (/) specifies inside the aforementioned directory. And program is the name of the executable. Thus for my freeciv example above: $ ./freeciv would run it. Hope that helps. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Anybody running the distributed net client?
Thanks, Michael (and Femme and everybody else). That does help. I'm a recovering DOS command line junkie who was dragged, kicking and screaming, into the Windows world, so I can relate to your explanation. I've got the client running when I start it manually. I'm used to it starting up on log-in (under OS/2 and W2K), but that doesn't seem to be possible unless I speak some kind of incantation over an unnamed directory, introducing a cryptic script (obtained from distributed.net's FAQ-o-mat) into it while holding my tongue just so. I'll just have to remember to start it up whenever I log into Mandrake. Thanks again all; Glenn This email scanned by Norton Antivirus software, with latest definition files, prior to transmission. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Adams Sent: Tuesday, July 16, 2002 04:39 To: [EMAIL PROTECTED] Subject: Re: [newbie] Anybody running the distributed net client? On Tue, 16 Jul 2002 08:22, Glenn wrote: Please pardon what is probably a FAQ, but I've been running Mandrake 8.2 for all of about 10 hours or so, and my *nix experience is purely as a command line user about 8 years ago on a dumb terminal. Can anybody point me to a dummy's guide to distributed net client installation. I gather I'm supposed to go to a command line where I am to type dnetc -install (to run it as a hidden service). I walk my way down to the dnetc directory, which contains my client files, in the Konsole. An ls confirms that the executable is there. However, when I type the command, I get a command not found error. Anything in here sound like a newbie-knucklehead trick? Glenn I'll give it a crack Glenn. To make an executable run you need to check the user has permission to run it like so. $ cd dnetc $ ls -l A short example from my home directory. [michael@tirnanog michael]$ ls -l -rwx--1 michael michael 121 Jun 3 22:42 freeciv* -rw-rw-r--1 michael michael 812 Jun 19 11:49 log.txt See the x in the permissions of the file freeciv (and not for log.txt). $ man chmod for details of how to set this. The current directory (folder if you are still thinking in Windows speak) is not in the path statement for security reasons. $ echo $PATH So to run an executable use: $ ./program The dot (.) represents the current directory (not a nipple). The slash (/) specifies inside the aforementioned directory. And program is the name of the executable. Thus for my freeciv example above: $ ./freeciv would run it. Hope that helps. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Anybody running the distributed net client?
add the executable to the end of /etc/rc.d/rc.local so that the last line looks like this: /my/path/to/executable/my_executable be sure to put the on the end, so it returns the console to you.. if you don't, you might have problems. rc.local is run each time the system is booted.. so if you put the command there, it will run at boot. if you need to run it as a certain user and not root.. you can do that too. Here is an example: su - USERNAME -c /path/to/execeutable /dev/null 21 if you use that, the program will start as the user you put in place of USERNAME hope that serves you well. rgds Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Glenn Sent: Tuesday, 16 July 2002 6:57 PM To: [EMAIL PROTECTED] Subject: RE: [newbie] Anybody running the distributed net client? Thanks, Michael (and Femme and everybody else). That does help. I'm a recovering DOS command line junkie who was dragged, kicking and screaming, into the Windows world, so I can relate to your explanation. I've got the client running when I start it manually. I'm used to it starting up on log-in (under OS/2 and W2K), but that doesn't seem to be possible unless I speak some kind of incantation over an unnamed directory, introducing a cryptic script (obtained from distributed.net's FAQ-o-mat) into it while holding my tongue just so. I'll just have to remember to start it up whenever I log into Mandrake. Thanks again all; Glenn This email scanned by Norton Antivirus software, with latest definition files, prior to transmission. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Adams Sent: Tuesday, July 16, 2002 04:39 To: [EMAIL PROTECTED] Subject: Re: [newbie] Anybody running the distributed net client? On Tue, 16 Jul 2002 08:22, Glenn wrote: Please pardon what is probably a FAQ, but I've been running Mandrake 8.2 for all of about 10 hours or so, and my *nix experience is purely as a command line user about 8 years ago on a dumb terminal. Can anybody point me to a dummy's guide to distributed net client installation. I gather I'm supposed to go to a command line where I am to type dnetc -install (to run it as a hidden service). I walk my way down to the dnetc directory, which contains my client files, in the Konsole. An ls confirms that the executable is there. However, when I type the command, I get a command not found error. Anything in here sound like a newbie-knucklehead trick? Glenn I'll give it a crack Glenn. To make an executable run you need to check the user has permission to run it like so. $ cd dnetc $ ls -l A short example from my home directory. [michael@tirnanog michael]$ ls -l -rwx--1 michael michael 121 Jun 3 22:42 freeciv* -rw-rw-r--1 michael michael 812 Jun 19 11:49 log.txt See the x in the permissions of the file freeciv (and not for log.txt). $ man chmod for details of how to set this. The current directory (folder if you are still thinking in Windows speak) is not in the path statement for security reasons. $ echo $PATH So to run an executable use: $ ./program The dot (.) represents the current directory (not a nipple). The slash (/) specifies inside the aforementioned directory. And program is the name of the executable. Thus for my freeciv example above: $ ./freeciv would run it. Hope that helps. -- Michael Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[newbie] Anybody running the distributed net client?
Please pardon what is probably a FAQ, but I've been running Mandrake 8.2 for all of about 10 hours or so, and my *nix experience is purely as a command line user about 8 years ago on a dumb terminal. Can anybody point me to a dummy's guide to distributed net client installation. I gather I'm supposed to go to a command line where I am to type dnetc -install (to run it as a hidden service). I walk my way down to the dnetc directory, which contains my client files, in the Konsole. An ls confims that the executable is there. However, when I type the command, I get a command not found error. Anything in here sound like a newbie-knucklehead trick? Glenn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Anybody running the distributed net client?
add a ./ before the command. -Original Message- From: Glenn [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 3:22 PM To: [EMAIL PROTECTED] Subject: [newbie] Anybody running the distributed net client? Please pardon what is probably a FAQ, but I've been running Mandrake 8.2 for all of about 10 hours or so, and my *nix experience is purely as a command line user about 8 years ago on a dumb terminal. Can anybody point me to a dummy's guide to distributed net client installation. I gather I'm supposed to go to a command line where I am to type dnetc -install (to run it as a hidden service). I walk my way down to the dnetc directory, which contains my client files, in the Konsole. An ls confims that the executable is there. However, when I type the command, I get a command not found error. Anything in here sound like a newbie-knucklehead trick? Glenn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Anybody running the distributed net client?
On Monday 15 July 2002 05:30 pm, you wrote: Thanks, I'll give that a try. add a ./ before the command. -Original Message- newbie-knucklehead trick? Glenn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Anybody running the distributed net client?
On Monday 15 July 2002 04:46 pm, you wrote: Looks like I'll have to keep trying: dnetc: Unable to create/write /etc/rc.d/init.d/dnetc: Permission denied On Monday 15 July 2002 05:30 pm, you wrote: Thanks, I'll give that a try. add a ./ before the command. -Original Message- newbie-knucklehead trick? Glenn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Anybody running the distributed net client?
Are you running this as root? If you are not, you'll get that error, as /etc/rc.d/init.d/ is owned by root (and rightly so). Michael -- Michael Viron Project Manager / Primary Developer / Manager of Online Operations General Education Online http://www.findaschool.org At 04:54 PM 7/15/2002 -0400, you wrote: On Monday 15 July 2002 04:46 pm, you wrote: Looks like I'll have to keep trying: dnetc: Unable to create/write /etc/rc.d/init.d/dnetc: Permission denied On Monday 15 July 2002 05:30 pm, you wrote: Thanks, I'll give that a try. add a ./ before the command. -Original Message- newbie-knucklehead trick? Glenn Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Anybody running the distributed net client?
Glenn wrote: On Monday 15 July 2002 04:46 pm, you wrote: Looks like I'll have to keep trying: dnetc: Unable to create/write /etc/rc.d/init.d/dnetc: Permission denied On Monday 15 July 2002 05:30 pm, you wrote: Thanks, I'll give that a try. add a ./ before the command. -Original Message- newbie-knucklehead trick? Glenn Do it all as root. -- Femme Good Decisions You boss Made: We'll do as you suggest and go with Linux. I've always liked that character from Peanuts. - Source: Dilbert Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com