<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-11421583</id><updated>2011-07-28T11:57:16.531-07:00</updated><title type='text'>OpEn iNfiDel</title><subtitle type='html'>a diary of an open source advocate</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11421583.post-114431735707063909</id><published>2006-04-06T02:54:00.000-07:00</published><updated>2006-04-06T02:57:41.306-07:00</updated><title type='text'>Generating SSL Key</title><content type='html'>Step one - create the key and request:&lt;br /&gt;&lt;br /&gt;#  openssl req -new &gt; new.cert.csr&lt;br /&gt;&lt;br /&gt;Step two - remove the passphrase from the key (optional):&lt;br /&gt;&lt;br /&gt;#  openssl rsa -in privkey.pem -out new.cert.key&lt;br /&gt;&lt;br /&gt;Step three - convert request into signed cert:&lt;br /&gt;&lt;br /&gt;#   openssl x509 -in new.cert.csr -out new.cert.cert -req -signkey&lt;br /&gt;new.cert.key -days 365&lt;br /&gt;&lt;br /&gt;The Apache-SSL directives that you need to use the resulting cert are:&lt;br /&gt;&lt;br /&gt;  SSLCertificateFile /path/to/certs/new.cert.cert&lt;br /&gt;  SSLCertificateKeyFile /path/to/certs/new.cert.key&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11421583-114431735707063909?l=litolampitoc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/114431735707063909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11421583&amp;postID=114431735707063909' title='40 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/114431735707063909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/114431735707063909'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/2006/04/generating-ssl-key.html' title='Generating SSL Key'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>40</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11421583.post-111804637802911992</id><published>2005-06-06T01:26:00.000-07:00</published><updated>2005-06-06T01:26:18.036-07:00</updated><title type='text'>Activating simultaneous login limit on Freeradius</title><content type='html'>&lt;p class="mobile-post"&gt;For those who are too lazy to read the Simultaneous-Use document in&lt;br /&gt;Freeradius 1.0.1, here's how to do it, but I opted to use SNMP_Session&lt;br /&gt;and BER modules:&lt;/p&gt;&lt;p class="mobile-post"&gt;1. Download SNMP_Session and BER from &lt;/p&gt;&lt;p class="mobile-post"&gt;http://www.switch.ch/misc/leinen/snmp/perl/&lt;/p&gt;&lt;p class="mobile-post"&gt;2. Extract and&lt;/p&gt;&lt;p class="mobile-post"&gt;#cd SNMP_Session-1.07/ &lt;br /&gt;#perl Makefile.PL&lt;br /&gt;#make test&lt;br /&gt;#make install&lt;/p&gt;&lt;p class="mobile-post"&gt;3. Edit /etc/raddb/users file and insert the following lines:&lt;/p&gt;&lt;p class="mobile-post"&gt;DEFAULT Simultaneous-Use := 1&lt;br /&gt;          Fall-Through = 1&lt;/p&gt;&lt;p class="mobile-post"&gt;(It may differ if you want to define it under a group, but it should&lt;br /&gt;be one instance)&lt;/p&gt;&lt;p class="mobile-post"&gt;4. Edit /etc/raddb/nasspaswd and add:&lt;/p&gt;&lt;p class="mobile-post"&gt;&amp;lt;ip address of NAS&amp;gt; SNMP community&lt;/p&gt;&lt;p class="mobile-post"&gt;5. Restart radius&lt;/p&gt;&lt;p class="mobile-post"&gt;You're done!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11421583-111804637802911992?l=litolampitoc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/111804637802911992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11421583&amp;postID=111804637802911992' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111804637802911992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111804637802911992'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/2005/06/activating-simultaneous-login-limit-on.html' title='Activating simultaneous login limit on Freeradius'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11421583.post-111804389389106018</id><published>2005-06-06T00:44:00.000-07:00</published><updated>2005-06-06T00:44:53.896-07:00</updated><title type='text'>Installing PERL modules in Unix/Linux</title><content type='html'>&lt;p class="mobile-post"&gt;There are 3 normal ways to install a Perl module on a Unix machine.&lt;br /&gt;Which one you use will depend on a number of factors, the most important&lt;br /&gt;one being whether you have root privileges on the machine.&lt;/p&gt;&lt;p class="mobile-post"&gt;1. Compile&lt;/p&gt;&lt;p class="mobile-post"&gt;The standard way to install a Perl module on Unix is to change into the&lt;br /&gt;directory that was created when you unpacked the .tar.gz file, and then&lt;br /&gt;type the following sequence of commands:&lt;/p&gt;&lt;p class="mobile-post"&gt;        perl Makefile.PL&lt;br /&gt;        make&lt;br /&gt;        make test&lt;br /&gt;        make install&lt;/p&gt;&lt;p class="mobile-post"&gt;This will create a makefile for you, then compile the module, test it,&lt;br /&gt;and put it in the correct location for you. This requires that you are&lt;br /&gt;logged in as root, so that you can copy files to the Perl library&lt;br /&gt;directory, and various other places on your system where the&lt;br /&gt;installation will put files.&lt;/p&gt;&lt;p class="mobile-post"&gt;If you do not have root permissions on the machine where you want to&lt;br /&gt;install the module, such as if you wish to install a module in your home&lt;br /&gt;directory, just change one of those commands. Instead of&lt;/p&gt;&lt;p class="mobile-post"&gt;        perl Makefile.PL&lt;/p&gt;&lt;p class="mobile-post"&gt;type&lt;/p&gt;&lt;p class="mobile-post"&gt;        perl Makefile.PL PREFIX=/path/to/where/you/want/it&lt;/p&gt;&lt;p class="mobile-post"&gt;That will put all the files in that directory. In order to use modules&lt;br /&gt;that are stored in that location, you will need to add the following&lt;br /&gt;like to your Perl programs:&lt;/p&gt;&lt;p class="mobile-post"&gt;        use lib /path/to/where/you/want/it&lt;/p&gt;&lt;p class="mobile-post"&gt;2. CPAN.pm&lt;/p&gt;&lt;p class="mobile-post"&gt;Perl comes with a very handy module called CPAN.pm that automates the&lt;br /&gt;process of downloading and installing a Perl module. There are some&lt;br /&gt;modules that are really helpful to have installed before you use&lt;br /&gt;CPAN.pm. They are not absolutely required, but they make life a lot&lt;br /&gt;easier. These modules are:&lt;/p&gt;&lt;p class="mobile-post"&gt;        Digest::MD5&lt;br /&gt;        HTML::Parser&lt;br /&gt;        MIME::Base64&lt;br /&gt;        URI&lt;br /&gt;        libnet&lt;br /&gt;        libwww&lt;/p&gt;&lt;p class="mobile-post"&gt;You can download and install those modules as described in the section&lt;br /&gt;above. Then you can load the CPAN.pm shell with the following command:&lt;/p&gt;&lt;p class="mobile-post"&gt;        perl -MCPAN -e shell&lt;/p&gt;&lt;p class="mobile-post"&gt;This also requires that you are root.&lt;/p&gt;&lt;p class="mobile-post"&gt;The first time that you run the CPAN shell, you will need to make some&lt;br /&gt;configurations. It's usually OK to select all the defaults. When you&lt;br /&gt;come to the section about choosing a CPAN mirror, try to choose one that&lt;br /&gt;is located near to you.&lt;/p&gt;&lt;p class="mobile-post"&gt;Once you have typed the above command, you will be at an interactive&lt;br /&gt;prompt with a huge number of options to make your life easier. The only&lt;br /&gt;ones that I will talk about here are the search feature, and the&lt;br /&gt;installation feature.&lt;/p&gt;&lt;p class="mobile-post"&gt;To find a particular module, use the i command, followed by an&lt;br /&gt;expression that you want to search for:&lt;/p&gt;&lt;p class="mobile-post"&gt;        cpan&amp;gt; i /Time/&lt;/p&gt;&lt;p class="mobile-post"&gt;CPAN.pm will go out to the CPAN mirrror that you selected, download the&lt;br /&gt;list of modules, and tell you which ones match the search word.&lt;/p&gt;&lt;p class="mobile-post"&gt;To install a module, just type:&lt;/p&gt;&lt;p class="mobile-post"&gt;        cpan&amp;gt; install Time::CTime&lt;/p&gt;&lt;p class="mobile-post"&gt;CPAN.pm takes care of the whole process. It downloads the compressed&lt;br /&gt;file, unpacks it, builds it, and installs it all for you, unless there&lt;br /&gt;is a problem with the installation process. If there are other modules&lt;br /&gt;on which this module relies, it will also download and install those.&lt;/p&gt;&lt;p class="mobile-post"&gt;3. Manually placing files&lt;/p&gt;&lt;p class="mobile-post"&gt;Occasionally, you will not be able to use any of the methods above to&lt;br /&gt;install modules. This may be the case if you are a particularly under-&lt;br /&gt;privileged user - perhaps you are renting web space on a server, where&lt;br /&gt;you are not given rights to do anything.&lt;/p&gt;&lt;p class="mobile-post"&gt;It is possible, for some modules, to install the module without&lt;br /&gt;compiling anything, and so you can just drop the file in place and have&lt;br /&gt;it work. Without going into a lot of the detail, some Perl modules&lt;br /&gt;contain a portion written in some other language (such as C or C++) and&lt;br /&gt;some are written in just in Perl. It is the latter type that this method&lt;br /&gt;will work for. How will you know? Well, if there are no files called&lt;br /&gt;something.c and something.h in the package, chances are that it is a&lt;br /&gt;module that contains only Perl code.&lt;/p&gt;&lt;p class="mobile-post"&gt;In these cases, you can just unpack the file, and then copy just the&lt;br /&gt;*.pm files to a directory from which you will run the modules. Two&lt;br /&gt;examples of this should suffice to illustrate how this is done.&lt;/p&gt;&lt;p class="mobile-post"&gt;IniConf.pm is a wonderful little module that allows you to read&lt;br /&gt;configuration information out of a .ini-style config file. IniConf.pm is&lt;br /&gt;written only in Perl, and has no C portion. When you unpack the .tar.gz&lt;br /&gt;file that you got from CPAN, you will find several files in there, and&lt;br /&gt;one of them is called IniConf.pm. This is the only file that you are&lt;br /&gt;actually interested in. Copy that file to the directory where you have&lt;br /&gt;the Perl programs that will be using this module. You can then use the&lt;br /&gt;module as you would if it was installed ``correctly,'' with just the&lt;br /&gt;line:&lt;/p&gt;&lt;p class="mobile-post"&gt;        use IniConf;&lt;/p&gt;&lt;p class="mobile-post"&gt;Time::CTime is another very handy module that lets you print times in&lt;br /&gt;any format that strikes your fancy. It is written just in Perl, without&lt;br /&gt;a C component. You will install it just the same way as you did with&lt;br /&gt;IniConf, except that the file, called CTime.pm, must be placed in a&lt;br /&gt;subdirectory called Time. The colons, as well as indicating an&lt;br /&gt;organization of modules, also indicates a directory structure on your&lt;br /&gt;file system.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11421583-111804389389106018?l=litolampitoc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/111804389389106018/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11421583&amp;postID=111804389389106018' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111804389389106018'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111804389389106018'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/2005/06/installing-perl-modules-in-unixlinux.html' title='Installing PERL modules in Unix/Linux'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11421583.post-111803823445135516</id><published>2005-03-30T23:04:00.000-08:00</published><updated>2005-06-05T23:17:36.096-07:00</updated><title type='text'>compiling kernel the Debian way</title><content type='html'>No, I'm not avid fan of Debian, but I use it in work and I like it's speed and simplicity. For a note, here's how to compile kernel with Debian (Woody) in a flash.&lt;br /&gt;&lt;p&gt;First login to your Debian machine on the command line as root. Install the prerequisites that we need to compile the new kernel:&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;#apt-get install kernel-package ncurses-dev fakeroot wget bzip2&lt;/p&gt;    &lt;p&gt;Then go to /usr/src:&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;#cd /usr/src&lt;/p&gt;    &lt;p&gt;Then get the latest Linux kernel source (or the kernel source you need) from http://www.kernel.org/pub/linux/kernel/v2.4/:&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;#wget http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.23.tar.bz2&lt;/p&gt;    &lt;p&gt;Unpack the kernel sources:&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;#tar xjf linux-2.4.23.tar.bz2&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;#cd linux-2.4.23/&lt;/p&gt;    &lt;p&gt;It is normally a good idea to take the configuration of your existing (working!) kernel as a starting point for the configuration of your new kernel. Usually the current kernel configuration is saved in a file under /boot, e.g. /boot/config-2.4.18-bf2.4. We will load this configuration and then do the changes we desire (e.g. add quota support, iptables support, etc.).&lt;/p&gt;    &lt;p&gt;&lt;span style="color: rgb(255, 102, 102);"&gt;make menuconfig&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; Then run the following commands:&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;make dep&lt;br /&gt;make-kpkg clean&lt;br /&gt;fakeroot make-kpkg –revision=custom.1.0 kernel_image&lt;/p&gt;    &lt;p&gt;If the compilation stops with an error, run&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;make clean&lt;/p&gt;    &lt;p&gt;and then re-run the previous commands starting with&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;make menuconfig&lt;/p&gt;    &lt;p&gt;Change the kernel configuration where the error occurs (e.g., the compilation often gives back errors for some WAN modules, so leave them out if you do not need them). If no error occurs you will find the new kernel as a Debian package called kernel-image-2.4.23_custom.1.0_i386.deb under /usr/src.&lt;/p&gt;    &lt;p style="color: rgb(255, 0, 0);"&gt;cd ../&lt;/p&gt;    &lt;p&gt;Now you can install the new kernel by doing the following:&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;dpkg -i kernel-image-2.4.23_custom.1.0_i386.deb&lt;/p&gt;    &lt;p&gt;We are almost finished now. Reboot your machine:&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;shutdown -r now&lt;/p&gt;    &lt;p&gt;and if everything is ok your machine should come up with the new kernel. You can run&lt;/p&gt;    &lt;p style="color: rgb(255, 102, 102);"&gt;uname -a&lt;/p&gt;    &lt;p&gt;to verify that.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;Good luck! &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11421583-111803823445135516?l=litolampitoc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/111803823445135516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11421583&amp;postID=111803823445135516' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111803823445135516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111803823445135516'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/2005/03/compiling-kernel-debian-way.html' title='compiling kernel the Debian way'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11421583.post-111803854310499989</id><published>2005-03-26T23:13:00.000-08:00</published><updated>2005-06-05T23:15:43.110-07:00</updated><title type='text'>Linux lags Windows in new security report</title><content type='html'>&lt;div class="entry"&gt;       &lt;p&gt;A report released today (by Security Innovations) indicates Windows Server 2003 may actually be more secure than its most popular Linux competitor when it comes to vulnerabilities&lt;br /&gt;and the time it takes to patch them.  Paper is at, &lt;/p&gt;  &lt;p style="color: rgb(153, 0, 0);"&gt;&lt;em&gt;http://www.securityinnovation.com/resources/linux_windows.shtml&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;Another Microsoft funded research..according to Thompson:&lt;br /&gt; &lt;em&gt;“We’ve gotten funding from Microsoft ..”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;The study is limited:&lt;/p&gt;  &lt;p style="color: rgb(153, 0, 0);"&gt;&lt;em&gt;“This study appears to be more concerned with vulnerability counts and patch-release cycles than in actual security or securability.”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;here’s the method:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;In the Security Innovation report, the trio took requirements for three typical enterprise Web server environments and scrutinized known vulnerabilities and subsequent patches. The Windows Server 2003 platform included ASP.NET for scripting, a SQL Server 2000 database server and Microsoft Internet Information Services 6.0 Web server. Any function was accepted by default during installation (assuming many admins just keep clicking the Next button during the process). On the Linux side, the team used two different configurations for Red Hat Enterprise Linux 3.0. Both ran PHP for scripting, a MySQL database server and an Apache Web server. But one version included high modularity, where essentially the researchers installed whatever Red Hat had available; the other was minimally configured to include only core components.&lt;/span&gt;&lt;br /&gt;&lt;/em&gt;&lt;br /&gt;the problem is..&lt;/p&gt;  &lt;p style="color: rgb(153, 0, 0);"&gt;“Most of us in the Linux security community have been saying for years that the average Linux distribution — Red Hat, SuSE, etc. — isn’t terribly secure ‘by default.’ Good security comes from careful configuration, not by running an installer,”&lt;/p&gt;  &lt;p&gt;and RedHat data doesn’t seem to follow the study:&lt;/p&gt;  &lt;p&gt;&lt;em&gt;The Red Hat Security Response Team publish the data allowing anyone to run these metrics for themselves, see &lt;a href="http://people.redhat.com/mjc/"&gt;http://people.redhat.com/mjc/&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;some comments from the community:&lt;/p&gt;  &lt;p style="color: rgb(153, 0, 0);"&gt;&lt;em&gt;Todays Security advice from Secunia for Mandrake 10.1 is that all known vulnerabilities are patched see http://secunia.com/product/4198/ Todays Security advice from Secunia for Windows Server 2003 has 13% of known vulnerabilities not patched see http://secunia.com/product/1173/ and 4 of these problems date back to 2003! So the maximum time MS takes to patch vulnerabilities in Server 2003 is 2 years and still counting - where is that mentioned in this “research”?&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;from:&lt;/p&gt;  &lt;p style="color: rgb(0, 0, 102);"&gt;http://searchsecurity.techtarget.com/originalContent/0,289142,sid14_gci1069985,00.html?track=NL-105&amp;amp;ad=509123&lt;/p&gt;     &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11421583-111803854310499989?l=litolampitoc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/111803854310499989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11421583&amp;postID=111803854310499989' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111803854310499989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111803854310499989'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/2005/03/linux-lags-windows-in-new-security.html' title='Linux lags Windows in new security report'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11421583.post-111137943482749211</id><published>2005-03-20T19:58:00.000-08:00</published><updated>2005-03-20T20:30:34.830-08:00</updated><title type='text'>old PROM SPARC32 problem during Debian Woody installation</title><content type='html'>Got an ancient Ultra Sparc II (sun4m) whose task before is a firewall running on Solaris 2.6, it's got 448MB RAM and 10Mpbs Quad Ethernet port. I decided to install Debian on it as it's the only distro that supports sun4m, AFAIK. I had a hard time looking for Gentoo support but it was my first choice.  I initially installed Debian3  Woody for SPARC. But I went into problems during the reboot to continue my installation for the base packages, because of the old PROM that does not support more than one 1GB under the /boot partition, the error was:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;SILO buggy old PROMs don't allow reading past 1GB from start of the disk..&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;Read error on block 327684&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;Cannot find /etc/silo.conf (Attempt to read block from filesystem resulted in short read)&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic;"&gt;Couldn't load /etc/silo.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To solve this, I need to boot from my Debian CD installer on rescue mode, and mount / and /boot partition.&lt;br /&gt;Then do the following steps:&lt;br /&gt;&lt;br /&gt;ln -s . /boot/etc&lt;br /&gt;ln -s . /boot/boot&lt;br /&gt;mv /etc/silo.conf /boot&lt;br /&gt;ln -s /boot/silo.conf /etc/silo.conf&lt;br /&gt;&lt;br /&gt;path may vary as "target" may be appended before the directories for the mount point.&lt;br /&gt;&lt;br /&gt;Then, edit /etc/kernel-img.conf, and add&lt;br /&gt;&lt;span style="font-style: italic;"&gt;link_in_boot = Yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There was no vi editor installed yet, so I need to use nano-tiny.&lt;br /&gt;&lt;br /&gt;Reboot my system and installation continued successfully.&lt;br /&gt;&lt;br /&gt;I'd like to thank Ben Collins and Nathan Norman of debian-sparc mailing list for the help.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11421583-111137943482749211?l=litolampitoc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/111137943482749211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11421583&amp;postID=111137943482749211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111137943482749211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111137943482749211'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/2005/03/old-prom-sparc32-problem-during-debian.html' title='old PROM SPARC32 problem during Debian Woody installation'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-11421583.post-111074137312572879</id><published>2005-03-13T11:15:00.000-08:00</published><updated>2005-03-13T11:16:13.126-08:00</updated><title type='text'>welcome to my linux notes</title><content type='html'>&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/11421583-111074137312572879?l=litolampitoc.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://litolampitoc.blogspot.com/feeds/111074137312572879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=11421583&amp;postID=111074137312572879' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111074137312572879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11421583/posts/default/111074137312572879'/><link rel='alternate' type='text/html' href='http://litolampitoc.blogspot.com/2005/03/welcome-to-my-linux-notes.html' title='welcome to my linux notes'/><author><name>Lito Lampitoc</name><uri>http://www.blogger.com/profile/15418534905966133536</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
