<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-119881647722961005</id><updated>2017-01-29T08:31:45.627-08:00</updated><title type='text'>Linux | Windows Development</title><subtitle type='html'>awk -F &amp;quot; &amp;quot; &amp;#39;{print $2, $1}&amp;#39; names | cut -d &amp;quot; &amp;quot; -f 1-2 | head -5 &amp;gt; names_2</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-1603322663913448901</id><published>2013-06-04T21:51:00.000-07:00</published><updated>2013-06-05T23:30:20.533-07:00</updated><title type='text'>ASUS Windows_8 Recovery soft/hard OEM</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;The below post shows you how to create a soft recovery and a hard recovery on windows 8 using an ASUS machine.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(NOTE:a1recovery has been discontinued)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) Create a Soft Recovery USB/CD in case you need to do a soft recovery. &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-oqVfjUMeja4/Ua68CEaRsUI/AAAAAAAAAxA/-ejxuTcYbTI/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;http://2.bp.blogspot.com/-oqVfjUMeja4/Ua68CEaRsUI/AAAAAAAAAxA/-ejxuTcYbTI/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;with Metro UI &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;right click&amp;gt;choose &quot;all apps&quot;&amp;gt;&amp;gt;choose &quot;control panel&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;search &quot;recovery&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;choose&amp;gt;&amp;gt;&quot;create a recovery drive&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;NOTE: if you want to use CD/DVD then unclick the box stating &quot;Copy the recov.......&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;after burn complete, you should be able to boot by adjusting your BIOS settings to point to the specific device.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) From ASUS Download the application so you can create your recovery drive.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: unfortunately ASUS has taken out the CD/DVD option so you will need a USB thumbdrive around 16GB or a SATA device etc.. micro USB is not supported.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-lOTwbO0RAQk/Ua6-bzxJX3I/AAAAAAAAAxQ/y8hgJMUgiYQ/s1600/IMG_20130603_225435.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://3.bp.blogspot.com/-lOTwbO0RAQk/Ua6-bzxJX3I/AAAAAAAAAxQ/y8hgJMUgiYQ/s320/IMG_20130603_225435.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;using your browser navigate to:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://support.asus.com/Download.aspx?SLanguage=en&amp;amp;p=3&amp;amp;s=480&amp;amp;m=ASUS%20Backtracker&amp;amp;os=36&amp;amp;ft=14&amp;amp;f_name=AsusBacktracker_Win8_64_VER200.zip#AsusBacktracker_Win8_64_VER200.zip&quot;&gt;&lt;span style=&quot;color: #444444; font-size: x-small;&quot;&gt;http://support.asus.com/Download.aspx?SLanguage=en&amp;amp;p=3&amp;amp;s=480&amp;amp;m=ASUS%20Backtracker&amp;amp;os=36&amp;amp;ft=14&amp;amp;f_name=AsusBacktracker_Win8_64_VER200.zip#AsusBacktracker_Win8_64_VER200.zip&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;or if the link gets corrupt just search &quot;backtracker&quot; on their site:&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://support.asus.com/ServiceHome.aspx?SLanguage=en&quot;&gt;&lt;span style=&quot;color: #444444; font-size: x-small;&quot;&gt;http://support.asus.com/ServiceHome.aspx?SLanguage=en&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;once installed open the app and choose your options, once burned to the drive, reboot and adjust the BIOS to point to the device, then once loaded follow the onscreen questions.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: before reformatting, make sure you write down your product ID and KEY so incase windows activation fails you can supply the info.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;that&#39;s it! &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;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/1603322663913448901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/06/asus-windows8-recovery-softhard-oem.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/1603322663913448901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/1603322663913448901'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/06/asus-windows8-recovery-softhard-oem.html' title='ASUS Windows_8 Recovery soft/hard OEM'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-oqVfjUMeja4/Ua68CEaRsUI/AAAAAAAAAxA/-ejxuTcYbTI/s72-c/2.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-45524250807179812</id><published>2013-05-15T20:29:00.003-07:00</published><updated>2013-05-15T20:29:52.005-07:00</updated><title type='text'>NFS simple server/client connect</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;The below post gives a simple tutorial for setting up a simple server/client session with NFS using debian and opensuse 11.3&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) install the proper packages for the server, &amp;nbsp;then edit the configuration file for the server. &amp;nbsp;restart the server,&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;validate with netstat&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-vXQaTH5a3ME/UZRIe_2LGHI/AAAAAAAAAsM/B4-oMC6XqL4/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;253&quot; src=&quot;http://4.bp.blogspot.com/-vXQaTH5a3ME/UZRIe_2LGHI/AAAAAAAAAsM/B4-oMC6XqL4/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;apt-get install nfs-common nfs-kernel-server *optionally nfsv4-acl-tools&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd /etc/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim exports (add entries to point to your location/mount point)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;save and exit&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;/etc/init.d/nfs-kernel-server stop/start&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;netstat -atu | grep nfs&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) disable firewall for server, then on client side connect to the NFS server, then verify with netstat&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-dY9Jv-B9W_k/UZRJw0MEXaI/AAAAAAAAAsc/QTa8Cae_CS4/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;137&quot; src=&quot;http://2.bp.blogspot.com/-dY9Jv-B9W_k/UZRJw0MEXaI/AAAAAAAAAsc/QTa8Cae_CS4/s320/6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;server side as root:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ufw disable (add port entry to iptables in order to leave enabled)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;client side as root:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mount &amp;nbsp;-t nfs 10.0.0.44:/mnt /mnt&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;verify:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;df&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) verify you are connected then check the directory permissions in order to send/receive as regular user&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-JB3PFBptWWo/UZRKr7O6HYI/AAAAAAAAAso/bYTYBP2nOUg/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;117&quot; src=&quot;http://1.bp.blogspot.com/-JB3PFBptWWo/UZRKr7O6HYI/AAAAAAAAAso/bYTYBP2nOUg/s320/7.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;netstat -atu | grep nfs&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd /mnt&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l (check ACL&#39;s) &amp;nbsp;if wrong change them with chown&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;chown username:username directories&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: if you have the right permissions, and you don&#39;t see anything(like mount on mount) then add the crossmnt to /etc/exports config this way you can use external storage devices and NFS&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and that&#39;s it! you should have a simple server/client connect.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/45524250807179812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/05/nfs-simple-serverclient-connect.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/45524250807179812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/45524250807179812'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/05/nfs-simple-serverclient-connect.html' title='NFS simple server/client connect'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-vXQaTH5a3ME/UZRIe_2LGHI/AAAAAAAAAsM/B4-oMC6XqL4/s72-c/2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-5816262513945167060</id><published>2013-03-31T13:25:00.000-07:00</published><updated>2013-03-31T13:25:29.076-07:00</updated><title type='text'>OpenLDAP GPG KeyServer Private</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;The below post shows you how you can create your own Private gpg keyserver through LDAP.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;tested on Fedora 17 (other distros may be different)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: all configs are at bottom of blog&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) install the proper packages. then change into the LDAP config directory. move slapd.d because we are using the older API then modify ldap.conf to add the servers IP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-l8-be6k_NlM/UViRydxhjwI/AAAAAAAAAgI/JiURaJ5i4Cc/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;283&quot; src=&quot;http://4.bp.blogspot.com/-l8-be6k_NlM/UViRydxhjwI/AAAAAAAAAgI/JiURaJ5i4Cc/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;sudo -s&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;yum install openldap openldap-servers openldap-clients&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;optionally: yum install gq (LDAP browser)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;service slapd stop (stop LDAP)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd /etc/openldap&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mv slapd.d{,-old}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim ldap.conf (add ip address of server) (config below)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;nm-tool&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) create slapd.conf, create db directory download and install gpg-keyserver schemas, then start the server&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-RPQZK52vl60/UViTg-1leqI/AAAAAAAAAgQ/7pgCaplKo_8/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;296&quot; src=&quot;http://2.bp.blogspot.com/-RPQZK52vl60/UViTg-1leqI/AAAAAAAAAgQ/7pgCaplKo_8/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim slapd.conf (config at bottom)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mkdir /var/db/openldap&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;chown ldap:ldap &amp;nbsp;/var/db/openldap &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;download and install the schemas&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;nbsp;wget http://members.kstp.at/wh/pgp/openldap_pgp_keyserver.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;tar xvfz&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;openldap_pgp_keyserver.tar.gz | &lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;cp -Rv openldap/schema/* /etc/openldap/schema&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;slapd -d -1 -u ldap -g ldap (use -d 128 for ACL&#39;s)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) create the LDAP directory structure and add the extra users&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-IFEs9SEjDmk/UViUtfNLrUI/AAAAAAAAAgY/lCY-7gk3DVk/s1600/4_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://3.bp.blogspot.com/-IFEs9SEjDmk/UViUtfNLrUI/AAAAAAAAAgY/lCY-7gk3DVk/s320/4_1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim directory_base_user.ldif (config below)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ldapadd -H ldap://10.0.0.11 -x -D &quot;cn=Justin,dc=Manager,dc=Private&quot; -f directory_base_user.ldif -w dirtysecret&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim remote_user.ldif (config below)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ldapadd -H ldap://10.0.0.11 -x -D &quot;cn=Justin,dc=Manager,dc=Private&quot; -f remote_user.ldif -w dirtysecret&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;exit as root&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) create and exchange keys with host and remote host:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-2e1RP9jpRFo/UViXqTK39DI/AAAAAAAAAgg/cCPIwRzEsbQ/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://4.bp.blogspot.com/-2e1RP9jpRFo/UViXqTK39DI/AAAAAAAAAgg/cCPIwRzEsbQ/s320/6.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd .gnupg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gpg --gen-keys (answer questions)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gpg --list-keys&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim gpg.conf (add the entries for gpg keyserver, above picture&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;send and recv keys:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;gpg &amp;nbsp; --keyserver ldap://10.0.0.11 --send-key C9AD4D9B (send key)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;gpg &amp;nbsp; --keyserver ldap://10.0.0.11 --recv-key C9AD4D9B (recvkey) &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;on the remote hot perform the same steps to create the new key and send and recv&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) use gq to view the entries&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-KBxPzERwoyM/UViYWnbn_kI/AAAAAAAAAgo/B9xPacDSKh4/s1600/8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://3.bp.blogspot.com/-KBxPzERwoyM/UViYWnbn_kI/AAAAAAAAAgo/B9xPacDSKh4/s320/8.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and there you have it, your own Private GPG Keyserver!!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;below are the configuration files for the above:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ldap.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# LDAP Defaults&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# See ldap.conf(5) for details&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# This file should be world readable but not world writable.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;BASE&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#URI&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ldap://ldap.example.com ldap://ldap-master.example.com:666&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;URI&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ldap://10.0.0.11&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;SIZELIMIT&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;TIMELIMIT&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;900&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#DEREF&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;never&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#TLS_REQCERT &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;try&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#TLS_CACERT &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/etc/openldap/ssl/certs/ca.pem&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#TLS_CERT &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/etc/openldap/ssl/certs/ldap.pem&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#TLS_KEY&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/etc/openldap/ssl/keys/ldap.key&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;slapd.conf&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;include&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/etc/openldap/schema/core.schema&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;include&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/etc/openldap/schema/cosine.schema&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;include&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/etc/openldap/schema/inetorgperson.schema&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;include&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/etc/openldap/schema/pgp-keyserver.schema&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;include&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/etc/openldap/schema/pgp-recon.schema&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;include&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;/etc/openldap/schema/pgp-remte-prefs.schema&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;loglevel &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;-1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;pidfile /var/run/openldap/slapd.pid&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;argsfile /var/run/openldap/slapd.args&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;modulepath &amp;nbsp; &amp;nbsp; &amp;nbsp;/usr/lib/openldap&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;moduleload&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;back_bdb.la&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;moduleload&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;back_ldap.la&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;moduleload&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;back_monitor.la&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;allow bind_anon_dn&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;allow update_anon&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;allow bind_anon_cred&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn.base=&quot;&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by * read&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn=&quot;cn=Subschema&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by * read&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to attrs=&quot;userPassword&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by self write&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by * auth&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;# OPTIONAL: gq for viewing directories etc..&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn=&quot;dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;by * read&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn=&quot;ou=PGP Users,dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;by * read&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn.subtree=&quot;uid=Justin,ou=PGP Users,dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;by * read&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn.subtree=&quot;uid=Justin_2,ou=PGP Users,dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;by * read&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;# read &amp;nbsp;server pgpKeyInfo&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn=&quot;cn=pgpServerInfo,dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by * read&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;# remote access.. change for better ACL&#39;s&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to dn.subtree=&quot;ou=PGP Keys,dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; by * write&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;by * read&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;access to * by * none&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;database bdb&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;directory&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/var/db/openldap/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;suffix &quot;dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;rootdn &quot;cn=justin,dc=Manager,dc=Private&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;rootpw dirtysecret&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;cachesize 10000&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;checkpoint 128 15&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;index objectClass eq&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;index pgpCertID,pgpKeyID,pgpKeyType,pgpUserID,pgpKeyCreateTime sub,eq&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;index pgpSignerID,pgpSubKeyID,pgpKeySize,pgpKeyExpireTime sub,eq&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;index pgpDisabled,pgpRevoked eq&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; font-size: x-small;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;database monitor&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;directory_base_user.ldif&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# domain&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dn: dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dc: Manager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: domain&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: top&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# person part of domain&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dn: cn=Manager,dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;cn: Manager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;sn: Manager&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: person&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: top&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# applicationProcess and/or organizationalUnit works&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dn: ou=PGP Keys,dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectclass: applicationProcess&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;cn: PGP KEYSERVER PRIVATE &quot;KEYS&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;ou: PGP Keys&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;description: gpg keyserver for private company use.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# Main area for gpg to do stuff&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dn: cn=pgpServerInfo,dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;cn: pgpServerInfo&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectclass: pgpserverinfo&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;pgpSoftware: OpenLDAP 2.4.33&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;pgpVersion: &amp;nbsp;gpg (GnuPG) 1.4.13&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;pgpBaseKeyspaceDN: ou=PGP Keys,dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# applicationProcess and/or organizationalUnit works&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dn: ou=PGP Users,dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectclass: applicationProcess&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;cn: PGP KEYSERVER PRIVATE &quot;Users&quot;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;ou: PGP Users&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;description: gpg keyserver for private company use.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# company employee(s)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dn: uid=Justin,ou=PGP Users,dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: inetOrgPerson&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: uidObject&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: userSecurityInformation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;uid: Justin&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# password is test56&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;userPassword: {SSHA}PGJjmqxXpro95gho76Gz27qiqQp59LwM&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;sn: Mattock&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;cn: Private Company Employee(s).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# photo stuff never got it working maybe u can!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# adds using URL format&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#add: jpegphoto&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#jpegphoto: &amp;lt; file://path/to/jpeg/file.jpg&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# adding a binary cert, use gpgsm to convert format(DER,PEM,etc..)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#changetype: modify&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#add: userCertificate;binary&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#userCertificate;binary:&amp;lt; file:///path/to/file/binary.asc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#objectClass: stongAuthenticationUser&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#UserCertificate: file:///path/to/regular.asc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;remote_user.ldif&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# company employee(s)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;dn: uid=Justin_2,ou=PGP Users,dc=Manager,dc=Private&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: inetOrgPerson&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: uidObject&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;objectClass: userSecurityInformation&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;uid: Justin_2&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# password is test56&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;userPassword: {SSHA}PGJjmqxXpro95gho76Gz27qiqQp59LwM&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;sn: Mattock_2&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;cn: Private Company Employee(s).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# photo stuff never got it working maybe u can!&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# adds using URL format&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#add: jpegphoto&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#jpegphoto: &amp;lt; file://path/to/jpeg/file.jpg&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;# adding a binary cert, use gpgsm to convert format(DER,PEM,etc..)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#changetype: modify&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#add: userCertificate;binary&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#userCertificate;binary:&amp;lt; file:///path/to/file/binary.asc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#objectClass: stongAuthenticationUser&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: red; font-size: xx-small;&quot;&gt;#UserCertificate: file:///path/to/regular.asc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/5816262513945167060/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/03/openldap-gpg-keyserver-private.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/5816262513945167060'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/5816262513945167060'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/03/openldap-gpg-keyserver-private.html' title='OpenLDAP GPG KeyServer Private'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-l8-be6k_NlM/UViRydxhjwI/AAAAAAAAAgI/JiURaJ5i4Cc/s72-c/1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-5106688417090855818</id><published>2013-03-17T21:23:00.000-07:00</published><updated>2013-03-17T21:26:21.389-07:00</updated><title type='text'>XFS: xorg font server simple server/client connect</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;a little outdated due to systems having TTF fonts and such, but was more curious to get this thing working.. anyways the below post shows you how to do a simple server/client connect with xorg font server&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) install the xfs server and utilities. stop the server and prepare the config for the server to service the protocol&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-41G-bAtklB4/UUaMLoRkoiI/AAAAAAAAAdQ/YyCOKht_TLw/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;370&quot; src=&quot;http://1.bp.blogspot.com/-41G-bAtklB4/UUaMLoRkoiI/AAAAAAAAAdQ/YyCOKht_TLw/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;yum install xorg-x11-xfs xorg-x11-xfs-utils&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;chkconfig xfs on (if you want xfs starting at boot)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;service xfs stop&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd /etc/X11/fs&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim config&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;--- my config if you want to use ---&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#no-listen = tcp&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;client-limit = 10&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;clone-self = on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;default-point-size = 120&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;default-resolutions = 75,75,100,100&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;deferglyphs = 16&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;use-syslog = no&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;error-file = /var/log/xfs.log&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;port = 7100&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#seems to only read symlinks&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;catalogue = catalogue:/home/fonts2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;save..&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) prepare to the server to serve the fonts. download from the url and prepare the files/directories(catalogue:) so the server/client can communicate with each other.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-oSzNtPW3Ffc/UUaNFU5fuEI/AAAAAAAAAdY/XZTdK0LOCrU/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;177&quot; src=&quot;http://4.bp.blogspot.com/-oSzNtPW3Ffc/UUaNFU5fuEI/AAAAAAAAAdY/XZTdK0LOCrU/s400/2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd &amp;nbsp;/home &amp;nbsp;(or wherever you want to prepare the fonts)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mkdir /home/fonts&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mkdir /home/fonts2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd /home/fonts&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;wget http://hea-www.harvard.edu/~fine/Tech/cursive.bdf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mkfontdir&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;(prepare the catalogue:)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ln -sv /home/fonts /home/fonts2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd ../fonts2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&amp;lt;start xfs manually&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;/usr/bin/xfs&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;netstat -atu (to verify *xfs is on)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: url where to find fonts and where I got the info to install the *.bdf fonts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;http://hea-www.harvard.edu/~fine/Tech/x11fonts.html&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) on the client side test the font server to see if we have signs of life..&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-zgYV4X3wcDM/UUaQLX4A3bI/AAAAAAAAAdo/cCOnOl92LmM/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;105&quot; src=&quot;http://1.bp.blogspot.com/-zgYV4X3wcDM/UUaQLX4A3bI/AAAAAAAAAdo/cCOnOl92LmM/s400/3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;/usr/bin/fslsfonts -server 10.0.0.9:7100&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) connect to the xorg font server. use xset to view what entries are there, then use xset to add the new font server, verify with xset and netstat. then use fslsfonts to pick a font to use through xterm.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-nixYHoWCZGM/UUaQk-xGJjI/AAAAAAAAAdw/yXiwrR9FSpA/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241&quot; src=&quot;http://3.bp.blogspot.com/-nixYHoWCZGM/UUaQk-xGJjI/AAAAAAAAAdw/yXiwrR9FSpA/s400/4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;xset -q &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;xset fp+ tcp/10.0.0.9:7100 &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;xset -q&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;netstat -atu&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;fslsfonts -server 10.0.0.9:7100&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;xterm -fn&amp;nbsp;xterm -fn -fine-cursive-medium-i-normal--0-0-72-72-c-0-iso8859-1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;view cursive fonts in the terminal!! isnt it cute!&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) OPTIONAL: add a script to gdm to auto connect the client to the server.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-JDqI_qFomrw/UUaS87Ny90I/AAAAAAAAAd4/4scWqhOqjRk/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;253&quot; src=&quot;http://4.bp.blogspot.com/-JDqI_qFomrw/UUaS87Ny90I/AAAAAAAAAd4/4scWqhOqjRk/s400/5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd /etc/gdm/PostLogin&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim Default&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;init 3 / reboot&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;--copy/paste or make your own --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#add your ip and port number&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;X_CLIENT_XFS_START= /usr/bin/xset fp+ tcp/10.0.0.9:7100&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;if [ -z &quot;$GDMSESSION&quot; ]; then&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp; exec $X_CLIENT_XFS_START&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fi&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: for wanting to connect before login(clients that depend on all fonts from the server) either disable gnome and use startx with xinitrc(add a startup in there), or (if you know gnome terms) create a script in:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/usr/share/gdm/greeter/applications/*.desktop&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/5106688417090855818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/03/xfs-xorg-font-server-simple.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/5106688417090855818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/5106688417090855818'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/03/xfs-xorg-font-server-simple.html' title='XFS: xorg font server simple server/client connect'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-41G-bAtklB4/UUaMLoRkoiI/AAAAAAAAAdQ/YyCOKht_TLw/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-7177275934960141759</id><published>2013-03-13T23:09:00.001-07:00</published><updated>2013-03-13T23:19:41.603-07:00</updated><title type='text'>CRON: simple kernel pull/build with email notification</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;The post below shows you how to setup up a simple crontab to do simple tasks with an email notification..&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) depending on your distro you might already have cronwrap intsalled or in the repo(s)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;if not download and install&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-SocKLWKpXSc/UUFeVxfxuWI/AAAAAAAAAbY/zQOSviKfEXo/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;152&quot; src=&quot;http://2.bp.blogspot.com/-SocKLWKpXSc/UUFeVxfxuWI/AAAAAAAAAbY/zQOSviKfEXo/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd Downloads&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;wget https://pypi.python.org/packages/source/c/cronwrap/cronwrap-1.4.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;tar xvfz &amp;nbsp;cronwrap*.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd cron*&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;python setup.py install&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;which cronwrap&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;exit ; cd&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) /etc/anacrontab is the main config file as well as /etc/crontab for &quot;root&quot; jobs in the system.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-WR2erYMtYGM/UUFguBPly8I/AAAAAAAAAbo/Hj7iECmMA2U/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://2.bp.blogspot.com/-WR2erYMtYGM/UUFguBPly8I/AAAAAAAAAbo/Hj7iECmMA2U/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;this exercise does not deal with these files, but they can be modified for added root tasks for the system for regular tasks.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) create/start your own crontab under your username located in /var/spool/cron. the simple task of resetting the kernel and pulling.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-0cAszfu-ODI/UUFiF2EZioI/AAAAAAAAAb0/ZXaw9eZmomA/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;88&quot; src=&quot;http://2.bp.blogspot.com/-0cAszfu-ODI/UUFiF2EZioI/AAAAAAAAAb0/ZXaw9eZmomA/s400/3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;crontab -e&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;enter the entries for the times you want etc.. then save and exit.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;MAILTO:justinmattock@gmail.com&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;30 21 * * * /usr/bin/cronwrap -c &quot;/home/kernel./pull_script&quot; -e justinmattock@gmail.com -v&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: below is my simple script I used for this example&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-p2_alnL6Mdg/UUFr4ulMLsI/AAAAAAAAAdA/xXeY8h8RECc/s1600/err.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;125&quot; src=&quot;http://2.bp.blogspot.com/-p2_alnL6Mdg/UUFr4ulMLsI/AAAAAAAAAdA/xXeY8h8RECc/s320/err.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;----- copy/paste-------&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#/bin/sh&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;# my cheesy script to pull the kernel&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;for dir in /home/kernel/3.0* &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;do&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;cd /home/kernel/3.0 ; git reset --hard origin ;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;git checkout master ; git pull ;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;git checkout Mattock ; git reset --hard origin ; make&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;done&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Mail info:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;I used cronwrap since it makes sending info to myself much easier, and supplies good info in the email on how everything went(not just when things crap out)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;crond does send emails but only if the scripts fails. to add this option add:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;MAILTO= yourname@.com at the top of your crontab -e&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) create another task as &quot;root&quot; to complete the job&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-ZzcXiwUjN0c/UUFkQBwej6I/AAAAAAAAAcQ/qNm7s4MwzVQ/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;20&quot; src=&quot;http://1.bp.blogspot.com/-ZzcXiwUjN0c/UUFkQBwej6I/AAAAAAAAAcQ/qNm7s4MwzVQ/s320/5.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;crontab -e&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;add the root commands that need to fire off after the pull and build go through.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;30 22 * * * /usr/bin/cronwrap -c &quot;cd /home/kernel/3.0 ; make modules_install ; make install&quot; -e justinmattock@gmail.com -v&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;probably should of created another script, but wanted to show you don&#39;t need to make scripts to do this..&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) check the logs,(/var/log/cron) and wait for the email.. hopefully everything goes good for whatever commands you use!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-41wixYk0b6Q/UUFl9hZEBaI/AAAAAAAAAcc/TBO-BFRvXio/s1600/Screen.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-41wixYk0b6Q/UUFl9hZEBaI/AAAAAAAAAcc/TBO-BFRvXio/s400/Screen.png&quot; width=&quot;223&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;the first script for pulling went good, but then when it came for the root crontab I hit a strange error:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ERROR OUTPUT:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/sbin/installkernel: line 82: new-kernel-pkg: command not found&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/sbin/installkernel: line 86: new-kernel-pkg: command not found&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;make[1]: *** [install] Error 127&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;make: *** [install] Error 2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;quick fix is to edit this file at 82 and 86 by adding the full path to the programs&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-t5JHr0wwwhE/UUFnGVdVCZI/AAAAAAAAAcs/NLDkJRuAQlc/s1600/screen2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-t5JHr0wwwhE/UUFnGVdVCZI/AAAAAAAAAcs/NLDkJRuAQlc/s400/screen2.png&quot; width=&quot;225&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and there you have it.. a simple cron example of pulling and resetting the kernel, then building and installing everyday between 8-9:30pm without having to do anything..because we all know how hard entering commands in a terminal can be!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/7177275934960141759/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/03/cron-simple-kernel-pullbuild-with-email.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/7177275934960141759'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/7177275934960141759'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/03/cron-simple-kernel-pullbuild-with-email.html' title='CRON: simple kernel pull/build with email notification'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-SocKLWKpXSc/UUFeVxfxuWI/AAAAAAAAAbY/zQOSviKfEXo/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-2233156547550201804</id><published>2013-03-11T00:20:00.001-07:00</published><updated>2013-03-11T00:25:32.154-07:00</updated><title type='text'>FSCK: clean/fix BADSECTORS on a harddrive | READ/WRITE </title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;This post is to show you how I was able to recovery a hard Drive that was reporting to have BADSECTORS on it.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: determining the BADSECTORS can be tough either its alignment or it actually has physical damage&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) obtain a hard drive that is reporting BADSECTORS on it. over here I was able to buy one off of ebay&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(keep in mind this is a BADSECTOR issue)&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-KWQlDVFd2kk/UT1p_yrmS2I/AAAAAAAAAYQ/PVgy_CkSRks/s1600/bad_sector.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;300&quot; src=&quot;http://2.bp.blogspot.com/-KWQlDVFd2kk/UT1p_yrmS2I/AAAAAAAAAYQ/PVgy_CkSRks/s400/bad_sector.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) have access to the device so you can work on it&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-g0HC1P2WoxE/UT1qs5JUKyI/AAAAAAAAAYY/2twwmkWxA-8/s1600/IMG_20130307_141535.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-g0HC1P2WoxE/UT1qs5JUKyI/AAAAAAAAAYY/2twwmkWxA-8/s320/IMG_20130307_141535.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;I use an external plugin to access the device through a terminal. if your device is internal then use a liveCD to perform the clean/recovery.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) determine the state of the device. can you copy the storage device with dd or is it totally thrashed(mine was set at unknown device).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Ssg4YfsfwPQ/UT1wh3f3n2I/AAAAAAAAAYs/plrKMhf5ZUM/s1600/unkown.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;73&quot; src=&quot;http://3.bp.blogspot.com/-Ssg4YfsfwPQ/UT1wh3f3n2I/AAAAAAAAAYs/plrKMhf5ZUM/s320/unkown.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) since I had an unknown partition I used fdisk to create a partition so you I can clean the disk &amp;nbsp;e2fsck&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(the layer between hardware and software)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;fdisk /dev/sdb&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;(create a new partition with fdisk save and exit)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;create ext4 on the device:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;/sbin/mkefs.ext4 /dev/sdb1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) once the fresh filesystem is created one would think a simple fsck /dev/sdb1 would of done the trick!!!!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-eXmyEnfkq8E/UT11Pjy-UyI/AAAAAAAAAY8/g_10w3VuHLs/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;http://1.bp.blogspot.com/-eXmyEnfkq8E/UT11Pjy-UyI/AAAAAAAAAY8/g_10w3VuHLs/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;guess this is what the guy meant by having BADSECTORS!!&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(thousands of these messages)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;using:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;fdisk -y /dev/sdb*&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;above makes it easier to say &quot;yes&quot; to all the BADSECTORS on this thing and hopefully will fix them.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-v_Q1EPJkWYM/UT115J6RxeI/AAAAAAAAAZE/HVBAPAGUsS8/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;http://1.bp.blogspot.com/-v_Q1EPJkWYM/UT115J6RxeI/AAAAAAAAAZE/HVBAPAGUsS8/s400/2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;what I was not wanting to happen..: an error out with fsck.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;Error storing directory block information (inode=8209852, block=0, num=4181895) : Memory allocation failed&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: reading through seems this was a problem with bigfiles and x86_32. seems most of the people just used a x86_64 livecd system with fsck to fix this issue. &amp;nbsp;but not in my case&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;6)using fdisk create a partition scheme with small multiple partitions so e2fsck is not dealing with largefiles(bigfiles). then fill them up(WRITE) and use fsck to clean(READ)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;fdisk /dev/sd*&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;(plenty of tutorials for this)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mkefs.ext4 /dev/sd*&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: &amp;nbsp;reading through I found that with disks to repair them you need to READ/WRITE to the device to realign the sectors. hopefully this fixes my BADSECTOR issue.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Da5kfYYE3SY/UT18g4qgN_I/AAAAAAAAAZU/uX5G1cSy-Ks/s1600/sdb9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;78&quot; src=&quot;http://3.bp.blogspot.com/-Da5kfYYE3SY/UT18g4qgN_I/AAAAAAAAAZU/uX5G1cSy-Ks/s400/sdb9.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7) after creating the small partitions, READ/WRITE to the partition(s).&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-1S2FNqj2XT0/UT19X7Z5AUI/AAAAAAAAAZg/oUhR_WJEf1o/s1600/3_disk_repair.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;179&quot; src=&quot;http://3.bp.blogspot.com/-1S2FNqj2XT0/UT19X7Z5AUI/AAAAAAAAAZg/oUhR_WJEf1o/s320/3_disk_repair.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;dmesg | grep sd*&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mount /dev/sd* /mountpount(s)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd mountpoint(s)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;WRITE(s) to each partition(s) either using &quot;yes&quot; or &quot;dd&quot;(yes is faster)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;yes abcdefghijklmnopqrstuvwxyz0123456789 &amp;gt; largefile&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;repeat this for all partitions until all WRITE(s)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;8) once full to capacity clean them with fsck(READ)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-0VArmR8lN-A/UT1_HlES-MI/AAAAAAAAAZs/T2sS-V-6HUA/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;http://4.bp.blogspot.com/-0VArmR8lN-A/UT1_HlES-MI/AAAAAAAAAZs/T2sS-V-6HUA/s400/4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;as you can see WRITE(s) to the disk seems to make things work better, as well as having a smaller partition for fsck(READ) to deal with.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-xMm0rIT-nig/UT2AlaupPhI/AAAAAAAAAZ8/sstwxrJr1Yk/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;198&quot; src=&quot;http://1.bp.blogspot.com/-xMm0rIT-nig/UT2AlaupPhI/AAAAAAAAAZ8/sstwxrJr1Yk/s320/5.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;all clean! &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;9) remove the &quot;largefile&quot; so you have disk space to use.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;from here its whatever you want.. I ended up&amp;nbsp;re-partitioning&amp;nbsp;so I can run windows/linux on this disk. using fsck with 100Gigs went fine without any issues after doing the above realignment READ/WRITE(s)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/2233156547550201804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/03/fsck-cleanfix-badsectors-on-harddrive.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/2233156547550201804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/2233156547550201804'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/03/fsck-cleanfix-badsectors-on-harddrive.html' title='FSCK: clean/fix BADSECTORS on a harddrive | READ/WRITE '/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-KWQlDVFd2kk/UT1p_yrmS2I/AAAAAAAAAYQ/PVgy_CkSRks/s72-c/bad_sector.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-6939271300305557475</id><published>2013-03-06T00:00:00.001-08:00</published><updated>2013-03-06T00:00:27.556-08:00</updated><title type='text'>Automatic Login with SSH: authorized_keys(2&amp;) | publickey(s)</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;For whatever reason ssh seems so buggy, even though its not. in anycase these are my findings to having a session without having to login each time or having a public Login type scenario..:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) adjust your firewall to allow ssh port 22&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;menu&amp;gt;administration&amp;gt;firewall&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-WzafupQnnUQ/UTbszYML1LI/AAAAAAAAAWs/rd3cRASpAbE/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;http://3.bp.blogspot.com/-WzafupQnnUQ/UTbszYML1LI/AAAAAAAAAWs/rd3cRASpAbE/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) open a terminal change into .ssh then create a new private/public key(save the artwork as well).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-ndIFvGNxAwM/UTbtSYaEFyI/AAAAAAAAAW0/j7eSQXZKlww/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;223&quot; src=&quot;http://1.bp.blogspot.com/-ndIFvGNxAwM/UTbtSYaEFyI/AAAAAAAAAW0/j7eSQXZKlww/s400/2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd .ssh&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ssh-keygen -t rsa -f /home/justin/.ssh/id_rsa -C &#39; &#39;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim artwork &amp;nbsp;&amp;lt;--copy/paste your key artwork from the screen then save --&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;optional artwork from the default:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ssh-keygen -lv -f /etc/ssh/ssh_host_rsa_key &amp;gt;&amp;gt; artwork&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) add the key to the database then create authorized_keys. After creating the file(s) then create a compressed image of everything to be&amp;nbsp;transferred&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;over to the other host system either by disk drive or scp whatever you&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;prefer.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-lgqjYLZpu44/UTbvU2C6OvI/AAAAAAAAAXA/UpilMegKs0Q/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;http://2.bp.blogspot.com/-lgqjYLZpu44/UTbvU2C6OvI/AAAAAAAAAXA/UpilMegKs0Q/s400/3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ssh-add id_rsa&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ssh-add -l&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cp id_rsa.pub authorized_keys&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;tar -cf ssh_key_pub.tar artwork authorized_keys id_rsa id_rsa.pub&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) using the other machine, use scp to copy the image of files the&amp;nbsp;uncompress&amp;nbsp;and add the key to the database.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-iRNkBS-cVjs/UTbxT8Kkf7I/AAAAAAAAAXQ/P8kzjOEGu10/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;201&quot; src=&quot;http://3.bp.blogspot.com/-iRNkBS-cVjs/UTbxT8Kkf7I/AAAAAAAAAXQ/P8kzjOEGu10/s400/4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;scp &amp;nbsp;justin@10.0.0.17:/home/justin/.ssh/ssh_key_pub.tar .&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;tar -xf ssh_key_pub.tar&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ls -l&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ssh-add id_rsa&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;NOTE: for whatever reason I hit some connection issue with scp, strange thing is everything worked as it should.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;(BUGGY)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) adjust the config file(s) so you can be using RSA authentication&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/--XoB3SR8uGE/UTbyJmna_MI/AAAAAAAAAXg/ou-UbVfiwlA/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;http://3.bp.blogspot.com/--XoB3SR8uGE/UTbyJmna_MI/AAAAAAAAAXg/ou-UbVfiwlA/s400/5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;gvim /etc/ssh/sshd_config&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;RSAAuthentication yes&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;PubkeyAuthentication yes&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;AuthorizedKeysFile /home/justin/.ssh/authorized_keys&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;PasswordAuthentication no&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;/etc/ssh/ssh_config&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;RhostRSAAuthentication yes&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;RSAAuthentication yes&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;PasswordAuthentication no&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;VisualHostKey yes&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;save and exit.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;6) restart sshd and login&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;service sshd restart&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;ssh justin@10.0.0.17|3 etc..&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: the first login seems to have&amp;nbsp;&amp;nbsp;/usr/libexec/gcr-prompter in of which requires the password you used for the RSA keyfile, after giving the password click on the box on the bottom to remember. after the initial login all other login(s) are without a password. still need to figure out why gcr-prompter fires off.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;hope this helps anybody having issues with this.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/6939271300305557475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/03/automatic-login-with-ssh.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/6939271300305557475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/6939271300305557475'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/03/automatic-login-with-ssh.html' title='Automatic Login with SSH: authorized_keys(2&amp;) | publickey(s)'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-WzafupQnnUQ/UTbszYML1LI/AAAAAAAAAWs/rd3cRASpAbE/s72-c/1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-8905698107540051139</id><published>2013-02-27T10:40:00.000-08:00</published><updated>2013-02-27T10:40:07.576-08:00</updated><title type='text'>Calculate CIDR Netmask Manually</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;This is a quick tutorial on how to calculate the CIDR netmask number if you find yourself without a CIDR calculator(like taking a test or something).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) understand the setup for CIDR i.g. 4 groups of 8 bits&amp;nbsp;equaling&amp;nbsp;&amp;nbsp;32 (example)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;11111111.11111111.11111111.11111111 = 32 &amp;nbsp;bits (4 groups of 8&amp;nbsp;separated&amp;nbsp;by a &quot;.&quot; )&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) total number in each group = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;11111111 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;WTF? each group is easily calculated with these numbers(blocks)!&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;128+64+32+16+8+4+2+1 = 255 (each bit(block) has a number, add all of them to get 255)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;-----------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) Calculate the CIDR netmask of /30&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;a) count out 30 bits of 1 one(s) and the rest are zero(s)&amp;nbsp;equaling&amp;nbsp;32 bit(s)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;11111111.11111111.11111111.11111100&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; &amp;nbsp;30 one(s) and 2 zero(s) which equal = 32 bits&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) seperate and count each group:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;11111111.11111111.11111111.11111100&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;group 1 = 11111111 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;128+64+32+16+8+4+2+1 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;group 2 = 11111111 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;128+64+32+16+8+4+2+1 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;group 3 = 11111111 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;128+64+32+16+8+4+2+1 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;group 4 = 11111100 = 252&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;128+64+32+16+8+4 = 252&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: for each zero in a group remove a bit(block) starting from 1(right to left)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;128+64+32+16+8+4+2+1 = 255&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;the calculated CIDR netmask of /30 = 255.255.255.252&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;------------------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;diagram of CIDR:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Netmask              Netmask (binary)                 CIDR     Notes    &lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;255.255.255.255  11111111.11111111.11111111.11111111  /32  Host (single addr)&lt;br /&gt;255.255.255.254  11111111.11111111.11111111.11111110  /31  Unuseable&lt;br /&gt;255.255.255.252  11111111.11111111.11111111.11111100  /30    2  useable&lt;br /&gt;255.255.255.248  11111111.11111111.11111111.11111000  /29    6  useable&lt;br /&gt;255.255.255.240  11111111.11111111.11111111.11110000  /28   14  useable&lt;br /&gt;255.255.255.224  11111111.11111111.11111111.11100000  /27   30  useable&lt;br /&gt;255.255.255.192  11111111.11111111.11111111.11000000  /26   62  useable&lt;br /&gt;255.255.255.128  11111111.11111111.11111111.10000000  /25  126  useable&lt;br /&gt;255.255.255.0    11111111.11111111.11111111.00000000  /24 &quot;Class C&quot; 254 useable&lt;br /&gt;&lt;br /&gt;255.255.254.0    11111111.11111111.11111110.00000000  /23    2  Class C&#39;s&lt;br /&gt;255.255.252.0    11111111.11111111.11111100.00000000  /22    4  Class C&#39;s&lt;br /&gt;255.255.248.0    11111111.11111111.11111000.00000000  /21    8  Class C&#39;s&lt;br /&gt;255.255.240.0    11111111.11111111.11110000.00000000  /20   16  Class C&#39;s&lt;br /&gt;255.255.224.0    11111111.11111111.11100000.00000000  /19   32  Class C&#39;s&lt;br /&gt;255.255.192.0    11111111.11111111.11000000.00000000  /18   64  Class C&#39;s&lt;br /&gt;255.255.128.0    11111111.11111111.10000000.00000000  /17  128  Class C&#39;s&lt;br /&gt;255.255.0.0      11111111.11111111.00000000.00000000  /16  &quot;Class B&quot;&lt;br /&gt;     &lt;br /&gt;255.254.0.0      11111111.11111110.00000000.00000000  /15    2  Class B&#39;s&lt;br /&gt;255.252.0.0      11111111.11111100.00000000.00000000  /14    4  Class B&#39;s&lt;br /&gt;255.248.0.0      11111111.11111000.00000000.00000000  /13    8  Class B&#39;s&lt;br /&gt;255.240.0.0      11111111.11110000.00000000.00000000  /12   16  Class B&#39;s&lt;br /&gt;255.224.0.0      11111111.11100000.00000000.00000000  /11   32  Class B&#39;s&lt;br /&gt;255.192.0.0      11111111.11000000.00000000.00000000  /10   64  Class B&#39;s&lt;br /&gt;255.128.0.0      11111111.10000000.00000000.00000000  /9   128  Class B&#39;s&lt;br /&gt;255.0.0.0        11111111.00000000.00000000.00000000  /8   &quot;Class A&quot;&lt;br /&gt;  &lt;br /&gt;254.0.0.0        11111110.00000000.00000000.00000000  /7&lt;br /&gt;252.0.0.0        11111100.00000000.00000000.00000000  /6&lt;br /&gt;248.0.0.0        11111000.00000000.00000000.00000000  /5&lt;br /&gt;240.0.0.0        11110000.00000000.00000000.00000000  /4&lt;br /&gt;224.0.0.0        11100000.00000000.00000000.00000000  /3&lt;br /&gt;192.0.0.0        11000000.00000000.00000000.00000000  /2&lt;br /&gt;128.0.0.0        10000000.00000000.00000000.00000000  /1&lt;br /&gt;0.0.0.0          00000000.00000000.00000000.00000000  /0   IP space&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Note: I dont want to plagerise so i have to give most of the credit to the people in this forum who discussed on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;how to get this calculated. I just(hopefully) made sense of the confusion!&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://www.techexams.net/forums/ccna-ccent/38980-help-figuring-out-cidr-notation-calculations.html&quot;&gt;&lt;span style=&quot;font-size: xx-small;&quot;&gt;http://www.techexams.net/forums/ccna-ccent/38980-help-figuring-out-cidr-notation-calculations.html&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/8905698107540051139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/02/calculate-cidr-netmask-manually.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8905698107540051139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8905698107540051139'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/02/calculate-cidr-netmask-manually.html' title='Calculate CIDR Netmask Manually'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-8109802720029002071</id><published>2013-02-21T23:57:00.000-08:00</published><updated>2013-02-22T00:25:33.472-08:00</updated><title type='text'>IBM Thinkpad G40 BIOS password bypass hack</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;The below post will show you how to bypass the BIOS password on the IBM Thinkpad G40.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) obtain an IBM Thinkpad G40 with a locked BIOS&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-KHwPqKGD_po/UScd2gzmmLI/AAAAAAAAASc/mJ-lRr70JXI/s1600/IMG_20130221_192753.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-KHwPqKGD_po/UScd2gzmmLI/AAAAAAAAASc/mJ-lRr70JXI/s320/IMG_20130221_192753.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) disconnect the battery and the A/C&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-bqL7SgrBefI/UScfAjzbt7I/AAAAAAAAASk/Y4JWkA1rBpM/s1600/IMG_20130221_193007.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-bqL7SgrBefI/UScfAjzbt7I/AAAAAAAAASk/Y4JWkA1rBpM/s320/IMG_20130221_193007.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) start&amp;nbsp;disassembling&amp;nbsp;the machine with a screwdriver&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-DF1B9IAxun8/UScfX6X03AI/AAAAAAAAASs/Xr2_P2I4Szw/s1600/IMG_20130221_193017.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-DF1B9IAxun8/UScfX6X03AI/AAAAAAAAASs/Xr2_P2I4Szw/s320/IMG_20130221_193017.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) find the CMOS battery and disconnect it. then turn the machine on(A/C only) to see if that&#39;s all you need to do to reset the password. if not then continue reading.(leave the CMOS battery out of the machine)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-OkgY7czCUTw/UScfxrenSmI/AAAAAAAAAS0/pRFSpUJmlo8/s1600/IMG_20130221_193229.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-OkgY7czCUTw/UScfxrenSmI/AAAAAAAAAS0/pRFSpUJmlo8/s320/IMG_20130221_193229.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) after&amp;nbsp;disassembling the machine&amp;nbsp;look for the ATMEL chip!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-0MNyXWQ96KU/UScgTEv_R7I/AAAAAAAAAS8/wpU6wUqkogE/s1600/IMG_20130221_200912.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-0MNyXWQ96KU/UScgTEv_R7I/AAAAAAAAAS8/wpU6wUqkogE/s320/IMG_20130221_200912.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Oops.. wrong chip! this is the processor(PENTIUM M)&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-acE8YnBhDDw/UScg10SyWAI/AAAAAAAAATE/27D-NuVBKNI/s1600/IMG_20130221_202635.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-acE8YnBhDDw/UScg10SyWAI/AAAAAAAAATE/27D-NuVBKNI/s320/IMG_20130221_202635.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Ahh.. there it is!! you cant miss it, says ATMEL all over it.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;6) now that you found the ATMEL chip, now you need to short the chip while turning on the machine.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;spec of the chip:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-MAQYB6doWbE/USchVHI-ESI/AAAAAAAAATM/Y-DGzp3yJA0/s1600/atmel.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; src=&quot;http://3.bp.blogspot.com/-MAQYB6doWbE/USchVHI-ESI/AAAAAAAAATM/Y-DGzp3yJA0/s320/atmel.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;you want to short the PROT and GRND out!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-gr3448_RZ4s/USch20M5dCI/AAAAAAAAATU/o_NO5f6trFQ/s1600/IMG_20130221_204029.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-gr3448_RZ4s/USch20M5dCI/AAAAAAAAATU/o_NO5f6trFQ/s320/IMG_20130221_204029.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;as you can see I simply used tweezers to do the job. now that you are shorting the machine hold and turn the machine on, and wait until you are in the BIOS..:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: dont let go of the tweezers or the screen goes grey.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-j2WHhq0NEUs/USciSzvxRiI/AAAAAAAAATc/E8qrKzskHpY/s1600/IMG_20130221_204944.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-j2WHhq0NEUs/USciSzvxRiI/AAAAAAAAATc/E8qrKzskHpY/s320/IMG_20130221_204944.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;after a few seconds you should have access to the BIOS. there disable/change the password.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-JHR85rZVswE/USci3LLJqBI/AAAAAAAAATk/lo95LesxwX0/s1600/IMG_20130221_205029.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-JHR85rZVswE/USci3LLJqBI/AAAAAAAAATk/lo95LesxwX0/s320/IMG_20130221_205029.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;save and exit!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-5n2LM6iHO9k/UScjIuAVPXI/AAAAAAAAATs/j9ElMpJ2O2U/s1600/IMG_20130221_205201.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-5n2LM6iHO9k/UScjIuAVPXI/AAAAAAAAATs/j9ElMpJ2O2U/s320/IMG_20130221_205201.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;hopefully this helps anybody who has this issue.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/8109802720029002071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/02/ibm-thinkpad-g40-bios-password-bypass.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8109802720029002071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8109802720029002071'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/02/ibm-thinkpad-g40-bios-password-bypass.html' title='IBM Thinkpad G40 BIOS password bypass hack'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-KHwPqKGD_po/UScd2gzmmLI/AAAAAAAAASc/mJ-lRr70JXI/s72-c/IMG_20130221_192753.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-10617165666684560</id><published>2013-02-19T22:43:00.000-08:00</published><updated>2013-02-19T22:43:00.748-08:00</updated><title type='text'>MySQL: simple database session</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;The previous post was to turn on the MySQL server, now its time to actually do something with it!&lt;/span&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) start a MySQL session as root to create the user and GRANT&amp;nbsp;permissions&amp;nbsp;then verify and flush&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-VAgp1zlOG0g/USRmamyCiDI/AAAAAAAAAQs/fJagJuCGTqE/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;282&quot; src=&quot;http://3.bp.blogspot.com/-VAgp1zlOG0g/USRmamyCiDI/AAAAAAAAAQs/fJagJuCGTqE/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;sudo mysql -u root -hlocalhost&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mysql&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;CREATE USER &#39;justin&#39;@&#39;localhost&#39; IDENTIFIED BY &#39;test&#39;;&lt;br /&gt;GRANT ALL ON db1.* TO &#39;justin&#39;@&#39;localhost&#39;;&lt;br /&gt;GRANT USAGE ON *.* TO &#39;justin&#39;@&#39;localhost&#39; WITH MAX_QUERIES_PER_HOUR 90;&lt;br /&gt;GRANT ALL ON mydb.* TO &#39;justin&#39;@&#39;localhost&#39;;&lt;br /&gt;GRANT SELECT, INSERT ON mydb.* TO &#39;justin&#39;@&#39;localhost&#39;;&lt;br /&gt;GRANT ALL ON mydb.mytbl TO &#39;justin&#39;@&#39;localhost&#39;;&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;verify and restart the privileges:&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SHOW GRANTS FOR &#39;justin&#39;@&#39;localhost&#39;;&lt;br /&gt;FLUSH PRIVILEGES;&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) exit from the root mysql session, start mysql as normal user, then create a database and use it, verify at the end&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-V4zVzc9ZSVk/USRn34P_zpI/AAAAAAAAAQ4/I6eyoy-OR5Y/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;http://3.bp.blogspot.com/-V4zVzc9ZSVk/USRn34P_zpI/AAAAAAAAAQ4/I6eyoy-OR5Y/s400/4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mysql&amp;gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;create database test;&lt;br /&gt;use test;&lt;br /&gt;\s&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;br /&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) create a table in the database and add names in the tables&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-9UXyZAra39E/USRpJ5M27OI/AAAAAAAAARM/PN9ZBKrqMg0/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;http://3.bp.blogspot.com/-9UXyZAra39E/USRpJ5M27OI/AAAAAAAAARM/PN9ZBKrqMg0/s400/5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mysql&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;CREATE TABLE test (name VARCHAR(20), last_name VARCHAR(20));&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;show tables;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;INSERT INTO test VALUES (&#39;justin&#39;,&#39;mattock&#39;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;DESCRIBE test;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SELECT * FROM test;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) delete a table entry, delete a table, delete a database and delete a user&lt;/span&gt;&lt;/pre&gt;&lt;pre wrap=&quot;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-rh2nfgr8pyM/USRp_ZsZe1I/AAAAAAAAARU/nUNhz3s824E/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://2.bp.blogspot.com/-rh2nfgr8pyM/USRp_ZsZe1I/AAAAAAAAARU/nUNhz3s824E/s400/7.png&quot; width=&quot;368&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mysql&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;ALTER TABLE test DROP name;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;SELECT * FROM test;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;drop table test;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;show tables;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;DROP database test;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;\s&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: to delete user exit normal users session, then start a root mysql session then the below command to DROP the user:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mysql&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;DROP USER &#39;justin&#39;@&#39;localhost&#39;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) have fun with MySQl.. as you can see once you get the hang of it, MySQL is really easy to use..:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/10617165666684560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/02/mysql-simple-database-session.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/10617165666684560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/10617165666684560'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/02/mysql-simple-database-session.html' title='MySQL: simple database session'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-VAgp1zlOG0g/USRmamyCiDI/AAAAAAAAAQs/fJagJuCGTqE/s72-c/1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-590084927696205271</id><published>2013-02-18T22:37:00.002-08:00</published><updated>2013-02-18T22:37:26.404-08:00</updated><title type='text'>Starting Mysqld on fedora 17</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;below is a post about how I was able to start mysqld on fedora 17.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) &lt;span style=&quot;color: blue;&quot;&gt;yum install mysql mysql-server&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) &lt;span style=&quot;color: blue;&quot;&gt;service mysqld start&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: if you get a: Job failed. see system journal and &#39;systemctl status&#39; for details&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then hopefully the below helps.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) &lt;span style=&quot;color: blue;&quot;&gt;cat /var/log/messages|mysqld.log&lt;/span&gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;should give you a better idea of whats going on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-ipo3sMV56wc/USMVSWqmL8I/AAAAAAAAAPI/E7uh8XAhTTI/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;http://1.bp.blogspot.com/-ipo3sMV56wc/USMVSWqmL8I/AAAAAAAAAPI/E7uh8XAhTTI/s400/1.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;after a bit of searching my findings found the best way to deal with the above ERROR&#39;s is to:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-tDzgi_ZtesA/USMV3rWrijI/AAAAAAAAAPQ/JxcwOeIpmlA/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;http://3.bp.blogspot.com/-tDzgi_ZtesA/USMV3rWrijI/AAAAAAAAAPQ/JxcwOeIpmlA/s320/2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) change to the variable directory and rename mysql and create a whole new set of files/dir(s)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;su&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cd /var/lib ; ls -l mysql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;mv mysql{,-old}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql_install_db&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) now correct the ownership and SELinux contexts&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-11LVcgW_U_E/USMXSytBt9I/AAAAAAAAAPc/GMDJuQeywHQ/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;113&quot; src=&quot;http://3.bp.blogspot.com/-11LVcgW_U_E/USMXSytBt9I/AAAAAAAAAPc/GMDJuQeywHQ/s320/3.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;chown -R mysql: mysql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;restorecon -R /var/lib/mysql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: should we have mysql UID|GID for all? or just some files?&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7) start the server:&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;service mysqld start&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-DGnX-8mwW7g/USMX1NzUkuI/AAAAAAAAAPk/2mH6XrjSaJA/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;277&quot; src=&quot;http://4.bp.blogspot.com/-DGnX-8mwW7g/USMX1NzUkuI/AAAAAAAAAPk/2mH6XrjSaJA/s400/5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;check the logs to verify we have mysqld started!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;cat /var/log/mysqld.log&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7) check/upgrade tables for Mysqld&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql_upgrade&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-QrcGqmQjVC8/USMbNoYNRiI/AAAAAAAAAQA/YrdSj3eFE_Y/s1600/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;282&quot; src=&quot;http://2.bp.blogspot.com/-QrcGqmQjVC8/USMbNoYNRiI/AAAAAAAAAQA/YrdSj3eFE_Y/s320/9.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;8) connect to Mysql database (localhost)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;mysql -u username -p -hlocalhost&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-IZWR8FTojOM/USMcSz1WCjI/AAAAAAAAAQM/WX4Gi_cj6FY/s1600/+mysql.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;http://3.bp.blogspot.com/-IZWR8FTojOM/USMcSz1WCjI/AAAAAAAAAQM/WX4Gi_cj6FY/s320/+mysql.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and that&#39;s it you are now using a Mysql database.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: &amp;nbsp;press &#39;ENTER&#39; for the password.. or setup password(s) logins for Mysql!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/590084927696205271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/02/starting-mysqld-on-fedora-17.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/590084927696205271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/590084927696205271'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/02/starting-mysqld-on-fedora-17.html' title='Starting Mysqld on fedora 17'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-ipo3sMV56wc/USMVSWqmL8I/AAAAAAAAAPI/E7uh8XAhTTI/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-4081403955928857469</id><published>2013-02-17T18:47:00.001-08:00</published><updated>2013-02-17T21:40:38.113-08:00</updated><title type='text'>Copy NAND Partition From One SAMSUNG SGH-T499 to Another to recover it!</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;This is a quick tutorial on how to copy the partition from one SAMSUNG SGH-T499 to another so it can be recovered from an unworkable(hard bricked) state.&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) Solder the &amp;nbsp;JTAG points on both devices a) working device b) bricked device&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: some devices may not need to be soldered(simply USB)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-eWAMItW4Jd0/USGM_eh7jUI/AAAAAAAAAN4/QhzjU5q8L0U/s1600/IMG_20130217_121959.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-eWAMItW4Jd0/USGM_eh7jUI/AAAAAAAAAN4/QhzjU5q8L0U/s320/IMG_20130217_121959.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) plug the _good_ device in the JTAG box so you can copy all the partitions.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) open JTAG MANAGER and choose the&amp;nbsp;resurrector&amp;nbsp;or manually choose the chipset for qualcomm(msm7627)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) open qualcomm partitioning tool, then load &quot;get partitions from device&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) once partitions are loaded double-click each one to select it, then press &quot;read&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;6) once finished reading right click and save/download full/spare all partitions to a certain directory.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-XMBTz8CNka4/USGO1Q59Q9I/AAAAAAAAAOE/HWasvLcSbSs/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;http://4.bp.blogspot.com/-XMBTz8CNka4/USGO1Q59Q9I/AAAAAAAAAOE/HWasvLcSbSs/s400/1.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7) disconnect the good device and plugin the bricked device&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(NOTE: the&amp;nbsp;resurrector that JTAG comes with is for another SGH-T499 so it will not fix the TMOBILE version; just a flashing SAMSUNG and reboot; in this case with the image below I tried firmware for another device&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and only had flashing LEDS)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-bb1NyGG48ME/USGQT-QZlAI/AAAAAAAAAOU/fzTPoxAEV7A/s1600/IMG_20130126_231207.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-bb1NyGG48ME/USGQT-QZlAI/AAAAAAAAAOU/fzTPoxAEV7A/s320/IMG_20130126_231207.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;8) Now open DCC read/write plugin&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;9) choose the first partition(MIBIB) firmware that you copied and downloaded.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;10) enter the first block of memory address and the last block of memory address for this partition.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-fFBQ5J4Kz1U/USGR5LeOdPI/AAAAAAAAAOg/jK3Sd8Z9lWU/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;208&quot; src=&quot;http://3.bp.blogspot.com/-fFBQ5J4Kz1U/USGR5LeOdPI/AAAAAAAAAOg/jK3Sd8Z9lWU/s400/2.PNG&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;11) make sure settings by code is clicked with &quot;write to NAND&quot;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;12) start writting to the first partition block of memory on the device.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;13) repeat until all partitions are written to the bricked device.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;14) disconnect and hope it works! in my case I finally had a solid SAMSUNG logo, then booted into android&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-8B22sLVwaOE/USGTFHcfTJI/AAAAAAAAAO0/92N2v0GI4cY/s1600/IMG_20130217_121228.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-8B22sLVwaOE/USGTFHcfTJI/AAAAAAAAAO0/92N2v0GI4cY/s320/IMG_20130217_121228.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;15) sit back and realize next time you decide to zero out all partitions make sure you have the proper firmware so you dont have to go out and buy another of the same phone to get things working!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/4081403955928857469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/02/copy-nand-partition-from-one-samsung.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/4081403955928857469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/4081403955928857469'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/02/copy-nand-partition-from-one-samsung.html' title='Copy NAND Partition From One SAMSUNG SGH-T499 to Another to recover it!'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-eWAMItW4Jd0/USGM_eh7jUI/AAAAAAAAAN4/QhzjU5q8L0U/s72-c/IMG_20130217_121959.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-540086106015401653</id><published>2013-02-10T00:00:00.000-08:00</published><updated>2013-02-13T07:46:30.634-08:00</updated><title type='text'>HTC MyTouch 4G(GLACIER)  Qualcomm HS-USB QDLoader 9008 USB JTAG ByPass Signature&quot;!&quot;</title><content type='html'>&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;So instead of going and buying a new shinny phone for $500 bucks, I&#39;ve been fascinated with buying&amp;nbsp;completely&amp;nbsp;HARD bricked boards/phones in hopes to restore them! kind of like&amp;nbsp;Frankenstein&amp;nbsp;or something..:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Anyways the below post is a work in progress on how to get&amp;nbsp;&amp;nbsp;Qualcomm HS-USB QDLoader 9008&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;loaded and running with triggering the TP(test point) to initiate the USB JTAG.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) start device manager so you can see the hardware activity, then start JTAG Manager&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-O9dJGgr3pyw/URdKi8AwjsI/AAAAAAAAAKg/sBfPnGQ7_v0/s1600/1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;108&quot; src=&quot;http://4.bp.blogspot.com/-O9dJGgr3pyw/URdKi8AwjsI/AAAAAAAAAKg/sBfPnGQ7_v0/s320/1.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2)Disable the eMMC to bring up&amp;nbsp;Qualcomm HS-USB QDLoader 9008&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: if your phone is still in good condition you can plugin the usb and Qualcomm HS-USB QDLoader 9008&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;will appear in the Port COM &amp;amp; LPT section. if not then you need to use a needle to ground one of the chips to disable the eMMC to allow Qualcomm HS-USB QDLoader 9008. The below image is what worked for me:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-ksLobX_y_Pc/URdLnFBqbGI/AAAAAAAAAKs/dj4YUDE6Y9A/s1600/IMG_20130209_225346.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-ksLobX_y_Pc/URdLnFBqbGI/AAAAAAAAAKs/dj4YUDE6Y9A/s320/IMG_20130209_225346.jpg&quot; width=&quot;240&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Once you ground the right capacitor/chip then you should see Qualcomm HS-USB QDLoader 9008&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;in Device Manager.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-ddf2oVOTc0g/URdM7iQoO9I/AAAAAAAAAK4/xN37mZ3ZmXg/s1600/2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;88&quot; src=&quot;http://3.bp.blogspot.com/-ddf2oVOTc0g/URdM7iQoO9I/AAAAAAAAAK4/xN37mZ3ZmXg/s320/2.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;as you can see the module is loaded, but we have a warning.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: with windows 7 there is a signature verification mechanism that will prevent drives such as the above from engaging.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-I62jEjEwRpw/URdNZ-htXoI/AAAAAAAAALA/SNrtEaFOXMY/s1600/3-2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;107&quot; src=&quot;http://1.bp.blogspot.com/-I62jEjEwRpw/URdNZ-htXoI/AAAAAAAAALA/SNrtEaFOXMY/s400/3-2.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) google search showed lots of hacks for this, but the best and easiest was to reboot and press F8&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Ld3499EakxY/URdORYMyRfI/AAAAAAAAALM/2rKMZ3ljg1Q/s1600/IMG_20130209_225536.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://1.bp.blogspot.com/-Ld3499EakxY/URdORYMyRfI/AAAAAAAAALM/2rKMZ3ljg1Q/s320/IMG_20130209_225536.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;once in the bootloader option choose: Disable Driver Signature Enforcement so&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Qualcomm HS-USB QDLoader 9008 can run.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) once rebooted load JTAG Manager and preform the above TP to bring up Qualcomm HS-USB QDLoader 9008.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-xVrubUU_Af0/URdPJzMTbyI/AAAAAAAAALc/FBWiuZCz1mA/s1600/5.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;85&quot; src=&quot;http://1.bp.blogspot.com/-xVrubUU_Af0/URdPJzMTbyI/AAAAAAAAALc/FBWiuZCz1mA/s320/5.PNG&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and JTAG Manager running the resurrection&amp;nbsp;for USB:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Of_PyHqydpU/URdPfbsLQ5I/AAAAAAAAALk/kCS3V24en1Y/s1600/7.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;120&quot; src=&quot;http://1.bp.blogspot.com/-Of_PyHqydpU/URdPfbsLQ5I/AAAAAAAAALk/kCS3V24en1Y/s400/7.PNG&quot; width=&quot;400&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;A simple reboot option makes life that much easier.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;7) This is yet to be written..&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: as you can see in the above picture I have another warning with USB either RIFF is unable to read the eMMC on this device or the chp is damaged(which will need to be replaced) Also&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;a direct JTAG I will try but from what I read as well the fuse has been disabled on these devices not having the capability.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(which gives me nothing but a cool looking paper weight on my desk).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/540086106015401653/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/02/htc-mytouch-4gglacier-qualcomm-hs-usb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/540086106015401653'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/540086106015401653'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/02/htc-mytouch-4gglacier-qualcomm-hs-usb.html' title='HTC MyTouch 4G(GLACIER)  Qualcomm HS-USB QDLoader 9008 USB JTAG ByPass Signature&quot;!&quot;'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-O9dJGgr3pyw/URdKi8AwjsI/AAAAAAAAAKg/sBfPnGQ7_v0/s72-c/1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-8511881694502670302</id><published>2013-02-03T23:07:00.000-08:00</published><updated>2013-02-13T07:46:50.193-08:00</updated><title type='text'>Better Battery Life on Android: build.prop </title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;The below post is to share my findings on how to improve battery with jellybean and ICS, and possibly older versions of android.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;1) root your android so that you can remount /system to make changes to build.prop&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(google is your friend with rooting)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-YRVbAZSUqrY/UQ9WIdiDNPI/AAAAAAAAAJs/9pn0m8WNyIE/s1600/power.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-YRVbAZSUqrY/UQ9WIdiDNPI/AAAAAAAAAJs/9pn0m8WNyIE/s320/power.png&quot; width=&quot;180&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;2) remount &amp;nbsp;/system with read/write access to&amp;nbsp;modify&amp;nbsp; /system/build.prop&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mount -t ext3 -o rw,remount /dev/block/devicename &amp;nbsp;/system&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: you are remounting the partition with &amp;nbsp;/system&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;3) make the modifications to build.prop so you can have better battery life.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;vi /system/build.prop&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;add the lines below:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;#add pm &lt;br /&gt;pm.sleep_mode = 1&lt;br /&gt;ro.ril.disable.power.collapse = 0&lt;br /&gt;wifi.supplicant_scan_interval = 180&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;4) reboot into recovery mode and wipe cache/delvick then reboot so the settings take affect.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;5) once booted up add some changes to the kernel: copy/paste to a file on the sdcard:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;copy/paste&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;lt;------- &amp;nbsp;cut &amp;nbsp;---------&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fs.nr_open = 1053696&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;fs.inotify.max_queued_events = 32000&lt;br /&gt;fs.inotify.max_user_instances = 256&lt;br /&gt;fs.inotify.max_user_watches = 10240&lt;br /&gt;fs.lease-break-time = 10&lt;br /&gt;fs.file-max = 165164&lt;br /&gt;kernel.threads-max = 525810&lt;br /&gt;kernel.random.write_wakeup_threshold = 256&lt;br /&gt;kernel.random.read_wakeup_threshold = 128&lt;br /&gt;kernel.panic = 5&lt;br /&gt;kernel.panic = 0&lt;br /&gt;kernel.panic_on_oops = 1&lt;br /&gt;kernel.sched_child_runs_first = 0&lt;br /&gt;fs.lease-break-time = 10&lt;br /&gt;fs.file-max = 65536&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;vm.dirty_ratio = 90&lt;br /&gt;vm.dirty_background_ratio = 80&lt;br /&gt;vm.oom_kill_allocating_task = 1&lt;br /&gt;vm.overcommit_memory = 1&lt;br /&gt;vm.page-cluster = 3&lt;br /&gt;vm.drop_caches = 3&lt;br /&gt;vm.min_free_kbytes = 4096&lt;br /&gt;vm.panic_on_oom = 0&lt;br /&gt;vm.dirty_expire_centisecs = 1000&lt;br /&gt;vm.dirty_writeback_centisecs = 2000&lt;br /&gt;vm.oom_kill_allocating_task = 0&lt;br /&gt;vm.vfs_cache_pressure = 10&lt;br /&gt;vm.min_free_order_shift = 4&lt;br /&gt;vm.laptop_mode = 0&lt;br /&gt;vm.block_dump = 0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;add the entries into the kernel&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: to make permanent&amp;nbsp;add a file in&amp;nbsp;&amp;nbsp;/system/etc/init.d/10sysctl so every reboot the entries are automatically entered if not you need to perform the below command&amp;nbsp;every time.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sysctl -pa somefilewiththeentries&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: the above changes are only what I found, there probably is more that can be added&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;6) disable or uninstall power hungry apps!&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;gps,servers, etc.. that you don&#39;t need running all the time.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;you should have better battery life than before. I noticed on my table and phone the life went from crappy 5hrs to 14hrs.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/8511881694502670302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/02/better-battery-life-on-android-buildprop.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8511881694502670302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8511881694502670302'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/02/better-battery-life-on-android-buildprop.html' title='Better Battery Life on Android: build.prop '/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-YRVbAZSUqrY/UQ9WIdiDNPI/AAAAAAAAAJs/9pn0m8WNyIE/s72-c/power.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-57719790282358358</id><published>2013-01-28T23:55:00.002-08:00</published><updated>2013-02-13T07:47:10.510-08:00</updated><title type='text'>Custom Home Directory with QUOTA enabled</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;This post will show &lt;span style=&quot;font-size: x-small;&quot;&gt;you how to create a new user with a custom directory, then enabl&lt;span style=&quot;font-size: x-small;&quot;&gt;e&lt;/span&gt; QUOTA on the individual&lt;span style=&quot;font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;F&lt;span style=&quot;font-size: x-small;&quot;&gt;i&lt;span style=&quot;font-size: x-small;&quot;&gt;rst&lt;/span&gt;&lt;/span&gt; add the new user to the account:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-k3PsLeFY2nM/UQduvSCRhGI/AAAAAAAAAHM/zcepFv6wFzk/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;http://2.bp.blogspot.com/-k3PsLeFY2nM/UQduvSCRhGI/AAAAAAAAAHM/zcepFv6wFzk/s320/1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;with fedora 17 search for &lt;span style=&quot;font-size: x-small;&quot;&gt;&quot;users&quot; &lt;span style=&quot;font-size: x-small;&quot;&gt;and you will see the listed program. there create the new account.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then in a terminal give the user a password: sudo passwd username&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(in my case my new user is &#39;linus&#39;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Choose a custom location for the home directory. in my case I have a seperate AIX partition with JFS2 so might as well use it up and test QUOTA:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-LPfKmFkK1pE/UQdwIkRnuKI/AAAAAAAAAHc/CwAddtSZ2S0/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;36&quot; src=&quot;http://4.bp.blogspot.com/-LPfKmFkK1pE/UQdwIkRnuKI/AAAAAAAAAHc/CwAddtSZ2S0/s400/2.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now that I have my location specified now to modify the new user &#39;linus&#39; to hav&lt;span style=&quot;font-size: x-small;&quot;&gt;e their home directory pointing to my AIX parti&lt;span style=&quot;font-size: x-small;&quot;&gt;tion at: /dev/sdb2&amp;nbsp; /srv/AIX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;I used usermod to make the changes:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-W2X3DpYxWiA/UQdxOKvqI7I/AAAAAAAAAHs/5uNkhuUbY-4/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;http://4.bp.blogspot.com/-W2X3DpYxWiA/UQdxOKvqI7I/AAAAAAAAAHs/5uNkhuUbY-4/s400/3.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&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;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;usermod -m -d /srv/AIX/home/linus linus&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;verify that &lt;span style=&quot;font-size: x-small;&quot;&gt;&#39;linus&#39; is part of the workgroup:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Ib_urArjfqU/UQdx52i2RTI/AAAAAAAAAH0/B1o3addeEp4/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;28&quot; src=&quot;http://3.bp.blogspot.com/-Ib_urArjfqU/UQdx52i2RTI/AAAAAAAAAH0/B1o3addeEp4/s400/4.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;cat /etc/passwd | grep linus&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Now logout and login as the new user &#39;linus&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: for whatever reason(&lt;span style=&quot;font-size: x-small;&quot;&gt;maybe missed something) I&lt;span style=&quot;font-size: x-small;&quot;&gt; could not login&lt;span style=&quot;font-size: x-small;&quot;&gt; due to some issue with fedora&lt;span style=&quot;font-size: x-small;&quot;&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-e90i4w8WoeY/UQdzFJjDXHI/AAAAAAAAAIA/N8ol9FZLgUY/s1600/IMG_20130128_202722.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://3.bp.blogspot.com/-e90i4w8WoeY/UQdzFJjDXHI/AAAAAAAAAIA/N8ol9FZLgUY/s320/IMG_20130128_202722.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Could Not Update ICEauthority file /srv/AIX/home/linus&lt;span style=&quot;font-size: x-small;&quot;&gt;/.ICEauthority&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Clearly a permission issue with creating a new directory in an unk&lt;span style=&quot;font-size: x-small;&quot;&gt;nown location&lt;span style=&quot;font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(SELinu&lt;span style=&quot;font-size: x-small;&quot;&gt;x was even in permissive mo&lt;span style=&quot;font-size: x-small;&quot;&gt;d&lt;/span&gt;e &lt;span style=&quot;font-size: x-small;&quot;&gt;but&lt;/span&gt; still!).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;S&lt;/span&gt;o the quick solution was to create the directory for &lt;span style=&quot;font-size: x-small;&quot;&gt;.ICE since it cant connect the dots with ACL&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and give it the proper group permissions:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-Hl1Ui2FHKC0/UQd0J7sMJKI/AAAAAAAAAIQ/RDOh1Xoi1RQ/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;116&quot; src=&quot;http://1.bp.blogspot.com/-Hl1Ui2FHKC0/UQd0J7sMJKI/AAAAAAAAAIQ/RDOh1Xoi1RQ/s400/5.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&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;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;as root: cd /srv/AIX ; mkdir home ; chown linus&lt;span style=&quot;font-size: x-small;&quot;&gt;: home&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;after the quick fix, I was able to login as &#39;linus&#39; with my home directory located at /srv/AIX/* on a &lt;span style=&quot;font-size: x-small;&quot;&gt;separate&lt;/span&gt; partition.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Now to enable quota o&lt;span style=&quot;font-size: x-small;&quot;&gt;n the system and the user.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;so logout as &lt;span style=&quot;font-size: x-small;&quot;&gt;&#39;linus&#39; and login as you the &lt;span style=&quot;font-size: x-small;&quot;&gt;administrator&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;enable quota &lt;span style=&quot;font-size: x-small;&quot;&gt;on the filesystem: &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-pqn96wxTrSY/UQd93fAxOQI/AAAAAAAAAJc/mOKeJez-jV8/s1600/10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;52&quot; src=&quot;http://2.bp.blogspot.com/-pqn96wxTrSY/UQd93fAxOQI/AAAAAAAAAJc/mOKeJez-jV8/s400/10.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;my fstab file shows my external drive mounted every boot for the users home directory.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;you can mount without rebooting with:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mount -t auto &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;-o rw,userquota,grpquota /&lt;span style=&quot;font-size: x-small;&quot;&gt;device/dir /mntpoint&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;pre&gt; &lt;/pre&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;once the filesystem and the kernel have been enabled you can start configuring the &lt;span style=&quot;font-size: x-small;&quot;&gt;user to use &lt;span style=&quot;font-size: x-small;&quot;&gt;QUOTA&lt;/span&gt; &lt;/span&gt;open a terminal and issue these commands:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-HzSjKxGFTLo/UQd1zKltoiI/AAAAAAAAAIk/2RmOOmq9F9k/s1600/7.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;250&quot; src=&quot;http://4.bp.blogspot.com/-HzSjKxGFTLo/UQd1zKltoiI/AAAAAAAAAIk/2RmOOmq9F9k/s400/7.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&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;&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;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;using quotacheck -v /srv/AIX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;gives you info on what is wrong.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;once &lt;span style=&quot;font-size: x-small;&quot;&gt;you see &lt;span style=&quot;font-size: x-small;&quot;&gt;whats wrong use quotacheck to fi&lt;span style=&quot;font-size: x-small;&quot;&gt;x the issue:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;qu&lt;span style=&quot;font-size: x-small;&quot;&gt;otacheck -cugv /srv/AIX&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;verify:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;quotacheck -v&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;should results proper results. &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now to set the &lt;span style=&quot;font-size: x-small;&quot;&gt;soft and hard limits for the individual:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-eL5gJWhMkVs/UQd5uPDJkkI/AAAAAAAAAJE/_ve2WVA75a8/s1600/9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;92&quot; src=&quot;http://3.bp.blogspot.com/-eL5gJWhMkVs/UQd5uPDJkkI/AAAAAAAAAJE/_ve2WVA75a8/s400/9.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;edquota linus&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;make the changes to the user &#39;linus&#39; with how much space you want to allow them to use&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(kind of like GMAIL giving &lt;span style=&quot;font-size: x-small;&quot;&gt;10&lt;/span&gt; gig&#39;s &lt;span style=&quot;font-size: x-small;&quot;&gt;of free storage &lt;/span&gt;for emails)&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: the size of each block in quota is 1024&lt;span style=&quot;font-size: x-small;&quot;&gt;k. the above numbers ended up being to much&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;So I ended up using:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;soft = 2202010 = 2.&lt;span style=&quot;font-size: x-small;&quot;&gt;*&lt;/span&gt;GiG&lt;span style=&quot;font-size: x-small;&quot;&gt; / &lt;/span&gt;hard = 2203010 - 2.&lt;span style=&quot;font-size: x-small;&quot;&gt;1&lt;/span&gt;GiG (&lt;span style=&quot;font-size: x-small;&quot;&gt;1000 bites more)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then enable quota:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;quotaon -a&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;N&lt;/span&gt;ow that we have the user&lt;span style=&quot;font-size: x-small;&quot;&gt;&#39;s QUOTA defined lets go test it out.. logout and login as &#39;linus&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then start filling a file with Zero&#39;s to make a &lt;span style=&quot;font-size: x-small;&quot;&gt;file to &lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;exceed the &lt;span style=&quot;font-size: x-small;&quot;&gt;soft and hard limit:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-W2rHqU-qIrg/UQd6XBBP0QI/AAAAAAAAAJM/N8y_TguTGVk/s1600/Screenshot+from+2013-01-28+21:53:56.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;135&quot; src=&quot;http://2.bp.blogspot.com/-W2rHqU-qIrg/UQd6XBBP0QI/AAAAAAAAAJM/N8y_TguTGVk/s400/Screenshot+from+2013-01-28+21:53:56.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;dd if=/dev/zero &lt;span style=&quot;font-size: x-small;&quot;&gt;of=/srv/AIX/home/&lt;span style=&quot;font-size: x-small;&quot;&gt;linus/quota_test.txt&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;depending on how big of a file, you should see a warning, then &quot;Disk quota exceeded&quot;&amp;nbsp; telli&lt;span style=&quot;font-size: x-small;&quot;&gt;ng you&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;that you have no more space.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;And thats it! QUOTA support on users so you have control of the amount of data&lt;span style=&quot;font-size: x-small;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;hope t&lt;span style=&quot;font-size: x-small;&quot;&gt;his wasn&#39;t to tough to understand.&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&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;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/57719790282358358/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/01/custom-home-directory-with-quota-enabled.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/57719790282358358'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/57719790282358358'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/01/custom-home-directory-with-quota-enabled.html' title='Custom Home Directory with QUOTA enabled'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-k3PsLeFY2nM/UQduvSCRhGI/AAAAAAAAAHM/zcepFv6wFzk/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-7932130407894055976</id><published>2013-01-02T22:42:00.000-08:00</published><updated>2013-02-13T07:47:28.120-08:00</updated><title type='text'>easy CIFS(SAMBA) howto server/client connect</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;This post is to explain how I started and connected CIFS(SAMBA) server/client&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;First install samba and cifs-utils(most major distros have it already preinstalled)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;start and stop the server:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/etc/init.d/smb stop/start&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE:for more debug info in a terminal:(you may need to killall smbd before starting again)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/usr/sbin/smbd -S -F&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now lets create a special location for our CIFS(SAMBA) server:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;cat /etc/samba/smb.conf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;[global]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;security = share&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;log level = 3&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;[srv]&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;comment = your own personal directory for sharing.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;path = /srv/samba&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;read only = no&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public = yes&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then: (copy/paste the commands, or not)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;install -dv /srv/samba &lt;span style=&quot;font-size: x-small;&quot;&gt;;&lt;/span&gt; touch /srv/samba/samba.README &lt;span style=&quot;font-size: x-small;&quot;&gt;;&lt;/span&gt;&amp;nbsp; echo&amp;nbsp;THIS IS A SAMBA DIRECTORY YOU MOUNTED... &amp;gt; /srv/samba/samba.README&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;this will give you the directories, and a file so you can view once mounted.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;there you can see the device location [srv] and the directory we are mounting /srv/samba&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: [srv] and path = /srv/samba are important for the custom location.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now to mount our custom location..:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo /sbin/mount.cifs //10.*.*.*/srv /mnt -o sec=lanman&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE:replace 10.*.*.* with your IP address and also if you see&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;mount error913): Permissions denied&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then you need to experiment with sec=*&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;lanman worked for me as well as ntlm2 may be different for you.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and the final results&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;df&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;//10.*.*.*/srv 213515520 15944524 196486404 &amp;nbsp; 8% /mnt&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now you should have a mounted CIFS(SAMBA) directory..:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/7932130407894055976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2013/01/easy-cifssamba-howto-serverclient.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/7932130407894055976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/7932130407894055976'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2013/01/easy-cifssamba-howto-serverclient.html' title='easy CIFS(SAMBA) howto server/client connect'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-7031215281065949168</id><published>2012-12-30T23:27:00.003-08:00</published><updated>2013-03-31T13:27:54.216-07:00</updated><title type='text'>Quick start for OpenLDAP and LDAP Browser</title><content type='html'>&amp;nbsp;@(#) $OpenLDAP: slapd 2.4.31 $&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: this is for opensuse12.2 may not work on other distros&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;So after doing some research I found setting up LDAP to be a kind of a beast to setup. With that in mind I decided to simplify the process so others don&#39;t have to go through the hell I did.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;So to start:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;using any distro make sure you have LDAP installed..:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;from that point go to /etc/openldap/*&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;there you will find all the configuration files for LDAP. with this tutorial you will need to only look at slapd.conf&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;database&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;bdb&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;suffix&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&quot;dc=my-domain,dc=com&quot;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;checkpoint &amp;nbsp; &amp;nbsp; &amp;nbsp;1024 &amp;nbsp; &amp;nbsp;5&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;cachesize &amp;nbsp; &amp;nbsp; &amp;nbsp; 10000&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;rootdn&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&quot;cn=Manager,dc=my-domain,dc=com&quot;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;under suffix and rootdn we find our my-domain category for LDAP&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(changing this requires changing the two entries and changing the *ldif entry in order for this to work)&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;once&amp;nbsp;deciding the changes starting ldap is as easy as:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;/etc/init.d/ldap start&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;or&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;sudo /usr/lib/openldap/slapd -4 -d 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-TAaQlyeU1NA/UOE6TASjvjI/AAAAAAAAAFE/vI4On7s0CCM/s1600/ldif.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://1.bp.blogspot.com/-TAaQlyeU1NA/UOE6TASjvjI/AAAAAAAAAFE/vI4On7s0CCM/s1600/ldif.png&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now that ldap is started you can now add entries in your LDAP&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;create a new *.ldif entry file:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;vi newentry.ldif&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;with the image to the left you can see what I did in order for LDAP to work properly.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;after you have tweaked your *.ldif you can go ahead and add it into your DB with this:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ldapadd -x -W -D &quot;cn=Manager,dc=my-domain,dc=com&quot; -f newentry.ldif&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;NOTE: keep in mind &quot;my-domain&quot; with all three entries(slapd.conf, ldapadd, and *.ldif)if one is off then things go wrong.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;from there you should be able to connect to the localhost to test your server. using ldap browser you can see:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-bsJNVvoVXC0/UOE8DSFHKxI/AAAAAAAAAFU/7FO5U4wnlss/s1600/ldap_browser.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://2.bp.blogspot.com/-bsJNVvoVXC0/UOE8DSFHKxI/AAAAAAAAAFU/7FO5U4wnlss/s1600/ldap_browser.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;configure ldap browser:&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-HiRj7mGAhVE/UOE8Vi-36_I/AAAAAAAAAFc/60AnuZcrZQk/s1600/client.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;http://3.bp.blogspot.com/-HiRj7mGAhVE/UOE8Vi-36_I/AAAAAAAAAFc/60AnuZcrZQk/s320/client.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;connect to the server:&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-Qs6g9kpCIhg/UOE8ppxjDGI/AAAAAAAAAFk/FXU8FzQbWSs/s1600/Screenshot+from+2012-12-30+22:32:37.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;183&quot; src=&quot;http://4.bp.blogspot.com/-Qs6g9kpCIhg/UOE8ppxjDGI/AAAAAAAAAFk/FXU8FzQbWSs/s400/Screenshot+from+2012-12-30+22:32:37.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;and there you have it.. a simple test of starting LDAP.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;(for ssl/tls and all other stuff stay tuned..)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/7031215281065949168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2012/12/quick-start-for-openldap-and-ldap.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/7031215281065949168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/7031215281065949168'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2012/12/quick-start-for-openldap-and-ldap.html' title='Quick start for OpenLDAP and LDAP Browser'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-TAaQlyeU1NA/UOE6TASjvjI/AAAAAAAAAFE/vI4On7s0CCM/s72-c/ldif.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-5806878304045751077</id><published>2012-11-01T00:45:00.002-07:00</published><updated>2013-02-13T07:48:20.646-08:00</updated><title type='text'>about:debug not about:plugins for the UAString</title><content type='html'>&lt;span style=&quot;font-size: x-small;&quot;&gt;for those who are a bit confused with about:debug working on the android ICS web browser &amp;nbsp;here is a tutorial for that..(said to myself this doesnt work; but then learnt quickly).&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;in the _stock_ android ICS web browser enter about:debug in the url address bar&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-fr_XwW848Ts/UJIlRQlrGYI/AAAAAAAAAEI/RWZ2UehkFmk/s1600/Screenshot_2012-11-01-00-24-26.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-fr_XwW848Ts/UJIlRQlrGYI/AAAAAAAAAEI/RWZ2UehkFmk/s320/Screenshot_2012-11-01-00-24-26.png&quot; width=&quot;179&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;yeah I know it says about:plugins should be about:debug(figured you would figure that out once there)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now after clicking the right arrow in the top right corner click on the navigation button next to the home&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;button or the top right _three_ bars for the web browser settings(below)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-ulv0Z4_iA-Q/UJImJ4u6qqI/AAAAAAAAAEQ/qvKCj_B30pA/s1600/Screenshot_2012-11-01-00-23-56.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-ulv0Z4_iA-Q/UJImJ4u6qqI/AAAAAAAAAEQ/qvKCj_B30pA/s320/Screenshot_2012-11-01-00-23-56.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;as you can see scrolling down after settings we have more options once the about:debug is activated&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;now go into settings&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-wgNM6cWkp5I/UJImc8kU1KI/AAAAAAAAAEY/Q-VLV28Z_rA/s1600/Screenshot_2012-11-01-00-24-01.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-wgNM6cWkp5I/UJImc8kU1KI/AAAAAAAAAEY/Q-VLV28Z_rA/s320/Screenshot_2012-11-01-00-24-01.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then into debug remember its about:debug not about:plugins thats for firefox!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-niM0wUOFJPE/UJImus4r4pI/AAAAAAAAAEg/-S4WqyfwJ8E/s1600/Screenshot_2012-11-01-00-23-37.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-niM0wUOFJPE/UJImus4r4pI/AAAAAAAAAEg/-S4WqyfwJ8E/s320/Screenshot_2012-11-01-00-23-37.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;then if you want to change the UAString for whatever then change it!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-E6zrS0Em52A/UJIm8VTRIEI/AAAAAAAAAEo/2TelseSv6mI/s1600/Screenshot_2012-11-01-00-24-13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://4.bp.blogspot.com/-E6zrS0Em52A/UJIm8VTRIEI/AAAAAAAAAEo/2TelseSv6mI/s320/Screenshot_2012-11-01-00-24-13.png&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&amp;nbsp; &lt;span style=&quot;font-size: x-small;&quot;&gt;supposedly changing this for tether was supposed to get me free tethering&amp;nbsp;but it did not work.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; so just figured it would be a nice little&amp;nbsp;tutorial since it seemed a bit confusing from the start.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&amp;nbsp; remember its about:debug not about:plugins&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/5806878304045751077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2012/11/aboutdebug-not-aboutplugins-for-uastring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/5806878304045751077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/5806878304045751077'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2012/11/aboutdebug-not-aboutplugins-for-uastring.html' title='about:debug not about:plugins for the UAString'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-fr_XwW848Ts/UJIlRQlrGYI/AAAAAAAAAEI/RWZ2UehkFmk/s72-c/Screenshot_2012-11-01-00-24-26.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-9201020172683342669</id><published>2012-09-18T15:16:00.001-07:00</published><updated>2013-02-13T07:48:41.830-08:00</updated><title type='text'>MacbookPro reflow ati radeon solder joints.</title><content type='html'>So I was watching magnum PI and my machine started to show garble on the screen, then would crash all of a sudden. upon reboot I could see EFI but was garbled. after that the machine was useless.&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-M6O-6a-PgBI/UFjtSXTGqII/AAAAAAAAACw/k7ACv1Znh7M/s1600/IMAG0162.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;http://2.bp.blogspot.com/-M6O-6a-PgBI/UFjtSXTGqII/AAAAAAAAACw/k7ACv1Znh7M/s320/IMAG0162.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Looking at the image to the left of this, you can see what I mean. After doing a bit of googling I had noticed that this was not an uncommon thing to have happen with apple products as well as other brands.&lt;br /&gt;two&amp;nbsp;procedures can fix this issue:&lt;br /&gt;1)&amp;nbsp;re-balling&amp;nbsp;the solder joints and/or&lt;br /&gt;2) stick the board in the oven at 200`F for 8min both will reflow the solder either way you put it.&lt;br /&gt;&lt;br /&gt;ultimately I wanted to leave the reballing for later on, since that requires a heat gun capable of 300`F or more and some other tools I dont have, nor care to go out and buy at this time(would rather spend that money on gas since gas prices are so high in Los Angeles!).&lt;br /&gt;&lt;br /&gt;so here is what I ended up doing.&lt;br /&gt;&lt;br /&gt;1) open the macbook pro and remove the mother board.. yes the motherboard. underneath you will see four squares one of those should say ATI or NVIDIA depending on the graphics card you have.&lt;br /&gt;&lt;br /&gt;2) either you have access to an oven, if so google &quot;graphics oven reflow&quot; and you will have your info.&lt;br /&gt;in my case I dont have an oven but I do have a soldering iron; so I ended up improvising.. the image below should say enough on how to do it:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-LQ5G0z6MBdQ/UFjvzW9Wv9I/AAAAAAAAAC4/kDEkM12vxQA/s1600/IMAG0166.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-LQ5G0z6MBdQ/UFjvzW9Wv9I/AAAAAAAAAC4/kDEkM12vxQA/s320/IMAG0166.jpg&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;&lt;br /&gt;as you can see I just took a fuse cover from the fuse package(because its metal and can act as a heat sink, and covers the chip)which was in the glovebox of my vehicle. put the heat sink on top of the chip, then rested the solder iron tip on top, then waited about 10-15min. probably should of counted to 8min like the oven process, but figured might as well heat it up as much as possible.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-EgRmuOsecnQ/UFjw1DgXRkI/AAAAAAAAADA/doK7bdcT1FA/s1600/IMAG0167.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-EgRmuOsecnQ/UFjw1DgXRkI/AAAAAAAAADA/doK7bdcT1FA/s320/IMAG0167.jpg&quot; width=&quot;180&quot; /&gt;&lt;/a&gt;After heating up the chip and hoping the chip solder joints reflowed(they just need to turn liquid a bit then back to solid form, so that any disconnected solder joints, rejoin &amp;nbsp;themselves(in my case it was over 100`F in Los Angeles, as well as watching movies, a combination heated up the joints to causing them to break)). it was time to put the board back and turn the machine on.. as you can see to the right ubuntu is up and running, and no more garbled screen..&lt;br /&gt;&lt;br /&gt;hope this helps anybody who is experiencing the same with their machine.&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;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/9201020172683342669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2012/09/macbook-pro-reflow-ati-radeon-solder.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/9201020172683342669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/9201020172683342669'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2012/09/macbook-pro-reflow-ati-radeon-solder.html' title='MacbookPro reflow ati radeon solder joints.'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-M6O-6a-PgBI/UFjtSXTGqII/AAAAAAAAACw/k7ACv1Znh7M/s72-c/IMAG0162.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-2872412503247668618</id><published>2012-04-24T21:24:00.001-07:00</published><updated>2013-02-13T07:48:58.659-08:00</updated><title type='text'>zeepad: Rename Phone.apk/TelephonyProvider.apk without rooting your android..:</title><content type='html'>So I went and bought one of those Zeepad&#39;s 7.1 for $60 bucks from amazon.. first and foremost its no ipad but it does the job.. secondly after playing around with the machine, I was unable to install google play on it(or I did, but to have a functioning app market a no go..) so how do you install the apps? just find the *.apk package and email it to yourself and install within the email client..(for those who have no idea..)&lt;br /&gt;thirdly:&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-U4dfMvcgXhc/T5d6hnNXqgI/AAAAAAAAACg/ct2eQmQqILM/s1600/IMG667.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://1.bp.blogspot.com/-U4dfMvcgXhc/T5d6hnNXqgI/AAAAAAAAACg/ct2eQmQqILM/s320/IMG667.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;as for rooting the machine I looked into all the rooting type apps, and _none_ of them worked.. something tells me they plugged up the holes in the kernel with patches.. So how to access the machine to rename those files to extend the battery life? simple! just open up the machine take the microSD out and mount it in your laptop running any linux distro.. then locate system/app/*apk and rename what you want(as well as any other file in the file system of the great and all mighty _android_ system..)&lt;br /&gt;no need for adb, no need for some root app.. and hopefully this reduces the power consumption from standby cell on a tablet that does not send and receive phone calls(but can do 3g data!!)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/2872412503247668618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2012/04/zeepad-rename-phoneapktelephonyprovider.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/2872412503247668618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/2872412503247668618'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2012/04/zeepad-rename-phoneapktelephonyprovider.html' title='zeepad: Rename Phone.apk/TelephonyProvider.apk without rooting your android..:'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-U4dfMvcgXhc/T5d6hnNXqgI/AAAAAAAAACg/ct2eQmQqILM/s72-c/IMG667.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-2816996775507356218</id><published>2012-02-07T08:55:00.000-08:00</published><updated>2013-02-13T07:49:16.109-08:00</updated><title type='text'>Dual boot windows 8 and Linux on a Lenovo Z series laptop</title><content type='html'>This is a quick tutorial on how to dual boot windows 8 and Linux(any distro) on a Lenovo laptop.&lt;br /&gt;&lt;br /&gt;step 1: &amp;nbsp;boot up windows 8 and load&amp;nbsp;OneKey Rescue app; there you should see something about making a DEFAULT copy of windows 8(thats your live reinstall CD, rather than getting a copy when you buy the product). after burning(2 dvd&#39;s) then you are ready for the partitioning and installing of both systems.&lt;br /&gt;&lt;br /&gt;step 2: after spending hours on end creating a partition for linux and windows(logic volume etc... with fdisk), I realized that windows Onekey rescue will always _delete and use the entire disk for a reinstall_ removing any partition scheme I created(is this right? guess windows is a control freak, but is also a nice control freak in this case).&lt;br /&gt;So how to dual boot? simple! first watch this video on how to resize your partition..:&lt;br /&gt;http://www.youtube.com/watch?v=utUvkgKAtKU&lt;br /&gt;&lt;br /&gt;once you figure that _easy_ step resize and allocate what you need(remember to create a swap! even though its not really necessary according to some reports). then after&amp;nbsp;re-sizing,&amp;nbsp;load the live Linux distro and go through the installer.&lt;br /&gt;&lt;br /&gt;step 3: reboot after installing and you should see grub/lilo with both options to boot either windows or linux..&lt;br /&gt;&lt;br /&gt;step 4: enjoy the world of windows 8 and the world of linux without having to go through brain&amp;nbsp;surgery&amp;nbsp;to do so...:&lt;br /&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/2816996775507356218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2012/02/dual-boot-windows-8-and-linux-on-lenovo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/2816996775507356218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/2816996775507356218'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2012/02/dual-boot-windows-8-and-linux-on-lenovo.html' title='Dual boot windows 8 and Linux on a Lenovo Z series laptop'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-1170875578936016368</id><published>2011-11-19T22:00:00.000-08:00</published><updated>2013-02-13T07:49:36.953-08:00</updated><title type='text'>Rebootless System with kexec</title><content type='html'>Well after messing around with kexec tools on ubuntu/opensuse I finally realized how to get things functioning properly(or at least get working).&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Below is the command that gets kexec working on opensuse and ubuntu over here..:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;sudo /sbin/kexec -d -f --reset-vga /boot/vmlinuz-3.2.0-rc2-00141-gd633180 --append=&quot;root=UUID=c46f8c15-0a19-4694-998e-4c64eb836cab ro debug splash=off &amp;nbsp;security=selinux selinux=1 vt.handoff=7&quot; --initrd=/boot/initrd.img-3.2.0-rc2-00141-gd633180&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;seems the &quot;-f&quot; switch is what makes all the difference, basically&amp;nbsp;disables the whole /etc/init.d/* reboot script (which seems to be the problem with getting this working properly).&amp;nbsp;&lt;/div&gt;&lt;div&gt;a bug report in of which seems to be hitting the same that I was hitting; with a similar resolution..:&lt;/div&gt;&lt;div&gt;https://bugs.launchpad.net/linuxmint/+bug/741083&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hopefully the above command works for you as it does over here!!&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Note: make sure the .config has this:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;KEXEC [=y]&lt;/div&gt;&lt;div&gt;I guess optional Kconfig&#39;s&lt;/div&gt;&lt;div&gt;CRASH_DUMP [=y]&lt;/div&gt;&lt;div&gt;KEXEC_JUMP [=y]&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/1170875578936016368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2011/11/rebootless-system-with-kexec.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/1170875578936016368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/1170875578936016368'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2011/11/rebootless-system-with-kexec.html' title='Rebootless System with kexec'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-119881647722961005.post-8687074285843271126</id><published>2011-09-13T08:17:00.000-07:00</published><updated>2013-02-13T07:50:17.097-08:00</updated><title type='text'>LFS on QEMU</title><content type='html'>well, I wanted to keep my blog free of any technology related stories, but given things change I might as well..&lt;br /&gt;Anyways I have gone through various tutorials on how to get qemu running with a fresh build of LFS, but most of the tutorials are either toooo difficult for the normal person, and/are just wrong(wrong possibly due to different hardware types etc..). Hopefully this helps with anybody wanting to try this!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;20gig&#39;s to work with(change to what you want in size)&lt;br /&gt;dd if=/dev/zero of=lfs.img bs=20480000 count=1000&lt;br /&gt;&lt;br /&gt;create a partition on the main device /dev/loop0 (sda):&lt;br /&gt;losetup /dev/loop0 lfs.img&lt;br /&gt;fdisk -C1000 -S63 -H16 lfs.img&lt;br /&gt;&lt;br /&gt;&amp;nbsp; Device Boot&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Blocks&amp;nbsp;&amp;nbsp; Id&amp;nbsp; System&lt;br /&gt;lfs.img1&amp;nbsp;&amp;nbsp; *&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048&amp;nbsp;&amp;nbsp;&amp;nbsp; 39999999&amp;nbsp;&amp;nbsp;&amp;nbsp; 19998976&amp;nbsp;&amp;nbsp; 83&amp;nbsp; Linux&lt;br /&gt;&lt;br /&gt;now multiply for the offset:&lt;br /&gt;2048 * 512 = 1048576&amp;nbsp;&amp;nbsp; (use fdisk to find the number:(hint) under &quot;start&quot;)&lt;br /&gt;&lt;br /&gt;mount /dev/loop1 (sda1) and ready it for booting:&lt;br /&gt;losetup -o 1048576 /dev/loop1 lfs.img&lt;br /&gt;mkfs.ext4 /dev/loop1&lt;br /&gt;tune2fs -c 0 /dev/loop1 2&amp;gt;&amp;amp;1 &amp;gt; /dev/null&lt;br /&gt;mount /dev/loop1 /mnt&lt;br /&gt;&lt;br /&gt;unpackage and/or create an OS for /mnt (in my case I use a tar ball of an old LFS I built a while ago).&lt;br /&gt;&lt;br /&gt;adjust lilo.conf to point to the devices.&lt;br /&gt;my lilo.conf:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;menu-scheme=Gb:Gk:Gb:Yb&lt;br /&gt;menu-title= &quot;LFS with qemu&quot;&lt;br /&gt;prompt&lt;br /&gt;timeout=30&lt;br /&gt;install = menu&lt;br /&gt;&lt;br /&gt;#/dev/loop0 is the main disk(sda) /dev/loop1 is the partition(sda1)&lt;br /&gt;&lt;br /&gt;boot=/dev/loop0&lt;br /&gt;disk=/dev/loop0&lt;br /&gt;bios=0x80&lt;br /&gt;sectors=40&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;heads=226&lt;br /&gt;cylinders=4424&lt;br /&gt;partition=/dev/loop1&lt;br /&gt;start= &amp;nbsp;&amp;nbsp;&amp;nbsp; 2048&amp;nbsp;&amp;nbsp;&amp;nbsp; #use fdisk to find this.&lt;br /&gt;&lt;br /&gt;map=/boot/map&lt;br /&gt;vga=normal&lt;br /&gt;image=/boot/vmlinuz-2.6.35-rc6-00191-ga2dccdb&lt;br /&gt;root=/dev/sda1&lt;br /&gt;label=Linux&lt;br /&gt;read-only&lt;br /&gt;append=&quot;selinux=0 enforcing=0&quot;&lt;br /&gt;&lt;br /&gt;run lilo, and unmount everything, then run qemu with the new system:&lt;br /&gt;&lt;br /&gt;lilo -r /mnt -C /etc/lilo.conf -v 3 -L&lt;br /&gt;umount /mnt&lt;br /&gt;losetup -d /dev/loop1&lt;br /&gt;losetup -d /dev/loop0&lt;br /&gt;/usr/bin/qemu-system-x86_64 -hda lfs.img&lt;br /&gt;&lt;br /&gt;you should see the lilo menu, and you should boot all the way to login.&lt;br /&gt;(if you see L and a bunch of numbers, the start= 2048 is wrong in lilo.conf. or if you boot all the way, and some panic occurs, make sure the disk is pointing to the right partition)&lt;br /&gt;&lt;br /&gt;references:(had to adjust things here and there for my system to work but theirs provided usefule info)&lt;br /&gt;&amp;nbsp;http://www.linuxfromscratch.org/pipermail/lfs-dev/2008-April/061257.html&lt;br /&gt;&amp;nbsp;http://download.ehas.org/misc/image_generation.txt&lt;br /&gt;&lt;br /&gt;anyways hope this helps anybody wanting to try this!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;token ID: &amp;nbsp;JFTZVNF3GT9M&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://justinmattock.blogspot.com/feeds/8687074285843271126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://justinmattock.blogspot.com/2011/09/lfs-on-qemu.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8687074285843271126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/119881647722961005/posts/default/8687074285843271126'/><link rel='alternate' type='text/html' href='http://justinmattock.blogspot.com/2011/09/lfs-on-qemu.html' title='LFS on QEMU'/><author><name>Justin P. Mattock</name><uri>https://plus.google.com/102467816517079425193</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//lh6.googleusercontent.com/-LrFLHlabIYE/AAAAAAAAAAI/AAAAAAAABMg/Gdgk6AUTj2g/s512-c/photo.jpg'/></author><thr:total>0</thr:total></entry></feed>