Thursday, November 08, 2007
Friday, October 12, 2007
Monday, October 08, 2007
Friday, October 05, 2007
Thursday, September 27, 2007
Wednesday, September 26, 2007
Wednesday, September 05, 2007
Remote Access to Linux Install
http://docs.fedoraproject.org/install-guide/f7/en_US/sn-remoteaccess-installation.html
remote access to an installation system
Fedoraforum
Boot time command args:
-----------------------
expert Turns on special features:
- allows partitioning of removable media
- prompts for driver disk
noshell Do not put a shell on tty2 during install.
lowres Force GUI installer to run at 640x480.
resolution= Run installer in mode specified, '1024x768' for example.
nousb Do not load USB support (helps if install hangs
early sometimes).
nofb Do not load the VGA16 framebuffer required for doing
text-mode installation in some languages
nofirewire Do not load support for firewire devices
askmethod Do not automatically use the CD-ROM as the install
source if we detect a Red Hat Linux CD in your CD-ROM drive.
nousbstorage Do not load usbstorage module in loader. May help with
device ordering on SCSI systems.
noparport Do not attempt to load support for parallel ports
noprobe Do not attempt to detect hw, prompts user instead.
nopcmcia Ignore PCMCIA controller in system.
skipddc Skips DDC probe of monitor, may help if its handing system.
graphical Force graphical install. Required to have ftp/http use GUI.
text Force text mode install.
vnc Enable vnc-based installation. You will need to connect
to the machine using a vnc client application.
vncpassword= Enable a password for the vnc connection. This will
prevent someone from inadvertantly connecting to the
vnc-based installation.
Requires 'vnc' option to be specified as well.
vncconnect=[:] Once installation is up and running, connect to
the vnc client named, and optionally use port .
Requires 'vnc' option to be specified as well.
updates Prompt for floppy containing updates (bug fixes).
isa Prompt user for ISA devices configuration.
dd Use a driver disk.
driverdisk Same as 'dd'.
mediacheck Activates loader code to give user option of testing integrity
of install source (if an ISO-based method).
rescue Run rescue environment.
nomount Don't automatically mount any installed Linux partitions
in rescue mode.
nopass Don't pass keyboard/mouse info to stage 2 installer, good for
testing keyboard and mouse config screens in stage2 installer
during network installs.
serial Turns on serial console support.
ksdevice Takes an argument like 'eth0', tells install what network
device to use for kickstart from network.
ks Kickstart over NFS.
ks=cdrom: Kickstart from CDROM
ks=nfs: Kickstart from NFS.
ks= Kickstart via HTTP.
ks=hd: Kickstart via harddrive (dev = 'hda1', for example)
ks=file: Kickstart from a file (path = 'fd0/ks.cfg')
ks=ftp:// Kickstart from FTP.
ks=http:// Kickstart from HTTP.
kssendmac Adds HTTP headers to ks=http:// request that can be helpful
for provisioning systems. Includes MAC address of all nics in
a CGI environment variable of the form
HTTP_X_RHN_PROVISIONING_0, HTTP_X_RHN_PROVISIONING_1, etc, for
all nics.
dhcpclass= Sends a custom DHCP vendor class identifier. ISC's dhcpcd can
inspect this value using "option vendor-class-identifier".
upgradeany Don't require an /etc/redhat-release that matches the
expected syntax to upgrade.
lang= Language to use for the installation. This should be a
language which is valid to be used with the 'lang' kickstart
command.
keymap= Keyboard layout to use. Valid values are those which can be
used for the 'keyboard' kickstart command.
ip= IP to use for a network installation, use 'dhcp' for DHCP.
netmask= Netmask to use for a network installation.
gateway= Gateway to use for a network installation.
dns= Comma separated list of nameservers to use for a network
installation.
method=nfs: Use for an NFS installation.
method=http:// Use for an HTTP installation
method=ftp:// Use for an FTP installation
method=hd:/// Use on for a hard drive installation
method=cdrom Do a CDROM based installation.
vnc Do graphical installation via VNC. Instead of
starting a normal X server, vncserver will be started
and you can then connect remotely to do the
installation.
vncpassword= Set a password for the vnc session.
vncconnect=[:] Once installation is up and running, connect to
the vnc client named, and optionally, on port .
Requires 'vnc' option to be specified as well.
test
debug Start up pdb immediately
nofallback If GUI fails exit
rootpath= Where to install packages (default /mnt/sysimage)
pcic= Specify pcmcia controller
overhead= Override LVM overhead calculation
testpath=
mountfs
traceonly Don't run, just list modules we use
kickstart= Set serial install and kickstart file
kbdtype= Set the type of keyboard
module= Load additional kernel modules
class= Choose install class to use
autostep Make kickstart non-interactive
noselinux Disable Security Enhanced Linux
selinux Enable Security Enhanced Linux
vnc=
cmdline Use command line installer
headless Automate install for machines with no display
virtpconsole=
xfs Allows the creation of a xfs filesystem
reiserfs Allows the creation of a reiserfs filesystem
jfs Allows the creation of a jfs filesystem
syslogd
remote access to an installation system
Fedoraforum
Boot time command args:
-----------------------
expert Turns on special features:
- allows partitioning of removable media
- prompts for driver disk
noshell Do not put a shell on tty2 during install.
lowres Force GUI installer to run at 640x480.
resolution=
nousb Do not load USB support (helps if install hangs
early sometimes).
nofb Do not load the VGA16 framebuffer required for doing
text-mode installation in some languages
nofirewire Do not load support for firewire devices
askmethod Do not automatically use the CD-ROM as the install
source if we detect a Red Hat Linux CD in your CD-ROM drive.
nousbstorage Do not load usbstorage module in loader. May help with
device ordering on SCSI systems.
noparport Do not attempt to load support for parallel ports
noprobe Do not attempt to detect hw, prompts user instead.
nopcmcia Ignore PCMCIA controller in system.
skipddc Skips DDC probe of monitor, may help if its handing system.
graphical Force graphical install. Required to have ftp/http use GUI.
text Force text mode install.
vnc Enable vnc-based installation. You will need to connect
to the machine using a vnc client application.
vncpassword=
prevent someone from inadvertantly connecting to the
vnc-based installation.
Requires 'vnc' option to be specified as well.
vncconnect=
the vnc client named
Requires 'vnc' option to be specified as well.
updates Prompt for floppy containing updates (bug fixes).
isa Prompt user for ISA devices configuration.
dd Use a driver disk.
driverdisk Same as 'dd'.
mediacheck Activates loader code to give user option of testing integrity
of install source (if an ISO-based method).
rescue Run rescue environment.
nomount Don't automatically mount any installed Linux partitions
in rescue mode.
nopass Don't pass keyboard/mouse info to stage 2 installer, good for
testing keyboard and mouse config screens in stage2 installer
during network installs.
serial Turns on serial console support.
ksdevice Takes an argument like 'eth0', tells install what network
device to use for kickstart from network.
ks Kickstart over NFS.
ks=cdrom: Kickstart from CDROM
ks=nfs:
ks=
ks=hd:
ks=file:
ks=ftp://
ks=http://
kssendmac Adds HTTP headers to ks=http:// request that can be helpful
for provisioning systems. Includes MAC address of all nics in
a CGI environment variable of the form
HTTP_X_RHN_PROVISIONING_0, HTTP_X_RHN_PROVISIONING_1, etc, for
all nics.
dhcpclass=
inspect this value using "option vendor-class-identifier".
upgradeany Don't require an /etc/redhat-release that matches the
expected syntax to upgrade.
lang=
language which is valid to be used with the 'lang' kickstart
command.
keymap=
used for the 'keyboard' kickstart command.
ip=
netmask=
gateway=
dns=
installation.
method=nfs:
method=http://
method=ftp://
method=hd://
method=cdrom Do a CDROM based installation.
vnc Do graphical installation via VNC. Instead of
starting a normal X server, vncserver will be started
and you can then connect remotely to do the
installation.
vncpassword=
vncconnect=
the vnc client named
Requires 'vnc' option to be specified as well.
test
debug Start up pdb immediately
nofallback If GUI fails exit
rootpath= Where to install packages (default /mnt/sysimage)
pcic= Specify pcmcia controller
overhead= Override LVM overhead calculation
testpath=
mountfs
traceonly Don't run, just list modules we use
kickstart= Set serial install and kickstart file
kbdtype= Set the type of keyboard
module= Load additional kernel modules
class= Choose install class to use
autostep Make kickstart non-interactive
noselinux Disable Security Enhanced Linux
selinux Enable Security Enhanced Linux
vnc=
cmdline Use command line installer
headless Automate install for machines with no display
virtpconsole=
xfs Allows the creation of a xfs filesystem
reiserfs Allows the creation of a reiserfs filesystem
jfs Allows the creation of a jfs filesystem
syslogd
Tuesday, September 04, 2007
Tuesday, August 21, 2007
kernel links
http://kernelnewbies.org/
http://janitor.kernelnewbies.org/
http://lwn.net/Kernel/LDD3/
http://lwn.net/Kernel/
http://kerneltrap.org/
http://kerneltraffic.org/
http://janitor.kernelnewbies.org/
http://lwn.net/Kernel/LDD3/
http://lwn.net/Kernel/
http://kerneltrap.org/
http://kerneltraffic.org/
QOTD
Don't let nobody tell you what you cannot do;
don't let nobody tell you what's impossible for you;
don't let nobody tell you what you got to do,
or you'll never know ... what's on the other side of the rainbow...
remember, if you don't follow your dreams,
you'll never know what's on the other side of the rainbow...
-- melba moore, "the other side of the rainbow"
don't let nobody tell you what's impossible for you;
don't let nobody tell you what you got to do,
or you'll never know ... what's on the other side of the rainbow...
remember, if you don't follow your dreams,
you'll never know what's on the other side of the rainbow...
-- melba moore, "the other side of the rainbow"
Sunday, August 19, 2007
Monday, August 13, 2007
Sunday, August 05, 2007
Projects of the day
wsdlpull
wsdlpull is a C++ web services client library. It includes a WSDL Parser,a XSD Schema Parser and Validator and XML Parser and serializer and an API and command line tool for dynamic WSDL inspection and invocation.
wsdlpull comes with a generic web service client.Using wsdlpull's wsdl tool you can invoke most web services from command line without writing any code like this!!
Invoking the popular stock quotes web service and the currency exchange services
wsdl http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl getQuote SYMBOL
wsdl http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl getRate "United States" India
Get the local time in you city
wsdl http://www.nanonull.com/TimeService/TimeService.asmx?wsdl getCityTime Tokyo
Or a more complex google search whose wsdl is included in the test directory.Get the first 5 google search results for 'wsdlpull'
wsdl GoogleSearch.wsdl doGoogleSearch "****license-key****" wsdlpull 1 5 0 1 1 1 1 1
Get a dictionary/thesarus on your command line
wsdl http://services.aonaware.com/DictService/DictService.asmx?WSDL DefineInDict wn thesaurus
wsdl http://services.aonaware.com/DictService/DictService.asmx?WSDL DefineInDict moby-thes thesaurus
vlock
vlock is a program to lock one or more sessions on the Linux console. This is especially useful for Linux machines which have multiple users with access to the console. One user may lock his or her session(s) while still allowing other users to use the system on other virtual consoles. If desired, the entire console may be locked and virtual console can be switching disabled.
logapp
Logapp is a wrapper utility that helps supervise the execution of applications that produce heavy console output (e.g. make, CVS, and Subversion). It does this by logging, trimming, and coloring each line of the output before displaying it.
wsdlpull is a C++ web services client library. It includes a WSDL Parser,a XSD Schema Parser and Validator and XML Parser and serializer and an API and command line tool for dynamic WSDL inspection and invocation.
wsdlpull comes with a generic web service client.Using wsdlpull's wsdl tool you can invoke most web services from command line without writing any code like this!!
Invoking the popular stock quotes web service and the currency exchange services
wsdl http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsdl getQuote SYMBOL
wsdl http://www.xmethods.net/sd/2001/CurrencyExchangeService.wsdl getRate "United States" India
Get the local time in you city
wsdl http://www.nanonull.com/TimeService/TimeService.asmx?wsdl getCityTime Tokyo
Or a more complex google search whose wsdl is included in the test directory.Get the first 5 google search results for 'wsdlpull'
wsdl GoogleSearch.wsdl doGoogleSearch "****license-key****" wsdlpull 1 5 0 1 1 1 1 1
Get a dictionary/thesarus on your command line
wsdl http://services.aonaware.com/DictService/DictService.asmx?WSDL DefineInDict wn thesaurus
wsdl http://services.aonaware.com/DictService/DictService.asmx?WSDL DefineInDict moby-thes thesaurus
vlock
vlock is a program to lock one or more sessions on the Linux console. This is especially useful for Linux machines which have multiple users with access to the console. One user may lock his or her session(s) while still allowing other users to use the system on other virtual consoles. If desired, the entire console may be locked and virtual console can be switching disabled.
logapp
Logapp is a wrapper utility that helps supervise the execution of applications that produce heavy console output (e.g. make, CVS, and Subversion). It does this by logging, trimming, and coloring each line of the output before displaying it.
Thursday, August 02, 2007
todays links
http://www.linuxinsider.com/rsstory/58471.html
http://immike.net/blog/2007/08/01/what-is-the-completely-fair-scheduler/
http://www.telegraph.co.uk/news/main.jhtml?xml=/news/2007/07/30/wvinci130.xml&CMP=ILC-mostviewedbox
http://www.desktoplinux.com/news/NS6760276000.html
http://www.inc.com/news/articles/200707/time.html
http://immike.net/blog/2007/08/01/what-is-the-completely-fair-scheduler/
http://www.telegraph.co.uk/news/main.jhtml?xml=/news/2007/07/30/wvinci130.xml&CMP=ILC-mostviewedbox
http://www.desktoplinux.com/news/NS6760276000.html
http://www.inc.com/news/articles/200707/time.html
Sunday, July 15, 2007
links to check
http://polishlinux.org/howtos/screen-tips-tricks/ -- screen tricks
http://www.linux.com/feature/116693 -- system optimization
http://www.linux.com/articles/114161 -- cli magic - video on cli
http://amjith.blogspot.com/2007/07/visual-diff-tools-in-linux.html
http://www.pcmag.com/article2/0,1895,2147447,00.asp -- reinvent modern computing
http://www.fsdaily.com/Opposition/Misleading_InformationWeek_GPLv3_article/
http://www.linux.com/feature/116693 -- system optimization
http://www.linux.com/articles/114161 -- cli magic - video on cli
http://amjith.blogspot.com/2007/07/visual-diff-tools-in-linux.html
http://www.pcmag.com/article2/0,1895,2147447,00.asp -- reinvent modern computing
http://www.fsdaily.com/Opposition/Misleading_InformationWeek_GPLv3_article/
Saturday, July 14, 2007
playing 3wplayer files in linux
use the attached perl script
Usage: perl 3wplayer.pl avi_3wplayer_only.avi new_avi_file.avi
thanks to angelushu
#thanks to angelushu
# Turn of output buffer
$|++;
# The key for XOR decryption
my $key = 'UIERYQWORTWEHLKDNKDBISGLZNCBZCVNBADFIEYLJ' . chr(0);
my $times = 1;
print "Reading from \"$ARGV[0]\":\n";
$insize = -s $ARGV[0];
# Open the bogus AVI file
open(IN, $ARGV[0]) or die $!;
binmode IN;
# Read Header to check
read(IN, $buffer, 4);
if ($buffer ne 'RIFF') {
print " ERROR: \"$ARGV[0]\" is not an AVI\n";
close IN;
exit(1);
}
# Get Length of the unencrypted movie
read(IN, $buffer, 4);
$offset = unpack 'L', $buffer;
print " End of the unencrypted movie is at byte offset $offset\n";
# Jump to the read offset
seek(IN, $offset, 0);
# The next 4 or 8 Bytes seem to be either an unsinged long
# or an unsigned quad. This is another offset to jump
# over some filler bytes. Right now I can't really tell if
# it's 4 or 8 bytes, because I only have 1 file to test with.
# I assume it's a quad.
# low word
read(IN, $buffer, 4);
$offlo = unpack 'L', $buffer;
# high word
read(IN, $buffer, 4);
$offhi = unpack 'L', $buffer;
# Calculate offset
$offset = $offhi * 4294967296 + $offlo;
print " Offset after the unencrypted movie is $offset\n";
seek(IN, $offset, 0);
# Then there seem to be another 100 filler bytes
# with value 0xff. Jump over those too, to get
# to the offset where the real movie starts.
printf " Adding extra filler bytes, final offset is %s\n", $offset+100;
seek(IN, 100, 1);
# Update the size
$insize -= $offset+100;
# Open a file for writing the decrypted data to
print "Decrypting to \"$ARGV[1]\":\n";
open(OUT, ">$ARGV[1]");
binmode OUT;
truncate OUT, 0;
$bytes = 0;
$klen = length($key);
# Read key length bytes, decrypt them and
# write them to the output file untill you reach
# the end of the file
while ( read(IN, $buffer, $klen) ) {
$buffer ^= $key;
print OUT $buffer;
$bytes += $klen;
# print the status
if ($times == 500)
{
printf "\r %d written (% .1f %%)", $bytes, ($bytes / $insize * 100);
$times=0;
}
++$times;
}
# Close both files
close OUT;
close IN;
print "\n\nDONE!\n";
Usage: perl 3wplayer.pl avi_3wplayer_only.avi new_avi_file.avi
thanks to angelushu
#thanks to angelushu
# Turn of output buffer
$|++;
# The key for XOR decryption
my $key = 'UIERYQWORTWEHLKDNKDBISGLZNCBZCVNBADFIEYLJ' . chr(0);
my $times = 1;
print "Reading from \"$ARGV[0]\":\n";
$insize = -s $ARGV[0];
# Open the bogus AVI file
open(IN, $ARGV[0]) or die $!;
binmode IN;
# Read Header to check
read(IN, $buffer, 4);
if ($buffer ne 'RIFF') {
print " ERROR: \"$ARGV[0]\" is not an AVI\n";
close IN;
exit(1);
}
# Get Length of the unencrypted movie
read(IN, $buffer, 4);
$offset = unpack 'L', $buffer;
print " End of the unencrypted movie is at byte offset $offset\n";
# Jump to the read offset
seek(IN, $offset, 0);
# The next 4 or 8 Bytes seem to be either an unsinged long
# or an unsigned quad. This is another offset to jump
# over some filler bytes. Right now I can't really tell if
# it's 4 or 8 bytes, because I only have 1 file to test with.
# I assume it's a quad.
# low word
read(IN, $buffer, 4);
$offlo = unpack 'L', $buffer;
# high word
read(IN, $buffer, 4);
$offhi = unpack 'L', $buffer;
# Calculate offset
$offset = $offhi * 4294967296 + $offlo;
print " Offset after the unencrypted movie is $offset\n";
seek(IN, $offset, 0);
# Then there seem to be another 100 filler bytes
# with value 0xff. Jump over those too, to get
# to the offset where the real movie starts.
printf " Adding extra filler bytes, final offset is %s\n", $offset+100;
seek(IN, 100, 1);
# Update the size
$insize -= $offset+100;
# Open a file for writing the decrypted data to
print "Decrypting to \"$ARGV[1]\":\n";
open(OUT, ">$ARGV[1]");
binmode OUT;
truncate OUT, 0;
$bytes = 0;
$klen = length($key);
# Read key length bytes, decrypt them and
# write them to the output file untill you reach
# the end of the file
while ( read(IN, $buffer, $klen) ) {
$buffer ^= $key;
print OUT $buffer;
$bytes += $klen;
# print the status
if ($times == 500)
{
printf "\r %d written (% .1f %%)", $bytes, ($bytes / $insize * 100);
$times=0;
}
++$times;
}
# Close both files
close OUT;
close IN;
print "\n\nDONE!\n";
Thursday, July 12, 2007
interesting links
http://www.thelocal.se/7869/20070712/
http://arstechnica.com/news.ars/post/20070711-security-paper-shows-how-applications-can-steal-cpu-cycles.html
http://wearables.unisa.edu.au/mpx/?q=mpx
http://people.redhat.com/mingo/cfs-scheduler/sched-design-CFS.txt
http://www.ohloh.net/projects/897 -- is this available in dsl linux
http://www.ohloh.net/projects/6377
http://kmandla.wordpress.com/2007/05/02/howto-use-rtorrent-like-a-pro/ -- excellent article on how to use rtorrent
http://arstechnica.com/news.ars/post/20070711-security-paper-shows-how-applications-can-steal-cpu-cycles.html
http://wearables.unisa.edu.au/mpx/?q=mpx
http://people.redhat.com/mingo/cfs-scheduler/sched-design-CFS.txt
http://www.ohloh.net/projects/897 -- is this available in dsl linux
http://www.ohloh.net/projects/6377
http://kmandla.wordpress.com/2007/05/02/howto-use-rtorrent-like-a-pro/ -- excellent article on how to use rtorrent
Monday, June 18, 2007
Interesting apps for Linux
I came across the following apps that were of interest to me...for reference I have posted the app page and the summary from those pages about the app...
http://synergy2.sourceforge.net/
Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitor(s).
http://quicksynergy.sourceforge.net/
QuickSynergy is a graphical interface (GUI) for easily configuring Synergy2, an application that allows the user to share his mouse and keyboard between two or more computers.
http://www.acetoneteam.org/
AcetoneISO: The CD/DVD image manipulator for Linux
- Mount and Unmount ISO, MDF, NRG (if iso-9660 standard)
- Convert / Extract / Browse to ISO : *.bin *.mdf *.nrg *.img *.daa *.cdi *.xbx *.b5i *.bwi *.pdi
- Play a DVD Movie ISO with most used media players
- Generate an ISO from a Folder or CD/DVD
- Generate MD5 file of an image
- Encrypt an image
- Split image in X megabyte
- Compress with High Ratio an image
- Rip a PSX cd to *.bin to make it work with epsxe/psx emulators
- Service-Menu support for Konqueror
- Restore a lost CUE file of *.bin *.img
istanbul:
http://live.gnome.org/Istanbul
Istanbul is a desktop session recorder for the Free Desktop. It records your session into an Ogg Theora video file. To start the recording, you click on its icon in the notification area. To stop you click its icon again. It works on GNOME, KDE, XFCE and others.
Podcasts:
http://www.linuxreality.com/
http://www.linuxactionshow.com/?cat=4
http://synergy2.sourceforge.net/
Synergy lets you easily share a single mouse and keyboard between multiple computers with different operating systems, each with its own display, without special hardware. It's intended for users with multiple computers on their desk since each system uses its own monitor(s).
http://quicksynergy.sourceforge.net/
QuickSynergy is a graphical interface (GUI) for easily configuring Synergy2, an application that allows the user to share his mouse and keyboard between two or more computers.
http://www.acetoneteam.org/
AcetoneISO: The CD/DVD image manipulator for Linux
- Mount and Unmount ISO, MDF, NRG (if iso-9660 standard)
- Convert / Extract / Browse to ISO : *.bin *.mdf *.nrg *.img *.daa *.cdi *.xbx *.b5i *.bwi *.pdi
- Play a DVD Movie ISO with most used media players
- Generate an ISO from a Folder or CD/DVD
- Generate MD5 file of an image
- Encrypt an image
- Split image in X megabyte
- Compress with High Ratio an image
- Rip a PSX cd to *.bin to make it work with epsxe/psx emulators
- Service-Menu support for Konqueror
- Restore a lost CUE file of *.bin *.img
istanbul:
http://live.gnome.org/Istanbul
Istanbul is a desktop session recorder for the Free Desktop. It records your session into an Ogg Theora video file. To start the recording, you click on its icon in the notification area. To stop you click its icon again. It works on GNOME, KDE, XFCE and others.
Podcasts:
http://www.linuxreality.com/
http://www.linuxactionshow.com/?cat=4
Subscribe to:
Posts (Atom)