This is how to create a port forwarding between an host system and a guest system.
This is ideal in order to have a SSH tunnel to the guest machine, in order to tunnel vnc etc...
In this example, the host OS is windows....
cd %VIRTUAL_BOX_INSTALL_DIR%
VBoxManage.exe setextradata "%VM_NAME%" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 2222
VBoxManage.exe setextradata "%VM_NAME%" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage.exe setextradata "%VM_NAME%" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
venerdì 21 agosto 2009
venerdì 7 agosto 2009
Command Line Tricks for CDRecord
Some commands to use with CDRecord.
At the beginnig these commands where supposed to create a mixed cd (audio + video).
Currently, I do not remember if they works....
#Blank CD
cdrecord -dev=0,0,0 -blank=fast
#Burn Audio Tracks
cdrecord -multi -dao -dev=0,0,0 -audio track01.wav track02.wav .... trackNN.wav -pad
#The output of this command (XXX) will be used in the next command, should be two numbers with ','
cdrecord -msinfo -dev=0,0,0
#-l allows to have 31 character filename
mkisofs -J -C XXX -o isofilename -V volumeid -l
#Burn to CD
cdrecord -data isofilename -dev=0,0,0
At the beginnig these commands where supposed to create a mixed cd (audio + video).
Currently, I do not remember if they works....
#Blank CD
cdrecord -dev=0,0,0 -blank=fast
#Burn Audio Tracks
cdrecord -multi -dao -dev=0,0,0 -audio track01.wav track02.wav .... trackNN.wav -pad
#The output of this command (XXX) will be used in the next command, should be two numbers with ','
cdrecord -msinfo -dev=0,0,0
#-l allows to have 31 character filename
mkisofs -J -C XXX -o isofilename -V volumeid -l
#Burn to CD
cdrecord -data isofilename -dev=0,0,0
Iscriviti a:
Post (Atom)
