Command line Basics

renwich

Inactive User
Joined
Oct 3, 2005
Messages
740
Reaction score
61
Heres a few commandlines that may help get the basic stuff right


cd /

cd var

mkdir bin

mkdir keys

mkdir plugins

ln -s /var/keys ./scce

cd tuxbox

ln -s /var/keys ./scce

cd /

rmdir root

ln -s var root

cd /var/bin


mkdir emu

this will make all the basic folders and symlinks,, this will need to be run from a telnet session on your box
 
chmod 755 -r /var/bin/emu

this will chmod 755 all files in that folder all together


cheers
 
cant find a file try this again from the command line

find / -name evocamd

results

/var/bin/emu/evocamd


or using a wildcard

find / -name *camd

results

/var/bin/emu/evocamd
/var/bin/emu/newcamd
/var/bin/emu/mgcamd
 
if you want to see what the camd is doing

try /var/bin/emu/newcamd -d
for newcamd

try /var/bin/emu/evocamd -d
for evocamd

try /var/bin/emu/mgwcamd -d
for mgcamd


and switch channel u will see the cam do its stuff or give a clue wot its looking for


with thanks to renwich
 
Sorry to sound daft but i'm havin problems with the symlink part. Where do we do all these command lines?
I've done everythingelse, got fta but no crypted channels yet.
 
Sorry to sound daft but i'm havin problems with the symlink part. Where do we do all these command lines?
I've done everythingelse, got fta but no crypted channels yet.

Telnet into your box & follow post #1 from renwich
 
Hope you dont mind me asking, but what do these command lines actually do? thought i might understand things a bit better then.

ln -s /var/keys ./scce

rmdir root

Cheers
 
ln -s /var/keys ./scce
make a shortcut (like in windows but called a symlink) to /var/keys called scce the ./scce means it a folder not a file.

rmdir root
remove directory root
 
Heres a few commandlines that may help get the basic stuff right


cd /

cd var

mkdir bin

mkdir keys

mkdir plugins

ln -s /var/keys ./scce

cd tuxbox

ln -s /var/keys ./scce

cd /

rmdir root

ln -s var root

cd /var/bin


mkdir emu

this will make all the basic folders and symlinks,, this will need to be run from a telnet session on your box

just a quickie guys should all these commands be used on a virgin image because after inputting all of the above the commands, files will not fxp across anymore, and should they be inputted at a particular time?


Thx in advance
 
Last edited:
Heres a few commandlines that may help get the basic stuff right


cd /

cd var

mkdir bin

mkdir keys

mkdir plugins

ln -s /var/keys ./scce

cd tuxbox

ln -s /var/keys ./scce

cd /

rmdir root

ln -s var root

cd /var/bin


mkdir emu

this will make all the basic folders and symlinks,, this will need to be run from a telnet session on your box

Guys just trying to understand these commands a little more, why would you remove the root directory then create a shortcut to it in var,

Thx in advance
 
so when you telnet in your in /var not /root.
also counts for ftp access.

going into root is a linux standard but a waste of time for our uses.
 
Back
Top