Command line Basics

renwich

DW Member +
Joined
Oct 3, 2005
Messages
739
Reaction score
59
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
 

gav12345

VIP Member
VIP Member
Joined
Mar 11, 2005
Messages
5,309
Reaction score
114
Location
Italy
chmod 755 -r /var/bin/emu

this will chmod 755 all files in that folder all together


cheers
 

renwich

DW Member +
Joined
Oct 3, 2005
Messages
739
Reaction score
59
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
 

gav12345

VIP Member
VIP Member
Joined
Mar 11, 2005
Messages
5,309
Reaction score
114
Location
Italy
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
 

phils_confused

Inactive User
Joined
Feb 27, 2006
Messages
246
Reaction score
1
Location
Notts
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.
 

bobsylas

Member ++
Joined
Feb 7, 2006
Messages
302
Reaction score
15
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
 

phils_confused

Inactive User
Joined
Feb 27, 2006
Messages
246
Reaction score
1
Location
Notts
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
 

ellie1998

Inactive User
Joined
May 7, 2005
Messages
5,744
Reaction score
926
Location
here
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
 

6bellys

Inactive User
Joined
Aug 16, 2005
Messages
272
Reaction score
7
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:

6bellys

Inactive User
Joined
Aug 16, 2005
Messages
272
Reaction score
7
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
 

ellie1998

Inactive User
Joined
May 7, 2005
Messages
5,744
Reaction score
926
Location
here
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.
 
TEST
Top