//flex table opened by JP

Click to See Complete Forum and Search --> : dnetc on Linux problem


DVNT1
02-25-2001, 02:53 PM
okay, I installed Linux-Mandrake 7.2 and now want to try the dnetc client on it.

I downloaded dnetc-linux-x86-elf.tar.gz then uncompressed it to /usr/dnetc/. Set properties to allow executable, opened a shell window, changed to that directory and tried the dnetc command but it returned a command not found message.

What do I need to do?

Virus
02-25-2001, 04:38 PM
try ./dnetc

DVNT1
02-25-2001, 04:56 PM
Thanks Virus, that was it. What is the different between dnetc and ./dnetc ?

(yes, I'm a new to Linux)

randy48
02-25-2001, 05:17 PM
The ./ is the "run" command for *nix operating systems.

ThiemeMD
03-01-2001, 07:33 PM
I'm also just learning Linux (RedHat 7.0), or at least trying... been ready to throw this box out the window a few times!
As of now the only way I know to start the client is to open a terminal emulation window, then "cd" to my /dnet directory, and run ./dentc.
How do I automate this? I'd like to create an icon on the desktop or panel so I could just click on it...

ThiemeMD

Virus
03-01-2001, 09:55 PM
You can run the client many different ways.

if you don't care about seeing it working. You can add this file to the /etc/rc.d/init.d directory and make a simbolic link in your run level directories (/etc/rc.d/rc[0-6].d) by doing a 'cp -s ../init.d/dnetd S95dnetd'. You will also have to edit the file and change the basedir variable to where you have installed dnetc.

http://www.statsaholic.com/dnetd

Or you can add this line to the bottom of your /etc/rc.d/rc.local file.

/(your dnetc location)/dnetc -quite &&

if you want to see output. On KDE, you can add an icon for it to the autostart folder. I haven't used gnome, but there should be somewhere to have it startup in it's own window.