<?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-6889847380766681980</id><updated>2011-10-18T00:30:12.757-07:00</updated><title type='text'>Khirod Patra's collection</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-8838107405506126616</id><published>2010-11-12T06:56:00.000-08:00</published><updated>2010-11-12T06:56:58.832-08:00</updated><title type='text'>Tips on Virtual Box</title><content type='html'>If you are using any Virtual box , then you mustt add your user name to the vboxgusers group, So that you get access to the USB system in Windows XP i.e.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;strong&gt;usermod -A vboxusers &lt;your username=""&gt;&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-8838107405506126616?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/8838107405506126616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/11/tips-on-virtual-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/8838107405506126616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/8838107405506126616'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/11/tips-on-virtual-box.html' title='Tips on Virtual Box'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-2652062630517183268</id><published>2010-07-18T09:16:00.000-07:00</published><updated>2010-07-18T09:16:56.400-07:00</updated><title type='text'>Install Oracle 10g XE on ubuntu</title><content type='html'>1) download oracle&amp;nbsp; oracle-xe-universal_10.2.0.1-1.0_i386.deb from the oracle official website&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then&lt;br /&gt;&lt;br /&gt;sudo dpkg -i oracle-xe-universal_10.2.0.1-1.0_i386.deb &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) sudo /etc/init.d/oracle-xe configure&lt;br /&gt;&lt;br /&gt;It will ask the value for some option like&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Specify the HTTP port that will be used for Oracle Application Express [8080]:7070&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By default the port number is 8080, be care full make sure the same port is not used by any other process, In my case tomcat is already on 8080 so i changed to 7070.&lt;br /&gt;&lt;br /&gt;Similarly :&lt;br /&gt;&lt;span style="color: red;"&gt;Specify a port that will be used for the database listener [1521]:1521&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then Specify the Password and confirm password&amp;nbsp; and restart the datatabase like&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;Specify a password to be used for database accounts.&amp;nbsp; Note that the same&lt;/span&gt;&lt;br style="color: red;" /&gt;&lt;span style="color: red;"&gt;password will be used for SYS and SYSTEM.&amp;nbsp; Oracle recommends the use of &lt;/span&gt;&lt;br style="color: red;" /&gt;&lt;span style="color: red;"&gt;different passwords for each database account.&amp;nbsp; This can be done after &lt;/span&gt;&lt;br style="color: red;" /&gt;&lt;span style="color: red;"&gt;initial configuration:&lt;/span&gt;&lt;br style="color: red;" /&gt;&lt;span style="color: red;"&gt;Confirm the password:&lt;/span&gt;&lt;br style="color: red;" /&gt;&lt;br style="color: red;" /&gt;&lt;span style="color: red;"&gt;Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It Will restart the oracle and now oracle ready to use&lt;br /&gt;&lt;br /&gt;You can try it from SQL command line or from http://127.0.0.1:&lt;span style="color: red;"&gt;7070&lt;/span&gt;/apex&lt;br /&gt;&lt;br /&gt;In the above link change the port number accordingly ,what ever you mentioned in the configuration file&lt;br /&gt;&lt;br /&gt;from the command line&amp;nbsp; of SQL, give the command&lt;br /&gt;&lt;div style="color: red;"&gt; &lt;/div&gt;&lt;span style="color: red;"&gt;connect system/manager&lt;/span&gt;&amp;nbsp;&amp;nbsp; i.e &lt;connect password="" user=""&gt;&lt;/connect&gt;&lt;br /&gt;&lt;br /&gt;Note: The default database name of 10g is xe.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-2652062630517183268?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/2652062630517183268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/07/install-oracle-10g-xe-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/2652062630517183268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/2652062630517183268'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/07/install-oracle-10g-xe-on-ubuntu.html' title='Install Oracle 10g XE on ubuntu'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-3102352014303542608</id><published>2010-07-06T14:02:00.000-07:00</published><updated>2010-07-06T14:02:08.007-07:00</updated><title type='text'>Size of a Symbolic Link In UNIX</title><content type='html'>Check the Below Example:&lt;br /&gt;&lt;br /&gt;lrwxrwxrwx 1 root root &lt;span style="color: #cc0000;"&gt;&lt;strong&gt;8&lt;/strong&gt;&lt;/span&gt; Dec 8 2008 swbt -&amp;gt; &lt;span style="color: red;"&gt;&lt;strong&gt;/nas/usr&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;lrwxrwxrwx 1 root root &lt;span style="color: red;"&gt;&lt;strong&gt;10&lt;/strong&gt;&lt;/span&gt; Dec 5 2008 tmp -&amp;gt; &lt;span style="color: red;"&gt;&lt;strong&gt;../var/tmp&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;In the above llinks the sizes are 8 and 10 respectively . The Symbolic calculate the size according to the&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;number of the charaters in the link Path i.e &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;strong&gt;/nas/usr &lt;/strong&gt;&lt;/span&gt;has 8 characters So the Size is 8&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&lt;span style="color: red;"&gt;&lt;strong&gt;../var/tmp&lt;/strong&gt;&lt;/span&gt; &lt;/span&gt;&lt;span style="color: black;"&gt;has 10 character So the Size is 10&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-3102352014303542608?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/3102352014303542608/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/07/size-of-symbolic-link-in-unix.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/3102352014303542608'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/3102352014303542608'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/07/size-of-symbolic-link-in-unix.html' title='Size of a Symbolic Link In UNIX'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-313850966318819775</id><published>2010-06-15T13:07:00.000-07:00</published><updated>2010-06-15T13:09:03.387-07:00</updated><title type='text'>Installing Sun Java On Ubuntu/Debian</title><content type='html'>&lt;span style="color: #990000; font-size: large;"&gt;&lt;strong&gt;Installing Sun Java On Ubuntu/Debian&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Download latest Java JDK from http://java.sun.com/j2se/1.5.0/download.jsp&lt;br /&gt;&lt;br /&gt;(being sure not to download the .rpm, but rather the .bin) &lt;br /&gt;&lt;br /&gt;install java-package with apt-get&lt;br /&gt;&lt;br /&gt;(that includes binutils, fakeroot)&lt;br /&gt;&lt;br /&gt;(Note also that java-package is in “multiverse”, so your repository list /etc/apt/sources.list needs to have that enabled) &lt;br /&gt;&lt;br /&gt;make debian java package: &lt;br /&gt;&lt;br /&gt;Disregarding the errors, in a tmp dir where we have copied the downloaded jdk, we do (without using sudo): &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;fakeroot make-jpkg jdk-1_5_0_05-linux-i586.binwhich, after ok’ing the license and extracting stuff, and trundling,after a while creates sun-j2sdk1.5_1.5.0+update06_i386.deb &lt;br /&gt;&lt;br /&gt;then we install our newly made package, this time with sudo:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sudo dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb“Once you’ve installed it, you’ll be up and running with the latest jdk: your JAVA_HOME is now, for example, /usr/lib/j2sdk1.5-sun. Get a command line, and enter java -version: you should see something like:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now you have java :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-313850966318819775?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/313850966318819775/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/06/installing-sun-java-on-ubuntudebian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/313850966318819775'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/313850966318819775'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/06/installing-sun-java-on-ubuntudebian.html' title='Installing Sun Java On Ubuntu/Debian'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-4484061090137622645</id><published>2010-05-07T11:03:00.003-07:00</published><updated>2010-05-07T11:03:33.474-07:00</updated><title type='text'>How To Restore Grub In Ubuntu</title><content type='html'>Boot up your live CD&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the desktop, open terminal (Applications -&amp;gt; Accessories -&amp;gt; Terminal).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;sudo grub&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This will set it to grub mode&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;find /boot/grub/stage1&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This will locate your boot partition. If you already know the location, you can ignore this step.&lt;br /&gt;&lt;br /&gt;root (hd0,0)&lt;br /&gt;&lt;br /&gt;Replace the (hd0,0) by your boot partition number. If your Ubuntu is installed in the second partition, then change it to (hd0,1)&lt;br /&gt;&lt;br /&gt;setup (hd0)&lt;br /&gt;quit&lt;br /&gt;&lt;br /&gt;Reboot your system. You should be able to access the Grub bootloader now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-4484061090137622645?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/4484061090137622645/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/05/how-to-restore-grub-in-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/4484061090137622645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/4484061090137622645'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/05/how-to-restore-grub-in-ubuntu.html' title='How To Restore Grub In Ubuntu'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-5894384762741104994</id><published>2010-05-06T10:49:00.000-07:00</published><updated>2010-05-06T11:45:20.810-07:00</updated><title type='text'>Find the MAC address Remotely</title><content type='html'>If you can ping this host over the LAN/WAN, his MAC address will be cached in ARP table of your NIC for a while, so, from command prompt:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;strong&gt;ping 1.2.3.4&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;after some echo replies from host 1.2.3.4&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;arp -a&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;and you will see MAC address of 1.2.3.4&lt;br /&gt;&lt;br /&gt;You can try to specific as &lt;br /&gt;&lt;br /&gt;&lt;strong&gt;/sbin/arp -a 192.168.1.1&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can also Try : &lt;strong&gt;PSTOOLS&lt;/strong&gt; (freeware from Sysinternals) &lt;strong&gt;PSEXEC&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-5894384762741104994?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/5894384762741104994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/05/find-mac-address-remotely.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/5894384762741104994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/5894384762741104994'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/05/find-mac-address-remotely.html' title='Find the MAC address Remotely'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-8869946429979496209</id><published>2010-04-27T06:08:00.001-07:00</published><updated>2010-04-27T06:08:34.637-07:00</updated><title type='text'>Performance Refactoring to Reduce Garbage Creation(Advantage in tomcat 5)</title><content type='html'>The first enhancement to look at is Tomcat 5.0's memory-profiling tools. Tomcat 5 has been carefully optimized so that it produces less object garbage for the Java VM's garbage collector to have to clean up.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A typical problem with busy Java servers is that the server software constantly instantiates new objects, and when they're not needed anymore (typically, when a request ends), the objects are not reused but instead thrown out as garbage. The garbage collector must then find and reap all such objects to reclaim the memory they occupy. This takes time and CPU cycles to do, and in the meantime the whole JVM may be paused so that the garbage collector can finish its work. This means the requests currently in process must simply wait until the garbage collector is done, which makes the whole server slow down a little. Usually, this isn't a big problem because the garbage collector is pretty efficient at collecting garbage objects. But in some cases there is so much garbage being produced that it can't keep up, and eventually the amount of free memory gets low because there is a backlog of garbage objects using lots of memory. Or sometimes a web app creates very large objects that take the garbage collector longer to finalize and destroy, so the amount of free memory is lost in large chunks but isn't being replenished quite as fast.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tomcat 5.0 has had many garbage creation (read performance enhancement) changes since Tomcat 4.1. Tomcat 5.0's single most important garbage-creation refactoring was the new request URI mapper. After some optimization profiling, Tomcat 4.1's request pipeline was found to create excess garbage while mapping a Connector's requests to the proper Container. For Tomcat 5, a whole new mapper was implemented that generates little or no garbage (lots of object recycling is going on in there), and thus Tomcat 5.0's request pipeline performs noticeably better than that of Tomcat 4.1. This also lowers the overall memory usage compared to Tomcat 4.1, which helps to prevent OutOfMemoryExceptions in the web apps it runs, and helps Tomcat 5 to scale higher vertically (i.e. higher scalability on a single machine).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-8869946429979496209?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/8869946429979496209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/04/performance-refactoring-to-reduce.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/8869946429979496209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/8869946429979496209'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/04/performance-refactoring-to-reduce.html' title='Performance Refactoring to Reduce Garbage Creation(Advantage in tomcat 5)'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-2026051501679794593</id><published>2010-04-15T16:16:00.000-07:00</published><updated>2010-04-15T16:16:53.928-07:00</updated><title type='text'>Restore The UBUNTU Panels</title><content type='html'>Run These Below Commands&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="color: red; font-family: Verdana;"&gt;gconftool-2 --shutdown&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-size: small;"&gt;gconftool --recursive-unset  /apps/panel &lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="color: red; font-family: Verdana;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red; font-size: small;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family: Verdana;"&gt;rm -rf ~/.gconf/apps/panel&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: red; font-size: small;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family: Verdana;"&gt;pkill gnome-panel&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style="color: red; font-size: small;"&gt;&lt;strong&gt;&lt;em&gt;&lt;span style="font-family: Verdana;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-2026051501679794593?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/2026051501679794593/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/04/restore-ubuntu-panels.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/2026051501679794593'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/2026051501679794593'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/04/restore-ubuntu-panels.html' title='Restore The UBUNTU Panels'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-2588651299107568912</id><published>2010-04-13T10:04:00.000-07:00</published><updated>2010-04-13T10:04:55.592-07:00</updated><title type='text'>Connection To Oracle Through Shell Script</title><content type='html'>Oracle environment variables; if not all then set at least the last two of the following: &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;export ORACLE_BASE=/path/to/oracle&lt;br /&gt;export ORACLE_HOME=$ORACLE_BASE/product/11g&lt;br /&gt;export ORACLE_TERM=xsun&lt;br /&gt;export NLS_LANG=American_America.US7ASCII&lt;br /&gt;export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH&lt;br /&gt;export ORACLE_PATH=$ORACLE_HOME/bin&lt;br /&gt;export PATH=$ORACLE_HOME/bin:$PATH &lt;br /&gt;Set the Path of Oracle SID &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: red;"&gt;export ORACLE_SID=orcl (Optional).For More Information(http://www.orafaq.com/wiki/ORACLE_SID)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;However, if you have a Service Name instead and your oracle instance runs off of a different port than the default, then use the following format for connecting.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;&lt;strong&gt;sqlplus -s LOGIN/PASSSWD@SERVERNAME:ORA_PORT/SERVICE_NAME&lt;/strong&gt;&lt;/span&gt; &lt;br /&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;strong&gt;&lt;span style="background-color: white; color: blue;"&gt;sqlplus -s LOGIN/PASSSWD&amp;nbsp; (With out Service Name and with default port)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Ex:--&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;#!/bin/sh -e&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;export ORACLE_BASE=/path/to/oracle &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;export ORACLE_HOME=$ORACLE_BASE/product/11g &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;export ORACLE_TERM=xsun &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;export NLS_LANG=American_America.US7ASCII &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;export LD_LIBRARY_PATH=$ORACLE_HOME/lib:$LD_LIBRARY_PATH &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;export ORACLE_PATH=$ORACLE_HOME/bin &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;export PATH=$ORACLE_HOME/bin:$PATH &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;sqlplus -s LOGIN/PASSSWD@SERVERNAME:ORA_PORT/SERVICE_NAME &amp;lt;&amp;lt; EOF &amp;gt; sqloutput &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;set pagesize 0; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;select * from blah; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;update blah; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;commit; &lt;/span&gt;&lt;br /&gt;&lt;span style="color: orange;"&gt;exit; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-2588651299107568912?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/2588651299107568912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/04/connection-to-oracle-through-shell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/2588651299107568912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/2588651299107568912'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/04/connection-to-oracle-through-shell.html' title='Connection To Oracle Through Shell Script'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-7338934242963428713</id><published>2010-01-24T11:31:00.000-08:00</published><updated>2010-01-24T11:31:37.059-08:00</updated><title type='text'>How to set-up or install ZTE MG880 USB Modem in Ubuntu Jaunty 9.04</title><content type='html'>&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;1. Plug your modem into usb port.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;2. To make sure if your modem has been detected by your ubuntu, use this command in your terminal.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;standy@ubuntu:~$ lsusb &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 001 Device 004: ID 04f2:b098 Chicony Electronics Co., Ltd &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: red;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 003 Device 003: ID 19d2:fff5 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 003 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;In here, you can see your modem vendor id and product id. &lt;span style="color: red;"&gt;19d2:fff5 &lt;/span&gt;&lt;span style="color: black;"&gt;is your modem ID as CDROM storage, not as MODEM. ZTE modem has 2 function, as storage (include Windows Driver) or as modem itself. To use this modem, we must change its mode to the Modem mode with use USB_ModeSwitch – Activating Switchable USB Devices on Linux.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;3. After that, we must download that software from here : &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-1.0.7.tar.bz2"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-1.0.7.tar.bz2&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;After you have that file, you must extract its content by using extraction software (right click that file =&amp;gt; extract here). The content of that file is included these files :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;80-usb_modeswitch.rules&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;README&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;usb_modeswitch.d&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: black;"&gt;COPYING&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: red;"&gt;usb_modeswitch&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: black;"&gt;usb_modeswitch.h&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Makefile&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;usb_modeswitch.c&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;usb_modeswitch.sh&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: black;"&gt;Makefile.integrated&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: red;"&gt;usb_modeswitch.conf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="color: black;"&gt;usb_modeswitch.tcl&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;by using Nautilus (type “sudo nautilus” in terminal), you must copy these files (red color files only) into :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;usb_modeswitch =&amp;gt; /usr/sbin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;usb_modeswitch.conf =&amp;gt; /etc&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;4. Next you must set or edit usb_modeswitch.conf  with gedit.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;You must search words line contain like this :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;######################################################## &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# ZTE AC8710 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# ZTE AC2726 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# and others &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# Many new ZTE devices use this sequence. There are &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# several ID combinations; check your default &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# Contributor: Michael Khurtsiya, Amit Pundir and others &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: red;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;DefaultVendor=  0×19d2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: red;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;DefaultProduct= 0xfff5 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: red;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;TargetVendor=   0×19d2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: red;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;TargetProduct=  0xfffe &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# No. 2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;DefaultVendor=  0×19d2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;DefaultProduct= 0xfff6 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;TargetVendor=   0×19d2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;TargetProduct=  0xfff1 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# No. 3 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;DefaultVendor=  0×19d2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;DefaultProduct= 0xfff5 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;TargetVendor=   0×19d2 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;;TargetProduct=  0xfff1 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# only for reference and 0.x versions &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;# MessageEndpoint=0×05 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: red;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;MessageContent=”5553424312345678c00000008000069f030000000000000000000000000000″ &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;———————————————————————&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;You must set yours to be like that. The difference only in red words line, with delete ; symbol.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Save and exit from gedit.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;5. Now on terminal you can type :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;standy@ubuntu:~$ sudo usb_modeswitch &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Looking for target devices … &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;No devices in target mode or class found &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Looking for default devices … &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Found default devices (1) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Accessing device 003 on bus 003 … &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Using endpoints 0×05 (out) and 0×82 (in) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Inquiring device details; driver will be detached … &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Looking for active driver … &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;No driver found. Either detached before or never attached &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;SCSI inquiry data (for identification) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;————————- &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Vendor String: ZTE &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Model String: USB Storage FFFE &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Revision String: 2.31 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;————————- &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;USB description data (for identification) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;————————- &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Manufacturer: ZTE, Incorporated &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Product: USB Storage &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Serial No.: 000000000002 &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;————————- &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Setting up communication with interface 0 … &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Trying to send the message to endpoint 0×05 … &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;OK, message successfully sent &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt; &lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Device is gone, skipping any further commands &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;-&amp;gt; Run lsusb to note any changes. Bye. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;standy@ubuntu:~$ lsusb &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 001 Device 004: ID 04f2:b098 Chicony Electronics Co., Ltd &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 003 Device 004: ID &lt;span style="color: red;"&gt;19d2:fffe&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 003 Device 002: ID 1bcf:0007 Sunplus Innovation Technology Inc. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;6. Oke … your modem is a modem now … or in modem mode … In here, you can see your modem vendor id and product id. &lt;span style="color: red;"&gt;19d2:fffe &lt;/span&gt;is your modem ID as MODEM.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Next, you must modprobe your modem as usbserial into kernel … (different method with other ubuntu version) with “sudo gedit /boot/grub/menu.lst” in terminal.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Compare, add and edit yours to be like this :&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;## ## End Default Options ## &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;title  Ubuntu 9.04, kernel 2.6.28-11-generic &lt;span style="color: red;"&gt;with usbserial &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;root  ()/ubuntu/disks &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;kernel  /boot/vmlinuz-2.6.28-11-generic root=UUID=EA9CAC679CAC304D loop=/ubuntu/disks/root.disk ro quiet splash &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: red;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;usbserial.vendor=0×19d2 usbserial.product=0xfffe &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;initrd  /boot/initrd.img-2.6.28-11-generic &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;title  Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;root  ()/ubuntu/disks &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;kernel  /boot/vmlinuz-2.6.28-11-generic root=UUID=EA9CAC679CAC304D loop=/ubuntu/disks/root.disk ro  single &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;initrd  /boot/initrd.img-2.6.28-11-generic &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;title  Ubuntu 9.04, memtest86+ &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;root  ()/ubuntu/disks &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;kernel  /boot/memtest86+.bin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;———————————————————————&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Then instal wvdia&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;---------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;sudo apt-get install wvdial&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;then edit /etc/wvdial.conf file like&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;Init1 = ATZ&lt;br /&gt;Init2 = ATQ0 V1 E1 S0=0 &amp;amp;C1 &amp;amp;D2 +FCLASS=0&lt;br /&gt;Modem Type = Analog Modem&lt;br /&gt;Phone = #777&lt;br /&gt;Username = &lt;username&gt;&lt;br /&gt;Password = &lt;password&gt;&lt;br /&gt;ISDN = 0&lt;br /&gt;SetVolume = 0&lt;br /&gt;FlowControl = Hardware (CRTSCTS)&lt;br /&gt;Modem = /dev/ttyUSB0&lt;br /&gt;Dial Command = ATDT&lt;br /&gt;Baud = 460800&lt;br /&gt;Stupid Mode = 1&lt;/password&gt;&lt;/username&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;//If you are going to use wvdial the follow the pppconfig&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Close all terminal. Open new terminal and type&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;sudo pppconfig&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;in the new (below) window select Create and give ok…&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Type provider name (say &lt;span style="color: maroon;"&gt;reliance&lt;/span&gt;) and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Select Dynamic and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Select PAP and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Enter your Reliance Number and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Password is same as your Reliance Number, enter it and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Do not change Modem Speed&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Select Tone and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Enter #777 and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Enter yes&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Select Manual and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Give your modem port. In my (most of the) case it is /dev/ttyUSB0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Now all set. Ensure Everything is fine. Select Finished then ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Finally in the last wind select Quit and give ok&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Now you have configured your modem successfully and all set to connect.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;To establish internet connection type the following command in terminal…&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;sudo pon &lt;span style="color: maroon;"&gt;reliance&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Ensuring connection is established use this command…&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;ifconfig&lt;br /&gt;Now you should see entry like this…&lt;br /&gt;ppp0 Link encap:Point-to-Point Protocol&lt;br /&gt;inet addr:123.239.41.80 P-t-P:220.224.134.12 Mask:255.255.255.255&lt;br /&gt;UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1&lt;br /&gt;RX packets:3429 errors:23 dropped:0 overruns:0 frame:0&lt;br /&gt;TX packets:3683 errors:0 dropped:0 overruns:0 carrier:0&lt;br /&gt;collisions:0 txqueuelen:3&lt;br /&gt;RX bytes:2309338 (2.3 MB) TX bytes:731534 (731.5 KB)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Once the connection is established you can close the terminal.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;To disconnect…&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;sudo poff &lt;span style="color: maroon;"&gt;reliance&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt; &lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div align="left" style="margin-bottom: 0cm;"&gt;&lt;span style="color: black;"&gt;&lt;span style="font-family: Times New Roman,serif;"&gt;&lt;span style="font-size: small;"&gt;Save and restart now …&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-7338934242963428713?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/7338934242963428713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2010/01/how-to-set-up-or-install-zte-mg880-usb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/7338934242963428713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/7338934242963428713'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2010/01/how-to-set-up-or-install-zte-mg880-usb.html' title='How to set-up or install ZTE MG880 USB Modem in Ubuntu Jaunty 9.04'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-5095214071413461459</id><published>2009-11-12T11:55:00.000-08:00</published><updated>2009-11-12T11:55:35.940-08:00</updated><title type='text'>Enable and Disable Ubuntu Root Password</title><content type='html'>TO Enable root Password The Comand is&lt;br /&gt;&lt;br /&gt;&lt;div style="color: #0b5394;"&gt;$sudo passwd root&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #0b5394;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&amp;nbsp;This will prompt for a new root password and once you confirm it, you can start using the root account to login&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: black;"&gt;To Disable root Password &lt;br /&gt;&lt;/div&gt;&lt;div style="color: #0b5394;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="color: #0b5394;"&gt;$sudo passwd -l root&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-5095214071413461459?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/5095214071413461459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/enable-and-disable-ubuntu-root-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/5095214071413461459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/5095214071413461459'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/enable-and-disable-ubuntu-root-password.html' title='Enable and Disable Ubuntu Root Password'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-6238335432179474141</id><published>2009-11-12T09:01:00.000-08:00</published><updated>2009-11-12T09:07:25.445-08:00</updated><title type='text'>How to Install PostgreSQL Using the Source Code</title><content type='html'>&lt;span style="color: rgb(102, 255, 255);"&gt;1&lt;/span&gt;. Obtain the source code from PostgreSQL website [1].&lt;br /&gt;  &lt;span style="color: rgb(0, 0, 153);"&gt;2&lt;/span&gt;. Unpack the source code package. Use the following bash/console command:&lt;br /&gt;&lt;br /&gt;     gunzip postgresql-8.3.3.tar.gz&lt;br /&gt;     tar xf postgresql-8.3.3.tar&lt;br /&gt;&lt;br /&gt;         * postgresql-8.3.3 is the name of the current version. Future versions might differ in the 8.3.3 part.&lt;br /&gt;         * A directory named postgresql-8.3.3 will be created under the current directory (the one you executed the above script from).&lt;br /&gt;  &lt;span style="color: rgb(51, 51, 255);"&gt;3&lt;/span&gt;. Change the current directory to the newly created one (postgresql-8.3.3)&lt;br /&gt;  &lt;span style="color: rgb(51, 51, 255);"&gt;4&lt;/span&gt;. Configure the source tree for your system and choose the installation options you want:&lt;br /&gt;         * Default Configuration: run the command&lt;br /&gt;           ./configure&lt;br /&gt;           on your bash/console&lt;br /&gt;         * Custom Configuration (this is for advanced users only): you can set a lot of custom configuration options using command line options listed in the PostgreSql documentation [2]&lt;br /&gt;  &lt;span style="color: rgb(51, 51, 255);"&gt;5&lt;/span&gt;. Start the build process by executing the command line&lt;br /&gt;     gmake&lt;br /&gt;     in your console/bash. This might take a few minutes depending on your hardware. The last line displayed should be:&lt;br /&gt;     All of PostgreSQL is successfully made. Ready to install.&lt;br /&gt;  6. Install PostgreSql files by executing the bash/console command:&lt;br /&gt;     gmake install&lt;br /&gt;     which will install the files to /usr/local/pgsql unless you used the --prefix=PREFIX command line option, in which case the files will be installed to the path specified by PREFIX&lt;br /&gt;  7. Create a super-user account for PostgreSQL by executing the following command in the bash console:&lt;br /&gt;     adduser postgres&lt;br /&gt;  8. Create a directory to hold PostgreSQL data tree by executing the following commands in the bash console:&lt;br /&gt;     mkdir /p01/pgsql/data&lt;br /&gt;     chown postgres /p01/pgsql/data&lt;br /&gt;  9. Create PostgreSQL cluster by executing:&lt;br /&gt;     su - postgres&lt;br /&gt;     /usr/local/pgsql/bin/initdb -D /p01/pgsql/data&lt;br /&gt; 10. Start up the PostgreSQL server (postmaster process) by executing:&lt;br /&gt;     /usr/local/pgsql/bin/postmaster -D /p01/pgsql/data &gt;logfile 2&gt;&amp;amp;1 &amp;amp;&lt;br /&gt; 11. Create a PostgreSQL database in the cluster by executing:&lt;br /&gt;     /usr/local/pgsql/bin/createdb test&lt;br /&gt; 12. Log-in to the database using the psql command:&lt;br /&gt;     /usr/local/pgsql/bin/psql test&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-6238335432179474141?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/6238335432179474141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/how-to-install-postgresql-using-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/6238335432179474141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/6238335432179474141'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/how-to-install-postgresql-using-source.html' title='How to Install PostgreSQL Using the Source Code'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-9187990003421632515</id><published>2009-11-12T07:24:00.000-08:00</published><updated>2009-11-12T11:50:22.529-08:00</updated><title type='text'>Install PostgreSQL on Ubuntu</title><content type='html'>$ sudo apt-get install postgresql postgresql-client postgresql-contrib&lt;br /&gt;&lt;br /&gt;$ sudo apt-get install pgadmin3&lt;br /&gt;&lt;br /&gt;This installs the database server/client, some extra utility scripts and the pgAdmin GUI application for working with the database.&lt;br /&gt;&lt;br /&gt;Now we need to reset the password for the ‘postgres’ admin account for the server, so we can use this for all of the system administration tasks. Type the following at the command-line (substitute in the password you want to use for your administrator account):&lt;br /&gt;&lt;br /&gt;$ sudo su postgres -c psql template1&lt;br /&gt;template1=# ALTER USER postgres WITH PASSWORD 'password';&lt;br /&gt;template1=# \q&lt;br /&gt;&lt;br /&gt;That alters the password for within the database, now we need to do the same for the unix user ‘postgres’:&lt;br /&gt;&lt;br /&gt;$ sudo passwd -d postgres&lt;br /&gt;$ sudo su postgres -c passwd&lt;br /&gt;&lt;br /&gt;Now enter the same password that you used previously.&lt;br /&gt;Then, from here on in we can use both pgAdmin and command-line access (as the postgres user) to run the database server. But before you jump into pgAdmin we should set-up the PostgreSQL admin pack that enables better logging and monitoring within pgAdmin. Run the following at the command-line:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$ sudo su postgres -c psql &amp;lt; /usr/share/postgresql/8.3/contrib/adminpack.sql&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Finally, we need to open up the server so that we can access and use it remotely - unless you only want to access the database on the local machine. To do this, first, we need to edit the postgresql.conf file:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$ sudo gedit /etc/postgresql/8.3/main/postgresql.conf&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Now, to edit a couple of lines in the ‘Connections and Authentication’ section…&lt;br /&gt;Change the line:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#listen_addresses = 'localhost'&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;to&lt;br /&gt;&lt;pre&gt;&lt;code&gt;listen_addresses = '*'&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;and also change the line:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;#password_encryption = on&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;to&lt;br /&gt;&lt;pre&gt;&lt;code&gt;password_encryption = on&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Then save the file and close gedit.&lt;br /&gt;Now for the final step, we must define who can access the server. This is all done using the pg_hba.conf file.&lt;sup id="fnref:1"&gt;&lt;a href="http://hocuspokus.net/2008/05/install-postgresql-on-ubuntu-804#fn:1" rel="footnote"&gt;1&lt;/a&gt;&lt;/sup&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$ sudo gedit /etc/postgresql/8.3/main/pg_hba.conf&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;Comment out, or delete the current contents of the file, then add this text to the bottom of the file:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# DO NOT DISABLE!&lt;br /&gt;# If you change this first entry you will need to make sure that the&lt;br /&gt;# database&lt;br /&gt;# super user can access the database using some other method.&lt;br /&gt;# Noninteractive&lt;br /&gt;# access to all databases is required during automatic maintenance&lt;br /&gt;# (autovacuum, daily cronjob, replication, and similar tasks).&lt;br /&gt;#&lt;br /&gt;# Database administrative login by UNIX sockets&lt;br /&gt;local   all         postgres                          ident sameuser&lt;br /&gt;# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD&lt;br /&gt;&lt;br /&gt;# "local" is for Unix domain socket connections only&lt;br /&gt;local   all         all                               md5&lt;br /&gt;# IPv4 local connections:&lt;br /&gt;host    all         all         127.0.0.1/32          md5&lt;br /&gt;# IPv6 local connections:&lt;br /&gt;host    all         all         ::1/128               md5&lt;br /&gt;&lt;br /&gt;# Connections for all PCs on the subnet&lt;br /&gt;#&lt;br /&gt;# TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD&lt;br /&gt;host    all         all         [ip address]          [subnet mask]  md5&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;and in the last line, add in your subnet mask (i.e. &lt;span style="color: #6aa84f;"&gt;255.255.255.0&lt;/span&gt;) and the IP address of the machine that you would like to access your server (i.e. 150.150.0.45). However, if you would like to enable access to a range of IP addresses, just substitute the last number for a zero and all machines within that range will be allowed access (i.e. 150.150.0.0 would allow all machines with an IP address 150.150.0.x to use the database server).&lt;br /&gt;That’s it, now all you have to do is restart the server:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;code&gt;$ sudo /etc/init.d/postgresql-8.3 restart&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;span style="color: #351c75;"&gt;IMPORTANT&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;span style="color: #351c75;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;&amp;nbsp;To Work from Command line&lt;br /&gt;&lt;br /&gt;edit this line in /etc/postgresql/8.3/main/pg_hba.conf&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# Database administrative login by UNIX sockets&lt;br /&gt;local   all         postgres                          ident sameuser&lt;/pre&gt;&lt;pre&gt;&amp;nbsp;&lt;/pre&gt;change ident sameuser to md5&lt;br /&gt;restart your postgresql&lt;br /&gt;then try login to postgreql with psql -U ‘your username’ -W then input your password&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-9187990003421632515?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/9187990003421632515/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/install-postgresql-on-ubuntu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/9187990003421632515'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/9187990003421632515'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/install-postgresql-on-ubuntu.html' title='Install PostgreSQL on Ubuntu'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-711878375368227912</id><published>2009-11-12T06:29:00.000-08:00</published><updated>2009-11-12T06:31:15.532-08:00</updated><title type='text'>make deb file from source code in ubuntu / debian Linux with Checkinstall</title><content type='html'>First You have to install checkinstall&lt;br /&gt;&lt;br /&gt;$ sudo apt-get install checkinstall ( Or Install from synaptic Package manager)&lt;br /&gt;&lt;br /&gt;Download the source file, such as example.tar.gz and extract it.&lt;br /&gt;&lt;br /&gt;$ wget http://www.example.com/downloads/example.tar.gz&lt;br /&gt;( Or use any common method you have used for download a file)&lt;br /&gt;&lt;br /&gt;Now Extract the tar.gz file (it will automatically create a folder with first part of filename)&lt;br /&gt;(for getting # prompt type sudo su and give your password)&lt;br /&gt;#tar -xzvf example.tar.gz&lt;br /&gt;#cd example&lt;br /&gt;&lt;br /&gt;#./configure&lt;br /&gt;#make&lt;br /&gt;#sudo checkinstall&lt;br /&gt;&lt;br /&gt;Now it creates a deb file and the package will install automatically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-711878375368227912?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/711878375368227912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/make-deb-file-from-source-code-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/711878375368227912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/711878375368227912'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/make-deb-file-from-source-code-in.html' title='make deb file from source code in ubuntu / debian Linux with Checkinstall'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6889847380766681980.post-7166445417657890126</id><published>2009-11-12T05:47:00.000-08:00</published><updated>2009-11-12T05:49:10.623-08:00</updated><title type='text'>Building .deb package from source</title><content type='html'>Here's how to easily build a .deb package for ubuntu (or debian). You could build a .deb package using checkinstall, but that wouldn't include all the debian/ubuntu specifics you need. I used the following to build the ubuntu package for my next release of News notification.&lt;br /&gt;&lt;br /&gt;First off, let's install the necessary tools:&lt;br /&gt;&lt;code&gt;# apt-get install autotools-dev fakeroot dh-make build-essential&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Then copy your source tree into a directory in /tmp:&lt;br /&gt;&lt;code&gt;# cp -r news-notification-0.3 /tmp&lt;br /&gt;# cd /tmp/news-notification-0.3&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Now let's make the debian control files:&lt;br /&gt;&lt;code&gt;# dh_make&lt;/code&gt;&lt;br /&gt;and pick Single for single binary, or whatever is appropriate for your project.&lt;br /&gt;&lt;br /&gt;Edit the debian/control file and at least change the Maintainer and Description fields. There are a few other files you will probably want to edit.&lt;br /&gt;&lt;br /&gt;Then run the following: (this has to be done as root)&lt;br /&gt;&lt;code&gt;# dpkg-buildpackage -rfakeroot&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6889847380766681980-7166445417657890126?l=khirodsearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://khirodsearch.blogspot.com/feeds/7166445417657890126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/building-deb-package-from-source.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/7166445417657890126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6889847380766681980/posts/default/7166445417657890126'/><link rel='alternate' type='text/html' href='http://khirodsearch.blogspot.com/2009/11/building-deb-package-from-source.html' title='Building .deb package from source'/><author><name>Khirod Patra</name><uri>http://www.blogger.com/profile/00681240166292297982</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/_B-Hw-4PElWM/SvwUZ3ugqyI/AAAAAAAAAF0/1eONxzM_mOg/S220/1.00010.jpg'/></author><thr:total>0</thr:total></entry></feed>
