<?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:blogger='http://schemas.google.com/blogger/2008' 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-7650770028738363247</id><updated>2026-07-14T00:22:46.615+05:30</updated><category term="linux"/><category term="gentoo"/><category term="widyachacra"/><category term="log server"/><category term="password"/><category term="ssh"/><category term="syslog"/><category term="syslog-ng"/><category term="virtualization"/><category term="vritualbox"/><title type='text'>The Blog of Widyachacra</title><subtitle type='html'>I use this Blog to post some tips for my techie friends.&#xa;&#xa;Here I would like to give my special thanks for couple of people who has helped me lot.&#xa;&#xa;* My Swimming Guru: Subhash Punyasoma&#xa;* My 2-Wheel Guru: Dhammika Janaka Kaluarachchi&#xa;* My new carrier introduced by: Suranga Kasthuriarachchi&#xa;* My Linux Guru: Gentoo.Org&#xa;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-1412159820587788897</id><published>2014-06-11T14:43:00.001+05:30</published><updated>2014-06-11T14:43:28.091+05:30</updated><title type='text'></title><content type='html'>&lt;br /&gt;&lt;h2&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;How to change a forgotten root password in Red Hat Enterprise Linux 7 &lt;/span&gt;&lt;/h2&gt;
&lt;br /&gt;Starting with Red Hat Enterprise Linux 7 Beta, users have two means to change a forgotten root password: &lt;br /&gt;&lt;br /&gt;1) With rescue media (recommended - least risky)&lt;br /&gt; 2) Without rescue media (risky)&lt;br /&gt; 3) Without rescue media, but with an autorelabel (most risky) &lt;br /&gt;Using Rescue Media (boot.iso) &lt;br /&gt;Boot from boot.iso, choose Troubleshooting &amp;gt; Rescue a system&lt;br /&gt;Mount the system normally (not read-only), i.e. default, OK&lt;br /&gt;At shell prompt, chroot /mnt/sysimage&lt;br /&gt;passwd root&lt;br /&gt;reboot &lt;br /&gt;Without using Rescue Media (boot.iso) &lt;br /&gt;Boot with &#39;init=/bin/bash&#39; argument&lt;br /&gt;/usr/sbin/load_policy -i&lt;br /&gt;mount -o remount,rw /&lt;br /&gt;passwd root&lt;br /&gt;Restart the system. System boots and user is able to login correctly in enforcing mode.</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/1412159820587788897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/1412159820587788897' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/1412159820587788897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/1412159820587788897'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2014/06/how-to-change-forgotten-root-password.html' title=''/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-8740453623811479687</id><published>2013-05-16T22:24:00.002+05:30</published><updated>2013-05-16T22:39:44.306+05:30</updated><title type='text'>Remove a GPT disk label/partition</title><content type='html'>&lt;h2&gt;
&lt;u&gt;Remove a GPT disk label/partition&lt;/u&gt;&lt;/h2&gt;
&lt;br /&gt;
If you want to install Microsoft Windows 7 or any latest or previous version on a disk that has partitioned using GPT table, then you have to remove the existing GTP table 1st. For my solution you need to boot from a Linux CD/DVD. &lt;br /&gt;
&lt;br /&gt;
Here are the steps;&lt;br /&gt;
&lt;br /&gt;
1.) boot from a Linux CD/DVD(Gentoo Live DVD, SUSE DVD, FEDORA DVD).&lt;br /&gt;
&lt;br /&gt;
2.) Once boot from the DVD; Type below commands to get the existing disk information like cylinders, heads &amp;amp; sectors. &lt;br /&gt;
&lt;br /&gt;
#sfdisk -g /dev/sda&lt;br /&gt;
/dev/vda: 309995 cylinders, 16 heads, 63 sectors/track&lt;br /&gt;
&lt;br /&gt;
3.) Type below command to get the disk size. &lt;br /&gt;
&lt;br /&gt;
#echo 309995*16*63|bc&lt;br /&gt;
312474960&lt;br /&gt;
&lt;br /&gt;
4.) I&#39;m using &#39;dd&#39; command to remove the GPT table from the disk. &lt;br /&gt;
&lt;br /&gt;
GPT table details on the 1st 512 bytes&lt;br /&gt;
#dd if=/dev/zero of=/dev/vda bs=512 count=1&lt;br /&gt;
&lt;br /&gt;
GPT table details on the last 1024 bytes. &lt;br /&gt;
#dd if=/dev/zero of=/dev/vda bs=1024 count=1 seek=312474960&lt;br /&gt;
&lt;br /&gt;
Thats all. &lt;br /&gt;
&lt;br /&gt;
Have a BIG fun!&lt;br /&gt;
&lt;br /&gt;
බුදු සරණයි!&amp;nbsp; (Budu saranai!)</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/8740453623811479687/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/8740453623811479687' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/8740453623811479687'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/8740453623811479687'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2013/05/remove-gpt-disk-labelpartition.html' title='Remove a GPT disk label/partition'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-8809535186706647710</id><published>2011-06-04T16:42:00.000+05:30</published><updated>2011-06-04T16:42:13.862+05:30</updated><title type='text'>Announcement of CLP Achievement</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: lime;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-2702202404726816187&quot; style=&quot;line-height: 1.4; position: relative; width: 506px;&quot;&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;b style=&quot;background-color: black;&quot;&gt;Now I&#39;m officially a Novell Certified Linux Professional!&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Last 30th May 2011 I gave my CL&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;P exam @SLIIT and... passed it! Yeah finally I&#39;m yet another CLP guy.. I feel quite proud and happy of this accomplishment and really glad of it.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;I made bit of sacrifices &amp;amp; efforts to achieve this.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;But I&#39;m happy now coz finally i could reached my goal without attending to any courses.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Now I can move on to my next goals...&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Have a Fun!&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: black; color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Theruwan Saranai!&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/8809535186706647710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/8809535186706647710' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/8809535186706647710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/8809535186706647710'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2011/06/announcement-of-clp-achievement.html' title='Announcement of CLP Achievement'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-2702202404726816187</id><published>2010-10-24T13:13:00.000+05:30</published><updated>2010-10-24T13:13:12.951+05:30</updated><title type='text'>Announcement of RHCE Achievement</title><content type='html'>&lt;style type=&quot;text/css&quot;&gt;
p { margin-bottom: 0.08in; }
&lt;/style&gt;  &lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;b&gt;Now I&#39;m officially a Red Hat Certified Engineer!&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;Last 16th Oct 2010 I gave my RHCE exam @OST and... passed it! Yeah finally I&#39;m yet another RHCE I feel quite proud and happy of this accomplishment and really glad I could pass it on the first try.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;I had my exam starting at 10:30am but OST announced its starting time around 9am. I think this is normal coz its OST &amp;amp; the examiner was a Indian guy :-D.  &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;When I arrived at the OST there were around 10ppl, most of them were do their 2nd or 3rd try.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;The keyboard that came with the PC was more than 10years old. :-( f* OST.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;How ever I could complete all the exam stuff early 1:15hrs.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;Around 14:00 we were asked to stop typing and leave the lab.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;I received my &#39;Exam Lab results&#39; after 5days by saying &#39;Congratulations - You are now certified as a Red Hat Certified Engineer&quot;&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;I made lot of sacrifices, lack of sleep &amp;amp; efforts to achieve this.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;But I&#39;m happy now coz finally i could reached my goal without attending to any Red Hat courses.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;Now I can move on to my next goals the first one being RHCA.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;Have a Fun! &lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0in;&quot;&gt;Theruwan Saranai! &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/2702202404726816187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/2702202404726816187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/2702202404726816187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/2702202404726816187'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/10/announcement-of-rhce-achievement.html' title='Announcement of RHCE Achievement'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-7791573683484636400</id><published>2010-10-08T22:34:00.002+05:30</published><updated>2010-10-08T22:36:29.877+05:30</updated><title type='text'>How to Solve &#39;500 OOPS: vsftpd: refusing to run with writable anonymous root&#39;</title><content type='html'>500 OOPS: vsftpd: refusing to run with writable anonymous root;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Find the simple solution in below; 8-)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Don&#39;t make the main directory(default /var/ftp) writable by ftp(default ftp userid).&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
If the main directory is writable then anyone can change anything in that direcotry, including the bin directory which contains the commands that the anonymous user can run. This completely defeats the purpose of having chrooted directory.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
FTP anonymous chrooted root folder;&lt;br /&gt;
&lt;br /&gt;
dr-xr-xr-x&amp;nbsp; ftp ftp system_u:object_r:public_content_rw_t /var/ftp/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Subdirectory inside the root folder should make writable by anonymous user;&lt;br /&gt;
&lt;br /&gt;
drwxr-xr-x&amp;nbsp; ftp ftp system_u:object_r:public_content_rw_t /var/ftp/pub/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Have a BIG fun!&lt;br /&gt;
&lt;br /&gt;
Theruwan Saranai!</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/7791573683484636400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/7791573683484636400' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/7791573683484636400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/7791573683484636400'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/10/how-to-solve-500-oops-vsftpd-refusing.html' title='How to Solve &#39;500 OOPS: vsftpd: refusing to run with writable anonymous root&#39;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-5103939806865595744</id><published>2010-09-11T19:08:00.001+05:30</published><updated>2010-09-11T19:10:52.246+05:30</updated><title type='text'>How to fix the latest pykde4 error on Gentoo &#39;Failed to emerge kde-base/pykde4-4.5.1&#39;</title><content type='html'>&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;b&gt;Fixing the pykde4-4.5.1.ebuild on Gentoo;&lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Yesterday I saw the news of new kde 4.5.1 released by gentoo for ~amd64.&amp;nbsp;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Then i ran the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#emerge --sync &amp;amp;&amp;amp; emerge -uND world&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;ohh my bad. it stopped my emerge by giving me the below error. :-( :-( :-(&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;--------------ERROR started---------------- &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;I got following error on my gentoo box. So, this leaded me to find a solution to fix this. &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module&lt;br /&gt;
make[2]: *** [python/pykde4/sip/akonadi/sipakonadipart0.cpp] Error 1&lt;br /&gt;
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2&lt;br /&gt;
make[1]: *** Waiting for unfinished jobs....&lt;br /&gt;
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module&lt;br /&gt;
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1&lt;br /&gt;
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2&lt;br /&gt;
sip: /var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1/python/pykde4/sip/kdecore/typedefs.sip:737: Mapped type has already been defined in another module&lt;br /&gt;
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Error 1&lt;br /&gt;
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2&lt;br /&gt;
make: *** [all] Error 2&lt;br /&gt;
emake failed&lt;br /&gt;
&amp;nbsp;* ERROR: kde-base/pykde4-4.5.1 failed:&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; Make failed!&lt;br /&gt;
&amp;nbsp;* &lt;br /&gt;
&amp;nbsp;* Call stack:&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ebuild.sh, line&amp;nbsp;&amp;nbsp; 56:&amp;nbsp; Called src_compile&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; environment, line 6370:&amp;nbsp; Called kde4-meta_src_compile&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; environment, line 3902:&amp;nbsp; Called kde4-base_src_compile&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; environment, line 3565:&amp;nbsp; Called cmake-utils_src_compile&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; environment, line 1744:&amp;nbsp; Called _execute_optionaly &#39;src_compile&#39;&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; environment, line&amp;nbsp; 647:&amp;nbsp; Called enable_cmake-utils_src_compile&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; environment, line 2113:&amp;nbsp; Called cmake-utils_src_make&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp; environment, line 1763:&amp;nbsp; Called die&lt;br /&gt;
&amp;nbsp;* The specific snippet of code:&lt;br /&gt;
&amp;nbsp;*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; emake &quot;$@&quot; || die &quot;Make failed!&quot;;&lt;br /&gt;
&amp;nbsp;* &lt;br /&gt;
&amp;nbsp;* If you need support, post the output of &#39;emerge --info =kde-base/pykde4-4.5.1&#39;,&lt;br /&gt;
&amp;nbsp;* the complete build log and the output of &#39;emerge -pqv =kde-base/pykde4-4.5.1&#39;.&lt;br /&gt;
&amp;nbsp;* The complete build log is located at &#39;/var/tmp/portage/kde-base/pykde4-4.5.1/temp/build.log&#39;.&lt;br /&gt;
&amp;nbsp;* The ebuild environment file is located at &#39;/var/tmp/portage/kde-base/pykde4-4.5.1/temp/environment&#39;.&lt;br /&gt;
&amp;nbsp;* S: &#39;/var/tmp/portage/kde-base/pykde4-4.5.1/work/pykde4-4.5.1&#39;&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt; Failed to emerge kde-base/pykde4-4.5.1, Log file:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;-------------ERROR details End-----------------&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
I took more than 2-3 hours :-D to find a solution on google &amp;amp; endup with below solution by my hand;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;postbody&quot;&gt;The problem is the pykde4-4.5.1.ebuild not calling to &quot;pykde4-mapped-type-fix.patch&quot; inside in the &#39;files&#39; directory. so I edited the ebuild to call the &#39;patch&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;postbody&quot;&gt;Please find the steps i used to solve this;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;postbody&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;postbody&quot;&gt;Step-1;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;#mkdir -p /root/widyaoverlays/kde/kde-base/pykde4/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;postbody&quot;&gt;#cp -r /usr/portage/kde-base/pykde4/* /root/widyaoverlays/kde/kde-base/pykde4/&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#cd /root/widyaoverlays/kde/kde-base/pykde4/&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#vi pykde4-4.5.1.ebuild&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Now you are inside the &#39;pykde4-4.5.1.ebuild&#39;&lt;br /&gt;
&lt;br /&gt;
Step-2;&lt;br /&gt;
find the below &#39;RDEPEND&#39; word in the &#39;pykde4-4.5.1.ebuild&#39; that you already opened.&lt;br /&gt;
use below command to find above word(&#39;RDEPEND&#39;)&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;press &#39;Esc&#39; key once --&amp;gt; press &#39;/&#39; key once &amp;amp; type RDEPEND &amp;amp; press &#39;Enter&#39; key. now you will find &quot;RDEPEND=&quot;${DEPEND}&quot;&quot;&amp;nbsp; --&amp;gt; press &#39;Esc&#39; key once --&amp;gt; press &#39;j&#39; key once --&amp;gt; press &#39;o&#39; key once --&amp;gt; now insert &quot; PATCHES=( &quot;${FILESDIR}/${PN}-mapped-type-fix.patch&quot; )&quot; without quotations. --&amp;gt; press &#39;Enter&#39; key once. --&amp;gt; press &#39;Esc&#39; key once --&amp;gt; press &#39;:&#39; key once --&amp;gt; press &#39;w&#39; key once --&amp;gt; press &#39;q&#39; key once (now you see like &#39;:wq&#39; without quotations) --&amp;gt; press &#39;Enter&#39; key once --&amp;gt; now goto Step-3;&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
---------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: Verdana,sans-serif;&quot;&gt;RDEPEND=&quot;${DEPEND}&quot; &lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;PATCHES=( &quot;${FILESDIR}/${PN}-mapped-type-fix.patch&quot; ) &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
pkg_setup() { &lt;br /&gt;
&amp;nbsp; &amp;nbsp;python_pkg_setup &lt;br /&gt;
&amp;nbsp; &amp;nbsp;kde4-meta_pkg_setup &lt;br /&gt;
} &lt;/div&gt;----------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
Step-3;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#ebuild pykde4-4.5.1.ebuild digest&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#emerge -av pykde4&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Have a BIG fun!&lt;br /&gt;
&lt;br /&gt;
Theruwan Saranai!</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/5103939806865595744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/5103939806865595744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/5103939806865595744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/5103939806865595744'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/09/how-to-fix-latest-pykde4-error-on.html' title='How to fix the latest pykde4 error on Gentoo &#39;Failed to emerge kde-base/pykde4-4.5.1&#39;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-6744061255983968271</id><published>2010-08-11T10:06:00.002+05:30</published><updated>2010-08-11T10:11:07.012+05:30</updated><title type='text'>Access the Internet using a Bandluxe c120(HSDPA) on Linux;</title><content type='html'>&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;b&gt;Modem details: Bandluxe c120(HSDPA)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;OS: Linux(any distro)&lt;/b&gt;&lt;u&gt;&lt;b&gt; &lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
Just follow the below steps; I&#39;m sure you will endup with &#39;Google access&#39;.&lt;br /&gt;
&lt;br /&gt;
1. &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$sudo su -&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
2. Insert Bandluxe data card into the Linux box&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
3. eject &#39;data card&#39; external storage device &lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#eject /dev/sdb1&lt;/span&gt; (you can find the correct device by #fdisk -l)&lt;br /&gt;
&lt;b&gt;***you must eject this device after you plug the modem. otherwise you can&#39;t access the internet.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
4. finding the detected device name&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#cat /proc/bus/usb/devices|less&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
then find the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Manufacturer=BandRich, Inc.&lt;/span&gt;&lt;br /&gt;
under that you may find bus details(Bus=02...)&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#dmesg|grep -i &quot;gsm modem&quot;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
above command will give you something like &#39;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ttyUSB0&lt;/span&gt; or &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;ttyUSB1&lt;/span&gt;...&#39;&lt;br /&gt;
&lt;br /&gt;
5. now edit the /etc/wvdial.conf&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#vi /etc/wvdial.conf&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
replace the below line with above details;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; &lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Modem = /dev/ttyUSB0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
6. &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#chmod u+s /usr/bin/wvdial&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
7. &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;#exit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
8. &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$wvdial&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
9. &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ping google.com&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Trebuchet MS&amp;quot;,sans-serif;&quot;&gt;Have a fun!&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;If you faced any difficulties when you workaround this, pl don&#39;t be hesitate to put a post here. I&#39;ll help you.&lt;/div&gt;&lt;div style=&quot;font-family: Georgia,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/6744061255983968271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/6744061255983968271' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/6744061255983968271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/6744061255983968271'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/08/bandluxe-c120hsdpa-on-linux-1.html' title='Access the Internet using a Bandluxe c120(HSDPA) on Linux;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-2016355025483535225</id><published>2010-07-11T08:22:00.000+05:30</published><updated>2010-07-11T08:22:29.432+05:30</updated><title type='text'>How to get a Solaris box online</title><content type='html'>1. Login as root&lt;br /&gt;
&lt;br /&gt;
2. cd /etc&lt;br /&gt;
&lt;br /&gt;
3. Edit /etc/hostname*&lt;br /&gt;
if you FQDN is srvih01.ihalagama.com. you should add srvih01 to below file&lt;br /&gt;
#vi /etc/hostname*&lt;br /&gt;
&lt;br /&gt;
4. Setup your /etc/hosts file&lt;br /&gt;
Make sure the second line has the correct IP address, hostname, and FQDN.&lt;br /&gt;
The first line is the loopback entry. Alone with #5, Solaris will known its name and IP address.&lt;br /&gt;
&lt;br /&gt;
127.0.0.1 localhost&lt;br /&gt;
192.168.78.131 &amp;nbsp;srvih01 srvih01.ihalagama.com loghost&lt;br /&gt;
&lt;br /&gt;
5. Edit /etc/nodename&lt;br /&gt;
&lt;br /&gt;
#echo &quot;srvih01&quot; &amp;gt; /etc/nodename&lt;br /&gt;
&lt;br /&gt;
6. Edit /etc/defaultrouter&lt;br /&gt;
&lt;br /&gt;
#echo &quot;192.168.78.142&quot; &amp;gt; /etc/defaultrouter&lt;br /&gt;
&lt;br /&gt;
7. Edit /etc/defaultdomain (this is optional. if you have a NIS domain. u have to add this)&lt;br /&gt;
&lt;br /&gt;
#echo &quot;ihalagama.com&quot; &amp;gt; /etc/defaultdomain&lt;br /&gt;
&lt;br /&gt;
8. Edit /etc/nsswitch.conf&lt;br /&gt;
&lt;br /&gt;
If you are using local authentication use below;&lt;br /&gt;
#cp /etc/nsswitch.files /etc/nsswitch.conf&lt;br /&gt;
&lt;br /&gt;
to enable DNS resolutions u have to find the &#39;hosts: files&#39; &amp;nbsp;on above file &amp;amp; change as below;&lt;br /&gt;
hosts: files dns&lt;br /&gt;
&lt;br /&gt;
9. Edit /etc/resolv.conf&lt;br /&gt;
&lt;br /&gt;
#cat resolv.conf&lt;br /&gt;
nameserver 192.168.78.130&lt;br /&gt;
nameserver 192.168.78.142&lt;br /&gt;
&lt;br /&gt;
10. Re-initialize the network&lt;br /&gt;
&lt;br /&gt;
#sync;sync;sync&lt;br /&gt;
#svcadm restart network/physical&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
Reboot the server&lt;br /&gt;
&lt;br /&gt;
#init 6&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Have a nice fun!</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/2016355025483535225/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/2016355025483535225' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/2016355025483535225'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/2016355025483535225'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/07/how-to-get-solaris-box-online.html' title='How to get a Solaris box online'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-7876032873925901737</id><published>2010-05-19T12:27:00.002+05:30</published><updated>2010-05-19T12:35:21.304+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="gentoo"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="password"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>SSH without a password;</title><content type='html'>The following steps can be used to ssh from one system to another without specifying a password.&lt;br /&gt;
&lt;br /&gt;
Notes:&lt;br /&gt;
- The system from which the ssh session is started via the ssh command is the &#39;client&#39;.&lt;br /&gt;
- The system that the ssh session connects to is the &#39;server&#39;.&lt;br /&gt;
- The steps assume that you are using a Bourne-like shell (sh, ksh or bash)&lt;br /&gt;
&lt;br /&gt;
Steps;&lt;br /&gt;
&lt;br /&gt;
1. On the &#39;client&#39; run the following commands;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$mkdir $HOME/.ssh&lt;br /&gt;
$chmod 0700 $HOME/.ssh&lt;br /&gt;
$ssh-keygen -t rsa&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This should result in two files in $HOME/.ssh/id_rsa(private key) and $HOME/.ssh/id_rsa.pub(public key)&lt;br /&gt;
&lt;br /&gt;
2. Create relavent folders on the &#39;server&#39;. &lt;br /&gt;
* here you should use the same user to connect to the &#39;server&#39;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$mkdir $HOME/.ssh&lt;br /&gt;
$chmod 700 $HOME/.ssh&amp;nbsp; &lt;/b&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#this must do otherwise you will not able to &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;connect without the password&lt;/span&gt;&lt;b&gt;&lt;br /&gt;
$touch $HOME/.ssh/authorized_keys&lt;br /&gt;
$chmod 600 $HOME/.ssh/authorized_keys&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
3. Copy $$HOME/.ssh/id_rsa.pub to the &#39;server&#39;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$cat $HOME/.ssh/id_rsa.pub|ssh &lt;server ip=&quot;&quot;&gt; &#39;cat &amp;gt;&amp;gt; .ssh/authorized_keys&#39;&lt;/server&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
4. Now you test the results by ssh&#39;ing from &#39;client&#39; to the &#39;server&#39;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;$ssh SERVERIP&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;server ip=&quot;&quot;&gt;&lt;br /&gt;
&lt;/server&gt;&lt;br /&gt;
&lt;server ip=&quot;&quot;&gt;&lt;b&gt;TROUBLESHOOTING:&lt;/b&gt;&lt;br /&gt;
If the password prompt will be shown again check the&lt;/server&gt;&lt;b&gt;&lt;server ip=&quot;&quot;&gt; &#39;server&#39; $HOME/.ssh folder permission(700) &amp;amp; $HOME/.ssh/authorized_keys permission (600)&lt;/server&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/7876032873925901737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/7876032873925901737' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/7876032873925901737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/7876032873925901737'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/05/ssh-without-password.html' title='SSH without a password;'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-6296300100062961500</id><published>2010-05-16T14:09:00.001+05:30</published><updated>2010-05-16T14:35:48.392+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="gentoo"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="log server"/><category scheme="http://www.blogger.com/atom/ns#" term="syslog"/><category scheme="http://www.blogger.com/atom/ns#" term="syslog-ng"/><category scheme="http://www.blogger.com/atom/ns#" term="widyachacra"/><title type='text'>Deploy a simple(NO-SSL) Syslog-ng Server on Gentoo</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;This HowTo is 100% Command Line  based. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
1) installing the required pkgs (mostly both pkgs should be thr)&lt;br /&gt;
#emerge syslog-ng openssl&lt;br /&gt;
&lt;br /&gt;
2) here is the syslog-ng configuration part&lt;br /&gt;
#vi /etc/syslog-ng/syslog-ng.conf&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;----------add below lines into above file ------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
options {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; create_dirs(yes); #will recursively create log files/directories if necessary&lt;br /&gt;
};&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;# --------- Syslog-ng Server configuration ----------------&lt;br /&gt;
# The port where the logs will be sent to by the clients&lt;br /&gt;
# replace your server ip with the below &quot;&lt;b&gt;192.168.1.1&lt;/b&gt;&quot;&lt;/span&gt;&lt;br /&gt;
source remote_log {udp(ip(&quot;&lt;b&gt;192.168.1.1&lt;/b&gt;&quot;) port(1444));};&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;# where to log the files on the server. $HOST is a macro and will be replaced by the hostname sending the log&lt;/span&gt;&lt;br /&gt;
destination remote {file(&quot;/var/log/remote.d/$HOST.log&quot;);};&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;# link the source to the destination&lt;/span&gt;&lt;br /&gt;
log {source(remote_log); destination(remote);};&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;# --------- Syslog-ng Server configuration --&amp;gt; End &amp;lt;-- -------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
3) create the /var/log/remote.d folder&lt;br /&gt;
#mkdir /var/log/remote.d&lt;br /&gt;
&lt;br /&gt;
4) restarting the syslog-ng service&lt;br /&gt;
#/etc/init.d/syslog-ng restarting&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Now you can point any equipment logs to this server by providing following details to the equipment.&lt;br /&gt;
&lt;br /&gt;
Server IP: 192.168.1.1 &lt;br /&gt;
UDP Port: 1444&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/6296300100062961500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/6296300100062961500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/6296300100062961500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/6296300100062961500'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/05/creating-simpleno-ssl-syslog-ng-server.html' title='Deploy a simple(NO-SSL) Syslog-ng Server on Gentoo'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-2373838636474370162</id><published>2010-05-02T17:51:00.002+05:30</published><updated>2010-05-04T12:50:00.852+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualization"/><category scheme="http://www.blogger.com/atom/ns#" term="vritualbox"/><category scheme="http://www.blogger.com/atom/ns#" term="widyachacra"/><title type='text'>How to Install the Oracle VirtualBox Linux Guest Additions on Fedora</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;This HowTo is &amp;gt;98% Command Line based. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
After you have installed your Linux Guest system, there are a few additional packages needed for the Guest Additions. These packages enables you to create kernel modules.&lt;br /&gt;
&lt;br /&gt;
This HowTo is for RPM based distro&#39;s like Fedora, CentOS, etc..&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1.) Installing supporting packages&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Login with &#39;root&#39; privileges&lt;br /&gt;
&lt;br /&gt;
i. Press &#39;&lt;b&gt;Ctrl&lt;/b&gt;&#39;+&#39;&lt;b&gt;Alt&lt;/b&gt;&#39;+&#39;&lt;b&gt;F1&lt;/b&gt;&#39;(&lt;span style=&quot;font-size: xx-small;&quot;&gt;After successfully completed this you can simply Press &#39;Ctrl&#39;+&#39;Alt&#39;+&#39;F7&#39; to go to the KDE/GNOME&lt;/span&gt;) --&amp;gt; Login from &#39;root&#39; user&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ii. &lt;br /&gt;
#&lt;i&gt;yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
or &lt;br /&gt;
&lt;br /&gt;
- If you are in sudo list &amp;amp; able to run the below command($&lt;b&gt;&lt;i&gt;sudo -l&lt;/i&gt;&lt;/b&gt;)&lt;br /&gt;
&lt;br /&gt;
i.&lt;br /&gt;
$&lt;i&gt;sudo yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2.) Mount the Guest Additions&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
i. Click on &#39;Devices&#39; menu on the Guest OS&#39;s VirtualBox Main Menu --&amp;gt; &#39;Install Guest Additions&#39;&lt;br /&gt;
&lt;br /&gt;
ii.&lt;br /&gt;
#&lt;i&gt;mkdir /media/cdrom &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
iii. &lt;br /&gt;
#&lt;i&gt;mount /dev/cdrom /media/cdrom&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
iv. &lt;br /&gt;
#&lt;i&gt;cd /media/cdrom/&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3.) Install the Guest Additions&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
#&lt;i&gt;cd /media/cdrom&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
For AMD-64 &amp;amp; 64-bit Guests OS&lt;br /&gt;
#&lt;i&gt;sh ./VBoxLinuxAdditions-amd64.run&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
For 32-bit Guests OS&lt;br /&gt;
#&lt;i&gt;sh ./VBoxLinuxAdditions-x86.run&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;Note: If you get any errors here simply check /var/log/vbox-install.log for more information. Most of issues due to kernel mismatch but once u do above kernel update this issue will not happen.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;If you couldn&#39;t find any luck on this... Simply write to the http://groups.google.lk/group/open-forum&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Have a great fun!&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/2373838636474370162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/2373838636474370162' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/2373838636474370162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/2373838636474370162'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/05/how-to-install-linux-guest-additions-on.html' title='How to Install the Oracle VirtualBox Linux Guest Additions on Fedora'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-4621718939845967021</id><published>2010-02-22T08:05:00.004+05:30</published><updated>2013-04-22T21:55:35.459+05:30</updated><title type='text'>Enable yum grouplist and groupinstall option on Local RHEL Repos</title><content type='html'>Most of time after you creating your local repositories you may experience that #yum grouplist command will give an error saying &#39;no group data available for configured repository&#39;.&lt;br /&gt;
&lt;br /&gt;
So here i&#39;m guiding you ppl to resolve this issue.&lt;br /&gt;
&lt;br /&gt;
Prerequisites;&lt;br /&gt;
1) you should have the RHEL DVD/CDs&lt;br /&gt;
2) enough space on your local storage(hdd)&lt;br /&gt;
3) creat a repo file on /etc/yum.repo.d&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Steps;&lt;br /&gt;
&lt;br /&gt;
Step-1;&lt;br /&gt;
&lt;br /&gt;
1st I&#39;ll guide you guys to prepare your own repo file before go to the &#39;step-2&#39;;&lt;br /&gt;
&lt;br /&gt;
You should login from root user. &lt;br /&gt;
#su - root&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Changing to the folder where yum repo configuration files locate. &lt;br /&gt;
#cd /etc/yum.repo.d&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Creating a new folder to backup existing &#39;.repo&#39; files&lt;br /&gt;
#mkdir archived&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Move all the existing .repo files to the folder created earlier.&lt;br /&gt;
#mv *.repo archived&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Create the new &#39;.repo&#39; yum configuration file.&lt;br /&gt;
#vi local-rhel.repo&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
press &#39;i&#39; to change the &#39;vi&#39; mode to &#39;insert&#39; mode.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
copy &amp;amp; paste following lines start from &#39;[base]&#39; to the &lt;br /&gt;
local-rhel.repo&lt;br /&gt;
&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;br /&gt;
----------------------Copy below lines. Don&#39;t copy this line--------------------&lt;br /&gt;
[base]&lt;br /&gt;
name=Local RHEL Repository&lt;br /&gt;
baseurl=file:///srv/pub/repo/rhel5/64bit&lt;br /&gt;
#gpgcheck=1&lt;br /&gt;
#gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta&lt;br /&gt;
enabled=1&lt;br /&gt;
----------------------Copy above lines. Don&#39;t copy this line---------------------&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Step-2;&lt;br /&gt;
&lt;br /&gt;
Making a folder to mount the cdrom&lt;br /&gt;
#mkdir /media/cdrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mounting the cdrom &lt;br /&gt;
#mount /dev/cdrom /media/cdrom&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Creating the folder structure&lt;br /&gt;
#mkdir -p /srv/pub/repo/rhel5/64bit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Copy the rpms to the local hard disk&lt;br /&gt;
#cp -Rfv /media/cdrom/Server/* /srv/pub/repo/rhel5/64bit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Changing to the local folder where you copied rpms from the CD/DVD&lt;br /&gt;
#cd /srv/pub/repo/rhel5/64bit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Install &#39;createrepo&#39; package that helps to create local repos.&lt;br /&gt;
#rpm -ivh createrepo*&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Creating the repo using the &#39;createrepo&#39; command.&lt;br /&gt;
#createrepo -g repodata/comps-rhel5-server-core.xml .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clean the existing yum db &amp;amp; recreate it.&lt;br /&gt;
#yum clean all &amp;amp;&amp;amp; yum makecache&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
View grouplist :-)&lt;br /&gt;
#yum grouplist&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*** Have a great fun! ***</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/4621718939845967021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/4621718939845967021' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/4621718939845967021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/4621718939845967021'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/02/enable-yum-grouplist-and-groupinstall.html' title='Enable yum grouplist and groupinstall option on Local RHEL Repos'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-4119274515551633295</id><published>2010-02-07T17:05:00.002+05:30</published><updated>2010-02-07T17:21:43.524+05:30</updated><title type='text'>Nice Boot Splash::uvesafb::installation instructions for Gentoos</title><content type='html'>The guide below assumes you&#39;re using Gentoo Linux. If you happen to be using another distro, replace all emerge steps with relevant command.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1.)&lt;/div&gt;&lt;div&gt;#cd /usr/src/linux&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;2.)&lt;/div&gt;&lt;div&gt;#make menuconfig&lt;/div&gt;&lt;div&gt;configure the kernel; in the &quot;Device Drivers&quot; section select:&lt;/div&gt;&lt;div&gt;Connector - unified userspace &lt;-&gt; kernelspace linkers and Graphics support --&gt; Userspace VESA VGA graphics support&lt;/div&gt;&lt;div&gt;(that&#39;s CONFIG_CONNECTOR=y and CONFIG_FB_UVESA=y)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;3.)&lt;/div&gt;&lt;div&gt;#make&lt;/div&gt;&lt;div&gt;build the kernel&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;4.)&lt;/div&gt;&lt;div&gt;#emerge klibc&lt;/div&gt;&lt;div&gt;Remerge klibc.&lt;/div&gt;&lt;div&gt;This step is necessary because klibc has to be compiled against a kernel tree that includes uvesafb. ** You only need to do this once. you on&#39;t have to remerge klibc every time you install a new kernel or a new module.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;5.)&lt;/div&gt;&lt;div&gt;#make menuconfig&lt;/div&gt;&lt;div&gt;Reconfigure your kernel; in the &quot;General Setup&quot; section select:&lt;/div&gt;&lt;div&gt;Initial RAM filesystem and RAM disk (initramfs/initrd) support &lt;/div&gt;&lt;div&gt;and user &#39;/usr/share/v86d/initramfs&#39; in Initramfs source files(s).&lt;/div&gt;&lt;div&gt;(that&#39;s CONFIG_INITRAMFS_SOURCE=&quot;/usr/share/v86d/initramfs&quot;)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;6.)&lt;/div&gt;&lt;div&gt;#make&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;7.) &lt;/div&gt;&lt;div&gt;# cp arch/x86_64/boot/bzImage /boot/2.6.32-gentoo-r3-ait-30a-fb&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;8.)&lt;/div&gt;&lt;div&gt;#cd /boot&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;9.)&lt;/div&gt;&lt;div&gt;#vi grub/grub.conf&lt;/div&gt;&lt;div&gt;Change as below;&lt;/div&gt;&lt;div&gt;-------------------------&lt;/div&gt;&lt;div&gt;kernel /gentoo root=/dev/sda2 resume=/dev/sda3 video=uvesafb:1152x864-32,mtrr:3,ywrap splash=silent,fadein,theme:default&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;initrd /genfb&lt;/div&gt;&lt;div&gt;-------------------------&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;10.)&lt;/div&gt;&lt;div&gt;#ln -sf 2.6.32-gentoo-r3-ait-30a-fb gentoo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;11.) &lt;/div&gt;&lt;div&gt;#emerge splash-themes-gentoo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;12.)&lt;/div&gt;&lt;div&gt;#splash_geninitramfs --verbose --res 1152x864 --generate /boot/genfb default&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;13.) &lt;/div&gt;&lt;div&gt;#reboot &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;--Enjoy the new boot splash--&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/4119274515551633295/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/4119274515551633295' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/4119274515551633295'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/4119274515551633295'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/02/nice-boot-splashuvesafbinstallation.html' title='Nice Boot Splash::uvesafb::installation instructions for Gentoos'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-6050368364910371174</id><published>2010-01-02T13:13:00.005+05:30</published><updated>2010-01-02T13:44:23.585+05:30</updated><title type='text'>Fedora 12 - Enable RPM Fusion/MP3/DVD &amp; install nVidia GeForce7 Driver</title><content type='html'>&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;I installed Fedora 12 for one of my relative&#39;s PC that has following hardware configurations.&lt;br /&gt;&lt;br /&gt;By following this Step by Step guide you will be able learn below things;&lt;br /&gt;1.) Enable RPM Fusion&lt;br /&gt;2.) Install MP3 Support&lt;br /&gt;3.) Install DVD Support&lt;br /&gt;4.) Install GeForce 7 video driver&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hardware configurations&lt;br /&gt;-----------------------&lt;br /&gt;&lt;br /&gt;Hardware details;&lt;br /&gt;-----------------&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)&lt;br /&gt;00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)&lt;br /&gt;00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)&lt;br /&gt;00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)&lt;br /&gt;00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)&lt;br /&gt;00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev a2)&lt;br /&gt;00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev a2)&lt;br /&gt;00:06.0 IDE interface: nVidia Corporation MCP67 IDE Controller (rev a1)&lt;br /&gt;00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)&lt;br /&gt;00:08.0 PCI bridge: nVidia Corporation MCP67 PCI Bridge (rev a2)&lt;br /&gt;00:09.0 IDE interface: nVidia Corporation MCP67 AHCI Controller (rev a2)&lt;br /&gt;00:0a.0 Ethernet controller: nVidia Corporation MCP67 Ethernet (rev a2)&lt;br /&gt;00:0b.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)&lt;br /&gt;00:0c.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)&lt;br /&gt;00:0d.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)&lt;br /&gt;00:0e.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)&lt;br /&gt;00:0f.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)&lt;br /&gt;00:10.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)&lt;br /&gt;00:11.0 PCI bridge: nVidia Corporation MCP67 PCI Express Bridge (rev a2)&lt;br /&gt;00:12.0 VGA compatible controller: nVidia Corporation GeForce 7050 PV / nForce 630a (rev a2)&lt;br /&gt;00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration&lt;br /&gt;00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map&lt;br /&gt;00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller&lt;br /&gt;00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;font-size:130%;&quot; &gt;&lt;br /&gt;&lt;span style=&quot;font-family: georgia;&quot;&gt;* 1st of all you should enable RPM Fusion by installing its rpm.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;&lt;br /&gt;-------------------------------&lt;br /&gt;Enable RPM Fusion&lt;br /&gt;---------------------------&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;RPM Fusion provides software that the Fedora Project or Red Hat doesn&#39;t want to ship. That software is provided as precompiled RPMs for all current Fedora versions and Red Hat Enterprise Linux 5; you can use the RPM Fusion repositories with tools like yum and PackageKit.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;RPM Fusion is a merger of Dribble, Freshrpms, and Livna;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enable access to the &lt;span style=&quot;font-weight: bold;&quot;&gt;free RPM Fusion repository&lt;/span&gt;;&lt;br /&gt;#rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm&lt;br /&gt;&lt;br /&gt;Enable access to the &lt;span style=&quot;font-weight: bold;&quot;&gt;nonfree RPM Fusion repository&lt;/span&gt;;&lt;br /&gt;#rpm -Uvh http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;;font-family:courier new;font-size:85%;&quot;  &gt;&lt;br /&gt;#yum check-update&lt;br /&gt;&lt;br /&gt;#yum update&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Install nVidia Corporation GeForce 7050 PV / nForce 630a (rev a2);&lt;/span&gt;&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;#/sbin/lspci | grep VGA&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;Note: nVidia currently doesn&#39;t support cards older than Geforce6 on the xorg-x11-server used by Fedora 12.&lt;br /&gt;&lt;br /&gt;in order to keep compatibility with nouveau(initrd img), you need to add a command line option to the kernel. To recreate the initrd:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;Nouveau compatibility&lt;br /&gt;--------------------&lt;br /&gt;As nouveau is enabled by default starting with Fedora 11, you may experience problem which is caused by the nouveau kernel module being present in the initrd image. To avoid such problem, after you have installed the right series of the nvidia driver for your hardware and execute the commands specifics for a given Fedora version: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;To use the default initrd, but disable the noueau driver, edit /etc/grub.conf and add the following to the end of the ine(s) strting with &#39;kernel&#39;:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic; font-weight: bold;&quot;&gt;&lt;br /&gt;rdblacklist=nouveau&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Before using the driver, you need to lower your system protection so SElinux doesn&#39;t prevent the driver to load.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;#setsebool -P allow_execstack on&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Installing GeForce 7;&lt;/span&gt;&lt;br /&gt;#yum install kmod-nvidia&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;x86_64 (64bit) users;..&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;If you wish to have 3D acceleration in 32bit packages such as Wine, be sure to install the xorg-x11-drv-nvidia-libs.i686.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Troubleshooting;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you&#39;re experiencing problems with the drivers (in particular, lack of 3D after using nvidia-xconfig or nvidia-settings), try executing these commands:&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;#nvidia-config-display disable&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;#nvidia-config-display enable&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;This will re-configure xorg.conf for use with the RPM Fusion drivers. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-------------------------&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Installing Amarok;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#yum install amarok&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Phonon Backends;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Xine (recommended)&lt;/span&gt;&lt;br /&gt;#yum install phonon-backend-xine&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;GStreamer&lt;/span&gt;&lt;br /&gt;#yum instll phonon-backend-gstreamer&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;MP3 Support;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;Fedora, by default, does not include MP3 support for legal reasons. To enable MP3 support, the&lt;br /&gt;rpmfusion repository should be enabled.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size:78%;&quot;&gt;once rpmfusion is enabled, the easiest way to enable all the freeworld/nonfree codec support, is to:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;#yum update @sound-and-video&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;However, this may pull unwanted or unneeded packages. If so, you can install just the mp3 codecs as follows.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;#yum install xine-lib-extras-freeworld&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For Amarok 2 using phonon-backend-gstreamer;&lt;br /&gt;#yum install gstreamer-plugins-ugly&lt;br /&gt;&lt;br /&gt;Install VLC;&lt;br /&gt;#yum install vlc&lt;br /&gt;&lt;br /&gt;Install MPlayer;&lt;br /&gt;#yum install mplayer&lt;br /&gt;&lt;br /&gt;---------------------------THATS ALL GUYS--------------------&lt;br /&gt;HAVE A NICE FUN!&lt;br /&gt;&lt;br /&gt;Widya&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/6050368364910371174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/6050368364910371174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/6050368364910371174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/6050368364910371174'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2010/01/fedora-12-enable-rpm-fusionmp3dvd.html' title='Fedora 12 - Enable RPM Fusion/MP3/DVD &amp; install nVidia GeForce7 Driver'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7650770028738363247.post-505751380337946243</id><published>2009-10-12T22:18:00.001+05:30</published><updated>2009-10-12T22:27:39.581+05:30</updated><title type='text'>Guide to install Huawei E1550 HSDPA Modem into Gentoo Linux</title><content type='html'>---------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;1.) Unplug the modem from the Computer&lt;br /&gt;&lt;br /&gt;2.) Install usb_modeswitch&lt;br /&gt;&lt;br /&gt;On gentoo&lt;br /&gt;#emerge usb_modeswitch&lt;br /&gt;&lt;br /&gt;On OpenSUSE 11.x&lt;br /&gt;#zypper install usb_modeswitch&lt;br /&gt;&lt;br /&gt;On Fedora&lt;br /&gt;#yum install usb_modeswitch&lt;br /&gt;&lt;br /&gt;3.) Add Device details to the configuration file&lt;br /&gt;#vi /etc/usb_modeswitch.conf&lt;br /&gt;--------------------------------------&lt;br /&gt;# Huawei E1550&lt;br /&gt;DefaultVendor = 0x12d1&lt;br /&gt;DefaultProduct = 0x1446&lt;br /&gt;MessageEndpoint = 0x01&lt;br /&gt;MessageContent = &quot;55534243000000000000000000000011060000000000000000000000000000&quot;&lt;br /&gt;--------------------------------------&lt;br /&gt;&lt;br /&gt;4.) Add UDEV rules&lt;br /&gt;#vi /etc/udev/rules.d/99-huawei-e1550-modem-widya.rules&lt;br /&gt;--------------------------------------&lt;br /&gt;ACTION==&quot;add&quot; SUBSYSTEM==&quot;usb&quot;, SYSFS{idProduct}==&quot;1446&quot;, SYSFS{idVendor}==&quot;12d1&quot;, RUN+=&quot;/usr/sbin/usb_modeswitch&quot;&lt;br /&gt;--------------------------------------&lt;br /&gt;&lt;br /&gt;5.) Rebooting the Host(Computer)&lt;br /&gt;#reboot&lt;br /&gt;&lt;br /&gt;6.) Plug the Huawei E1550 HSDPA Modem to the Computer&lt;br /&gt;&lt;br /&gt;7.) Use &#39;wvdial&#39; utility to connect to the internet&lt;br /&gt;&lt;br /&gt;-----------Sample Configuration file /etc/wvdial.conf for Airtel/Mobitel-----------------&lt;br /&gt;[Dialer Defaults]&lt;br /&gt;Init1 = ATZ&lt;br /&gt;Init2 = ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;#/dev/ttyUSBx &#39;x&#39; is depend on the driver id&lt;br /&gt;Modem = /dev/ttyUSB0&lt;br /&gt;#Phone = *99***1#&lt;br /&gt;Phone = *99#&lt;br /&gt;Password = ppp&lt;br /&gt;Modem Type = Analog Modem&lt;br /&gt;Stupid Mode = 1&lt;br /&gt;Compuserve = 0&lt;br /&gt;Baud = 9600&lt;br /&gt;Dial Command = ATDT&lt;br /&gt;Ask Password = 0&lt;br /&gt;ISDN = 0&lt;br /&gt;Username = ppp&lt;br /&gt;-------------------------------------------------------&lt;br /&gt;&lt;br /&gt;8.) type #wvdial to connect to the internet&lt;br /&gt;&lt;br /&gt;9.) Have a Big fun!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------&lt;br /&gt;&lt;br /&gt;Theruwan Saranai!&lt;br /&gt;&lt;br /&gt;Widya</content><link rel='replies' type='application/atom+xml' href='http://widyachacra.blogspot.com/feeds/505751380337946243/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/7650770028738363247/505751380337946243' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/505751380337946243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7650770028738363247/posts/default/505751380337946243'/><link rel='alternate' type='text/html' href='http://widyachacra.blogspot.com/2009/10/guide-to-install-huawei-e1550-hsdpa.html' title='Guide to install Huawei E1550 HSDPA Modem into Gentoo Linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/08471533351162345164</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>