<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux Admin Steps Into Management &#187; Uncategorized</title>
	<atom:link href="http://yonitg.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://yonitg.com</link>
	<description></description>
	<lastBuildDate>Wed, 11 Aug 2010 21:46:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Solaris 10 Service Management</title>
		<link>http://yonitg.com/solaris-10-service-management/</link>
		<comments>http://yonitg.com/solaris-10-service-management/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 22:59:38 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[IT management]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sys admin]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=433</guid>
		<description><![CDATA[Under the Solaris 10 system &#8211; or the open Solaris as well, the service management have been upgraded, and there are great new tools to handle the sysadmin work on the services. The long detailed explanation can be found here: Solaris Service Management Facility &#8211; Quickstart Guide But for the fast paced sysadmin &#8211; here [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://yonitg.com/blog/wp-content/uploads/2010/03/solaris_ready.gif"><img class="alignnone size-full wp-image-435" title="solaris_ready" src="http://yonitg.com/blog/wp-content/uploads/2010/03/solaris_ready.gif" alt="solaris 10" width="170" height="116" /></a></p>
<p>Under the Solaris 10 system &#8211; or the open Solaris as well,<br />
the service management have been upgraded, and there are great new tools to handle the sysadmin<br />
work on the services.</p>
<p>The long detailed explanation can be found here:<br />
<a title="Solaris 10 and opensolaris service management" href="http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.jsp" target="_blank">Solaris Service Management Facility &#8211; Quickstart Guide</a></p>
<p>But for the fast paced sysadmin &#8211; here is the short version <img src='http://yonitg.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-433"></span>To see the detailed boot sequence with all the services notices use:</p>
<blockquote><p>boot -m verbose</p></blockquote>
<h3>Stopping and starting services</h3>
<p>stop a running service as well as make sure it wont come back after booting the server:</p>
<blockquote><p>svcadm disable service_name</p></blockquote>
<p>Bring the service back up and make sure it starts after boot as well:</p>
<blockquote><p>svcadm enable service_name</p></blockquote>
<p>The new and improved services system will also watch over the service, and restart it if it suddenly stop.<br />
but don&#8217;t worry &#8211; if the service loops and can&#8217;t start, after a couple of time the SMF will stop trying to bring it up, and will send you an error for the service.</p>
<p>To stop or start the service temporarily without impacting the startup status of the service use:</p>
<blockquote><p>svcadm -t enable/disable service_name</p></blockquote>
<h3>Getting information about the services</h3>
<p>List all active services:</p>
<blockquote><p>svcs</p></blockquote>
<p>List all available services:</p>
<blockquote><p>svcs -a</p></blockquote>
<p>List all failing services:</p>
<blockquote><p>svcs -x</p></blockquote>
<p>to get more details on a specific failing service, use:</p>
<blockquote><p>svcs -x service_name</p></blockquote>
<p>to add verbosity to the svcs commands just add &#8220;-v&#8221;</p>
<p>the services logs are located at:<br />
/var/svc/log<br />
or:<br />
/etc/svc/volatile</p>
<p>List all the processes this service is running, even if they have a different name:</p>
<blockquote><p>svcs -p service_name</p></blockquote>
<h3>Viewing Dependencies</h3>
<p>List all the services this service is depended upon, if any of these services fails, our service will fail too:</p>
<blockquote><p>svcs -d service_name</p></blockquote>
<p>List all the services that depend on our service, if our service fails, they will fail too:</p>
<blockquote><p>svcs -D service_name</p></blockquote>
<h3>Service Names</h3>
<p>the explanation for the service names im taking straight from the <a title="Sun Bigadmin" href="http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.jsp" target="_blank">SUN bigadmin site</a>:</p>
<blockquote><p>Solaris uses a URI string called an <strong>FMRI</strong> (<em>Fault Managed Resource Identifier</em>) to identify system objects for which advanced fault and resource management capabilities are provided.  Services managed by SMF are assigned FMRI strings prefixed with the scheme name &#8220;<code>svc</code>&#8220;, as shown in the following examples for the Solaris service <code>syslogd(1M)</code>:</p>
<ul>
<li><code> svc://localhost/system/system-log:default </code></li>
<li><code> svc:/system/system-log:default </code></li>
<li><code> system/system-log:default </code></li>
</ul>
<p>Notice that these <strong>service FMRIs</strong> used by SMF can be expressed in three ways: first as an absolute path including a location path such as &#8220;<code>localhost</code>&#8220;; second as a path relative to the local machine; and third as simply the service identifier with the string prefixes implied. The SMF administrator tools described in the rest of this document typically describe services using the third form, as they are assumed to be operating on local services.  Other management tools that operate on multiple types of resources or across machine boundaries may use one of the other forms to describe services.  The SMF tools in the current release of Solaris can only manage services on the local host.</p></blockquote>
<h3>Solaris RunLevel</h3>
<p>There are no longer run levels setting on the Solaris server, now this is called milestones.<br />
Milestones are a group of services, which defines a state the server is in &#8211; just like single user, or multi user.<br />
you can bring the server into a specific milestone with:</p>
<blockquote><p><code>svcadm milestone milestone/single-user:default</code></p></blockquote>
<p>to permanently set the server in a specific mile stone , use:</p>
<blockquote><p><code>svcadm milestone -d milestone/single-user:default</code></p></blockquote>
<p>and again &#8211; to list what services should be running to reach a specific milestone, use:</p>
<blockquote><p>svcs -d milestone_name</p></blockquote>
<p>and that&#8217;s the short explanation <img src='http://yonitg.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>next time ill explain how to add a service of your own to the system.</p>
<p><a href="http://www.amazon.com/Solaris-10-System-Administration-Essentials/dp/013700009X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D013700009X"><img src="http://ecx.images-amazon.com/images/I/41E-zuGuMFL._SL160_.jpg" alt="" /></a><a href="http://www.amazon.com/Solaris-Internals-TM-OpenSolaris-Architecture/dp/0131482092%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0131482092"> <img src="http://ecx.images-amazon.com/images/I/51V0oJ86TvL._SL160_.jpg" alt="" /></a><a href="http://www.amazon.com/Practical-Guide-Solaris-Mark-Sobell/dp/020189548X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D020189548X"> <img src="http://ecx.images-amazon.com/images/I/51%2BiMzz%2Bm0L._SL160_.jpg" alt="" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=433&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/solaris-10-service-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching For All Your Info At Once</title>
		<link>http://yonitg.com/searching-all-your-info/</link>
		<comments>http://yonitg.com/searching-all-your-info/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 19:49:53 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[Online Tools]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Thinking]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[statistics]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=410</guid>
		<description><![CDATA[In this age when all our information is exposed to the world, our images are floating everywhere and you don&#8217;t know anymore where and what is written about us, the good people at HoHli have created a new search page that will gather all your information at one place, showing you details about yourself or [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://yonitg.com/blog/wp-content/uploads/2010/02/analyser.png"><img class="alignnone size-full wp-image-411" title="analyser" src="http://yonitg.com/blog/wp-content/uploads/2010/02/analyser.png" alt="Analyser by HoHli" width="300" height="79" /></a></p>
<p>In this age when all our information is exposed to the world,<br />
our images are floating everywhere and you don&#8217;t know anymore where and what is written about us,<br />
the good people at HoHli have created a <a title="HoHli people search" href="http://analyser.hohli.com/people" target="_blank">new search page</a> that will gather all your information at one place,<br />
showing you details about yourself or anyone else from many social networks and search engines at once.</p>
<p>output comes from:</p>
<ul>
<li>Blogger</li>
<li>Myspace</li>
<li>Google Images and search</li>
<li>Yahoo Images and search</li>
<li>Digg</li>
<li>Twitter</li>
<li>and more &#8230;</li>
</ul>
<h3>Searching for yonitg information:</h3>
<p><a href="http://yonitg.com/blog/wp-content/uploads/2010/02/analyser_output.png"><img class="alignnone size-full wp-image-412" title="analyser_output" src="http://yonitg.com/blog/wp-content/uploads/2010/02/analyser_output.png" alt="" width="400" height="299" /></a></p>
<p>A little scary seeing all that information out there.</p>
<p>Go ahead, search for your name at:  <a title="analyser people search" href="http://analyser.hohli.com/people" target="_blank">http://analyser.hohli.com/people</a></p>
<p>put a comment here with how much details you found about yourselves that you didn&#8217;t know was out there <img src='http://yonitg.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.amazon.com/Protect-Your-Privacy-Surveillance-Outwitting/dp/1599210207%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1599210207"><img src="http://ecx.images-amazon.com/images/I/51IdLo7r0lL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Cloud-Security-Privacy-Enterprise-Perspective/dp/0596802765%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596802765"><img src="http://ecx.images-amazon.com/images/I/51%2Bt392z0jL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/How-Be-Invisible-Essential-Protecting/dp/0312319061%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0312319061"><img src="http://ecx.images-amazon.com/images/I/419df0jR9DL._SL160_.jpg" alt="" /> </a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Online+Tools' rel='tag' target='_self'>Online Tools</a>, <a class='technorati-link' href='http://technorati.com/tag/statistics' rel='tag' target='_self'>statistics</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=410&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/searching-all-your-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>solaris 10 and vnc</title>
		<link>http://yonitg.com/solaris-10-vnc/</link>
		<comments>http://yonitg.com/solaris-10-vnc/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 21:35:20 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[IT management]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux - Windows integration]]></category>
		<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=338</guid>
		<description><![CDATA[VNC viewer is a free remote control software package. With VNC, you can see the desktop of a remote machine and control it with your local mouse and keyboard, just like you would do it sitting in the front of that computer. Now Solaris 10 comes with vncserver built in.]]></description>
			<content:encoded><![CDATA[<p>VNC is a server client method of connecting to a remote server,<br />
the great thing about vnc is that you can see the remote server desktop, and work on it with a mouse just like its your local desktop.<br />
another good thing about vnc is that its free for use for many distros.</p>
<p>There are main 2 major software companies that supply free vnc server and vnc cllient,<br />
the first is <a title="realvnc free download " href="http://www.realvnc.com/products/download.html" target="_blank">realvnc</a> and the second is <a title="tightvnc free vnc" href="http://www.tightvnc.com/download.php" target="_blank">tightvnc </a>, from the tighvnc site:</p>
<p>TightVNC is a free remote control software package. With TightVNC, you can <span style="color: #007000;"><strong>see the     desktop of a remote machine and control it</strong></span> with your local mouse and keyboard, just like you     would do it sitting in the front of that computer. TightVNC is:</p>
<ul>
<li><span style="color: #007000;"><strong>free</strong></span> for both personal and commercial usage, with full source code available (<a title="gnu license" href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GPL</a>-licensed);</li>
<li>useful in remote administration, remote customer support, education, and for many other       purposes;</li>
<li>cross-platform, available for Windows and Unix, compatible with other VNC software.</li>
</ul>
<p>So these are 2 options for you to download a good free vnc viewer.</p>
<h2>Solaris VNCserver configuration</h2>
<p>and I say only viewer because now the Solaris 10 build 5 comes with the vncserver alredy inside.<br />
all you need to do is to configure it.</p>
<p>This page on the SUN site will give you the detailed explanation on how to do things and what <a title="Install a patch before using Xvnc" href="http://docs.sun.com/app/docs/doc/819-0872/remotead-20?l=en&amp;a=view&amp;q=vnc+solaris+10" target="_blank">security patch you need to install fisrt </a>,but the instructions can be summed up in 4 lines:</p>
<blockquote><p>mkdir -p /etc/dt/config</p>
<p>cp /usr/dt/config/Xservers    /etc/dt/config/Xservers</p>
<p>edit this file “/etc/dt/config/Xservers” and add these lines at the end:</p>
<p>:1  Local local_uid@none root /usr/X11/bin/Xvnc :1 -nobanner -AlwaysShared -SecurityTypes None -geometry 1024x768x24 -depth 24<br />
:2  Local local_uid@none root /usr/X11/bin/Xvnc :2 -nobanner -AlwaysShared -SecurityTypes None -geometry 1024x768x24 -depth 24<br />
:3  Local local_uid@none root /usr/X11/bin/Xvnc :3 -nobanner -AlwaysShared -SecurityTypes None -geometry 1024x768x24 -depth 24<br />
And reboot the server.</p></blockquote>
<p>The lines with the :1 :2 etc at the beginning, are the virtual displays you wish to server to have available for connections, you can add more by changing the numbers to :4 :5 etc.</p>
<p>when connecting to the server with the vnc viewer you need to express to which virtual display you want to connect by adding it to end of the server&#8217;s name or ip:</p>
<blockquote><p>10.10.10.1:3</p></blockquote>
<p>If you want to connect to virtual display number 3.</p>
<p>A security note – this configuration will allow passwordless access to the vnc screen – if someone logs in and leaves it open – the next user can just enter without a login.</p>
<p>A safer configuration is to require a password by using the <kbd><strong>-SecurityTypes VncAuth</strong></kbd> parameter. The Xvnc(1) man page describes password requirements.</p>
<h2><strong>VNC and Security</strong></h2>
<p>The vnc as a general is clear text, for a more secure connection there is a method of tunneling the vnc through a ssh session.<br />
2 nice tutorials for vnc through ssh can be found <a title="VNC over SSH2 - A TightVNC Tutorial" href="http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html" target="_blank">here</a> and <a title="Tunnelling VNC over SSH with PuTTY" href="http://martybugs.net/smoothwall/puttyvnc.cgi" target="_blank">here</a>.<br />
the second tutorial is using putty for the ssh connection &#8211; putty is another great freeware,<br />
its a <a title="PuTTY Download Page" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank">free ssh client for windows</a> to connect to ssh servers.</p>
<p>If the server you wish to connect to through vnc is located withing your lan,<br />
and you are relaxed about security for the users on it &#8211; if its a training server etc ,<br />
you can just setup the vncserver without any safeguards,<br />
but if you are connecting through an unsecured medium (AKA the internet)<br />
you better add the ssh layer to it.</p>
<p><a href="http://www.amazon.com/Solaris-10-System-Administration-Essentials/dp/013700009X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D013700009X"><img src="http://ecx.images-amazon.com/images/I/41E-zuGuMFL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Solaris-Security-Essentials-Microsystems-Engineers/dp/0137012330%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0137012330"><img src="http://ecx.images-amazon.com/images/I/41DnAUzC0jL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Solaris-Solutions-System-Administrators-Time-Saving/dp/047143115X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D047143115X"><img src="http://ecx.images-amazon.com/images/I/51VF610-5JL._SL160_.jpg" alt="" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/network' rel='tag' target='_self'>network</a>, <a class='technorati-link' href='http://technorati.com/tag/Solaris' rel='tag' target='_self'>Solaris</a>, <a class='technorati-link' href='http://technorati.com/tag/windows' rel='tag' target='_self'>windows</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=338&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/solaris-10-vnc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solution for Windows 7 samba connection problem</title>
		<link>http://yonitg.com/solution-for-windows-7-samba-connection-problem/</link>
		<comments>http://yonitg.com/solution-for-windows-7-samba-connection-problem/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 22:40:37 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[Samba]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=276</guid>
		<description><![CDATA[A fresh install of windows 7 might have a problem with samba shares, if you setup samba logging you will see errors like this: [2009/08/26 09:15:53, 3] smbd/connection.c:yield_connection(76) yield_connection: tdb_delete for name  failed with error Record does not exist. [2009/08/26 09:15:53, 3] smbd/server.c:exit_server(614) although the user was able to connect from a different PC with [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-272" title="samba_linux" src="http://yonitg.com/blog/wp-content/uploads/2009/08/samba_linux.gif" alt="samba_linux" width="251" height="122" /></p>
<p>A fresh install of windows 7 might have a problem with samba shares,</p>
<p>if you <a title="Debugging Samba Server" href="http://yonitg.com/howto-debug-samba-server/">setup samba logging</a> you will see errors like this:</p>
<blockquote><p>[2009/08/26 09:15:53, 3] smbd/connection.c:yield_connection(76)<br />
yield_connection: tdb_delete for name  failed with error Record does not exist.<br />
[2009/08/26 09:15:53, 3] smbd/server.c:exit_server(614)</p></blockquote>
<p>although the user was able to connect from a different PC with a different operating system.</p>
<p>I found this <a title="Windws 7 samba connection problem" href="http://www.builderau.com.au/blogs/viewblogpost.htm?p=339270746" target="_blank">great solution for the samba connection problem</a>,</p>
<p>and to break it to a few simple steps:</p>
<ol>
<li>from the run command or from a cmd window run secpol.msc</li>
<li>go to &#8220;Local Policies&#8221; -&gt; &#8220;Security Options&#8221; -&gt; &#8220;Network Security: LAN Manager authentication level&#8221;</li>
<li>change to &#8220;LM and NTLM – use NTLMV2 session security if negotiated&#8221;</li>
<li>Press the OK button</li>
</ol>
<p>This solution worked just fine on a fresh windows 7 install.</p>
<p><a href="http://www.amazon.com/Using-Samba-Print-Server-Linux/dp/0596007698%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596007698"><img src="http://ecx.images-amazon.com/images/I/41ZEKVkT%2BWL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Samba-3-Example-Practical-Successful-Deployment/dp/013188221X%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D013188221X"><img src="http://ecx.images-amazon.com/images/I/31KnG3l2jmL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Windows-Inside-Out-Ed-Bott/dp/0735626650%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0735626650"><img src="http://ecx.images-amazon.com/images/I/51bKPugycHL._SL160_.jpg" alt="" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/desktop' rel='tag' target='_self'>desktop</a>, <a class='technorati-link' href='http://technorati.com/tag/samba' rel='tag' target='_self'>samba</a>, <a class='technorati-link' href='http://technorati.com/tag/windows' rel='tag' target='_self'>windows</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=276&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/solution-for-windows-7-samba-connection-problem/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux Hardware Info</title>
		<link>http://yonitg.com/linux-hardware/</link>
		<comments>http://yonitg.com/linux-hardware/#comments</comments>
		<pubDate>Sun, 24 May 2009 20:45:40 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=133</guid>
		<description><![CDATA[Finding information about the hardware installed on your Linux server is easier then you might think. The Linux server comes installed with some very nice command line tools to help you list all the linux hardware information you need. lets start with the basic tool: dmesg Startup Log you can either run the command dmesg [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-143 alignnone" title="linux hardware listing image" src="http://yonitg.com/blog/wp-content/uploads/2009/05/linux_hardware3.jpg" alt="linux hardware listing image" width="371" height="256" /></p>
<p>Finding information about the hardware installed on your Linux server is easier then you might think.<br />
The Linux server comes installed with some very nice command line tools to help you list all the linux hardware information you need.<br />
lets start with the basic tool: dmesg</p>
<p><strong>Startup Log</strong></p>
<p>you can either run the command dmesg or read the log itself at: &#8220;cat /var/log/dmesg&#8221;</p>
<p>this logs will show you the bootup process messages your Linux server had sent out in its last boot, and all the hardware it had recognized. a lot more info is listed &#8211; for example the network card running state:</p>
<blockquote><p>[root@localhost /]# dmesg | grep eth<br />
eth0: registered as PCnet/FAST III 79C973<br />
eth0: link up, 100Mbps, full-duplex<br />
eth0: no IPv6 routers present</p></blockquote>
<p>this command gives you the network card status and if its in full or half duplex mode, for example.</p>
<p><strong>List PCI Devices</strong></p>
<p>the command lspci will list your PCI devices on your system &#8211; mainly information about which motherboard is installed, what is your network card maker and which video device.<br />
sample output:</p>
<blockquote><p>[root@localhost /]# lspci<br />
00:00.0 Host bridge: Intel Corporation 440FX &#8211; 82441FX PMC [Natoma] (rev 02)<br />
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]<br />
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)<br />
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter<br />
00:03.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 40)</p></blockquote>
<p><strong>List Bios Info</strong></p>
<p>the command dmidecode will list the SMBios info,<br />
which should give you a lot of details on the installed Bios &#8211; but its not 100% reliable,<br />
it wont only tell you what exactly is installed, but it might also tell you whats the fastest CPU that can be attached to the mother board, not what really is there.<br />
a sample output:</p>
<blockquote><p>Handle 0&#215;0000, DMI type 0, 20 bytes.<br />
BIOS Information<br />
Vendor: innotek GmbH<br />
Version: VirtualBox<br />
Release Date: 12/01/2006<br />
Address: 0xE0000<br />
Runtime Size: 128 kB<br />
ROM Size: 128 kB<br />
Characteristics:<br />
ISA is supported<br />
PCI is supported<br />
Boot from CD is supported<br />
Selectable boot is supported<br />
8042 keyboard services are supported (int 9h)<br />
CGA/mono video services are supported (int 10h)<br />
ACPI is supported</p></blockquote>
<p><strong>List All Your Linux Hardware Devices</strong></p>
<p>a very thorough listing of all the devices attached to the computer including the Plug-n-Play devices is listed through the command lshal, for example everything you wanted to know about my mouse and more:</p>
<blockquote><p>udi = &#8216;/org/freedesktop/Hal/devices/pnp_PNP0f03&#8242;<br />
info.udi = &#8216;/org/freedesktop/Hal/devices/pnp_PNP0f03&#8242;  (string)<br />
linux.subsystem = &#8216;pnp&#8217;  (string)<br />
linux.hotplug_type = 1  (0&#215;1)  (int)<br />
info.product = &#8216;Microsoft PS/2-style Mouse&#8217;  (string)<br />
pnp.description = &#8216;Microsoft PS/2-style Mouse&#8217;  (string)<br />
pnp.id = &#8216;PNP0f03&#8242;  (string)<br />
info.linux.driver = &#8216;i8042 aux&#8217;  (string)<br />
info.parent = &#8216;/org/freedesktop/Hal/devices/computer&#8217;  (string)<br />
info.bus = &#8216;pnp&#8217;  (string)<br />
linux.sysfs_path_device = &#8216;/sys/devices/pnp0/00:04&#8242;  (string)<br />
linux.sysfs_path = &#8216;/sys/devices/pnp0/00:04&#8242;  (string)</p></blockquote>
<p><strong>Test Harddisk Transfer Speed</strong></p>
<p>this cute command line will tell you whats your hard-disk speed is, of course you need to know what hard-disks you have first:</p>
<blockquote><p>[root@localhost /]# hdparm -t -T /dev/hda<br />
/dev/hda:<br />
Timing cached reads:   7680 MB in  1.99 seconds = 3868.01 MB/sec<br />
Timing buffered disk reads:  148 MB in  3.00 seconds =  49.33 MB/sec</p></blockquote>
<p><strong>USB Devices</strong></p>
<p>just like lspci the command lsusb will list your USB devices:</p>
<blockquote><p>[root@localhost /]# lsusb<br />
Bus 001 Device 001: ID 0000:0000<br />
Bus 002 Device 001: ID 0000:0000</p></blockquote>
<p>So these are some good command line tools to list all you Linux Hardware info, but check out my post about <a title="Linux Server Hardware listing with cfg2html" href="http://yonitg.com/linux-server-information/" target="_blank">Linux Server Information</a> which explains how to use cfg2html to easily extract all this information and more at once.</p>
<p>Image <small></small><small>by <strong><a rel="nofollow" href="http://www.flickr.com/photos/kubina/">Jeff Kubina</a></strong></small></p>
<p><strong><a href="http://www.amazon.com/Guide-Hardware-Managing-Maintaining-Troubleshooting/dp/1435487389%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1435487389"><img src="http://ecx.images-amazon.com/images/I/51ypOuViBuL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Linux-Administration-Beginners-Guide-Fifth/dp/0071545883%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0071545883"><img src="http://ecx.images-amazon.com/images/I/51I3BoeecvL._SL160_.jpg" alt="" /> </a><a href="http://www.amazon.com/Linux-Pocket-Guide-Daniel-Barrett/dp/0596006284%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596006284"><img src="http://ecx.images-amazon.com/images/I/41182hOjLbL._SL160_.jpg" alt="" /></a><br />
</strong></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Command+line' rel='tag' target='_self'>Command line</a>, <a class='technorati-link' href='http://technorati.com/tag/Hardware' rel='tag' target='_self'>Hardware</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=133&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/linux-hardware/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>proxy settings for the command line</title>
		<link>http://yonitg.com/proxy-settings-for-the-command-line/</link>
		<comments>http://yonitg.com/proxy-settings-for-the-command-line/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 22:57:26 +0000</pubDate>
		<dc:creator>yonitg</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[sys admin]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://yonitg.com/?p=41</guid>
		<description><![CDATA[When using applications from the command line, you will sometimes need to setup a specific proxy for them to use, if you don&#8217;t have a direct access to the Internet from the server you are working on. in some of these application you can setup this through the app switches itself, but simpler apps just [...]]]></description>
			<content:encoded><![CDATA[<p>When using applications from the command line,<br />
you will sometimes need to setup a specific proxy for them to use, if you don&#8217;t have a direct access to the Internet from the server you are working on.</p>
<p>in some of these application you can setup this through the app switches itself, but simpler apps just use the system network settings.</p>
<p>to fix this you can first check what current settings you have now with:</p>
<blockquote><p>ENV | grep -i proxy</p></blockquote>
<p>this should show you the current proxy settings you have.</p>
<p>to add your own settings do:</p>
<blockquote><p>export http_proxy=&#8221;http://&lt;proxy-server-ip&gt;:&lt;port&gt;&#8221;<br />
export ftp_proxy=&#8221;http://&lt;proxy-server-ip&gt;:&lt;port&gt;&#8221;</p></blockquote>
<p>for example:</p>
<blockquote><p>export http_proxy=&#8221;http://192.168.0.10:8080&#8243;</p></blockquote>
<p>after that, just run your command line app, it should pick up and use these settings.</p>
<p><a href="http://www.amazon.com/Linux-Administration-Beginners-Guide-Fifth/dp/0071545883%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0071545883"><img src="http://ecx.images-amazon.com/images/I/51I3BoeecvL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Practical-Guide-Commands-Editors-Programming/dp/0131367366%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0131367366"><img src="http://ecx.images-amazon.com/images/I/51yy3ti1PZL._SL160_.jpg" alt="" /></a> <a href="http://www.amazon.com/Definitive-Guide-CentOS-Peter-Membrey/dp/1430219300%3FSubscriptionId%3DAKIAJOT3JJ24F6GO7IGQ%26tag%3Dyonitgcom-20%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D1430219300"><img src="http://ecx.images-amazon.com/images/I/51tu7j17UqL._SL160_.jpg" alt="" /></a></p>

<!-- start wp-tags-to-technorati 1.02 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/Command+line' rel='tag' target='_self'>Command line</a>, <a class='technorati-link' href='http://technorati.com/tag/Linux' rel='tag' target='_self'>Linux</a>, <a class='technorati-link' href='http://technorati.com/tag/network' rel='tag' target='_self'>network</a>, <a class='technorati-link' href='http://technorati.com/tag/proxy' rel='tag' target='_self'>proxy</a></p>

<!-- end wp-tags-to-technorati -->
<img src="http://yonitg.com/blog/?ak_action=api_record_view&id=41&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://yonitg.com/proxy-settings-for-the-command-line/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
