how to run client in linux, not working for me...

hans007

Lifer
Feb 1, 2000
20,212
18
81
i installed mandrake 7.2 today. I download the linux dnet client, gzip it and untar it. I put it in a folder in

/home/hans/dnetc


inside i can run an ls and i get


dnetc* docs/ dnetc.1

i clicked on dnetc in the file browser in x windows, and nothing happens, and if i type dnetc in terminal it just says command not found. I'm new to linux and am trying


please help me add another 366mhz to team anandtech.

also even though i barely post in this sub, i have been cracking for TA for almost a year now and have cracked 205000 blocks. not sure if that is a lot compared to most of you guys , but hey i'm helping right
 

hans007

Lifer
Feb 1, 2000
20,212
18
81
ok cool that worked. now can someone tell me exactly why that worked and what putting a ./ in front of dnetc does?


also how do you make it auto load on startup . like so i can make it just hide in the corner instead of having to start up a new terminal. i can make a "shortcut" like thing for it, but it doesnt seem to do anything
 

efun

Senior member
Mar 11, 2001
231
0
0
the ./ tells it to look in the current directory, whereas just trying to run dnetc goes through your path ( note you can add . to your path ;) As for shortcuts I think that they will start dnetc but since it is a console application they dont have any screen output. After running your shortcut use top ( or gtop if your an xwindow fan ) to check and see if it is running. For starting on boot you need to add something along the lines of /home/user/dnetc -quiet in a script to your startup directory. ( /etc/init.d/ on many linux systems. Hope that helps.
 

Kilowatt

Golden Member
Oct 9, 1999
1,272
0
0
In Mandrake, once it's setup, IE: filled out the dnetc.ini configuration, you should be able to just click on the executable. and it'll start (hidden, unless you've changed the "Properties").

Add a line to the bottom of your /etc/rc.d/rclocal (open with a text editor):

#Starting Dnet Client
/home/hans/dnet/./dnetc -noquiet>> /dev/tty8 &


Then you should be able to hit the Ctrl Alt F8 keys, and go to that tty 8 terminal and see it running in real time.