<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DkYHR3YyfSp7ImA9WhRaE0o.&quot;"><id>tag:blogger.com,1999:blog-10880212</id><updated>2012-02-16T01:35:36.895-05:00</updated><category term="exports" /><category term="disk queue length" /><category term="touchosc" /><category term="tcpview" /><category term="irix magic desktop" /><category term="compaq dl380" /><category term="interfaces" /><category term="rgb-hex" /><category term="Wine" /><category term="fqdn" /><category term="instructions" /><category term="authenticated ftp" /><category term="netio" /><category term="schannel" /><category term="linkedin" /><category term="linuxjournal" /><category term="dbconsole" /><category term="bios" /><category term="NetQoS" /><category term="x windows" /><category term="rhel" /><category term="keyboard layout" /><category term="make" /><category term="awk" /><category term="mouse" /><category term="fedora 14" /><category term="git proxy" /><category term="9650SE" /><category term="rdp" /><category term="google sitemap" /><category term="MS05-051" /><category term="stb" /><category term="email" /><category term="low kernel stack" /><category term="dmesg" /><category term="ipmi" /><category term="scripting" /><category term="acidrip" /><category term="mg350hd" /><category term="corkscrew" /><category term="makewhatis" /><category term="visualization" /><category term="parted magic" /><category term="ndas" /><category term="ntfs" /><category term="user agent" /><category term="moca" /><category term="wireshark" /><category term="dig" /><category term="dr watson" /><category term="vlc" /><category term="windows 2000 server" /><category term="web connections" /><category term="preview" /><category term="pem" /><category term="flash plugin" /><category term="qscale" /><category term="xrandr" /><category term="dosfsck" /><category term="fedora 12" /><category term="xml writer" /><category term="mac" /><category term="mailx" /><category term="remote desktop" /><category term="dhcp" /><category term="ubuntu" /><category term="uname.linux.solaris" /><category term="dell sc1430" /><category term="svn" /><category term="ruby" /><category term="mail" /><category term="tcpdump" /><category term="smtp" /><category term="gparted" /><category term="yum through a proxy" /><category term="web servers" /><category term="hang" /><category term="red hat" /><category term="carriage return" /><category term="griffin powermate" /><category term="ncipher" /><category term="iso" /><category term="rgb hex converter" /><category term="vmware esx server" /><category term="dct-6412" /><category term="black screen" /><category term="osx" /><category term="gforce oddity" /><category term="vnc server" /><category term="addons" /><category term="fglrx" /><category term="sound" /><category term="Fedora 7" /><category term="redhat enterprise linux" /><category term="wolfenstein" /><category term="services" /><category term="nfs" /><category term="fedora 10" /><category term="apple tv" /><category term="album art" /><category term="xfce4" /><category term="shell script" /><category term="oracle 10g" /><category term="sil 680" /><category term="ripping" /><category term="iis.msc" /><category term="mysql-server" /><category term="usb" /><category term="macbook pro" /><category term="comcast" /><category term="infocus projector" /><category term="irix" /><category term="port forwarding" /><category term="ssh" /><category term="file permissions" /><category term="vnc" /><category term="properties" /><category term="transfer" /><category term="cgi" /><category term="metaedit" /><category term="unix" /><category term="pioneer sc-25" /><category term="sun X4600M2" /><category term="samba" /><category term="yougle" /><category term="jump server" /><category term="sharutils" /><category term="supermicro" /><category term="gnome-screenshot" /><category term="runtime error" /><category term="web service extension" /><category term="mkisofs" /><category term="event id 2019" /><category term="ramdisk" /><category term="out of memory" /><category term="disk utility" /><category term="public key" /><category term="documentation" /><category term="performance monitor" /><category term="RAID" /><category term="firebug" /><category term="odbc tracing" /><category term="sar" /><category term="odbc" /><category term="time machine" /><category term="soundflower" /><category term="windows media center" /><category term="windows 7" /><category term="kernel parameters" /><category term="oracle patch set" /><category term="change date time" /><category term="virtualcenter" /><category term="windows xp" /><category term="css" /><category term="actiontec MI424WR" /><category term="orca" /><category term="3dm2" /><category term="ati" /><category term="web 2.0" /><category term="cloverton" /><category term="SQL_HANDLE_ENV failed" /><category term="favicon" /><category term="libfaac" /><category term="top" /><category term="ramdrive" /><category term="aspnet_wp.exe" /><category term=".net" /><category term="performance" /><category term="cron" /><category term="review" /><category term="backup" /><category term="asp" /><category term="site overlay" /><category term="parted" /><category term="rc1" /><category term="advanced filter" /><category term="milkymist" /><category term="screen resolution" /><category term="os version" /><category term="mysql" /><category term="vmware-vmx" /><category term="jre" /><category term="x11" /><category term="cifs" /><category term="sourceforge" /><category term="keybindings" /><category term="iis 6.0" /><category term="screen capture" /><category term="vncserver" /><category term="audiophile" /><category term="ati radeon 8500dv" /><category term="xmms" /><category term="user" /><category term="cinelerra" /><category term="p4dl6" /><category term="ripley" /><category term="realvnc" /><category term="permissions" /><category term="smbfs" /><category term="dos2unix" /><category term="errors" /><category term="default port" /><category term="ssl" /><category term="bogus tcp line" /><category term="regular expressions" /><category term="ntlmaps" /><category term="amarok" /><category term="superduper" /><category term="itunes" /><category term="x86-64" /><category term="virtual consoles" /><category term="grub" /><category term="web farm" /><category term="javascript" /><category term="esd" /><category term="av receiver" /><category term="asp .net" /><category term="memory dump" /><category term="ntfs-3g" /><category term="hosts" /><category term="imagemagick convert" /><category term="network performance" /><category term="youtube" /><category term="sun java" /><category term="vmware server" /><category term="browsers" /><category term="key combinations" /><category term="console" /><category term="3ware" /><category term="oracle 9i" /><category term="window environment" /><category term="tag cloud" /><category term="amazon" /><category term="boot camp" /><category term="windows" /><category term="dropbear" /><category term="fc4" /><category term="textedit" /><category term="scsi" /><category term="windows 2000" /><category term="elastic compute cloud" /><category term="motorola" /><category term="troubleshoot" /><category term="cmd" /><category term="hex-rgb" /><category term="hdtv" /><category term="memory leak" /><category term="crash" /><category term="windows manager" /><category term="reaper" /><category term="google analytics" /><category term="force quit" /><category term="schwag archive" /><category term="php" /><category term="nmap" /><category term="WinAmp" /><category term="irssi" /><category term="x server" /><category term="real player" /><category term="dog" /><category term="companies" /><category term="taskbar" /><category term="fedora 15" /><category term="xorg" /><category term="vista media center" /><category term="iwam" /><category term="sleep states" /><category term="ALSA" /><category term="blogger" /><category term="drobo fs" /><category term="sid" /><category term="vmware player" /><category term="hacks" /><category term="tunnel" /><category term="article" /><category term="qengine" /><category term="command line" /><category term="software synthesizer" /><category term="dmidecode" /><category term="fat" /><category term="windows scripting" /><category term="custom kernel" /><category term="tv pack" /><category term="s3" /><category term="posting acceptor" /><category term="books" /><category term="data execution prevention" /><category term="install module" /><category term="mkinitrd" /><category term="intermediate certificate" /><category term="lvm" /><category term="chrome" /><category term="sessions" /><category term="playstation store" /><category term="seagate 500gb sata" /><category term="module" /><category term="set" /><category term="esound" /><category term="unity mode" /><category term="wimFsf.sys" /><category term="git" /><category term="twonky media" /><category term="session preferences" /><category term="video editing" /><category term="motherboard" /><category term="brasero" /><category term="windows file share" /><category term="projectm" /><category term="isolation mode" /><category term="4sysops" /><category term="fstab" /><category term="serial port" /><category term="tightvnc" /><category term="iis" /><category term="301" /><category term="audio conversion" /><category term="osc" /><category term="core" /><category term="easy php" /><category term="mediagate" /><category term="ffmpeg" /><category term="memory" /><category term="ntp" /><category term="obama" /><category term="parallels" /><category term="explorefs" /><category term="chicken of the vnc" /><category term="marketing" /><category term="visiontek x1550" /><category term="blog template" /><category term="network" /><category term="kill process" /><category term="grab" /><category term="sata" /><category term="microsoft lossless wma" /><category term="nslookup" /><category term="udev" /><category term="3ware 9650SE" /><category term="ipod touch" /><category term="error" /><category term="verisign" /><category term="subversion" /><category term="windows vista" /><category term="gnuplot" /><category term="selinux" /><category term="Gnome3" /><category term="ntpd" /><category term="oracle client" /><category term="coherence mode" /><category term="smb" /><category term="netgear wgt624" /><category term="perl" /><category term="sony" /><category term="transparent" /><category term="xfconf-query" /><category term="acpi" /><category term="debugdiag" /><category term="xfce-screenshot" /><category term="ssid broadcast" /><category term="dump" /><category term="preferences" /><category term="png" /><category term="motorola nim100" /><category term="belkin" /><category term="windows share" /><category term="SQLAllocHandle" /><category term="invalid" /><category term="Gnome2" /><category term="gimp" /><category term="iso file" /><category term="ext4" /><category term="virtual machine" /><category term="irc" /><category term="binary file" /><category term="xfce4-session" /><category term="uuencode" /><category term="firewall" /><category term="mkfs" /><category term="ico" /><category term="npviewer.bin" /><category term="pulseaudio" /><category term="ethernet" /><category term="ethtool" /><category term="netstat" /><category term="viewstate is invalid" /><category term="microsoft rdp" /><category term="hard drive failure" /><category term="large file" /><category term="nouveau" /><category term="web services" /><category term="ie" /><category term="vmware workstation" /><category term="caching server" /><category term="vmware converter" /><category term="wireless" /><category term="identity" /><category term="administration" /><category term="kernel" /><category term="usb external drive" /><category term="vpn" /><category term="viewstate" /><category term="audio formats" /><category term="ftp" /><category term="install" /><category term="window managers" /><category term="keyboard shortcuts" /><category term="f5u503" /><category term="jscript" /><category term="milkdrop" /><category term="partimage" /><category term="playstation 3" /><category term="etherwake" /><category term="registry" /><category term="securebindings" /><category term="authorized_keys" /><category term="refund" /><category term="open source" /><category term="dvd" /><category term="rEFIit" /><category term="security lockdown" /><category term="win2k3" /><category term="firefox" /><category term="tiff" /><category term="iphone" /><category term="yum" /><category term="quad core" /><category term="google gmail" /><category term="keyboard" /><category term="netgear wnr3500" /><category term="scp" /><category term="alpine" /><category term="rhel3" /><category term="Saber DA-1N1-I tuner" /><category term="process explorer" /><category term="xp" /><category term="open suse" /><category term="cpu" /><category term="humor" /><category term="notes" /><category term="null modem" /><category term="xeon" /><category term="ext3" /><category term="disk wizard" /><category term="sysrescue" /><category term="msconfig" /><category term="rip" /><category term="httpd" /><category term="vmware" /><category term="mistakes" /><category term="overclock" /><category term="wireless drops" /><category term="vmware fusion" /><category term="script engine" /><category term="emctl" /><category term="bash" /><category term="labels" /><category term="oracle enterprise manager" /><category term="compile" /><category term="random lockup" /><category term="cross-compile" /><category term="oracle" /><category term="wmctrl" /><category term="movie" /><category term="ext2" /><category term="vimeo" /><category term="timezone" /><category term="isc" /><category term="ms wsat" /><category term="ntpq" /><category term="usb 2.0" /><category term="exploits" /><category term="certificate" /><category term="digital id for secure email" /><category term="ethernet cable" /><category term="cisco vpn client" /><category term="permanent redirect" /><category term="beagle" /><category term="aero" /><category term="sitemap" /><category term="nautilus" /><category term="sql logging" /><category term="core 6" /><category term="iptraf" /><category term="proxy" /><category term="apple developer" /><category term="digital audio workstation" /><category term="fuse" /><category term="e5310" /><category term="site server" /><category term="fedora" /><category term="windows server" /><category term="conference" /><category term="cdrecord" /><category term="ddx" /><category term="ssid" /><category term="sql injection" /><category term="webexpo" /><category term="gnome" /><category term="shame" /><category term="processes" /><category term="whatis" /><category term="python" /><category term="smbmount" /><category term="telnet" /><category term="chat" /><category term="bat" /><category term="internet sharing" /><category term="metacity" /><category term="apache" /><category term="linux" /><category term="date time" /><category term="apple lossless" /><category term="osx 10.5.6" /><category term="enlightenment" /><category term="droboutils" /><category term="cygwin" /><category term="debian etch" /><category term="wake on lan" /><category term="mkdosfs" /><category term="stress tool" /><category term="mount" /><category term="windows system assessment tool" /><category term="bootable cd" /><category term="firewire" /><category term="myth tv" /><category term="linux drivers" /><category term="ghost" /><category term="blog" /><category term="imagemap" /><category term="fat32" /><category term="broadcom 5751" /><category term="hardware compatibility" /><category term="netgear mcab1001" /><category term="home theatre" /><category term="line feed" /><category term="xfce" /><category term="microsoft" /><category term="pine" /><category term="s3cmd" /><category term="attrib" /><category term="vmware tools" /><category term="fdisk" /><category term="zip" /><category term="sun 5310" /><category term="dell precision 670" /><title>tech answer guy</title><subtitle type="html">&lt;b&gt;If it was easy, I wouldn't be writing about it.&lt;/b&gt;
&lt;br&gt;
301 permanent redirects in IIS, s3cmd through proxy, extending an ext3/4 partition</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://www.techanswerguy.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>189</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/TechAnswerGuy" /><feedburner:info uri="techanswerguy" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CUUERn4yeip7ImA9WhRWEEQ.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-8214154460734995042</id><published>2011-12-28T12:26:00.000-05:00</published><updated>2011-12-28T12:26:47.092-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-28T12:26:47.092-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="nouveau" /><category scheme="http://www.blogger.com/atom/ns#" term="install" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 15" /><title>Fedora 15 installation notes</title><content type="html">These are some notes for my Fedora 15 setup. &amp;nbsp;Not very interesting, just a reminder of the steps I need to perform to get a fresh system up and running.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Steps&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;read release notes&lt;/li&gt;
&lt;li&gt;read bug list&lt;/li&gt;
&lt;li&gt;install Software Development packages&lt;/li&gt;
&lt;li&gt;set network proxy (if installing at corp)&lt;/li&gt;
&lt;li&gt;enable network card - activate on boot&lt;/li&gt;
&lt;li&gt;edit /boot/grub/menu.lst&lt;/li&gt;
&lt;li&gt;add xterm to task bar, change default profile to unlimited, 9pt font&lt;/li&gt;
&lt;li&gt;add System Monitor to taskbar, change prefs to all monitors&lt;/li&gt;
&lt;li&gt;add my user to sudoers "su -", then edit /etc/sudoers&lt;/li&gt;
&lt;li&gt;download and install VMware Player "sudo sh VMwarePlayer.bundle"&lt;/li&gt;
&lt;li&gt;setup ntlmaps (if installing at corp), point firefox to use localhost:5865&lt;/li&gt;
&lt;li&gt;add free/non-free repos&lt;/li&gt;
&lt;li&gt;setup Google yum repo, download Chrome&lt;/li&gt;
&lt;li&gt;setup Google as default home page in Firefox&lt;/li&gt;
&lt;li&gt;install cinelerra dependencies&lt;/li&gt;
&lt;li&gt;download cinMonty&lt;/li&gt;
&lt;li&gt;compile cinMonty (autogen.sh/make --disable-mmx/make install)&lt;/li&gt;
&lt;li&gt;update VMware Tools&lt;/li&gt;
&lt;li&gt;remove nouveau (rpm -e xorg-x11-drv-nouveau --nodeps, nouveau.modeset=0 rdblacklist=nouveau in grub, yum install kmod-nvidia)&lt;/li&gt;
&lt;li&gt;install NVidia driver&lt;/li&gt;
&lt;li&gt;install rdesktop, setup sessions&lt;/li&gt;
&lt;li&gt;setup .bashrc with aliases&lt;/li&gt;
&lt;li&gt;install iptraf, mplayer, libcurl, iotop, ImageMagick, xfce4, xfce4 power, session and window managers&lt;/li&gt;
&lt;li&gt;run update&lt;/li&gt;
&lt;li&gt;System -&amp;gt; Sessions and Startup -&amp;gt; Auto save session on logout&lt;/li&gt;
&lt;li&gt;install system-config-lvm&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
That will provide for a decent base Fedora system.&lt;/div&gt;
&lt;div&gt;
TAG&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-8214154460734995042?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Q6AP61cUA_APBnD1uM7HbuAb4iE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q6AP61cUA_APBnD1uM7HbuAb4iE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Q6AP61cUA_APBnD1uM7HbuAb4iE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Q6AP61cUA_APBnD1uM7HbuAb4iE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/uR6vQluPXO4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/8214154460734995042/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=8214154460734995042" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8214154460734995042?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8214154460734995042?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/uR6vQluPXO4/fedora-15-installation-notes.html" title="Fedora 15 installation notes" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/12/fedora-15-installation-notes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4BQXY7cSp7ImA9WhRWEEk.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-4330022186570971146</id><published>2011-12-27T22:26:00.000-05:00</published><updated>2011-12-27T22:29:10.809-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-27T22:29:10.809-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="awk" /><title>scary awk magic</title><content type="html">AWK is quite a powerful program that can do all sorts of gymnastics with structured text files. &amp;nbsp;Here's one example.&lt;br /&gt;
&lt;br /&gt;
Say you have a file with four columns (depicted below) delimited by tabs:&lt;br /&gt;
-an id field&lt;br /&gt;
-a JSON string of dates&lt;br /&gt;
-another JSON string of values associated to those dates&lt;br /&gt;
-a last column that has the total of those values in column 3&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Source File&lt;/b&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;6237 &amp;nbsp; &amp;nbsp;[20111102,20111103,20111104,20111105,20111106,20111107,20111108,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130,20111201,20111202,20111203,20111204,20111205,20111206,20111207,20111208,20111209,20111210,20111211,20111212,20111213,20111214,20111215,20111216] &amp;nbsp;[286,291,276,274,339,424,428,408,458,401,354,398,543,571,631,581,515,516,571,721,768,943,960,917,899,941,1168,1274,1256,1527,1472,1315,1323,1741,1826,1958,1988,1760,1662,1770,2088,2117,2325,2588,2214] &amp;nbsp; &amp;nbsp;47786&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;6237 &amp;nbsp; &amp;nbsp;[20111102,20111103,20111104,20111105,20111106,20111107,20111108,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130,20111201,20111202,20111203,20111204,20111205,20111206,20111207,20111208,20111209,20111210,20111211,20111212,20111213,20111214,20111215,20111216] &amp;nbsp;[286,291,276,274,339,424,428,408,458,401,354,398,543,571,631,581,515,516,571,721,768,943,960,917,899,941,1168,1274,1256,1527,1472,1315,1323,1741,1826,1958,1988,1760,1662,1770,2088,2117,2325,2588,2214] &amp;nbsp; &amp;nbsp;47786&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;6237 &amp;nbsp; &amp;nbsp;[20111102,20111103,20111104,20111105,20111106,20111107,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130] &amp;nbsp; &amp;nbsp; &amp;nbsp; [286,291,276,274,339,424,408,458,401,354,398,543,571,631,581,515,516,571,721,768,943,960,917,899,941,1168,1274,1256] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;17684&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;6237 &amp;nbsp; &amp;nbsp;[20111102,20111103,20111104,20111105,20111106,20111107,20111108,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130,20111201,20111202,20111203,20111204,20111205,20111206] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[286,291,276,274,339,424,428,408,458,401,354,398,543,571,631,581,515,516,571,721,768,943,960,917,899,941,1168,1274,1256,1527,1472,1315,1323,1741,1826] &amp;nbsp; &amp;nbsp; &amp;nbsp;27316&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;10778 &amp;nbsp; [20111102,20111103,20111104,20111105,20111106,20111107,20111108,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130,20111201,20111202,20111203,20111204,20111205,20111206] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[48,47,37,41,49,35,49,47,59,46,37,41,39,67,60,59,45,39,44,58,62,47,62,56,70,55,57,53,35,59,57,42,45,61,63] &amp;nbsp;1771&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;10778 &amp;nbsp; [20111102,20111103,20111104,20111105,20111106,20111107,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130] &amp;nbsp; &amp;nbsp; &amp;nbsp; [48,47,37,41,49,35,47,59,46,37,41,39,67,60,59,45,39,44,58,62,47,62,56,70,55,57,53,35] &amp;nbsp; 1395&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;10778 &amp;nbsp; [20111102,20111103,20111104,20111105,20111106,20111107,20111108,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130,20111201,20111202,20111203,20111204,20111205,20111206,20111207,20111208,20111209,20111210,20111211,20111212,20111213,20111214,20111215,20111216] &amp;nbsp;[48,47,37,41,49,35,49,47,59,46,37,41,39,67,60,59,45,39,44,58,62,47,62,56,70,55,57,53,35,59,57,42,45,61,63,55,10633,51,41,36,37,62,41,53,45] 12825&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The Goal&lt;/b&gt;&lt;br /&gt;
Notice that the row id's repeat a variable number of times. &amp;nbsp;My task was to use&amp;nbsp;the first column as an index, and only take the last line in the file related to that index.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;The Solution&lt;/b&gt;&lt;br /&gt;
The solution looks something hideous like this:&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;awk -F"\t" 'NR!=1 {a[$1]; b[$1]=$2 ; c[$1]=$3; d[$1]=$4} \&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;END{OFS="\t";for (i in a) printf("%s\t%s\t%s\t%s\n", i, b[i], c[i], d[i])}' \&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;file.txt&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Breaking it apart into separate lines helps a bit (the backslash allows you to enter the pieces of the command on multiple lines in a Linux terminal window):&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;awk -F"\t"\&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;'NR!=1 {a[$1]; b[$1]=$2 ; c[$1]=$3; d[$1]=$4} \&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;END\&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;{OFS="\t";\&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;for (i in a)\&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;printf("%s\t%s\t%s\t%s\n", i, b[i], c[i], d[i])}'|\&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;file.txt&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Let's take this apart piece by piece to see what it means.&lt;br /&gt;
&lt;br /&gt;
awk -F"\t"&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;start awk and use the tab delimiter to separate out the columns&lt;br /&gt;
NR!=1&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;read in all but the first record&lt;br /&gt;
a &lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;an array of values called a&lt;br /&gt;
a[$1] &lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;assign values to array named a, the values are to be found in the first column ($1) of the data file&lt;br /&gt;
b[$1]=$2&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;for the array b, at the index of $1, assign value of the second column ($2) of the data file&lt;br /&gt;
c[$1]=$3&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;for the array c, at the index of $1, assign value of the third column ($3) of the data file&lt;br /&gt;
d[$1]=$4&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;for the array d, at the index of $1, assign value of the fourth column ($4) of the data file&lt;br /&gt;
END&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;do the following at the last&lt;br /&gt;
OFS="\t"&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;output field separator is a tab&lt;br /&gt;
for (i in a)&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;for each value in the array a, do the following&lt;br /&gt;
print..&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;print the current value for i (the index, the first column)&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;print the last value for the second column at index i: b[i]&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;print the last value for the third column at index i: c[i]&lt;br /&gt;
&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;  &lt;/span&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;print the last value for the fourth column at index i: d[i]&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Final Output&lt;/b&gt;&lt;br /&gt;
Now when I run the program, I get this for the output:&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;6237 &amp;nbsp; &amp;nbsp;[20111102,20111103,20111104,20111105,20111106,20111107,20111108,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130,20111201,20111202,20111203,20111204,20111205,20111206] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[286,291,276,274,339,424,428,408,458,401,354,398,543,571,631,581,515,516,571,721,768,943,960,917,899,941,1168,1274,1256,1527,1472,1315,1323,1741,1826] &amp;nbsp; &amp;nbsp; &amp;nbsp;27316&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: 'Courier New', Courier, monospace; font-size: xx-small;"&gt;10778 &amp;nbsp; [20111102,20111103,20111104,20111105,20111106,20111107,20111108,20111109,20111110,20111111,20111112,20111113,20111114,20111115,20111116,20111117,20111118,20111119,20111120,20111121,20111122,20111123,20111124,20111125,20111126,20111127,20111128,20111129,20111130,20111201,20111202,20111203,20111204,20111205,20111206,20111207,20111208,20111209,20111210,20111211,20111212,20111213,20111214,20111215,20111216] &amp;nbsp;[48,47,37,41,49,35,49,47,59,46,37,41,39,67,60,59,45,39,44,58,62,47,62,56,70,55,57,53,35,59,57,42,45,61,63,55,10633,51,41,36,37,62,41,53,45] 12825&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Note there are only two lines now instead of seven and that I only have the last two instances of the value indexed in column one.&lt;br /&gt;
&lt;br /&gt;
And that's some funky AWK magic.&lt;br /&gt;
&lt;br /&gt;
Reference&lt;br /&gt;
&lt;a href="http://en.wikipedia.org/wiki/AWK"&gt;http://en.wikipedia.org/wiki/AWK&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-4330022186570971146?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/F5g14IuOhei6XPi_kjmRmbY3L38/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F5g14IuOhei6XPi_kjmRmbY3L38/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/F5g14IuOhei6XPi_kjmRmbY3L38/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F5g14IuOhei6XPi_kjmRmbY3L38/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/0cVocTfOJpo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/4330022186570971146/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=4330022186570971146" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/4330022186570971146?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/4330022186570971146?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/0cVocTfOJpo/scary-awk-magic.html" title="scary awk magic" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/12/scary-awk-magic.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIAQn8_fSp7ImA9WhdaGUU.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-8335842579385276980</id><published>2011-10-29T14:02:00.000-04:00</published><updated>2011-10-30T11:29:03.145-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-30T11:29:03.145-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="xfconf-query" /><category scheme="http://www.blogger.com/atom/ns#" term="video editing" /><category scheme="http://www.blogger.com/atom/ns#" term="xfce4-session" /><category scheme="http://www.blogger.com/atom/ns#" term="xfce4" /><category scheme="http://www.blogger.com/atom/ns#" term="xfce" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="Gnome3" /><category scheme="http://www.blogger.com/atom/ns#" term="xfce-screenshot" /><category scheme="http://www.blogger.com/atom/ns#" term="Gnome2" /><title>xfce4 irritations</title><content type="html">In order to monitor the state of my RAID set, I needed to install the &lt;a href="http://www.techanswerguy.com/2010/02/3ware-9650se-support-experience.html"&gt;3ware software pieces&lt;/a&gt;, especially the GUI. &amp;nbsp;The install documentation from 3ware is poor. &amp;nbsp;So I thought I'd create my own by taking some screenshots. &amp;nbsp;I was going to take screenshots using my window manager's screenshot program. &amp;nbsp;Unfortunately,&amp;nbsp;ALT-PRINT did not work in XFCE.&lt;br /&gt;
&lt;br /&gt;
I'm running XFCE instead of GNOME 3 because of GNOME 3's vertical workspace changing behavior. &amp;nbsp;You see, I edit video in Cinelerra and have the Program timeline, Resource and Viewer windows in one monitor and the Compositor in the right monitor. &amp;nbsp;Also, I use NVidia drivers in Twinview mode. &amp;nbsp;So for this video editing layout, I need the old GNOME2 horizontal workspaces. &amp;nbsp;GNOME3 breaks up the left and right monitor when you switch workspaces and you can only switch workspace vertically using CTRL-ALT-Up/Down. &amp;nbsp;Dumb.&lt;br /&gt;
&lt;br /&gt;
Anyway, ALT-PRINT did not work in XFCE. &amp;nbsp;Reading &lt;a href="https://bugs.launchpad.net/ubuntu/+source/xfce4-settings/+bug/366828"&gt;here&lt;/a&gt;&amp;nbsp;said it might have been a problem with multiple lines in&amp;nbsp;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px;"&gt;.config/&lt;/span&gt;&lt;wbr style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;&lt;/wbr&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;xfce4/xfconf/&lt;/span&gt;&lt;wbr style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;&lt;/wbr&gt;&lt;b style="background-color: #ff66ff; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;xfce&lt;/b&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;-perchannel&lt;/span&gt;&lt;wbr style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;&lt;/wbr&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;-xml/xfce4-&lt;/span&gt;&lt;wbr style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;&lt;/wbr&gt;&lt;b style="background-color: #ffff66; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;keyboard&lt;/b&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;-&lt;/span&gt;&lt;wbr style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;&lt;/wbr&gt;&lt;b style="background-color: #a0ffff; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;shortcuts&lt;/b&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;.&lt;/span&gt;&lt;wbr style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;&lt;/wbr&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: 'UbuntuBeta Mono', 'Ubuntu Mono', monospace; font-size: 12px; line-height: 18px; text-align: left;"&gt;xml&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Reviewing that file, indeed I find multiple lines referencing the same keys (some under a "default" section, some lines under a "custom" section). &amp;nbsp;So I edited the file to remove the duplicate references and saved only those with my custom keyboard shortcuts. &amp;nbsp;My edits to get xfce-screenshooter to bind with both PrtScn and Alt-PrtScn ended looking like this:&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="Print" type="string" value="xfce4-screenshooter -f"/&amp;gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name="&amp;amp;lt;Alt&amp;amp;gt;Print" type="string" value="xfce4-screenshooter -w"/&amp;gt;&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
After removing the multiple entries for the Print key and restarting XFCE, I had my keyboard shortcuts back! &amp;nbsp;Yay!&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Also, while reading that article, I noticed another user had a secondary problem that I had where the logout button for Xfce doesn't have the startup/shutdown option. &amp;nbsp;So here, it look like the problem might have been with xfce4-session. &amp;nbsp;I noticed I didn't have this program installed, so I installed it. &amp;nbsp;And now, I am happily running with a proper logout window:&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://t0.gstatic.com/images?q=tbn:ANd9GcT86mlAl3jLvMo436mHb_dGaoaOUHf-7yC20uFjfgp3US2ohtfP" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://t0.gstatic.com/images?q=tbn:ANd9GcT86mlAl3jLvMo436mHb_dGaoaOUHf-7yC20uFjfgp3US2ohtfP" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Lastly, you can also customize what is displayed in the Log Out dialog using syntax like this:&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;xfconf-query -c xfce4-session -np '/shutdown/ShowSuspend' -t 'bool' -s 'false'&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This edits the settings in this file:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace; font-size: x-small;"&gt;.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-session.xml&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
So you see, this is why Linux is a pain in the ass. &amp;nbsp;You want to do something simple and basic stuff like screenshotting and shutdown/restart and power management is not installed by default or doesn't work.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
argh!&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
sodo&lt;/div&gt;
&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 16px; white-space: pre;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px; line-height: 16px; white-space: pre;"&gt;Reference&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://forum.xfce.org/viewtopic.php?id=4781"&gt;http://forum.xfce.org/viewtopic.php?id=4781&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-8335842579385276980?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/OjBGeCdQ6GU67QT9IogNNnhdXvY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OjBGeCdQ6GU67QT9IogNNnhdXvY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/OjBGeCdQ6GU67QT9IogNNnhdXvY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/OjBGeCdQ6GU67QT9IogNNnhdXvY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/BquszGkOVIo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/8335842579385276980/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=8335842579385276980" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8335842579385276980?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8335842579385276980?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/BquszGkOVIo/xfce4-irritations.html" title="xfce4 irritations" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/10/xfce4-irritations.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0MCQHY4fip7ImA9WhZaFU4.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-2373869126927758018</id><published>2011-07-01T10:17:00.010-04:00</published><updated>2011-07-01T12:57:41.836-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-01T12:57:41.836-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="permanent redirect" /><category scheme="http://www.blogger.com/atom/ns#" term="301" /><category scheme="http://www.blogger.com/atom/ns#" term="iis" /><category scheme="http://www.blogger.com/atom/ns#" term="iis.msc" /><title>301 permanent redirect using IIS</title><content type="html">Here's a quick post describing how to place a 301 permanent redirect on a Microsoft IIS web server; specifically IIS6. On a Microsoft server, you can do a HTTP 301 Permanent Redirect two ways by using:&lt;ul&gt;&lt;li&gt;Javascript or Visual Basic code within your ASP page or&lt;/li&gt;&lt;li&gt;server administrative tools (the IIS management server console, iis.msc)&lt;/li&gt;&lt;/ul&gt;This is different from a Linux box, where you can use not only code or Apache to do the 301, but you can also take advantage of the .htaccess file for redirects.&lt;br /&gt;&lt;br /&gt;Since the page I was trying to redirect was an HTML page, I wasn't able to put in any VB or Javascript code to perform the redirect.  If I was using an ASP page, I could use some VB code like this:&lt;br /&gt;&lt;span class="Apple-style-span" style="line-height: 18px; "&gt;&lt;span style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border- color:initial;"&gt;&lt;span class="color-red"  style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; vertical-align: baseline; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-style: initial; border- color:initial;"&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;&amp;lt; %@ Language=VBScript %&amp;gt;&lt;br /&gt;&amp;lt; %&lt;br /&gt;Response.Status=”301 Moved Permanently”&lt;br /&gt;Response.AddHeader “Location”, http://www.example.com&lt;br /&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;Instead, I used the IIS management console to edit the attributes of the file to permanently redirect the destination location of the file.  In the example below, I have right-clicked on the Properties of a web resource available to IIS (a file under the wwwroot), have input my other blog "http://crazedmuleproductions.blogspot.com" as the destination URL and checked "a permanent redirection for this resource."&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/-1q39S5ZKc5c/Tg3ZHxAWkEI/AAAAAAAABMI/aMvck9Wb8y4/s1600/iis301redirection.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 375px;" src="http://1.bp.blogspot.com/-1q39S5ZKc5c/Tg3ZHxAWkEI/AAAAAAAABMI/aMvck9Wb8y4/s400/iis301redirection.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5624390237092745282" /&gt;&lt;/a&gt;&lt;br /&gt;Lo and behold, this works..I am redirected to the proper location (shown below).  However, when I use Firebug to inspect how the server is doing the redirects, I find that Firebug shows a "301 error" for the response code:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-AhhEPCSvjOk/Tg3b2RI7UOI/AAAAAAAABMQ/nHjYm4xfRzI/s1600/iis301redirectionFirebug.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 171px;" src="http://4.bp.blogspot.com/-AhhEPCSvjOk/Tg3b2RI7UOI/AAAAAAAABMQ/nHjYm4xfRzI/s400/iis301redirectionFirebug.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5624393235015880930" /&gt;&lt;/a&gt;&lt;br /&gt;To confirm that it wasn't Firebug misinterpreting the response from the server, I used this site to confirm the response code:&lt;br /&gt;&lt;a href="http://www.internetofficer.com/seo-tool/redirect-check/"&gt;http://www.internetofficer.com/seo-tool/redirect-check/&lt;/a&gt;&lt;br /&gt;Using the internetofficer site's redirect checker, I found that the redirect checker showed the same response from the IIS server.  So Firebug wasn't reporting incorrect information.  &lt;br /&gt;&lt;br /&gt;Finally, &lt;a href="http://www.internetofficer.com/seo-tool/redirect-check/#comment-1398"&gt;after a bit of googling&lt;/a&gt;, it seems that the "301 error" is just the way that the IIS server responds to the 301 permanent redirection setting.  This is confusing, non-standard terminology, as it caused me to think that I had implemented the redirect incorrectly.  Perhaps Microsoft will fix this in the future.&lt;br /&gt;&lt;br /&gt;anyway..Happy 4th of July!&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-2373869126927758018?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/y3kfp_T28eB39xqla_RGQVX_iao/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/y3kfp_T28eB39xqla_RGQVX_iao/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/y3kfp_T28eB39xqla_RGQVX_iao/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/y3kfp_T28eB39xqla_RGQVX_iao/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/mSb881aIiLg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/2373869126927758018/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=2373869126927758018" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2373869126927758018?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2373869126927758018?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/mSb881aIiLg/301-redirect-on-iis.html" title="301 permanent redirect using IIS" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-1q39S5ZKc5c/Tg3ZHxAWkEI/AAAAAAAABMI/aMvck9Wb8y4/s72-c/iis301redirection.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/07/301-redirect-on-iis.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0INQ3k4cCp7ImA9WhZQGU8.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-8262098494894354800</id><published>2011-04-27T12:58:00.005-04:00</published><updated>2011-04-27T14:39:52.738-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-27T14:39:52.738-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="s3cmd" /><title>s3cmd through a proxy</title><content type="html">For those who use Amazon's EC2/S3 cloud.&lt;pre&gt;sodo@linux-8u67:~/Downloads/s3cmd-1.0.0&amp;gt; ./s3cmd --configure&lt;br /&gt;&lt;br /&gt;Enter new values or accept defaults in brackets with Enter.&lt;br /&gt;Refer to user manual for detailed description of all options.&lt;br /&gt;&lt;br /&gt;Access key and Secret key are your identifiers for Amazon S3&lt;br /&gt;Access Key: enter accesskey&lt;br /&gt;Secret Key: enter secretkey&lt;br /&gt;&lt;br /&gt;Encryption password is used to protect your files from reading&lt;br /&gt;by unauthorized persons while in transfer to S3&lt;br /&gt;Encryption password:&lt;br /&gt;Path to GPG program [/usr/bin/gpg]:&lt;br /&gt;&lt;br /&gt;When using secure HTTPS protocol all communication with Amazon S3&lt;br /&gt;servers is protected from 3rd party eavesdropping. This method is&lt;br /&gt;slower than plain HTTP and can't be used if you're behind a proxy&lt;br /&gt;Use HTTPS protocol [No]:&lt;br /&gt;&lt;br /&gt;On some networks all internet access must go through a HTTP proxy.&lt;br /&gt;Try setting it here if you can't conect to S3 directly&lt;br /&gt;HTTP Proxy server name [http-proxy]:&lt;br /&gt;HTTP Proxy server port [8888]:&lt;br /&gt;&lt;br /&gt;New settings:&lt;br /&gt; Access Key: enter accesskey&lt;br /&gt; Secret Key: enter secretkey &lt;br /&gt; Encryption password:&lt;br /&gt; Path to GPG program: /usr/bin/gpg&lt;br /&gt; Use HTTPS protocol: False&lt;br /&gt; HTTP Proxy server name: http-proxy&lt;br /&gt; HTTP Proxy server port: 8888&lt;br /&gt;&lt;br /&gt;Test access with supplied credentials? [Y/n] y&lt;br /&gt;Please wait...&lt;br /&gt;Success. Your access key and secret key worked fine :-)&lt;br /&gt;&lt;br /&gt;Now verifying that encryption works...&lt;br /&gt;Not configured. Never mind.&lt;br /&gt;&lt;br /&gt;Save settings? [y/N] y&lt;br /&gt;Configuration saved to '/home/sodo/.s3cfg'&lt;br /&gt;&lt;br /&gt;sodo@linux-8u67:~/Downloads/s3cmd-1.0.0&amp;gt; ./s3cmd ls&lt;br /&gt;2011-04-05 19:03  s3://testbucket&lt;br /&gt;2011-03-26 04:42  s3://trendtop&lt;/pre&gt;&lt;br /&gt;Yay!  It works.&lt;br /&gt;sodo&lt;br /&gt;&lt;br /&gt;Also, I received this error message from YaST2 using SuSE Enterprise Linux 11 64-bit 11.1:&lt;br /&gt;Problem: &lt;span class="Apple-style-span"  &gt;nothing provides python(abi) = 2.6 needed by s3cmd-1.0.0-4.1.i586&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Resolution: install manually from &lt;a href="http://s3tools.org/s3cmd"&gt;http://s3tools.org/s3cmd&lt;/a&gt;&lt;/secretkey&gt;&lt;/accesskey&gt;&lt;/enter&gt;&lt;/enter&gt;&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://www.saltycrane.com/blog/2010/02/s3cmd-notes/"&gt;http://www.saltycrane.com/blog/2010/02/s3cmd-notes/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-8262098494894354800?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/H6cu2lyW57AURcoaLVACrDhMJ8o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H6cu2lyW57AURcoaLVACrDhMJ8o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/H6cu2lyW57AURcoaLVACrDhMJ8o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H6cu2lyW57AURcoaLVACrDhMJ8o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/Vrl6nX_jCZc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/8262098494894354800/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=8262098494894354800" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8262098494894354800?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8262098494894354800?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/Vrl6nX_jCZc/s3cmd-through-proxy.html" title="s3cmd through a proxy" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/04/s3cmd-through-proxy.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4MRno_fSp7ImA9WhZWEEo.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-8879793075779979480</id><published>2011-04-17T16:40:00.002-04:00</published><updated>2011-05-10T20:33:07.445-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-10T20:33:07.445-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="parted magic" /><category scheme="http://www.blogger.com/atom/ns#" term="gparted" /><category scheme="http://www.blogger.com/atom/ns#" term="ext4" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><category scheme="http://www.blogger.com/atom/ns#" term="open suse" /><category scheme="http://www.blogger.com/atom/ns#" term="iso" /><category scheme="http://www.blogger.com/atom/ns#" term="gnome" /><category scheme="http://www.blogger.com/atom/ns#" term="virtual machine" /><category scheme="http://www.blogger.com/atom/ns#" term="ext3" /><title>resizing a linux partition using Parted Magic</title><content type="html">I was running out of space on the root filesystem of my &lt;a href="http://www.opensuse.org"&gt;OpenSuSE&lt;/a&gt; 11.4 virtual machine.  I needed a few extra gig, so I wanted to enlarge the root filesystem from 18GB to 22GB:&lt;pre&gt;sfrase@linux-8u67:~&gt; df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda2              18G   14G    4G  22% /&lt;br /&gt;devtmpfs              372M   88K  372M   1% /dev&lt;br /&gt;tmpfs                 372M  1.1M  371M   1% /dev/shm&lt;/pre&gt;Thinking I could use Gparted, I stumbled upon something even easier..the &lt;a href="http://partedmagic.com/doku.php"&gt;Parted Magic OS&lt;/a&gt;. Parted Magic is a compilation of open source partitioning utilities in one smooth-looking OS in bootable iso format.  The bootable iso is about 160MB and is available here:&lt;br /&gt;&lt;a href="http://partedmagic.com/doku.php?id=downloads"&gt;http://partedmagic.com/doku.php?id=downloads&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Overview&lt;/span&gt;&lt;br /&gt;I had to do a few things to get the filesystem resized.&lt;br /&gt;1) resized the virtual disk that VMware uses&lt;br /&gt;2) booted the VM with the Parted Magic ISO in the virtual CD of the VM&lt;br /&gt;3) ran GParted and expanded my filesystem&lt;br /&gt;4) rebooted the system to see the expanded disk&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Detail&lt;/span&gt;&lt;br /&gt;I'll show you the steps in depth below:&lt;br /&gt;&lt;br /&gt;In VMware Player settings, select the hard disk, click the Utilities link and press "Expand":&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-7sJKibcvWnw/TayjlN-WXDI/AAAAAAAABJY/L8XOzd7_ac4/s1600/pmagicA.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 271px;" src="http://1.bp.blogspot.com/-7sJKibcvWnw/TayjlN-WXDI/AAAAAAAABJY/L8XOzd7_ac4/s400/pmagicA.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028296716344370" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Specify a new maximum disk size:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-TLaNmqLGjms/TayjkmM9Z8I/AAAAAAAABJQ/XuTkJ58gR4I/s1600/pmagicB.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 319px;" src="http://2.bp.blogspot.com/-TLaNmqLGjms/TayjkmM9Z8I/AAAAAAAABJQ/XuTkJ58gR4I/s400/pmagicB.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028286040205250" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;After VMware resizes the virtual disk, I got a success message:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-B9-a9lKooV0/TayjksR4Z0I/AAAAAAAABJI/XF4vhFLWwIc/s1600/pmagicC.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 272px; height: 188px;" src="http://1.bp.blogspot.com/-B9-a9lKooV0/TayjksR4Z0I/AAAAAAAABJI/XF4vhFLWwIc/s400/pmagicC.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028287671461698" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I mounted the ISO in the virtual CD drive:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-xukPtIL9uhc/TayjkApOyRI/AAAAAAAABJA/ADaSgV2B4N8/s1600/pmagic1.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 271px;" src="http://1.bp.blogspot.com/-xukPtIL9uhc/TayjkApOyRI/AAAAAAAABJA/ADaSgV2B4N8/s400/pmagic1.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028275958237458" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next, I booted the virtual machine.  I pressed ESC (escape) while the vm is booting to display the boot menu:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-p7BXwVk9i8k/TayjWcu0e2I/AAAAAAAABI4/L0lu0lk6b8k/s1600/pmagic2.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 340px;" src="http://4.bp.blogspot.com/-p7BXwVk9i8k/TayjWcu0e2I/AAAAAAAABI4/L0lu0lk6b8k/s400/pmagic2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028042979703650" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I highlighted CDROM and press enter to start booting the Parted Magic iso:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-HsFomJTc_sI/TayjWFRwLxI/AAAAAAAABIw/mqgho1pOS8Y/s1600/pmagic3.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 340px;" src="http://3.bp.blogspot.com/-HsFomJTc_sI/TayjWFRwLxI/AAAAAAAABIw/mqgho1pOS8Y/s400/pmagic3.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028036683771666" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Parted Magic has a really nice interface.  Love the system monitors on the desktop!&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-XeFtlX2BbXk/TayjVpIH-QI/AAAAAAAABIo/OomS3x8bkVc/s1600/pmagic4.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://4.bp.blogspot.com/-XeFtlX2BbXk/TayjVpIH-QI/AAAAAAAABIo/OomS3x8bkVc/s400/pmagic4.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028029127194882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Next, I double-clicked the icon labeled "partition editor".  This is Gparted, the GNOME partition manager:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-6lUJsF_heWU/TayjVb1_YtI/AAAAAAAABIg/wjTDuaYHovo/s1600/pmagic5.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://3.bp.blogspot.com/-6lUJsF_heWU/TayjVb1_YtI/AAAAAAAABIg/wjTDuaYHovo/s400/pmagic5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028025561473746" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I double-clicked the filesystem I wanted to resize.  In order to expand the size of the filesystem, I pulled the right tab in the graphic from its current position all the way to the right.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-eL9KiGGHq1Y/TayjVLQ5UKI/AAAAAAAABIY/YxkdEyCWinw/s1600/pmagic7.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://4.bp.blogspot.com/-eL9KiGGHq1Y/TayjVLQ5UKI/AAAAAAAABIY/YxkdEyCWinw/s400/pmagic7.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597028021110919330" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I clicked the resize button and saw the change I made:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-KBO0olQ4F6M/TayjDIcWivI/AAAAAAAABIQ/TNVov7mCQ0Q/s1600/pmagic9.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://1.bp.blogspot.com/-KBO0olQ4F6M/TayjDIcWivI/AAAAAAAABIQ/TNVov7mCQ0Q/s400/pmagic9.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597027711116020466" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I clicked Apply to confirm the changes:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-RINmP0wVRTo/TayjCxe1SGI/AAAAAAAABII/Z_w13XxxgTA/s1600/pmagic10.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://3.bp.blogspot.com/-RINmP0wVRTo/TayjCxe1SGI/AAAAAAAABII/Z_w13XxxgTA/s400/pmagic10.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597027704952408162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It took a minute or two to resize the filesystem:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-m6BzVdr6ykc/TayjBwOP-hI/AAAAAAAABIA/HYZsiVEVi-4/s1600/pmagic11.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://1.bp.blogspot.com/-m6BzVdr6ykc/TayjBwOP-hI/AAAAAAAABIA/HYZsiVEVi-4/s400/pmagic11.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597027687434549778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I checked out the steps the resize performs by clicking the little twisty:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-13V53u_X5Gg/TayjBmnYl4I/AAAAAAAABH4/8bVBbI9DO84/s1600/pmagic12.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://1.bp.blogspot.com/-13V53u_X5Gg/TayjBmnYl4I/AAAAAAAABH4/8bVBbI9DO84/s400/pmagic12.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597027684855617410" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Once resized, I rebooted the machine:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-s5k-ZxQk40U/TayjBcjB-HI/AAAAAAAABHw/a04kWrrmCK4/s1600/pmagic14.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 336px;" src="http://1.bp.blogspot.com/-s5k-ZxQk40U/TayjBcjB-HI/AAAAAAAABHw/a04kWrrmCK4/s400/pmagic14.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5597027682153003122" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now my disk has the extra 4GB of space that I needed!  Hooray!&lt;br /&gt;&lt;pre&gt;sfrase@linux-8u67:~&gt; df -h&lt;br /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;br /&gt;/dev/sda2              22G   14G    8G  22% /&lt;br /&gt;devtmpfs              372M   88K  372M   1% /dev&lt;br /&gt;tmpfs                 372M  1.1M  371M   1% /dev/shm&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Shrink&lt;/span&gt;&lt;br /&gt;You can also shrink filesystems.  For instance, I wanted to reduce the size of my root partition from 38GB to 7GB.  Again, I used GParted and PartedMagic CD for the task.&lt;br /&gt;&lt;br /&gt;Here's the Resize screen after I dragged the right arrow almost to the area on the filesystem that is used, as indicated by the yellow color:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-kWft_GCCVmw/TcnX_pNfx9I/AAAAAAAABKI/8lJLAp9-e5k/s1600/reduceFilesystem.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 300px;" src="http://1.bp.blogspot.com/-kWft_GCCVmw/TcnX_pNfx9I/AAAAAAAABKI/8lJLAp9-e5k/s400/reduceFilesystem.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5605248699633485778" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here's the screen while the job is in progress:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-x-Fxn4IYPNA/TcnYMiRN8YI/AAAAAAAABKQ/5z-BJO2it0s/s1600/reduceFilesystemPending.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 302px;" src="http://3.bp.blogspot.com/-x-Fxn4IYPNA/TcnYMiRN8YI/AAAAAAAABKQ/5z-BJO2it0s/s400/reduceFilesystemPending.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5605248921108345218" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Once finished you'll see a message "All operations successfully completed."  The job took about five minutes to complete.  &lt;br /&gt;&lt;br /&gt;So far, I've used GParted on ext3 and ext4 filesystems without issue.&lt;br /&gt;&lt;br /&gt;Please, don't forget to donate a few dollars to the nice folks who compiled this very useful set of utilities.&lt;br /&gt;&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-8879793075779979480?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lSgDaCD-HxGeWEQLIjQSnowmlvs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lSgDaCD-HxGeWEQLIjQSnowmlvs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lSgDaCD-HxGeWEQLIjQSnowmlvs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lSgDaCD-HxGeWEQLIjQSnowmlvs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/HlfMtsdzq6I" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/8879793075779979480/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=8879793075779979480" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8879793075779979480?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8879793075779979480?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/HlfMtsdzq6I/extending-size-of-linux-partition-using.html" title="resizing a linux partition using Parted Magic" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-7sJKibcvWnw/TayjlN-WXDI/AAAAAAAABJY/L8XOzd7_ac4/s72-c/pmagicA.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/04/extending-size-of-linux-partition-using.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkMDR3s5cSp7ImA9WhZXFk8.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-4301807306919206717</id><published>2011-04-11T21:59:00.002-04:00</published><updated>2011-05-05T16:47:56.529-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-05T16:47:56.529-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="data execution prevention" /><category scheme="http://www.blogger.com/atom/ns#" term="web service extension" /><category scheme="http://www.blogger.com/atom/ns#" term="isolation mode" /><category scheme="http://www.blogger.com/atom/ns#" term="iis 6.0" /><title>weblogic 6.1 nastiness</title><content type="html">I had to resurrect an old WebLogic 6.1 system today.  Ooof!  A conversion from IIS5 to IIS6.  Went through quite a bit of h3ll.&lt;br /&gt;&lt;br /&gt;1) Under Control Panel -&gt; System -&gt; Advanced -&gt; Performance -&gt; Data Execution Prevention had to be enabled for the specific WebLogic and java processes:&lt;br /&gt;-beasvc&lt;br /&gt;-java&lt;br /&gt;-javac&lt;br /&gt;&lt;br /&gt;Otherwise, I'd get errors in the Application Event Log and to the desktop.&lt;br /&gt;&lt;br /&gt;See more here:&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Data_Execution_Prevention#Windows"&gt;http://en.wikipedia.org/wiki/Data_Execution_Prevention#Windows&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) In IIS, the WebLogic ISAPI filter priority was set to *Unknown*.  I resolved with help from Vivek's post here:&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/vivekkum/archive/2009/02/20/unknown-status-for-isapi-filter.asp"&gt;http://blogs.msdn.com/b/vivekkum/archive/2009/02/20/unknown-status-for-isapi-filter.asp&lt;/a&gt;x&lt;br /&gt;-otherwise, IIS would hang &lt;br /&gt;&lt;br /&gt;3) In IIS, the WebLogic DLLs need to be configured as Web Service Extensions and set to a status of Allowed&lt;br /&gt;&lt;br /&gt;4) In IIS, unknown ISAPI extensions need to be Allowed&lt;br /&gt;-otherwise, I'd get 404s from .wlforward &lt;br /&gt;&lt;br /&gt;5) In IIS, the website needs to be run in IIS5 isolation mode&lt;br /&gt;-otherwise, IIS would hang &lt;br /&gt;&lt;br /&gt;6) The iisproxy.ini file needed to be copied to c:\weblogic&lt;br /&gt;-otherwise, I'd get an HTTP 500 from .wlforward&lt;br /&gt;&lt;br /&gt;7) Faulting application w3wp.exe, version 6.0.3790.3959, faulting module iisforward.dll&lt;br /&gt;-caused by dll memory corruption trying to access Physical Address Extension memory&lt;br /&gt;-resolved by adding /nopae to boot.ini&lt;br /&gt;&lt;a href="http://forums.iis.net/t/1158864.aspx"&gt;http://forums.iis.net/t/1158864.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://support.microsoft.com/kb/895575"&gt;http://support.microsoft.com/kb/895575&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Ugh!&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-4301807306919206717?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AxEKbgHyo-DBzyTcnBlYrS0ERQM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AxEKbgHyo-DBzyTcnBlYrS0ERQM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AxEKbgHyo-DBzyTcnBlYrS0ERQM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AxEKbgHyo-DBzyTcnBlYrS0ERQM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/Hrt4qwKyG2E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/4301807306919206717/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=4301807306919206717" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/4301807306919206717?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/4301807306919206717?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/Hrt4qwKyG2E/weblogic-61-nastiness.html" title="weblogic 6.1 nastiness" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/04/weblogic-61-nastiness.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkcFQn85eip7ImA9WhZREkU.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-5087869710480354418</id><published>2011-04-08T12:19:00.004-04:00</published><updated>2011-04-08T12:26:53.122-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-08T12:26:53.122-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="remote desktop" /><category scheme="http://www.blogger.com/atom/ns#" term="keyboard" /><category scheme="http://www.blogger.com/atom/ns#" term="gnome" /><category scheme="http://www.blogger.com/atom/ns#" term="enlightenment" /><title>rdp: ERROR: recv: Connection reset by peer</title><content type="html">Strangely, the RDP (rdesktop) sessions to my Windows Servers were timing out within five minutes.  I'd get an error like this:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;Autoselected keyboard map en-us&lt;br /&gt;ERROR: recv: Connection reset by peer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Terminal Services Configuation on the destination server were set to timeout after an hour.  So something was definetly amiss.  Even more weird, when I exited GNOME and logged onto Enlightenment, the problem went away.  So that meant the problem was with my window environment.  Reading up here:&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=398447"&gt;http://ubuntuforums.org/showthread.php?t=398447&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;To fix the problem, one guy had to change his keyboard in GNOME:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-HGJMVcfbbzM/TZ83C-0gkTI/AAAAAAAABGs/a8CsxglwmlE/s1600/Screenshot-Keyboard%2BPreferences.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 361px;" src="http://1.bp.blogspot.com/-HGJMVcfbbzM/TZ83C-0gkTI/AAAAAAAABGs/a8CsxglwmlE/s400/Screenshot-Keyboard%2BPreferences.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5593249786579947826" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I changed my keyboard from Unknown to Microsoft Natural Keyboard Pro, restarted GNOME and voila..problem gone!&lt;br /&gt;&lt;br /&gt;I love it when a plan comes together!&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-5087869710480354418?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uHf0oEpC8BR6Be1Oh12zh3xsNK8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uHf0oEpC8BR6Be1Oh12zh3xsNK8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uHf0oEpC8BR6Be1Oh12zh3xsNK8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uHf0oEpC8BR6Be1Oh12zh3xsNK8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/geg-6lriJtM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/5087869710480354418/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=5087869710480354418" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/5087869710480354418?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/5087869710480354418?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/geg-6lriJtM/rdp-error-recv-connection-reset-by-peer.html" title="rdp: ERROR: recv: Connection reset by peer" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-HGJMVcfbbzM/TZ83C-0gkTI/AAAAAAAABGs/a8CsxglwmlE/s72-c/Screenshot-Keyboard%2BPreferences.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/04/rdp-error-recv-connection-reset-by-peer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QHR346fip7ImA9WhZSF0s.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-3891039280010996410</id><published>2011-04-02T11:27:00.010-04:00</published><updated>2011-04-02T12:22:16.016-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-02T12:22:16.016-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="window managers" /><category scheme="http://www.blogger.com/atom/ns#" term="metacity" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="wmctrl" /><title>what window manager am I running?</title><content type="html">Recently, I've installed quite a few new Linux distributions as virtual machines.  They all use different window managers and it is difficult to tell what window manager I have installed.  The "wmctrl" program clears this fog.  Run the command like this:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;sodo@linux-nie4:~&amp;gt; wmctrl -m&lt;br /&gt;Name: Metacity&lt;br /&gt;Class: N/A&lt;br /&gt;PID: N/A&lt;br /&gt;Window manager's "showing the desktop" mode: OFF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Et voila!  You have the name of your window manager.  Also, you could grep your process list for a known window manager like metacity or compiz like so:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;sodo@linux-nie4:~&amp;gt; pidof metacity&lt;br /&gt;5134&lt;br /&gt;sodo@linux-nie4:~&amp;gt; ps -ef | grep metacity&lt;br /&gt;sodo    5134  4984  0 10:36 ?        00:00:01 /usr/bin/metacity&lt;br /&gt;sodo   30798  5467  0 11:35 pts/0    00:00:00 grep metacity&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Also, it might be helpful to know your X session setup.  This can be determined by looking at your environment variables:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;sodo@linux-nie4:~&gt; printenv | egrep 'MANAGER|SESSION' | sort&lt;br /&gt;DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-1UXtH7rCgE,guid=9b7438cbc749781f920116e54d973474&lt;br /&gt;DESKTOP_SESSION=gnome&lt;br /&gt;GDMSESSION=gnome&lt;br /&gt;GNOME_DESKTOP_SESSION_ID=this-is-deprecated&lt;br /&gt;SESSION_MANAGER=local/linux-nie4:@/tmp/.ICE-unix/4984,unix/linux-nie4:/tmp/.ICE-unix/4984&lt;br /&gt;WINDOWMANAGER=/usr/bin/gnome&lt;br /&gt;XDG_SESSION_COOKIE=74cab8c1ad6aab7a0cf6c38f4d8dc6fa-1301754995.529512-1092139338&lt;br /&gt;XSESSION_IS_UP=yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;A KDE Example&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"  &gt;sodo@linux-z6tw:~&gt; printenv | egrep 'MANAGER|SESSION' | sort&lt;br /&gt;DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-mzeA1Sx0fF,guid=43e3b1dcb893bbe684e0bdfe00001fe6&lt;br /&gt;DESKTOP_SESSION=default&lt;br /&gt;KDE_FULL_SESSION=true&lt;br /&gt;KDE_SESSION_UID=1000&lt;br /&gt;KDE_SESSION_VERSION=4&lt;br /&gt;KONSOLE_DBUS_SESSION=/Sessions/1&lt;br /&gt;SESSION_MANAGER=local/linux-z6tw:@/tmp/.ICE-unix/11242,unix/linux-z6tw:/tmp/.ICE-unix/11242&lt;br /&gt;SHELL_SESSION_ID=985449ee0b7140008fe9978a32662d10&lt;br /&gt;WINDOWMANAGER=/usr/bin/startkde&lt;br /&gt;XDG_SESSION_COOKIE=6b050dcfcaf094a4a7c7a30e000002ae-1301545596.870464-842889003&lt;br /&gt;XSESSION_IS_UP=yes&lt;br /&gt;&lt;br /&gt;sfrase@linux-z6tw:~&gt; wmctrl -m &lt;br /&gt;Name: KWin&lt;br /&gt;Class: kwin&lt;br /&gt;PID: 11247&lt;br /&gt;Window manager's "showing the desktop" mode: OFF&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;cool.&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-3891039280010996410?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_DRKD7TebDjn1Ptt_oguxd84PRU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_DRKD7TebDjn1Ptt_oguxd84PRU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_DRKD7TebDjn1Ptt_oguxd84PRU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_DRKD7TebDjn1Ptt_oguxd84PRU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/DWJPUI6RCmQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/3891039280010996410/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=3891039280010996410" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/3891039280010996410?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/3891039280010996410?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/DWJPUI6RCmQ/finding-out-what-window-manager-your.html" title="what window manager am I running?" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/04/finding-out-what-window-manager-your.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkEGRH47fCp7ImA9WhZTGEQ.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-2104460959952694664</id><published>2011-03-23T11:32:00.002-04:00</published><updated>2011-03-23T11:37:05.004-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-23T11:37:05.004-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="git" /><category scheme="http://www.blogger.com/atom/ns#" term="git proxy" /><title>git behind a proxy</title><content type="html">&lt;p&gt;This gentleman's technique worked for me:&lt;br /&gt;&lt;a href="http://bardofschool.blogspot.com/2008/11/use-git-behind-proxy.html"&gt;http://bardofschool.blogspot.com/2008/11/use-git-behind-proxy.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In short..&lt;br /&gt;* Plop the connect and proxy files somewhere&lt;br /&gt;* Edit proxy to point to connect and reference your proxy&lt;br /&gt;* Export the GIT_PROXY_COMMAND environment variable&lt;br /&gt;&lt;br /&gt;To use like so:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;[sodo@computer ~]$ export GIT_PROXY_COMMAND=/home/sodo/proxy&lt;br /&gt;[sodo@computer ~]$ git clone git://github.com/datawrangling/trendingtopics.git&lt;br /&gt;Cloning into trendingtopics...&lt;br /&gt;remote: Counting objects: 2794, done.&lt;br /&gt;remote: Compressing objects: 100% (860/860), done.&lt;br /&gt;remote: Total 2794 (delta 1853), reused 2792 (delta 1853)&lt;br /&gt;Receiving objects: 100% (2794/2794), 475.10 KiB, done.&lt;br /&gt;Resolving deltas: 100% (1853/1853), done.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;enjoy.&lt;br /&gt;TAG&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-2104460959952694664?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MRAhtWRWWcI23uK7jxLmILrcsNM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MRAhtWRWWcI23uK7jxLmILrcsNM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MRAhtWRWWcI23uK7jxLmILrcsNM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MRAhtWRWWcI23uK7jxLmILrcsNM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/MV8G0gIxaEo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/2104460959952694664/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=2104460959952694664" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2104460959952694664?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2104460959952694664?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/MV8G0gIxaEo/git-behind-proxy.html" title="git behind a proxy" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/03/git-behind-proxy.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUDSX8_eyp7ImA9WhZTEk8.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-2835108617523474599</id><published>2011-03-15T17:05:00.004-04:00</published><updated>2011-03-15T17:24:38.143-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-15T17:24:38.143-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ntp" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora" /><category scheme="http://www.blogger.com/atom/ns#" term="ntpd" /><category scheme="http://www.blogger.com/atom/ns#" term="ntpq" /><title>running ntp on linux in windows environment</title><content type="html">Here's a quick entry I'm writing because I can't remember the few ntp commands to get time sync running on my Fedora box in my company's predominantly Windows environment.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configure /etc/ntp.conf&lt;/span&gt;&lt;br /&gt;Let's add a single time server to our /etc/ntp.conf file:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;# For more information about this file, see the man pages&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;driftfile /var/lib/ntp/drift&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Permit time synchronization with our time source, but do not&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# permit the source to query or modify the service on this system.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;restrict default kod nomodify notrap nopeer noquery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;restrict -6 default kod nomodify notrap nopeer noquery&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Permit all access over the loopback interface.  This could&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# be tightened as well, but to do so would effect some of&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# the administrative functions.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;restrict 127.0.0.1 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;restrict -6 ::1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Hosts on local network are less restricted.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Use public servers from the pool.ntp.org project.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Please consider joining the pool (http://www.pool.ntp.org/join.html).&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:courier new;font-size:85%;"  &gt;server timeserv.corpdomain&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Undisciplined Local Clock. This is a fake driver intended for backup&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# and when no outside source of synchronized time is available. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#server 127.127.1.0 # local clock&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#fudge 127.127.1.0 stratum 10 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Enable public key cryptography.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#crypto&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;includefile /etc/ntp/crypto/pw&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# Key file containing the keys and key identifiers used when operating&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;# with symmetric key cryptography. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;keys /etc/ntp/keys&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Is the ntp daemon currently running on my box? &lt;/span&gt;&lt;br /&gt;From the output of ntpq and the service command, I'd say no:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ ntpq&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpq&gt; peers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpq: read: Connection refused&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpq&gt; assoc&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpq: read: Connection refused&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ service --status-all | grep ntp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;ntpd is stopped&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Start up ntpd!&lt;/span&gt;&lt;br /&gt;First, we'll configure ntpd to start at the various multiuser levels:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ sudo chkconfig --list | grep ntp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpd            0:off 1:off 2:off 3:off 4:off 5:off 6:off&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ sudo chkconfig --levels 2345 ntpd on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ sudo chkconfig --list | grep ntp&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpd            0:off 1:off 2:on 3:on 4:on 5:on 6:off&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then, we'll start 'er up!&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ sudo service ntpd start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting ntpd:                                             [  OK  ]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Validate&lt;/span&gt;&lt;br /&gt;Once started, we'll wait about ten minutes and then check ntpq to see if the ntpq is talking to the time server we configured in /etc/ntp.conf:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ ntpq&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpq&gt; peers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;     remote           refid      st t when poll reach   delay   offset  jitter&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;==============================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*timeserve.corpdomain 192.168.62.30  5 u   71  128  377    0.448   19.236  24.240&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ntpq&gt; assoc&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ind assid status  conf reach auth condition  last_event cnt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;===========================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;  1  4341  967a   yes   yes  none  sys.peer    sys_peer  7&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sweet!  Looks like we're sync'd up!&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-2835108617523474599?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZGNQapulw2aaTiOnCB_99HnIBC4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZGNQapulw2aaTiOnCB_99HnIBC4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZGNQapulw2aaTiOnCB_99HnIBC4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZGNQapulw2aaTiOnCB_99HnIBC4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/gw0rhLmO9ic" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/2835108617523474599/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=2835108617523474599" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2835108617523474599?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2835108617523474599?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/gw0rhLmO9ic/running-ntp-on-linux-in-windows.html" title="running ntp on linux in windows environment" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/03/running-ntp-on-linux-in-windows.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMERHk9eSp7ImA9Wx9aEE4.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-5092145260091818402</id><published>2011-02-27T10:24:00.009-05:00</published><updated>2011-03-01T22:26:45.761-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-01T22:26:45.761-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="gforce oddity" /><category scheme="http://www.blogger.com/atom/ns#" term="osc" /><category scheme="http://www.blogger.com/atom/ns#" term="reaper" /><category scheme="http://www.blogger.com/atom/ns#" term="touchosc" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="software synthesizer" /><title>open sound control using touchOSC</title><content type="html">&lt;a href="http://opensoundcontrol.org/"&gt;Open Sound Control&lt;/a&gt; is a very cool technology, sort of an updated &lt;a href="http://en.wikipedia.org/wiki/Musical_Instrument_Digital_Interface"&gt;MIDI&lt;/a&gt;.  With &lt;a href="http://hexler.net/software/touchosc"&gt;TouchOSC&lt;/a&gt;, you can send OSC messages over the network via WIFI to control OSC-aware softwares, like music recording software.  I'm controlling the &lt;a href="http://www.gforcesoftware.com/ins_oddity.php"&gt;GForce Oddity software synth&lt;/a&gt; within Reaper in the video below.&lt;br /&gt;&lt;iframe src="http://player.vimeo.com/video/20411083" width="400" height="300" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;Recording the audio/video from the mac to Cinelerra on my Linux box was a bit of a pain and took some work:&lt;br /&gt;1) on mac: &lt;font class="Apple-style-span" face="'courier new'" size="2"&gt;esd -public -promiscuous -bind mac -trust -tcp&lt;/font&gt;&lt;br /&gt;2) on mac: &lt;font class="Apple-style-span" face="'courier new'" size="2"&gt;esdrec -s mac | esdcat -s ogre&lt;/font&gt;&lt;br /&gt;3) on linux:&lt;br /&gt;gnome-sound-settings: hw&lt;br /&gt;analog stereo output + digital stereo input&lt;br /&gt;or&lt;br /&gt;digital stereo output + digital stereo input (best for recording)&lt;br /&gt;-input from microphone line in (for voice only) on Mackie Alt3-4&lt;br /&gt;or&lt;br /&gt;-input from mac monitor of m-audio digital stereo (null device)&lt;br /&gt;or&lt;br /&gt;-both if both are on Mackie Alt3-4&lt;br /&gt;&lt;br /&gt;Alt 3-4 -&gt; ch1/ch2 line in on M-Audio MobilePre&lt;br /&gt;&lt;br /&gt;pavucontrol dialog settings&lt;br /&gt;-output device: MobilePre analog speakers&lt;br /&gt;-playback: null device from esound server created above&lt;br /&gt;-record monitor (once Audacity/Cinelerra record monitor enabled):&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-PepTMwaJXTg/TWqYHidwrRI/AAAAAAAABFY/IahTwAnCBJY/s1600/recordMonitor.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 108px;" src="http://3.bp.blogspot.com/-PepTMwaJXTg/TWqYHidwrRI/AAAAAAAABFY/IahTwAnCBJY/s400/recordMonitor.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5578438343729917202" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If you'd like to download the Oddity layout and the Osculator settings, here they are:&lt;br /&gt;&lt;a href="http://content.serveftp.net/audio/oddityIpad3.touchosc"&gt;Oddity Ipad Touch OSC Layout&lt;/a&gt;&lt;br /&gt;&lt;a href="http://content.serveftp.net/audio/oddityOsculatorSettings.oscd"&gt;Osculator Settings for the Above&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;More detail on ESD/PulseAudio here:&lt;br /&gt;&lt;a href="http://www.techanswerguy.com/2011/02/pulseaudio-streaming-from-mac-to-linux.html"&gt;2011/02/pulseaudio-streaming-from-mac-to-linux.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-5092145260091818402?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qmhGxRlGhYCYuLtVEqV8LrVUUHM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qmhGxRlGhYCYuLtVEqV8LrVUUHM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qmhGxRlGhYCYuLtVEqV8LrVUUHM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qmhGxRlGhYCYuLtVEqV8LrVUUHM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/74SqZ6rhBlA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/5092145260091818402/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=5092145260091818402" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/5092145260091818402?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/5092145260091818402?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/74SqZ6rhBlA/open-sound-control-using-touchosc.html" title="open sound control using touchOSC" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-PepTMwaJXTg/TWqYHidwrRI/AAAAAAAABFY/IahTwAnCBJY/s72-c/recordMonitor.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/02/open-sound-control-using-touchosc.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEECQXo4fyp7ImA9Wx9bGEk.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-8608855556090290235</id><published>2011-02-23T19:57:00.017-05:00</published><updated>2011-02-27T17:44:20.437-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-27T17:44:20.437-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="esound" /><category scheme="http://www.blogger.com/atom/ns#" term="iptraf" /><category scheme="http://www.blogger.com/atom/ns#" term="pulseaudio" /><category scheme="http://www.blogger.com/atom/ns#" term="soundflower" /><category scheme="http://www.blogger.com/atom/ns#" term="esd" /><category scheme="http://www.blogger.com/atom/ns#" term="cinelerra" /><category scheme="http://www.blogger.com/atom/ns#" term="netstat" /><title>PulseAudio: streaming iTunes from the mac to linux</title><content type="html">After beating my head against a wall for the past three days, I finally overcame my mental block and was able to get audio streaming from iTunes to my Linux box. This was to help facilitate the production of a video that will be the subject of &lt;a href="http://www.techanswerguy.com/2011/02/open-sound-control-using-touchosc.html"&gt;my next post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For this project though, I had to jump through a good number of hoops to get the streaming going. The side benefit was that the project allowed me to educate myself on the benefits of &lt;a href="http://pulseaudio.org/wiki/PerfectSetup"&gt;PulseAudio&lt;/a&gt;, which I had previously believed to be a piece of crap that only served to bollucks your workstation's audio. Now that I have a better understanding of PulseAudio, I've changed my mind.&lt;br /&gt;&lt;br /&gt;Here's &lt;a href="http://www.linux.com/news/hardware/drivers/8100-why-you-should-care-about-pulseaudio-and-how-to-start-doing-it"&gt;an article&lt;/a&gt; on why you might want to care about PulseAudio.&lt;br /&gt;&lt;br /&gt;Still, the implementation of audio streaming over the network using PulseAudio is somewhat programmer-centric and thus, it is not easy. The faint of heart might choose to simplify their lives and buy one of these &lt;a href="http://www.amazon.com/gp/product/B0002GDIII?ie=UTF8&amp;amp;tag=crazmuleprod-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=B0002GDIII"&gt;Apple AirPort Express with Air Tunes&lt;/a&gt;&lt;img style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: 0px; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none" height="1" alt="" src="http://www.assoc-amazon.com/e/ir?t=crazmuleprod-20&amp;amp;l=as2&amp;amp;o=1&amp;amp;a=B0002GDIII" width="1" border="0" /&gt;.&lt;br /&gt;&lt;br /&gt;This post will give an overview of the tools used to stream audio from a Mac running the &lt;a href="http://www.shankerbalan.net/tech/esound.txt"&gt;Enlightment Sound Daemon (ESD)&lt;/a&gt; sound server to any PC running PulseAudio. I'll include links to the more detailed resources, rather than repeating information already available on the web.&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Overview&lt;/span&gt;&lt;br /&gt;Here's an overly simplified signal chain of what's happening to make this work.&lt;br /&gt;&lt;br /&gt;On the Mac&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;iTunes -&gt; Soundflower audio driver -&gt; eSound daemon -&gt; Linux box&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On the Linux box&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;audio stream from Mac -&gt; PulseAudio -&gt; ALSA -&gt; PC's audio interface -&gt; speakers&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It's a bit of a funky setup, over-explained semi-coherently here:&lt;br /&gt;&lt;a href="http://blog.haynberg.de/?p=14"&gt;http://blog.haynberg.de/?p=14&lt;/a&gt;&lt;br /&gt;and here:&lt;br /&gt;&lt;a href="https://labitat.dk/wiki/Apple/Mac_OS_X#PulseAudio"&gt;https://labitat.dk/wiki/Apple/Mac_OS_X#PulseAudio&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;The Process&lt;/span&gt;&lt;br /&gt;On the Mac&lt;br /&gt;Prerequisites: iTunes and esound &lt;a href="http://www.macports.org/"&gt;macport&lt;/a&gt;&lt;br /&gt;1) install &lt;a href="http://cycling74.com/products/soundflower/"&gt;Soundflower&lt;/a&gt;, the audio driver that ESD will use&lt;br /&gt;2) setup an ESD sound server using ESD and open a network connection for the Linux box&lt;br /&gt;3) format and forward the sound onto the Linux box&lt;br /&gt;&lt;br /&gt;On the Linux box&lt;br /&gt;Prerequisites: pulseaudio, paprefs(pa prefs), pavucontrol(pa volume control), pulseaudio-utils&lt;br /&gt;4) make sure paprefs is setup properly&lt;br /&gt;5) start pulseaudio&lt;br /&gt;6) verify that data is being sent over the network&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Detailed Steps&lt;/span&gt;&lt;br /&gt;On the Mac&lt;br /&gt;1) install Soundflower and select Soundflower 2ch as your System Prefs -&gt; Sound -&gt; Output and Input&lt;br /&gt;Best explained here:&lt;br /&gt;&lt;a href="https://labitat.dk/wiki/Apple/Mac_OS_X#PulseAudio"&gt;https://labitat.dk/wiki/Apple/Mac_OS_X#PulseAudio&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For debugging purposes, enter the commands below in separate terminals. In both cases, if the commands execute correctly, the command prompt should not return to you.&lt;br /&gt;&lt;br /&gt;2) setup an audio server using the Enlightment Sound daemon (ESD) and open a port for your Linux box to connect to. To do this, open a terminal and run a command similar to this:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mac:~ sodo$ &lt;span style="FONT-WEIGHT: bold"&gt;esd -tcp -bind [mac]:16001 -public -promiscuous -trust&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;- accepting connections on port 16001&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3) format and forward the sound to the Linux box (make sure PA is running on the Linux box first):&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;esdrec -s [mac]:16001  esdcat -s [linux]&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;On the Linux box&lt;br /&gt;4) make sure paprefs is setup properly&lt;br /&gt;There's more detail at &lt;a href="http://ubuntuforums.org/showthread.php?p=10374057"&gt;this link&lt;/a&gt;, but here are the prefs you want to set:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-pNUxDzTpBgw/TWc9qmg-BqI/AAAAAAAABFQ/FRL7xQroHFs/s1600/paprefsNetwork.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5577494465624278690" style="WIDTH: 400px; CURSOR: pointer; HEIGHT: 206px" alt="" src="http://2.bp.blogspot.com/-pNUxDzTpBgw/TWc9qmg-BqI/AAAAAAAABFQ/FRL7xQroHFs/s400/paprefsNetwork.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-ogYIdfN3KSg/TWc9qT3_ugI/AAAAAAAABFI/5dZ66foQ6_o/s1600/paprefsNetworkServer.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5577494460620585474" style="WIDTH: 400px; CURSOR: pointer; HEIGHT: 206px" alt="" src="http://2.bp.blogspot.com/-ogYIdfN3KSg/TWc9qT3_ugI/AAAAAAAABFI/5dZ66foQ6_o/s400/paprefsNetworkServer.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5) start (or kill and restart) pulseaudio&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ pulseaudio -k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ pulseaudio --start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ ps -ef  grep pulse&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sodo 3860 1 0 00:06 ? 00:00:01 /usr/bin/pulseaudio --start --log-target=syslog&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sodo 3862 3860 0 00:06 ? 00:00:00 /usr/libexec/pulse/gconf-helper&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;sodo 5298 5045 0 00:09 pts/4 00:00:00 grep pulse&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here are some other notes regarding pacmd, the command line interface to PulseAudio.&lt;br /&gt;&lt;br /&gt;pacmd list-modules&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&gt;&gt;&gt; [sodo@ogre ~]$ &lt;span style="FONT-WEIGHT: bold"&gt;pacmd list-modules&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Welcome to PulseAudio! Use "help" for usage information.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt;&gt;&gt; 23 module(s) loaded.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;index: 4&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;name: &lt;module-alsa-card&gt;&lt;/MODULE-ALSA-CARD&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;argument: &lt;device_id="0" name="usb-M_Audio_MobilePre-00" card_properties="module-udev-detect.discovered=1" ignore_db="no" tsched="yes" card_name="alsa_card.usb-M_Audio_MobilePre-00"&gt;&lt;/DEVICE_ID="0"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;used: 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;load once: no&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;properties:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;module.author = "Lennart Poettering"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;module.description = "ALSA Card"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;module.version = "0.9.21"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;pacmd list-sinks&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ &lt;span style="FONT-WEIGHT: bold"&gt;pacmd list-sinks&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Welcome to PulseAudio! Use "help" for usage information.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt;&gt;&gt; 1 sink(s) available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;* index: 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;name: &lt;alsa_output.usb-m_audio_mobilepre-00.analog-stereo&gt;&lt;/ALSA_OUTPUT.USB-M_AUDIO_MOBILEPRE-00.ANALOG-STEREO&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;driver: &lt;module-alsa-card.c&gt;&lt;/MODULE-ALSA-CARD.C&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL LATENCY DYNAMIC_LATENCY&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;state: RUNNING&lt;br /&gt;..&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Once you've verified the daemon is up, look for a sound source in the PulseAudio Volume Control app, Playback tab:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-XrCA8uooWsI/TWXocEz4pEI/AAAAAAAABE4/B5j0savZ3ZU/s1600/pavucontrol.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5577119282593571906" style="WIDTH: 400px; CURSOR: pointer; HEIGHT: 255px" alt="" src="http://4.bp.blogspot.com/-XrCA8uooWsI/TWXocEz4pEI/AAAAAAAABE4/B5j0savZ3ZU/s400/pavucontrol.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I'm not sure why the stream from the mac is listed as null.&lt;br /&gt;&lt;br /&gt;6) verify that data is being sent over the network&lt;br /&gt;First, I look at netstat. Netstat is telling me that my Linux box (.8) on port 16001 has an established connection to my Mac (.12) on port 62356:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ &lt;span style="FONT-WEIGHT: bold"&gt;netstat -na&lt;/span&gt;  grep \.12&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;tcp 0 0 192.168.1.8:16001 192.168.1.12:62536 ESTABLISHED&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Most likely, the Linux box initiated the connection from 16001 and the Mac responded back by opening port 62356. I am not sure how ESD works in this regard either, as the ports identified on the ESD command line would suggest that the Mac should have port 16001 open and not the Linux box. Weirdness.&lt;br /&gt;&lt;br /&gt;Also, I use iptraf to show me the volume of my network traffic. Here we see the lion's share of data is coming from .12 (my Mac) and .8 (my Linux box) is shuttling a lot less data. Observed over time, I see that the Linux box sends about 1% of the audio stream's data quantity simply to manage the connection:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-UBt_2SulD4A/TWXpBsx8YLI/AAAAAAAABFA/UGEPe8OsUIg/s1600/iptrafPulseAudio.png"&gt;&lt;img id="BLOGGER_PHOTO_ID_5577119928978006194" style="WIDTH: 400px; CURSOR: pointer; HEIGHT: 270px" alt="" src="http://2.bp.blogspot.com/-UBt_2SulD4A/TWXpBsx8YLI/AAAAAAAABFA/UGEPe8OsUIg/s400/iptrafPulseAudio.png" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Lastly, you could take a look at the files PulseAudio keeps open by looking at TCP port 16001:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ lsof -i TCP:16001&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;pulseaudi 3860 sfrase 30u IPv6 48581 0t0 TCP *:16001 (LISTEN)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;pulseaudi 3860 sfrase 31u IPv4 48582 0t0 TCP *:16001 (LISTEN)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;pulseaudi 3860 sfrase 36u IPv4 49374 0t0 TCP ogre:16001-&gt;mac:50314 (ESTABLISHED)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PulseAudio is quite cool. I think it works a bit more consistently if you have two machines with PulseAudio on both ends. I've tried this and it works very well. Here's an article on how to stream music between two computers using only PulseAudio:&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?p=10374057"&gt;http://ubuntuforums.org/showthread.php?p=10374057&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Of course, I needed to stream from the Mac and there is no port of PulseAudio for the Mac. Still good stuff this PulseAudio, once you understand more about it.&lt;br /&gt;&lt;br /&gt;cheers,&lt;br /&gt;TAG&lt;br /&gt;&lt;br /&gt;Example of this working&lt;br /&gt;&lt;iframe src="http://player.vimeo.com/video/20439048" width="640" height="416" frameborder="0"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Other References&lt;/span&gt;&lt;br /&gt;PulseAudio Sink, Streams, Clients&lt;br /&gt;&lt;a href="http://wm161.net/2007/06/24/how-pulseaudio-made-my-openhouse-awesome/"&gt;http://wm161.net/2007/06/24/how-pulseaudio-made-my-openhouse-awesome/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;How to: AirTunes without AirPort&lt;br /&gt;&lt;a href="http://blog.haynberg.de/?p=14"&gt;http://blog.haynberg.de/?p=14&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;network audio between mac and linux 1&amp;amp;2&lt;br /&gt;&lt;a href="http://community.livejournal.com/evan_tech/241437.html"&gt;http://community.livejournal.com/evan_tech/241437.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://community.livejournal.com/evan_tech/241887.html"&gt;http://community.livejournal.com/evan_tech/241887.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Remote sound playback through a Nokia 770&lt;br /&gt;&lt;a href="http://taint.org/2008/02/03/222043a.html"&gt;http://taint.org/2008/02/03/222043a.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Using the PulseAudio sink&lt;br /&gt;&lt;a href="https://labitat.dk/wiki/Apple/Mac_OS_X#PulseAudio"&gt;https://labitat.dk/wiki/Apple/Mac_OS_X#PulseAudio&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;PulseAudio Wiki&lt;br /&gt;&lt;a href="http://pulseaudio.org/wiki/PerfectSetup%20"&gt;http://pulseaudio.org/wiki/PerfectSetup%20&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Linux: exporting audio and video&lt;br /&gt;&lt;a href="http://blog.smr.co.in/linux/linux-exporting-audio-and-video/"&gt;http://blog.smr.co.in/linux/linux-exporting-audio-and-video/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-8608855556090290235?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9-jjqwMn_igMRo1Srl260Mxb3C0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9-jjqwMn_igMRo1Srl260Mxb3C0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9-jjqwMn_igMRo1Srl260Mxb3C0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9-jjqwMn_igMRo1Srl260Mxb3C0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/CO5XelRUcjM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/8608855556090290235/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=8608855556090290235" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8608855556090290235?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8608855556090290235?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/CO5XelRUcjM/pulseaudio-streaming-from-mac-to-linux.html" title="PulseAudio: streaming iTunes from the mac to linux" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-pNUxDzTpBgw/TWc9qmg-BqI/AAAAAAAABFQ/FRL7xQroHFs/s72-c/paprefsNetwork.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/02/pulseaudio-streaming-from-mac-to-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CU4EQnY6fSp7ImA9Wx9bFEQ.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-7049287279144599397</id><published>2011-02-23T11:46:00.012-05:00</published><updated>2011-02-23T15:45:03.815-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-23T15:45:03.815-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="cdrecord" /><category scheme="http://www.blogger.com/atom/ns#" term="macbook pro" /><category scheme="http://www.blogger.com/atom/ns#" term="brasero" /><category scheme="http://www.blogger.com/atom/ns#" term="disk utility" /><category scheme="http://www.blogger.com/atom/ns#" term="iso" /><category scheme="http://www.blogger.com/atom/ns#" term="nautilus" /><title>burning an iso to cd using cdrecord</title><content type="html">The past few years, as Linux distributions get larger, I've been &lt;a href="http://crazedmuleproductions.blogspot.com/2008/02/creating-bootable-iso-in-linux.html"&gt;burning more DVDs than CDs&lt;/a&gt;.  So my CD burning chops have lapsed.  I recently wanted to fire up a &lt;a href="http://fedoraproject.org/get-fedora-options"&gt;Live version of Fedora 14&lt;/a&gt; for some &lt;a href="http://www.pulseaudio.org/"&gt;PulseAudio&lt;/a&gt; experiments, so I downloaded the ISO which came CD-sized.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Troubles&lt;/span&gt;&lt;br /&gt;First, for convenience sake, I burned the first F12 Live CD using my Macbook's Disk Utility.  But when I plopped the CD into my desktop, the boot never finished and the DVD player kept humming for about 45 minutes.  Something definitely wrong there.  Testing on a second PC yielded the same result.&lt;br /&gt;&lt;br /&gt;Researching Google, I found that other people had similar problems if the application they burned the CD with burned the CD at too fast a rate.  This causes the laser in the DVDs to have difficulty reading the source data.  Guess I'll have to reburn that bad boy.  I tossed that CD out and thought I'd give Linux tools a try.  I didn't know this next stage was going to turn into a two-hour extravaganza.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Burning an ISO in Linux is Easy, No?&lt;/span&gt;&lt;br /&gt;Starting from scratch on my Fedora 12 box, I popped in a blank CD and good old Nautilus CD/DVD creator pops up:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-eJPvv6vcT7Y/TWVAGHmefrI/AAAAAAAABEY/88lCaCgiQJM/s1600/isoburn1.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 226px;" src="http://2.bp.blogspot.com/-eJPvv6vcT7Y/TWVAGHmefrI/AAAAAAAABEY/88lCaCgiQJM/s400/isoburn1.png" alt="" id="BLOGGER_PHOTO_ID_5576934187432050354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I dragged and dropped the ISO onto the blank CD:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-_KtjozkBPVg/TWVArqLDBCI/AAAAAAAABEg/-AaTuhkGUhM/s1600/isoburn2.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 272px;" src="http://1.bp.blogspot.com/-_KtjozkBPVg/TWVArqLDBCI/AAAAAAAABEg/-AaTuhkGUhM/s400/isoburn2.png" alt="" id="BLOGGER_PHOTO_ID_5576934832367404066" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Selected "Burn contents"&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-aT9aGH_xpzQ/TWVA2BUblGI/AAAAAAAABEo/QcnSworqxbQ/s1600/isoburn3.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 160px;" src="http://3.bp.blogspot.com/-aT9aGH_xpzQ/TWVA2BUblGI/AAAAAAAABEo/QcnSworqxbQ/s400/isoburn3.png" alt="" id="BLOGGER_PHOTO_ID_5576935010379469922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And POOF..nautilus immediately craps out with a buffer error in dmesg:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[   78.116252] Buffer I/O error on device sr0, logical block 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OK, so I guess I won't use that.  Next, I try Brasero:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-ocBZSQgiqNM/TWVBPQuP-iI/AAAAAAAABEw/JcpQBZU1tQA/s1600/brasero1.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 192px;" src="http://4.bp.blogspot.com/-ocBZSQgiqNM/TWVBPQuP-iI/AAAAAAAABEw/JcpQBZU1tQA/s400/brasero1.png" alt="" id="BLOGGER_PHOTO_ID_5576935444011022882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Same result.  OK.  So let me try cdrecord, from the CDR toolset.  Things seems to go well and then ba-BANG:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;wodim: Cannot fixate disk&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What the?  Thinking the media was bad, I yanked it out and put a new CD in the drive.  Same result.  OK, this is getting tiresome.  Time to Google:&lt;br /&gt;&lt;a href="http://www.google.com/search?sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;q=wodim:+Cannot+fixate+disk"&gt;http://www.google.com/search?sourceid=chrome&amp;amp;ie=UTF-8&amp;amp;q=wodim:+Cannot+fixate+disk&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Surfing around does not yield much usable information; however, one post hinted at a drive or BIOS issue.  I rebooted and checked the BIOS..nothing far from standard there.  So I figured I'd run cdrecord again using the &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;-dummy&lt;/span&gt;&lt;/span&gt; switch that means "do everything the burn will do, except turn off the laser."  So I did this, again using another CD.  If you're counting, that's three.&lt;br /&gt;&lt;br /&gt;I first ran a scanbus:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ &lt;span style="font-weight: bold;"&gt;cdrecord -scanbus&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;scsibus2:&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; 2,0,0&lt;br /&gt;200) 'HL-DT-ST' 'DVD+-RW GH50N   ' 'B103' Removable CD-ROM&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;2,1,0&lt;br /&gt;201) *&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; 2,2,0&lt;br /&gt;202) *&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; 2,3,0&lt;br /&gt;203) *&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; 2,4,0&lt;br /&gt;204) *&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; 2,5,0&lt;br /&gt;205) *&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; 2,6,0&lt;br /&gt;206) *&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; 2,7,0&lt;br /&gt;207) *&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I ran cdrecord with the dummy parameter:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ &lt;span style="font-weight: bold;"&gt;cdrecord -v -tao driveropts=burnfree -dummy -dev=2,0,0 Downloads/Fedora-14-i686-Live-Desktop.iso&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;TOC Type: 1 = CD-ROM&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;wodim: Operation not permitted.&lt;br /&gt;Warning: Cannot raise RLIMIT_MEMLOCK limits.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;scsidev: '2,0,0'&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;scsibus: 2 target: 0 lun: 0&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;WARNING: the deprecated pseudo SCSI syntax found as device specification.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Support for that may cease in the future versions of wodim. For now,&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;the device will be mapped to a block device file where possible.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Run "wodim --devices" for details.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Linux sg driver version: 3.5.27&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Wodim version: 1.1.11&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Driveropts: 'burnfree'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;SCSI buffer size: 64512&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Device type    : Removable CD-ROM&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Version        : 5&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Response Format: 2&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Capabilities   :&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Vendor_info    : 'HL-DT-ST'&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Identification : 'DVD+-RW GH50N   '&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Revision       : 'B103'&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Device seems to be: Generic mmc2 DVD-R/DVD-RW.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Current: 0x0009 (CD-R)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x0012 (DVD-RAM) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x0011 (DVD-R sequential recording)&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;Profile: 0x0015 (DVD-R/DL sequential recording) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x0016 (DVD-R/DL layer jump recording) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x0014 (DVD-RW sequential recording)&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Profile: 0x0013 (DVD-RW restricted overwrite) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x001A (DVD+RW) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Profile: 0x001B (DVD+R) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x002B (DVD+R/DL) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Profile: 0x0010 (DVD-ROM) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x0009 (CD-R) (current)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Profile: 0x000A (CD-RW)&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Profile: 0x0008 (CD-ROM) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Profile: 0x0002 (Removable disk) &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Driver flags   : MMC-3 SWABAUDIO BURNFREE &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Drive buf size : 1053696 = 1029 KB&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Beginning DMA speed test. Set CDR_NODMATEST environment variable if device&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;communication breaks or freezes immediately after that.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Drive DMA Speed: 16168 kB/s 91x CD 11x DVD&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;FIFO size      : 4194304 = 4096 KB&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Track 01: data   686 MB        &lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Total size:      787 MB (78:03.12) = 351234 sectors&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Lout start:      788 MB (78:05/09) = 351234 sectors&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Current Secsize: 2048&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;ATIP info from disk:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Indicated writing power: 5&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Is not unrestricted&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Is not erasable&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Disk sub type: Medium Type A, high Beta category (A+) (3)&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;ATIP start of lead in:  -11634 (97:26/66)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ATIP start of lead out: 359846 (79:59/71)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Disk type:    Short strategy type (Phthalocyanine or similar)&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Manuf. index: 3&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Manufacturer: CMC Magnetics Corporation&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Blocks total: 359846 Blocks current: 359846 Blocks remaining: 8612&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Speed set to 8468 KB/s&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Starting to write CD/DVD at speed  48.0 in dummy TAO mode for single session.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Last chance to quit, starting dummy write in    0 seconds. Operation starts.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Waiting for reader process to fill input buffer ... input buffer ready.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Starting new track at sector: 0&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Track 01:  686 of  686 MB written (fifo 100%) [buf  91%]  49.9x.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Track 01: Total bytes read/written: 719323136/719323136 (351232 sectors).&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Writing  time:  143.394s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Average write speed  32.7x.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Min drive buffer fill was 87%&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Fixating...&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;WARNING: Some drives don't like fixation in dummy mode.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Fixating time:   22.123s&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;wodim: fifo had 11331 puts and 11331 gets.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;wodim: fifo was 0 times empty and 6563 times full, min fill was 85%&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;OK!  So this time, the "fake" burn worked!  That's promising.  I then ran the "real" burn (same command without the -dummy parameter) and prayed that it would work:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@computer ~]$ &lt;span style="font-weight: bold;"&gt;cdrecord -v -tao driveropts=burnfree -dev=2,0,0 Downloads/Fedora-14-i686-Live-Desktop.iso&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;...&lt;br /&gt;Starting to write CD/DVD at speed  48.0 in real TAO mode for single session.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Last chance to quit, starting real write in    0 seconds. Operation starts.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Waiting for reader process to fill input buffer ... input buffer ready.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Performing OPC...&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Starting new track at sector: 0&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Track 01:  686 of  686 MB written (fifo 100%) [buf  91%]  49.7x.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Track 01: Total bytes read/written: 719323136/719323136 (351232 sectors).&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Writing  time:  149.247s&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Average write speed  31.4x.&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Min drive buffer fill was 87%&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Fixating...&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;Fixating time:   22.165s&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;wodim: fifo had 11331 puts and 11331 gets.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;wodim: fifo was 0 times empty and 6552 times full, min fill was 84%.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ho HO!  It worked!!  Fabulous.  But why?&lt;br /&gt;&lt;br /&gt;It seems I made two changes that could have an effect:&lt;br /&gt;1) I rebooted the computer&lt;br /&gt;2) I used a different disc&lt;br /&gt;&lt;br /&gt;My bet is on #2.  But if you think differently, let me know.  I'm just glad to having a working process for burning ISOs to a CD!&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-7049287279144599397?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/H0k7XcAmr8-kUHcAMXc2siIIYuw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H0k7XcAmr8-kUHcAMXc2siIIYuw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/H0k7XcAmr8-kUHcAMXc2siIIYuw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/H0k7XcAmr8-kUHcAMXc2siIIYuw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/-YEcbKej6hw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/7049287279144599397/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=7049287279144599397" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/7049287279144599397?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/7049287279144599397?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/-YEcbKej6hw/burning-iso-to-cd-using-cdrecord.html" title="burning an iso to cd using cdrecord" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-eJPvv6vcT7Y/TWVAGHmefrI/AAAAAAAABEY/88lCaCgiQJM/s72-c/isoburn1.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/02/burning-iso-to-cd-using-cdrecord.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YGRHY-fip7ImA9Wx9bGEk.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-1994062789192188701</id><published>2011-02-08T15:53:00.038-05:00</published><updated>2011-02-27T16:12:05.856-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-27T16:12:05.856-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="keybindings" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="gnome-screenshot" /><category scheme="http://www.blogger.com/atom/ns#" term="windows manager" /><category scheme="http://www.blogger.com/atom/ns#" term="screen capture" /><category scheme="http://www.blogger.com/atom/ns#" term="enlightenment" /><title>fun (?) with Enlightenment window manager</title><content type="html">As much as I'm used to it, I've finally bored of Metacity, the default window manager in Fedora. Metacity is very nice if you live in the Windows world from 9-5 like I do..the keybindings are very similar.  So I decided to upgrade..&lt;br /&gt;&lt;br /&gt;For the past three days, I've spent a good amount of time with &lt;a href="http://www.enlightenment.org/"&gt;Enlightenment&lt;/a&gt;, a visually striking, light(-er)weight &lt;a href="http://en.wikipedia.org/wiki/Enlightenment_%28window_manager%29"&gt;window manager&lt;/a&gt; for Linux (and other OSs).  The initial install was simple, as Enlightenment is in Fedora's repos:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"&gt;[sodo@computer ~]$ sudo yum info enlightenment&lt;br /&gt;[sudo] password for sodo:&lt;br /&gt;Loaded plugins: presto, refresh-packagekit&lt;br /&gt;Installed Packages&lt;br /&gt;Name        : enlightenment&lt;br /&gt;Arch        : x86_64&lt;br /&gt;Version     : 0.16.999.050&lt;br /&gt;Release     : 5.fc12&lt;br /&gt;Size        : 10 M&lt;br /&gt;Repo        : installed&lt;br /&gt;From repo   : fedora&lt;br /&gt;Summary     : Highly optimized and extensible desktop shell&lt;br /&gt;URL         : http://enlightenment.org/p.php?p=about/e17&amp;amp;l=en&lt;br /&gt;License     : MIT&lt;br /&gt;Description : Enlightenment 0.17 is desktop shell based on Enlightenment Foundation&lt;br /&gt;       : Libraries. It's highly optimized and provides extensive theming capabilities.&lt;br /&gt;       : A Desktop shell means it's a window manager plus a file manager, plus&lt;br /&gt;       : configuration utilitys all in one. It works reasonably fast even on old and low&lt;br /&gt;       : range computers, providing eye-candy environment.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Documentation&lt;/b&gt;&lt;br /&gt;As a new user, I've found the documentation and resources for Enlightenment to be difficult to navigate.  The best source for a new user is to visit the Wiki and choose "User Guides":&lt;br /&gt;&lt;a href="http://trac.enlightenment.org/e/wiki"&gt;http://trac.enlightenment.org/e/wiki&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Module Installation&lt;/b&gt;&lt;br /&gt;Also, module installation is buried in the Wiki:&lt;br /&gt;&lt;a href="http://trac.enlightenment.org/e/wiki/Gadgets"&gt;http://trac.enlightenment.org/e/wiki/Gadgets&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Update 2011/02/12&lt;br /&gt;I've since installed from source to give me the latest and greatest.  The source install was relatively painless downloading the latest E packages from here:&lt;br /&gt;&lt;a href="http://www.enlightenment.org/p.php?p=download&amp;amp;l=en"&gt;http://www.enlightenment.org/p.php?p=download&amp;amp;l=en&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Install the sources in this order:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"&gt;eina-1.0.0&lt;br /&gt;eet-1.4.0&lt;br /&gt;evas-1.0.0&lt;br /&gt;ecore-1.0.0&lt;br /&gt;embryo-1.0.0&lt;br /&gt;edje-1.0.0&lt;br /&gt;efreet-1.0.0&lt;br /&gt;e_dbus-1.0.0&lt;br /&gt;eeze-1.0.0&lt;br /&gt;enlightenment-0.16.999.55225&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For each of the sources, after extracting the source code via "tar xvfz &lt;sourcefile&gt;", run:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"&gt;./autogen&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The only occasional problem that I had was a missing library here and there, like liblua.  I resolved this by installing the -devel package.  A second problem I encountered was that I needed to set:&lt;br /&gt;export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig&lt;br /&gt;***end update***&lt;br /&gt;&lt;br /&gt;Enlightenment is very cool, very pretty, but it takes quite a bit of getting used to especially if you're coming from the world of Metacity.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-cIBs5gjaAbM/TVagCsooiHI/AAAAAAAABEQ/vFEVrRVh-sU/s1600/Screenshot-3.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 160px;" src="http://3.bp.blogspot.com/-cIBs5gjaAbM/TVagCsooiHI/AAAAAAAABEQ/vFEVrRVh-sU/s400/Screenshot-3.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5572817557119338610" /&gt;&lt;/a&gt;&lt;br /&gt;I think I like it, but the jury is out due to all the configuration I've had to do.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;A battle, as always&lt;/strong&gt;&lt;br /&gt;So here are a few of the problems I encountered, and some workarounds:&lt;br /&gt;1) &lt;em&gt;ALT-PrntScreen didn't work&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;I had to rebind the PrtScn key to gnome-screenshot, the default Gnome screen capture program.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Binding keys&lt;/strong&gt;&lt;br /&gt;The key bindings interface in Enlightenment is a little funky. You get there by clicking on the desktop, go to Settings, Settings Panel, Input category, Key Bindings:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/TVHABqjsU2I/AAAAAAAABC4/4Z75MSRVv6Y/s1600/settingsPanel.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 150px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/TVHABqjsU2I/AAAAAAAABC4/4Z75MSRVv6Y/s400/settingsPanel.png" alt="" id="BLOGGER_PHOTO_ID_5571445348870411106" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The left part of the screen is the key and the right hand side shows the Action you want to perform. In my case, ALT+Print was not in the list, so I first had to Add Binding. Then I needed to bind the key to an action, which was to Launch a Command:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;/usr/bin/gnome-screenshot -w&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/TVHBFYEoXDI/AAAAAAAABDQ/FC_sLFMQv_o/s1600/keyBindingsSettingsAltPrnt.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 312px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/TVHBFYEoXDI/AAAAAAAABDQ/FC_sLFMQv_o/s400/keyBindingsSettingsAltPrnt.png" alt="" id="BLOGGER_PHOTO_ID_5571446512139394098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The -w parameter screencaps a single window. If you leave off the -w parameter, your entire desktop will be screencapped to a PNG file. Once I created this key binding, all was well and I was able to capture screens again.&lt;br /&gt;&lt;br /&gt;2) &lt;em&gt;ALT-space to maximize/restore windows was not bound to anything&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Again, I had to bind this command to a Window:State:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/TVHAQtDnN_I/AAAAAAAABDA/MYPXTfiCNG0/s1600/keyBindingsSettingsAltSpace.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 312px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/TVHAQtDnN_I/AAAAAAAABDA/MYPXTfiCNG0/s400/keyBindingsSettingsAltSpace.png" alt="" id="BLOGGER_PHOTO_ID_5571445607239202802" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The nice thing about the Maximize window state is that it toggles between Maximize and Restore (or Unmaximize in the Enlightenment world).&lt;br /&gt;&lt;br /&gt;3) &lt;em&gt;Icons for some of the programs I selected for my Icon Bar were missing&lt;/em&gt;:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/TVHAn1iBtAI/AAAAAAAABDI/4a4q0dIa4Es/s1600/iconBar2.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 33px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/TVHAn1iBtAI/AAAAAAAABDI/4a4q0dIa4Es/s400/iconBar2.png" alt="" id="BLOGGER_PHOTO_ID_5571446004651242498" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I had to go and find individual icons by right-clicking on the space in the icon bar, select Change Icon Properties, select Icon, and navigate to the following directory:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"&gt;/usr/share/icons/apps/scaleable&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;You can also find icons in any of the sized directories; for example:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"&gt;/usr/share/icons/apps/32x32&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I had to do this for Google Chrome, gnome-terminal, vmware player and my nvidia settings. I'm surprised that Enlightenment did not automatically find these for some of the more popular programs.&lt;br /&gt;&lt;br /&gt;4) &lt;span&gt;&lt;em&gt;the Shelf's icon bar seems to start programs in their own environment separate from your user environment&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I found this out because when I started Google Chrome in Enlightenment, Google Chrome no longer respected any of my proxy settings. The workaround was to create a simple shell script that exports my proxy environment variables and starts Chrome:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;"&gt;[sodo@computer ~]$ cat googleStartup.sh&lt;br /&gt;#!/bin/bash&lt;br /&gt;export http_proxy=http://http-proxy:8080/&lt;br /&gt;export https_proxy=http://http-proxy:8080/&lt;br /&gt;export no_proxy=localhost,127.0.0.0/8&lt;br /&gt;/opt/google/chrome/google-chrome &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I then put that script in the Executable section of the icon.  Don't forget the ampersand on the end of the command.  If you don't have it, you may see an Enlightenment dialog popup saying something like "Enlightenment was unable to run the application..the app failed to start" when exiting out of the app.&lt;br /&gt;&lt;br /&gt;5) The "Remember" feature:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/TVHGI6Vgb3I/AAAAAAAABDY/HsBgD0kphoc/s1600/remember.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 144px; height: 192px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/TVHGI6Vgb3I/AAAAAAAABDY/HsBgD0kphoc/s400/remember.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5571452070434729842" /&gt;&lt;/a&gt;&lt;br /&gt;..to remember size, position and settings of a windowed program (in this case, gnome-terminal) plain ol' just doesn't work.  Haven't got a workaround for this yet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Other bothersome things I have yet to fix&lt;/span&gt;&lt;br /&gt;1) it is meant as a convenience, but it is irritating when the cursor jumps to the Save dialog&lt;br /&gt;* this was corrected via Settings -&gt; Settings Panel -&gt; Windows -&gt; Window Focus -&gt; Advanced -&gt; uncheck "Slide pointer to a new focused window"&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/-5aSrrWeq03E/TVRjdbUanHI/AAAAAAAABDw/BvaX3VbDxkM/s1600/focusSettings.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 205px; height: 400px;" src="http://2.bp.blogspot.com/-5aSrrWeq03E/TVRjdbUanHI/AAAAAAAABDw/BvaX3VbDxkM/s400/focusSettings.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5572187996164889714" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) desktop switches to the adjacent one when your mouse is next to a desktop's far edge&lt;br /&gt;* this was corrected via Settings -&gt; Settings Panel -&gt; Input -&gt; Edge Bindings and removing the binding for the Right Edge.  Erg!!&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/-OsPnqNlVysU/TVRh_eIYe5I/AAAAAAAABDo/o13YjTig3mg/s1600/edgeBindings.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 400px; height: 324px;" src="http://4.bp.blogspot.com/-OsPnqNlVysU/TVRh_eIYe5I/AAAAAAAABDo/o13YjTig3mg/s400/edgeBindings.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5572186382012021650" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) ctrl-shift left or right does not select text, it brings you to the adjacent desktop&lt;br /&gt;* ARGH..still no fix&lt;br /&gt;&lt;br /&gt;4) clicking on an application does not make the applications in front of the clicked application disappear..erg!&lt;br /&gt;* this was corrected via Settings -&gt; Settings Panel -&gt; Windows -&gt; Window Focus -&gt; "Click Window to Focus".&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/-_Ps1EwwBbnk/TVRmNeRNZGI/AAAAAAAABD4/HsnTDqaex6E/s1600/windowFocusClick.png"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 212px; height: 154px;" src="http://1.bp.blogspot.com/-_Ps1EwwBbnk/TVRmNeRNZGI/AAAAAAAABD4/HsnTDqaex6E/s400/windowFocusClick.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5572191020613723234" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5) I miss the GNOME system monitor panel widget.  Weep.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://t2.gstatic.com/images?q=tbn:ANd9GcQ3h6i35i4pW1784LRPaghMCM9g8NClcP6PkL5pZZmsmE4EHMwekQ"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 139px; height: 9px;" src="http://t2.gstatic.com/images?q=tbn:ANd9GcQ3h6i35i4pW1784LRPaghMCM9g8NClcP6PkL5pZZmsmE4EHMwekQ" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It's always a tough row to hoe in the Linux world..nothing great or tasty or beautiful comes without some work.&lt;br /&gt;&lt;br /&gt;Keep you posted..&lt;br /&gt;TAG&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;&lt;a href="http://trac.enlightenment.org/e/wiki/User_Guide"&gt;E User Guide&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jeffhoogland.blogspot.com/2010/10/e17-basics-faq.html"&gt;http://jeffhoogland.blogspot.com/2010/10/e17-basics-faq.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://jeffhoogland.blogspot.com/2010/12/more-enlightenment-faq.html"&gt;http://jeffhoogland.blogspot.com/2010/12/more-enlightenment-faq.html&lt;/a&gt;&lt;br /&gt;good info on features and keybindings of Metacity: &lt;a href="https://github.com/tthurman/metacity"&gt;https://github.com/tthurman/metacity&lt;/a&gt;&lt;br /&gt;themes &lt;a href="http://exchange.enlightenment.org/"&gt;http://exchange.enlightenment.org/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-1994062789192188701?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ODSkVE2o7eyFtW2SVOer1uDYw-o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ODSkVE2o7eyFtW2SVOer1uDYw-o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ODSkVE2o7eyFtW2SVOer1uDYw-o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ODSkVE2o7eyFtW2SVOer1uDYw-o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/ZMie_7Kh9uE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/1994062789192188701/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=1994062789192188701" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/1994062789192188701?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/1994062789192188701?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/ZMie_7Kh9uE/fun-with-enlightenment-window-manager.html" title="fun (?) with Enlightenment window manager" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-cIBs5gjaAbM/TVagCsooiHI/AAAAAAAABEQ/vFEVrRVh-sU/s72-c/Screenshot-3.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/02/fun-with-enlightenment-window-manager.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkUGRHw5cSp7ImA9Wx9VFkw.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-107024357154517965</id><published>2011-02-01T21:16:00.018-05:00</published><updated>2011-02-01T22:43:45.229-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-01T22:43:45.229-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="amarok" /><category scheme="http://www.blogger.com/atom/ns#" term="milkymist" /><category scheme="http://www.blogger.com/atom/ns#" term="visualization" /><category scheme="http://www.blogger.com/atom/ns#" term="pulseaudio" /><category scheme="http://www.blogger.com/atom/ns#" term="projectm" /><category scheme="http://www.blogger.com/atom/ns#" term="milkdrop" /><category scheme="http://www.blogger.com/atom/ns#" term="xmms" /><title>projectM visualizer</title><content type="html">I've been looking for a decent visualization software for Linux for quite some time.  In my search, I stumbled upon this neat gadget, essentially a visualizer in a box:&lt;br /&gt;&lt;a href="http://www.milkymist.org/"&gt;http://www.milkymist.org/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I didn't really need all that.  But further reading and a hop onto the forums of the Milkymist site gave me a lead.  One of the folks on the user boards kindly turned me onto &lt;a href="http://projectm.sourceforge.net/"&gt;projectM&lt;/a&gt;, a visualizer modeled off of &lt;a href="http://en.wikipedia.org/wiki/MilkDrop"&gt;MilkDrop&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The good news is that I got projectM running and it seems to work very well:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_bcLw_LVf5nA/TUjEnFRec_I/AAAAAAAABCo/7wciXZwppdg/s1600/cool.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 212px;" src="http://1.bp.blogspot.com/_bcLw_LVf5nA/TUjEnFRec_I/AAAAAAAABCo/7wciXZwppdg/s400/cool.png" alt="" id="BLOGGER_PHOTO_ID_5568917114953036786" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Of course, the install wasn't without its difficulties.  I had a few hurdles, the primary one self-imposed because I didn't want to spend time building from source.  I was in luck: my current version of Fedora (12, x86-64) had the projectM libs in the updates repo:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;" class="Apple-style-span"  &gt;[sodo@ogre ~]$ rpm -qa | grep projectM*&lt;br /&gt;projectM-jack-2.0.1-2.fc12.x86_64&lt;br /&gt;libprojectM-2.0.1-7.fc12.x86_64&lt;br /&gt;libprojectM-qt-2.0.1-2.fc12.x86_64&lt;br /&gt;projectM-pulseaudio-2.0.1-3.fc12.x86_64&lt;br /&gt;projectM-libvisual-2.0.1-2.fc12.x86_64&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The next limitation was that the audio apps that projectM works with that utilize &lt;a href="http://en.wikipedia.org/wiki/Libvisual"&gt;libvisual&lt;/a&gt; were limited in my repository: XMMS and Amarok only.  And the XMMS in my repo did not have the projectM-xmms build.  Thus &lt;a href="http://amarok.kde.org/"&gt;Amarok&lt;/a&gt; was my only choice.&lt;br /&gt;&lt;br /&gt;Once I got Amarok installed, I needed to reconfigure it to send its audio through Pulse and not plain ALSA.  I already had alsa-plugins-pulseaudio installed, but I had no way to control Pulseaudio, so I had to install pavucontrol.  Once that was done, good to go man!  Running my favorite tunes with visuals!  I have yet to customize it, but some nice features seem to be possible:&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=749793"&gt;http://ubuntuforums.org/showthread.php?t=749793&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And I am impressed with Amarok.  Really fast search, easy to create and navigate playlists, search playlists and configurable interface:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/TUjQ9dDQv5I/AAAAAAAABCw/AtrYJzf8cJk/s1600/queens.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 200px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/TUjQ9dDQv5I/AAAAAAAABCw/AtrYJzf8cJk/s400/queens.png" alt="" id="BLOGGER_PHOTO_ID_5568930693432524690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Start projectM&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;projectM-pulseaudio&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Controls for projectM&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;m - brings up a menu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;f - toggles fullscreen on/off&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;l - "locks" to a particular preset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;y - toggles shuffle mode&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;n - next preset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;p - previous preset&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;r - selects random preset&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F1 - Help menu&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F2 - Toggles song title on/off (doesn't work in libvisual or pulseaudio as far as I can tell)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F3 - Toggle preset name on/off&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F4 - Toggel rendering info on/off&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;F5 - Shows fps&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Hooray!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://projectm.sourceforge.net/"&gt;http://projectm.sourceforge.net/&lt;/a&gt;&lt;br /&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=749793"&gt;http://ubuntuforums.org/showthread.php?t=749793&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-107024357154517965?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KRY5J4QWSfB957gvy0SXPHuTL4M/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KRY5J4QWSfB957gvy0SXPHuTL4M/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KRY5J4QWSfB957gvy0SXPHuTL4M/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KRY5J4QWSfB957gvy0SXPHuTL4M/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/QtvshNghNBI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/107024357154517965/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=107024357154517965" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/107024357154517965?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/107024357154517965?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/QtvshNghNBI/projectm-visualizer.html" title="projectM visualizer" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/_bcLw_LVf5nA/TUjEnFRec_I/AAAAAAAABCo/7wciXZwppdg/s72-c/cool.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/02/projectm-visualizer.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEFQ387fyp7ImA9Wx9VFE0.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-6356068625854451901</id><published>2011-01-24T11:02:00.007-05:00</published><updated>2011-01-30T10:50:12.107-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-30T10:50:12.107-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="flash plugin" /><category scheme="http://www.blogger.com/atom/ns#" term="fedora 14" /><category scheme="http://www.blogger.com/atom/ns#" term="chrome" /><title>installing flash 10.2 preview 3 64-bit on Fedora 14 x86-64</title><content type="html">This is a quick tech note for myself.  &lt;br /&gt;&lt;br /&gt;1) download the flash 10.2 preview 3 build from here:&lt;br /&gt;&lt;a href="http://labs.adobe.com/downloads/flashplayer10_square.html"&gt;http://labs.adobe.com/downloads/flashplayer10_square.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2) follow install instructions from here:&lt;br /&gt;&lt;a href="http://fedoraproject.org/wiki/Flash"&gt;http://fedoraproject.org/wiki/Flash&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3) watch out for MP3 audio bug (usually seen with YouTube vids)&lt;br /&gt;&lt;a href="http://fedoraproject.org/wiki/Common_F14_bugs#flash-64-sound"&gt;http://fedoraproject.org/wiki/Common_F14_bugs#flash-64-sound&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Workaround (thanks Linus!) here: &lt;a href="https://bugzilla.redhat.com/show_bug.cgi?id=638477#c55"&gt;https://bugzilla.redhat.com/show_bug.cgi?id=638477#c55&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;These install instructions work.  Happily, they also get Flash to work in Chrome on Fedora 14.&lt;br /&gt;&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-6356068625854451901?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/oG0NUUMG3EjCfzENy81cx_VjvPc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oG0NUUMG3EjCfzENy81cx_VjvPc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/oG0NUUMG3EjCfzENy81cx_VjvPc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/oG0NUUMG3EjCfzENy81cx_VjvPc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/rq9IJzDHHoQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/6356068625854451901/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=6356068625854451901" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/6356068625854451901?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/6356068625854451901?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/rq9IJzDHHoQ/installing-flash-102-preview-3-64-bit.html" title="installing flash 10.2 preview 3 64-bit on Fedora 14 x86-64" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/01/installing-flash-102-preview-3-64-bit.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EDQH0ycCp7ImA9Wx9WFEo.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-8736098664007892610</id><published>2011-01-19T16:39:00.005-05:00</published><updated>2011-01-19T17:21:11.398-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-19T17:21:11.398-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="network" /><category scheme="http://www.blogger.com/atom/ns#" term="interfaces" /><category scheme="http://www.blogger.com/atom/ns#" term="udev" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>ubuntu vm networking weirdness</title><content type="html">Over the past week, I've been working quite a bit with Ubuntu 10.04 and VMware. Two problems confronted me:&lt;br /&gt;1) /etc/resolv.conf was getting overwritten&lt;br /&gt;2) /etc/network/interfaces was missing my eth0 network interface&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Number One&lt;/strong&gt;&lt;br /&gt;The first problem was more easily solved than the second issue. What I did to resolve this issue was to edit &lt;span style="font-family:courier new;font-size:85%;"&gt;/etc/dhcp3/dhclient.conf&lt;/span&gt; and add the following line:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;supersede domain-name-servers [server1],[server2],etc;&lt;br /&gt;&lt;/span&gt;(yes, supersede is misspelled)&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Number Two&lt;/strong&gt;&lt;br /&gt;The second problem was a little more esoteric. What I found was that the network interface of my Ubuntu VM kept getting renamed (from eth0 to eth1 and then eth2). The cycling interface names may be caused by moving the VM to different machines. This is because Ubuntu will remember the MAC address of the first machine it was installed on. Ifconfig can see the newly named interfaces, but the ifup and ifdown commands to start and stop the network interfaces cannot see the new names. Ifup and ifdown rely upon entries in &lt;span style="font-family:courier new;font-size:85%;"&gt;/etc/network/interfaces&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;In order for ifup and ifdown to see eth0, I added the interface back into &lt;span style="font-family:courier new;font-size:85%;"&gt;/etc/network/interfaces&lt;/span&gt; with the following lines:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;By the way, you can use a second command to restart a network interface:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;sudo invoke-rc.d networking restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Back to the original problem, that of the switching network interface names.  Ubuntu uses the udev service to detect hardware. So, the solution was to either edit &lt;span style="font-family:courier new;font-size:85%;"&gt;/etc/udev/rules.d/70-persistent-net.rules&lt;/span&gt; or delete it and have udev the system regenerate the file. As deleting the file was easier, I opted for that method. After deleting the file, I reboot the vm and voila, my eth0 interface was back.&lt;br /&gt;&lt;br /&gt;all in a good days work,&lt;br /&gt;TAG&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://serverfault.com/questions/63103/newsid-program-for-linux"&gt;http://serverfault.com/questions/63103/newsid-program-for-linux&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/Udev"&gt;http://en.wikipedia.org/wiki/Udev&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-8736098664007892610?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7oSKxRkb2qdswyaKE61LaQCyJoc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7oSKxRkb2qdswyaKE61LaQCyJoc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7oSKxRkb2qdswyaKE61LaQCyJoc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7oSKxRkb2qdswyaKE61LaQCyJoc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/Sqk94ShNC2c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/8736098664007892610/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=8736098664007892610" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8736098664007892610?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/8736098664007892610?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/Sqk94ShNC2c/ubuntu-vm-networking-weirdness.html" title="ubuntu vm networking weirdness" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/01/ubuntu-vm-networking-weirdness.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0UERXc6fyp7ImA9Wx9WFEg.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-2589906853601851070</id><published>2011-01-18T17:58:00.012-05:00</published><updated>2011-01-19T10:33:24.917-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-19T10:33:24.917-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="nmap" /><category scheme="http://www.blogger.com/atom/ns#" term="network" /><title>fun with nmap</title><content type="html">I left a Linux virtual machine on at work, but forgot to write down the IP address. So I thought I'd use nmap to figure out what IP the machine had based upon the services running on it. First though, I wanted to familiarize myself with the basic nmap commands.&lt;br /&gt;&lt;br /&gt;The -A option seemed the best choice for a first time user. -A enables host operating system and version detection, script scanning and a traceroute. For my local machine, the output looks like this:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ &lt;strong&gt;nmap -A localhost&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-18 18:23 EST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap scan report for localhost (127.0.0.1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host is up (0.00053s latency).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rDNS record for 127.0.0.1: ogre&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Not shown: 993 closed ports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PORT STATE SERVICE VERSION&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;22/tcp open ssh OpenSSH 5.3 (protocol 2.0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ssh-hostkey: 1024 a3:bd:bf:bd:bd:6a:64:1a:f8:2d:11:56 (DSA)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_2048 77:8d:ab:86:98:30:05:28:41:53:30:78:db:a2:f7:9c (RSA)&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;80/tcp open http Apache httpd 2.2.15 ((Fedora))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Test Page for the Apache HTTP Server on Fedora&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;111/tcp open rpcbind&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rpcinfo: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;100000 2,3,4 111/udp rpcbind &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;100024 1 34022/udp status &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;100000 2,3,4 111/tcp rpcbind &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_100024 1 58402/tcp status &lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;443/tcp open ssl/http Apache httpd 2.2.15 ((Fedora))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Test Page for the Apache HTTP Server on Fedora&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;631/tcp open ipp CUPS 1.4&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;888/tcp open ssl/http 3ware 3DM2 Serial RAID http config 2.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_sslv2: server still supports SSLv2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: 3ware 3DM2 - ogre - Summary&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;3306/tcp open mysql MySQL 5.1.47&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;mysql-info: Protocol: 10&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Version: 5.1.47&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Thread ID: 16&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Some Capabilities: Long Passwords, Connect with DB, Compress, ODBC, Transactions, Secure Connection&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Status: Autocommit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_Salt: i:$CfYg}]azzsSZ1(;1#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service Info: Device: storage-misc&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Not that I didn't know this information, but it is interesting that you can find out quite a bit about a machine just by doing a portscan with nmap. In the example above, I can see that I have the following ports open and available (at least to the localhost):&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;-port 22 (SSH)&lt;br /&gt;-port 80 (HTTP or the apache daemon)&lt;br /&gt;-port 111 (RPC)&lt;br /&gt;-port 443 (HTTPS via apache again)&lt;br /&gt;-port 631 (CUPS, the linux printing system)&lt;br /&gt;-port 888 (3Ware RAID web configuration tool)&lt;br /&gt;-port 3306 (mysql web-based configuration utility)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cool. Now if I change nmap to use the IP of my workstation instead of the loopback (localhost) address, you'll see that some of the information that was available at the localhost is not available at the proper IP of the box:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ &lt;strong&gt;nmap -A 192.168.1.8&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-18 18:49 EST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap scan report for ogre (192.168.1.8)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host is up (0.00055s latency).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Not shown: 994 closed ports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PORT STATE SERVICE VERSION&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;22/tcp open ssh OpenSSH 5.3 (protocol 2.0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ssh-hostkey: 1024 a3:d6bf:bd:bd:6a:64:1a:f8:2d:11:56 (DSA)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;2048 77:8d:ab:86:98:30:05:28:41:53:30:78:db:a2:f7:9c (RSA)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;80/tcp open http Apache httpd 2.2.15 ((Fedora))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Test Page for the Apache HTTP Server on Fedora&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;111/tcp open rpcbind&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rpcinfo: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;100000 2,3,4 111/udp rpcbind &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;100024 1 34022/udp status &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;100000 2,3,4 111/tcp rpcbind &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_100024 1 58402/tcp status &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;443/tcp open ssl/http Apache httpd 2.2.15 ((Fedora))&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Test Page for the Apache HTTP Server on Fedora&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;888/tcp open ssl/http 3ware 3DM2 Serial RAID http config 2.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: 3ware 3DM2 - ogre - Summary&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_sslv2: server still supports SSLv2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;3306/tcp open mysql MySQL (Host blocked because of too many connections)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service Info: Device: storage-misc&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap done: 1 IP address (1 host up) scanned in 26.12 seconds&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is another device on my network, a Motorola NIM 100 ethernet over cable bridge that actually has telnet and a web service up and available:&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ &lt;strong&gt;nmap -A 192.168.1.3&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-18 18:00 EST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap scan report for 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host is up (0.00070s latency).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Not shown: 998 closed ports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PORT STATE SERVICE VERSION&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;23/tcp open telnet Linux telnetd&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;80/tcp open http Boa httpd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;robots.txt: has 1 disallowed entry &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Ethernet Coax Bridge - Login&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service Info: OS: Linux&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap done: 1 IP address (1 host up) scanned in 7.39 seconds&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that only two ports are open and available on the real IP of the box. Also, it is interesting that nmap shows "Service Info: OS: Linux" on the real IP address. You can use the -p switch to scan for a particular port on a device:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ nmap &lt;span style="FONT-WEIGHT: bold"&gt;-p 80&lt;/span&gt; -A 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-18 19:12 EST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap scan report for 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host is up (0.0015s latency).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PORT STATE SERVICE VERSION&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold;font-family:courier new;" &gt;80/tcp open http Boa httpd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;robots.txt: has 1 disallowed entry &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Ethernet Coax Bridge - Login&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The verbose (-v) switch to that last command will display exactly what nmap is doing..ping, DNS lookup, port connections, service scanning, script scanning, latency, count of closed ports and a summary of how many hosts nmap scanned and how long the scan took:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ nmap &lt;strong&gt;-v&lt;/strong&gt; -A 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-18 18:00 EST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;NSE: Loaded 36 scripts for scanning.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Initiating Ping Scan at 18:00&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Scanning 192.168.1.3 [2 ports]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Completed Ping Scan at 18:00, 0.00s elapsed (1 total hosts)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Initiating Parallel DNS resolution of 1 host. at 18:00&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Completed Parallel DNS resolution of 1 host. at 18:00, 0.03s elapsed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Initiating Connect Scan at 18:00&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Scanning 192.168.1.3 [1000 ports]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Discovered open port 80/tcp on 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Discovered open port 23/tcp on 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Completed Connect Scan at 18:00, 1.11s elapsed (1000 total ports)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Initiating Service scan at 18:00&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Scanning 2 services on 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Completed Service scan at 18:00, 6.06s elapsed (2 services on 1 host)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;NSE: Script scanning 192.168.1.3.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;NSE: Starting runlevel 1 (of 1) scan.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Initiating NSE at 18:00&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Completed NSE at 18:00, 0.04s elapsed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;NSE: Script Scanning completed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap scan report for 192.168.1.3&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host is up (0.00098s latency).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Not shown: 998 closed ports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PORT STATE SERVICE VERSION&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;23/tcp open telnet Linux telnetd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;80/tcp open http Boa httpd&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;robots.txt: has 1 disallowed entry &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Ethernet Coax Bridge - Login&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service Info: OS: Linux&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Read data files from: /usr/share/nmap&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap done: 1 IP address (1 host up) scanned in 7.88 seconds&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With this basic information about a single host, I graduated to scanning the network using the &lt;a href="http://en.wikipedia.org/wiki/CIDR_notation"&gt;CIDR notation for network subnetting&lt;/a&gt;. I left out the above machines in the output below. Also, before I did the nmap, I started a Mac and an old XP box that I had in the environment, just to see what a really insecure Windows machine looks like.&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[sodo@ogre ~]$ &lt;strong&gt;nmap -A 192.168.1.0/24&lt;/strong&gt;&lt;/span&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-18 18:46 EST&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap scan report for mac (192.168.1.12)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host is up (0.0085s latency).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Not shown: 500 closed ports, 494 filtered ports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PORT STATE SERVICE VERSION&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;22/tcp open ssh OpenSSH 5.2 (protocol 1.99)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_sshv1: Server supports SSHv1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ssh-hostkey: 2048 c:c4:b6:69:6c:4e:27:5c:5a:fe:fe:09 (RSA1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;2048 f1:ce:c0:3c:a0:83:db:24:0c:7d:8a:ca:48:41:ea:44 (DSA)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_2048 db:20:90:c5:5a:bc:3d:ea:cd:12:7b:17:03:79:6b:ad (RSA)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;88/tcp open kerberos-sec Mac OS X kerberos-sec&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;548/tcp open afp Apple AFP (name: MACLTSODO; protocol 3.3; Mac OS X 10.5)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;2170/tcp open tcpwrapped&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;49152/tcp open tcpwrapped&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service Info: OS: Mac OS X&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Nmap scan report for xp (192.168.1.89)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host is up (0.050s latency).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Not shown: 990 closed ports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PORT STATE SERVICE VERSION&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;25/tcp open smtp Microsoft ESMTP 6.0.2600.2180&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;80/tcp open http Microsoft IIS webserver 5.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_html-title: Site doesn't have a title (text/html).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;_http-favicon: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;135/tcp open msrpc Microsoft Windows RPC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;139/tcp open netbios-ssn&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;443/tcp open https?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;445/tcp open microsoft-ds Microsoft Windows XP microsoft-ds&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;1025/tcp open msrpc Microsoft Windows RPC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;1026/tcp open msrpc Microsoft Windows RPC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;1027/tcp open msrpc Microsoft Windows RPC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;3389/tcp open microsoft-rdp Microsoft Terminal Service&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Service Info: Host: computer; OS: Windows&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Host script results:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;smb-os-discovery: &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;OS: Windows XP (Windows 2000 LAN Manager)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Name: WORKGROUP\COMPUTER&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_ System time: 2011-01-18 18:43:07 UTC-5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_nbstat: NetBIOS name: COMPUTER, NetBIOS user: &lt;unknown&gt;, NetBIOS MAC: 0d:0c:11:a4:23:4a&lt;/unknown&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;_smbv2-enabled: Server doesn't support SMBv2 protocol&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;You can see that the XP box has its pants down, so to speak. Lots of insecure services running..even the MAC address..eesh. (The names have been changed to protect the innocent.) Better turn that puppy off.   So, you can see that we can gather quite a bit of information just by doing a portscan using nmap. Beware, people!&lt;br /&gt;&lt;br /&gt;Rounding out the post, I was able to discover my new server at work using the -O switch. Not surprisingly, my Linux box at work was the most secure among all the Windows boxes nmap found with only one port open. Though, nmap did a good job at guessing the OS.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;[sodo@computer ~]$ &lt;strong&gt;nmap -A 192.168.113.0/24&lt;/strong&gt; &lt;br /&gt;Interesting ports on 192.168.113.25:&lt;br /&gt;Not shown: 999 filtered ports&lt;br /&gt;PORT   STATE SERVICE&lt;br /&gt;22/tcp open  ssh&lt;br /&gt;MAC Address: D8:CA:2F:8E:FB:26 (Unknown)&lt;br /&gt;Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port&lt;br /&gt;Device type: general purposefirewallWAProuter&lt;br /&gt;Running (JUST GUESSING) : Linux 2.6.X (94%), Check Point Linux 2.4.X (87%), D-Link embedded (87%), Linksys embedded (87%), Peplink embedded (87%), Linksys Linux 2.4.X (86%)&lt;br /&gt;Aggressive OS guesses: Linux 2.6.9 - 2.6.18 (94%), Linux 2.6.9 - 2.6.26 (94%), Linux 2.6.22 (Fedora Core 6) (92%), Linux 2.6.18 (CentOS 5, x86_64, SMP) (90%), Linux 2.6.17 - 2.6.28 (89%), Linux 2.6.18 (CentOS 5) (89%), Linux 2.6.18 (Centos 5.3) (89%), Linux 2.6.23 (89%), Linux 2.6.24 - 2.6.28 (89%), Linux 2.6.9 - 2.6.27 (89%)&lt;br /&gt;No exact OS matches for host (test conditions non-ideal).&lt;br /&gt;Network Distance: 1 hop&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Compare those results to the very revealing XP box:&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;[sodo@computer ~]$ &lt;strong&gt;nmap -A 192.168.113.2&lt;/strong&gt;&lt;br /&gt;Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-19 10:12 EST&lt;br /&gt;Nmap scan report for SODOWORK (192.168.113.2)&lt;br /&gt;Host is up (0.0016s latency).&lt;br /&gt;Not shown: 984 closed ports&lt;br /&gt;PORT STATE SERVICE VERSION&lt;br /&gt;21/tcp open ftp Microsoft ftpd&lt;br /&gt;_ftp-anon: Anonymous FTP login allowed&lt;br /&gt;22/tcp open ssh SCS sshd 5.3.2.10 (protocol 2.0)&lt;br /&gt;_ssh-hostkey: 1536 cc:f7:a1:be:d8:c8:ed:f0:08:c0:3d:fc:bc (RSA)&lt;br /&gt;25/tcp open smtp Microsoft ESMTP 6.0.2600.5512&lt;br /&gt;80/tcp open http Microsoft IIS webserver 5.1&lt;br /&gt;_html-title: Under Construction&lt;br /&gt;135/tcp open msrpc Microsoft Windows RPC&lt;br /&gt;139/tcp open netbios-ssn&lt;br /&gt;443/tcp open https?&lt;br /&gt;445/tcp open microsoft-ds Microsoft Windows XP microsoft-ds&lt;br /&gt;1074/tcp open msrpc Microsoft Windows RPC&lt;br /&gt;2030/tcp open oracle-mts Oracle MTS Recovery Service&lt;br /&gt;3389/tcp open microsoft-rdp Microsoft Terminal Service&lt;br /&gt;5000/tcp open tcpwrapped&lt;br /&gt;5631/tcp open pcanywheredata?&lt;br /&gt;8009/tcp open ajp13 Apache Jserv (Protocol v1.3)&lt;br /&gt;8222/tcp open http VMware Server 2 http config&lt;br /&gt;_html-title: VMware Server 2&lt;br /&gt;8333/tcp open ssl/http VMware Server 2 http config&lt;br /&gt;_html-title: VMware Server 2&lt;br /&gt;Service Info: OS: Windows&lt;br /&gt;&lt;br /&gt;Host script results:&lt;br /&gt;_nbstat: NetBIOS name: SODOWORK, NetBIOS user: &lt;unknown&gt;, NetBIOS MAC: 0d:0e:9c:96:96:29&lt;br /&gt;smb-os-discovery:&lt;br /&gt;OS: Windows XP (Windows 2000 LAN Manager)&lt;br /&gt;Name: CORP\SODOWORK&lt;br /&gt;_ System time: 2011-01-19 10:12:35 UTC-5&lt;br /&gt;_smbv2-enabled: Server doesn't support SMBv2 protocol&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hope you enjoyed this exploration of nmap basics.  It certainly was revealing for me!&lt;br /&gt;TAG&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://nmap.org/"&gt;http://nmap.org/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-2589906853601851070?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0xdX3cAcSOP5EV-BfHfJ3jAfyvo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0xdX3cAcSOP5EV-BfHfJ3jAfyvo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0xdX3cAcSOP5EV-BfHfJ3jAfyvo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0xdX3cAcSOP5EV-BfHfJ3jAfyvo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/3trOwrX8hX8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/2589906853601851070/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=2589906853601851070" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2589906853601851070?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2589906853601851070?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/3trOwrX8hX8/fun-with-nmap.html" title="fun with nmap" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/01/fun-with-nmap.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QGRXg6cSp7ImA9Wx9WE0Q.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-4805140257002625297</id><published>2011-01-18T17:27:00.009-05:00</published><updated>2011-01-18T17:55:24.619-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-01-18T17:55:24.619-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="windows 7" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware player" /><category scheme="http://www.blogger.com/atom/ns#" term="processes" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware-vmx" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><title>digging down into a linux process</title><content type="html">So I inadvertantly exited out of my Fedora X server without saving or exiting my VMware Player's open virtual machine:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_bcLw_LVf5nA/TTYUlU1spxI/AAAAAAAABCE/LSZzY5X8Zlw/s1600/vmwarePlayerUnknownState.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 338px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/TTYUlU1spxI/AAAAAAAABCE/LSZzY5X8Zlw/s400/vmwarePlayerUnknownState.png" alt="" id="BLOGGER_PHOTO_ID_5563657021144475410" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This left my vm in an unknown state.  You could still see the lock files in the Virtual Machine's directory:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;" class="Apple-style-span"  &gt;[sodo@ogre ~]$ ll Virtual\ Machines/Windows\ 7\ x64/&lt;br /&gt;total 10976188&lt;br /&gt;drwxrwxr-x 3 sodo       4096 2011-01-07 12:53 caches&lt;br /&gt;-rw-r--r-- 1 sodo     320659 2011-01-18 14:41 vmware-0.log&lt;br /&gt;-rw-r--r-- 1 sodo     359599 2011-01-18 14:14 vmware-1.log&lt;br /&gt;-rw-r--r-- 1 sodo     565465 2011-01-08 00:14 vmware-2.log&lt;br /&gt;-rw-r--r-- 1 sodo     317488 2011-01-18 17:33 vmware.log&lt;br /&gt;-rw-rw---- 1 sodo       8684 2011-01-18 14:42 Windows 7 x64.nvram&lt;br /&gt;-rw------- 1 sodo 2103836672 2011-01-18 17:35 Windows 7 x64-s001.vmdk&lt;br /&gt;-rw------- 1 sodo 2121203712 2011-01-18 17:35 Windows 7 x64-s002.vmdk&lt;br /&gt;-rw------- 1 sodo 2145255424 2011-01-18 17:35 Windows 7 x64-s003.vmdk&lt;br /&gt;-rw------- 1 sodo 2145976320 2011-01-18 14:49 Windows 7 x64-s004.vmdk&lt;br /&gt;-rw------- 1 sodo        955 2011-01-18 14:41 Windows 7 x64.vmdk&lt;br /&gt;drwxrwxrwx 2 sodo       4096 2011-01-18 14:41 Windows 7 x64.vmdk.lck&lt;br /&gt;-rw-rw---- 1 sodo 1073741824 2011-01-08 00:14 Windows 7 x64.vmem&lt;br /&gt;-rw-rw---- 1 sodo          0 2011-01-07 12:37 Windows 7 x64.vmsd&lt;br /&gt;-rw-rw---- 1 sodo  182610705 2011-01-18 10:18 Windows 7 x64.vmss&lt;br /&gt;-rwxrwxr-x 1 sodo       2477 2011-01-18 14:42 Windows 7 x64.vmx&lt;br /&gt;-rw-rw-r-- 1 sodo       1645 2011-01-07 12:53 Windows 7 x64.vmxf&lt;br /&gt;drwxrwxrwx 2 sodo       4096 2011-01-18 14:41 Windows 7 x64.vmx.lck&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But after some Googling, there seemed to be no way to restart the orphaned vm without killing the process that was hanging out there.  Before I killed the vm process, I researched it to find out more about it.  First, I did a search on the process:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;" class="Apple-style-span"  &gt;[sodo@ogre ~]$ ps -ef | grep vmx&lt;br /&gt;sodo 4629     1 13 10:18 ?        00:31:48 /usr/lib/vmware/bin/vmware-vmx -ssnapshot.numRollingTiers=0 -sRemoteDisplay.vnc.enabled=FALSE -s vmx.stdio.keep=TRUE -# product=8;name=VMware Player;version=3.1.3;buildnumber=324285;licensename=VMware Player;licenseversion=6.0; -@ pipe=/tmp/vmware-sodo/vmxb90ce351150180d7;readyEvent=90 /home/sodo/Virtual Machines/Windows 7 x64/Windows 7 x64.vmx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I saw that the process number was 4629.  The command that started the process was vmware-vmx:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;" class="Apple-style-span"  &gt;[sodo@ogre ~]$ ps -p 4629&lt;br /&gt;PID TTY          TIME CMD&lt;br /&gt;4629 ?        00:31:48 vmware-vmx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Digging into the process directory, I saw the status of the process was sleeping:&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;" class="Apple-style-span"  &gt;[sodo@ogre ~]$ cat /proc/4629/task/4629/status&lt;br /&gt;Name: vmware-vmx&lt;br /&gt;State: S (sleeping)&lt;br /&gt;Tgid: 4629&lt;br /&gt;Pid: 4629&lt;br /&gt;PPid: 1&lt;br /&gt;TracerPid: 0&lt;br /&gt;Uid: 500 500 0 500&lt;br /&gt;Gid: 500 500 500 500&lt;br /&gt;Utrace: 0&lt;br /&gt;FDSize: 256&lt;br /&gt;Groups: 500&lt;br /&gt;VmPeak:  3281396 kB&lt;br /&gt;VmSize:  3131036 kB&lt;br /&gt;VmLck:        0 kB&lt;br /&gt;VmHWM:  1409588 kB&lt;br /&gt;VmRSS:  1343972 kB&lt;br /&gt;VmData:  2727812 kB&lt;br /&gt;VmStk:      288 kB&lt;br /&gt;VmExe:     6784 kB&lt;br /&gt;VmLib:   134888 kB&lt;br /&gt;VmPTE:     3212 kB&lt;br /&gt;Threads: 1&lt;br /&gt;SigQ: 0/80092&lt;br /&gt;SigPnd: 0000000000000000&lt;br /&gt;ShdPnd: 0000000000000000&lt;br /&gt;SigBlk: fffffffe7ffbfeff&lt;br /&gt;SigIgn: 0000000000301000&lt;br /&gt;SigCgt: 0000000193c9eeef&lt;br /&gt;CapInh: 0000000000000000&lt;br /&gt;CapPrm: ffffffffffffffff&lt;br /&gt;CapEff: 0000000000000000&lt;br /&gt;CapBnd: ffffffffffffffff&lt;br /&gt;Cpus_allowed: ff&lt;br /&gt;Cpus_allowed_list: 0-7&lt;br /&gt;Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001&lt;br /&gt;Mems_allowed_list: 0&lt;br /&gt;voluntary_ctxt_switches: 4744582&lt;br /&gt;nonvoluntary_ctxt_switches: 7620&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Alas, the vmware service offered no consolation..I could not shutdown the daemon gracefully:&lt;br /&gt;&lt;span class="Apple-style-span"&gt;&lt;span style=";font-family:courier new;font-size:85%;" class="Apple-style-span"  &gt;[sodo@ogre ~]$ sudo /etc/init.d/vmware restart&lt;br /&gt;Stopping VMware services:&lt;br /&gt;VMware USB Arbitrator                                   [  OK  ]&lt;br /&gt;At least one instance of VMware Player is still running.&lt;br /&gt;Please stop all running instances of VMware Player first.&lt;/span&gt;&lt;br /&gt;&lt;span style=";font-family:courier new;font-size:85%;" class="Apple-style-span"  &gt;&lt;br /&gt;VMware Authentication Daemon                            [FAILED]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And so, good readers, I was forced to kill the process.  And hard, as I had to add the -9 switch to kill, which effectively says "kill the process and don't do any cleanup".  "Kill that sucker, but good!"&lt;div&gt;&lt;div  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span"  style="font-size:85%;"&gt;[sodo@ogre Windows 7 x64]$ kill 4629&lt;/span&gt;&lt;/div&gt;&lt;div  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span"  style="font-size:85%;"&gt;[sodo@ogre Windows 7 x64]$ ps -ef | grep 4629&lt;/span&gt;&lt;/div&gt;&lt;div  style="font-family:courier new;"&gt;&lt;span class="Apple-style-span"  style="font-size:85%;"&gt;[sodo@ogre Windows 7 x64]$ &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Yes, this harsh kill command did the trick.  And then I had to explain to my poor Win7 vm why I had pulled the plug so harshly:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://help.artaro.eu/images/win7/w7starterror01.jpg"&gt;&lt;img style="cursor: pointer; width: 800px; height: 357px;" src="http://help.artaro.eu/images/win7/w7starterror01.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Oh cruel fate, why dost thou mock me?&lt;br /&gt;TAG&lt;br /&gt;&lt;br /&gt;Reference&lt;br /&gt;&lt;a href="http://aplawrence.com/SCOFAQ/FAQ_scotec6killminus9.html"&gt;http://aplawrence.com/SCOFAQ/FAQ_scotec6killminus9.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-4805140257002625297?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/0l9eSsdfl73naL9I2I9t9OaYw1w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0l9eSsdfl73naL9I2I9t9OaYw1w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/0l9eSsdfl73naL9I2I9t9OaYw1w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/0l9eSsdfl73naL9I2I9t9OaYw1w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/Ya65YkbXwNg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/4805140257002625297/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=4805140257002625297" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/4805140257002625297?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/4805140257002625297?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/Ya65YkbXwNg/digging-down-into-linux-process.html" title="digging down into a linux process" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_bcLw_LVf5nA/TTYUlU1spxI/AAAAAAAABCE/LSZzY5X8Zlw/s72-c/vmwarePlayerUnknownState.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/01/digging-down-into-linux-process.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4BRnc5eip7ImA9Wx9bFEo.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-6612258595243139479</id><published>2011-01-07T16:29:00.016-05:00</published><updated>2011-02-23T09:55:57.922-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-02-23T09:55:57.922-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="windows system assessment tool" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware player" /><category scheme="http://www.blogger.com/atom/ns#" term="mkisofs" /><category scheme="http://www.blogger.com/atom/ns#" term="macbook pro" /><category scheme="http://www.blogger.com/atom/ns#" term="iso file" /><category scheme="http://www.blogger.com/atom/ns#" term="vmware" /><category scheme="http://www.blogger.com/atom/ns#" term="mac" /><category scheme="http://www.blogger.com/atom/ns#" term="disk utility" /><category scheme="http://www.blogger.com/atom/ns#" term="iso" /><title>creating ISO file from bootable install media</title><content type="html">As our company's secure VPN software doesn't work on my Linux box, I decided to install an XP VM to use as a launchpad to my corporate network.  Unfortunately, VMware Player failed to install my XP with the message:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;An error has been encountered that prevents Setup from continuing&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;One of the components that Windows needs to continue setup could not be installed.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;The parameter is incorrect.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Press OK to view the Setup log file&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;The Main Issue&lt;/span&gt;&lt;br /&gt;This indicated that either my media or the DVD drive was bad.  To find out which one was the true culprit, I used my Macbook's Disk Utility to convert the XP installer CD to an ISO.  You want to select an Image Format of  "DVD/CD master", as shown in the graphic below:&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_bcLw_LVf5nA/TSeIIi4sACI/AAAAAAAABBg/6AkwSNAE-uo/s1600/diskUtility.png"&gt;&lt;img style="cursor: pointer; width: 400px; height: 346px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/TSeIIi4sACI/AAAAAAAABBg/6AkwSNAE-uo/s400/diskUtility.png" alt="" id="BLOGGER_PHOTO_ID_5559561945397067810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As is my open source bent, I'd rather be using mkisofs, but I was under some time pressure to get some videos out the door.  In any case, I scp'd the ISO version of the install CD over to my main box with VMware Player and low and behold, the ISO version worked just fine.  So it looks like my bloody DVD drive is going!  Off to Newegg..&lt;br /&gt;&lt;br /&gt;In retrospect, the occasional problems I've been experiencing &lt;span style="font-weight: bold;"&gt;over the last two years&lt;/span&gt; with my bootable installs were now probably due to the DVD drive having trouble reading ISOs!  Argh. I tell you, its tough being an idiot. Still odd, as the DVD burner works fine for recording and reading DVDs.  It just doesn't seem to like booting install media.  Ah well.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Another Problem Creeps Up on The Guy&lt;/span&gt;&lt;br /&gt;While I was successful in installing the XP OS into a VM, once I started the VM and used it for its intended purpose, that of logging into my corporate network, up crops a problem with the Juniper client:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;dshostchecker.exe has exited unexpectedly&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;logged to eacHttpNar.dmp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Double Yarg!  This time, in order to resolve the issue, I decided to use a new OS as basis for a VM: Win7.  I should have used in the first place, but the Win7 install takes 7GB and the XP install only takes 1.5GB, so I opted for the lighter XP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Win7 to the Rescue!&lt;/span&gt;&lt;br /&gt;As before, I converted the Win7 install media (a DVD) to ISO file using the Mac's Disk Utility.  I copied the ISO to my main rig and lo and behold, the ISO installed perfectly into VMware Player. Lastly, I had no issues with my secure VPN installation.&lt;br /&gt;&lt;br /&gt;Moral of the story: &lt;span style="font-weight: bold;"&gt;don't disregard a problem&lt;/span&gt;!  It will bite you in the rear later!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Things I learned along the way&lt;/span&gt;&lt;br /&gt;1) mounting a UDF disk&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;mount -t &lt;/span&gt;&lt;b style="color: black; background-color: rgb(160, 255, 255); font-family: courier new;"&gt;udf&lt;/b&gt;&lt;span style="font-family:courier new;"&gt; /dev/dvd /mnt/dvd&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;2) interesting scheme to use VMware as a host for Windows XP Linux Application&lt;br /&gt;&lt;a href="http://www.stat.ufl.edu/system/vmware.html"&gt;http://www.stat.ufl.edu/system/vmware.html&lt;/a&gt;&lt;br /&gt;3) haven't tried this, but this link has a way to create a Windows bootable CD/DVD using mkisofs&lt;br /&gt;&lt;a href="http://hints.macworld.com/article.php?story=20080416134218704"&gt;http://hints.macworld.com/article.php?story=20080416134218704&lt;/a&gt;&lt;br /&gt;4) Windows System Assessment Tool for Win7 comes on when the box is idle and consumes a shitload of CPU&lt;br /&gt;- disable that f*ckr &lt;a href="http://www.troublefixers.com/stop-disable-experienceassessment-index-tool-winsat-exe-in-windows-7-and-windows-vista/"&gt;by following these directions&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Tally Ho!&lt;br /&gt;TAG&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-6612258595243139479?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/J2bIq6o-qB7HADVBaPydCIEIEGo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/J2bIq6o-qB7HADVBaPydCIEIEGo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/J2bIq6o-qB7HADVBaPydCIEIEGo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/J2bIq6o-qB7HADVBaPydCIEIEGo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/5ReI2oOuyas" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/6612258595243139479/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=6612258595243139479" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/6612258595243139479?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/6612258595243139479?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/5ReI2oOuyas/creating-iso-from-bootable-install.html" title="creating ISO file from bootable install media" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/_bcLw_LVf5nA/TSeIIi4sACI/AAAAAAAABBg/6AkwSNAE-uo/s72-c/diskUtility.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2011/01/creating-iso-from-bootable-install.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYMSHk4eyp7ImA9Wx9SGEk.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-2920876107289701910</id><published>2010-12-01T13:53:00.016-05:00</published><updated>2010-12-08T17:26:29.733-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-12-08T17:26:29.733-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ssl" /><category scheme="http://www.blogger.com/atom/ns#" term="pem" /><category scheme="http://www.blogger.com/atom/ns#" term="certificate" /><category scheme="http://www.blogger.com/atom/ns#" term="intermediate certificate" /><title>SSL: the basics and deeper</title><content type="html">I had to troubleshoot some natty SSL (Secure Sockets Layer) certificate issues and thought I'd add these informative articles that I found in my research.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://ssl.trustwave.com/support/support-how-ssl-works.php"&gt;SSL Basics&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Technical&lt;/span&gt;&lt;br /&gt;From the high level down to the more detailed&lt;br /&gt;&lt;a href="http://sericontech.com/Downloads/Introduction_to_SSL.pdf"&gt;http://sericontech.com/Downloads/Introduction_to_SSL.pdf&lt;/a&gt;&lt;br /&gt;&lt;a href="http://publib.boulder.ibm.com/infocenter/tpfhelp/current/index.jsp?topic=/com.ibm.ztpf-ztpfdf.doc_put.cur/gtps5/s5why.html"&gt;http://publib.boulder.ibm.com/infocenter/tpfhelp/current/index.jsp?topic=/com.ibm.ztpf-ztpfdf.doc_put.cur/gtps5/s5why.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.codeguru.com/cpp/i-n/internet/securesocketlayerssl/article.php/c6187"&gt;http://www.codeguru.com/cpp/i-n/internet/securesocketlayerssl/article.php/c6187&lt;/a&gt;&lt;br /&gt;&lt;a href="http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086407/SSL-Profiles-Part-2.aspx"&gt;SSL: certs, cert types, CAs, cert chain, formats&lt;/a&gt;&lt;br /&gt;&lt;a href="http://docs.sun.com/source/816-6156-10/contents.htm"&gt;http://docs.sun.com/source/816-6156-10/contents.htm&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Admins&lt;br /&gt;&lt;a href="https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&amp;amp;id=AR657"&gt;Verisign Intermediate Certificate information&lt;/a&gt;&lt;br /&gt;&lt;a href="https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&amp;amp;id=AR212"&gt;Verisign Intermediate Certificate Install Instructions&lt;/a&gt;&lt;br /&gt;&lt;a href="http://curl.haxx.se/docs/sslcerts.html"&gt;Curl/openssl command line options for working with certificates&lt;/a&gt;&lt;br /&gt;&lt;a href="http://martijno.blogspot.com/2009/06/intermediate-certificates-in-my-local.html"&gt;OpenSSL commands from a blog article&lt;/a&gt;&lt;br /&gt;&lt;a href="http://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086405/SSL-Profiles-Part-1.aspx"&gt;SSL Handshake&lt;/a&gt;&lt;br /&gt;&lt;a href="http://tinyca.sm-zone.net/"&gt;GUI Front-end to OpenSSL: TinyCA&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For Developers&lt;br /&gt;&lt;a href="http://www.nikhef.nl/pub/projects/grid/gridwiki/index.php/How_to_handle_OpenSSL_and_not_get_hurt"&gt;Using the OpenSSL libraries&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Validators&lt;br /&gt;&lt;a href="http://www.sslshopper.com/ssl-checker.html"&gt;SSL Checker&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Troubleshooting&lt;br /&gt;&lt;a href="http://www.sslshopper.com/ssl-certificate-not-trusted-error.html"&gt;SSL Certificate Not Trusted Error&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.cyberciti.biz/tips/debugging-ssl-communications-from-unix-shell-prompt.html"&gt;Debugging at the Command Line Using OpenSSL Basics&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.openssl.org/docs/apps/s_client.html"&gt;OpenSSL "s_client" Documentation&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.vanemery.com/Linux/Apache/openSSL.html"&gt;OpenSSL Tricks&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.madboa.com/geek/openssl/"&gt;OpenSSL Command-Line HOWTO&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.openssl.org/docs/apps/verify.html"&gt;OpenSSL "verify" error output&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.herongyang.com/crypto/openssl_verify_2.html"&gt;Nice example of how to use the "verify" command&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-2920876107289701910?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4gofJBJlLcRR6764zPukJ-2zh7s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4gofJBJlLcRR6764zPukJ-2zh7s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4gofJBJlLcRR6764zPukJ-2zh7s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4gofJBJlLcRR6764zPukJ-2zh7s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/Df6LBqM9v5M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/2920876107289701910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=2920876107289701910" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2920876107289701910?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/2920876107289701910?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/Df6LBqM9v5M/ssl-basics-and-deeper.html" title="SSL: the basics and deeper" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2010/12/ssl-basics-and-deeper.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YBRHg_eip7ImA9Wx9TEE8.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-1919830704398862798</id><published>2010-11-17T14:18:00.010-05:00</published><updated>2010-11-17T15:19:15.642-05:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-11-17T15:19:15.642-05:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="gnuplot" /><category scheme="http://www.blogger.com/atom/ns#" term="bash" /><category scheme="http://www.blogger.com/atom/ns#" term="shell script" /><category scheme="http://www.blogger.com/atom/ns#" term="cgi" /><title>setting up IIS to use shell scripts as CGI scripts</title><content type="html">Because I'm old school and love shell scripts, I wanted to kick off a shell script from my web browser.  In this case, my shell script would sort through a text file, use gnuplot to output a graphic as a png and then display the script in the browser.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Setup IIS to execute shell scripts&lt;/span&gt;&lt;br /&gt;I won't belabor how to setup your web server to execute shell scripts, as the link below &lt;a href="http://technet.microsoft.com/en-us/library/cc738130%28WS.10%29.aspx"&gt;Installing CGI Applications in IIS 6.0&lt;/a&gt; explains most of the steps.  However, I will call out one caveat that was tricky to setup.  I use Cygwin to write my shell scripts, so I wanted IIS to use Cygwin's sh.exe as the shell script command interpreter.  The nut here is that I needed to add a special configuration in order to have IIS execute Cygwin's script interpreter.  Here's how to do this.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;right-click on the cgi folder&lt;/li&gt;&lt;li&gt;click Properties&lt;/li&gt;&lt;li&gt;select the Virtual Directory tab&lt;/li&gt;&lt;li&gt;click Configuration&lt;/li&gt;&lt;li&gt;click Add and type the following:&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;C:\cygwin\bin\sh.exe "%s" "%s"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Create a Simple Shell Script as a CGI&lt;/span&gt;&lt;br /&gt;It is useful to setup a simple script in order to test that IIS is calling sh.exe properly.  Here is mine:&lt;br /&gt;&lt;span style="font-size:70%;"&gt;#!/bin/sh&lt;br /&gt;echo "HTTP/1.0 200 OK"&lt;br /&gt;echo "Content-type: text/html"&lt;br /&gt;echo&lt;br /&gt;echo "&amp;#60;HTML&amp;#62;&amp;#60;HEAD&amp;#62;&amp;#60;TITLE&amp;#62;environment variables test&amp;#60;/TITLE&amp;#62;&amp;#60;/HEAD&amp;#62;"&lt;br /&gt;echo "&amp;#60;BODY&amp;#62;"&lt;br /&gt;/usr/bin/env &amp;#166; /usr/bin/sort &lt;br /&gt;echo "&amp;#60;/BODY&amp;#62;&amp;#60;/HTML&amp;#62;"&lt;br /&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Remember that this script is essentially hand-rolling an HTTP response.  Breaking it down:&lt;br /&gt;1. Send the header:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;echo "HTTP/1.0 200 OK"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;echo "Content-type: text/html"&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;2. Make sure you send a blank line (\n\r )&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;echo&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;3. After the header and the blank line, send out well-formed HTML&lt;br /&gt;&lt;span style="font-size:70%;"&gt;echo "&amp;#60;HTML&amp;#62;&amp;#60;HEAD&amp;#62;&amp;#60;TITLE&amp;#62;environment variables test&amp;#60;/TITLE&amp;#62;&amp;#60;/HEAD&amp;#62;"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;4. Plop some shell functions in there to verify that sh.exe is interpreting commands correctly.  In this example, I am printing out and sorting the results of the "env" command.  The "env" command prints out the IIS working set of environment variables.  Make sure to put the full path in your command string:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;/usr/bin/env ¦ /usr/bin/sort &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;5. Close your HTML&lt;br /&gt;&lt;span style="font-size:70%;"&gt;echo "&amp;#60;/BODY&amp;#62;&amp;#60;/HTML&amp;#62;"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;6. Exit the script&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Reference the script in the HTML of a test page:&lt;br /&gt;&lt;span style="font-size:70%;"&gt;&amp;#60;a href="/cgi-bin/env.sh"&amp;#62;click me&amp;#60;/a&amp;#62;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here is the output of the script&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_bcLw_LVf5nA/TOQ0LMusxkI/AAAAAAAABAk/oss2y6lgDf8/s1600/envShellExec.jpg"&gt;&lt;img style="cursor: pointer; width: 400px; height: 298px;" src="http://3.bp.blogspot.com/_bcLw_LVf5nA/TOQ0LMusxkI/AAAAAAAABAk/oss2y6lgDf8/s400/envShellExec.jpg" alt="" id="BLOGGER_PHOTO_ID_5540610808572855874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This is a very simple script, but you can see that the sucker works.  As it took a good two hours of finagling, I thought it worthwhile to post these instructions and links to further reading. &lt;br /&gt;&lt;br /&gt;My gnuplot script is much more involved.  If interested, drop me a line and I can send you that script or maybe post another blog article about how to create it.&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br /&gt;TAG&lt;br /&gt;&lt;br /&gt;References&lt;br /&gt;&lt;a href="http://www.ietf.org/rfc/rfc3875.txt"&gt;Common Gateway Interface (CGI)&lt;/a&gt;&lt;br /&gt;&lt;a href="http://blog.crowe.co.nz/blog/archive/2005/08/26/231.aspx"&gt;Short list of HTTP status codes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc738130%28WS.10%29.aspx"&gt;Installing CGI Applications in IIS 6.0&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.freeopenbook.com/win-xp-annoyances/9-10.htm"&gt;Writing CGI Scripts for a Web Server&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-1919830704398862798?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Ym9F2TMWIu6HF3BymzSQeJjO1e8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ym9F2TMWIu6HF3BymzSQeJjO1e8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Ym9F2TMWIu6HF3BymzSQeJjO1e8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Ym9F2TMWIu6HF3BymzSQeJjO1e8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/n8dKux69oZo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/1919830704398862798/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=1919830704398862798" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/1919830704398862798?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/1919830704398862798?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/n8dKux69oZo/setting-up-iis-to-use-shell-scripts-as.html" title="setting up IIS to use shell scripts as CGI scripts" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_bcLw_LVf5nA/TOQ0LMusxkI/AAAAAAAABAk/oss2y6lgDf8/s72-c/envShellExec.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2010/11/setting-up-iis-to-use-shell-scripts-as.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0YDRnwycSp7ImA9WhZSGE0.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-7150569704196344487</id><published>2010-10-30T18:51:00.013-04:00</published><updated>2011-04-03T01:39:37.299-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-03T01:39:37.299-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mysql" /><category scheme="http://www.blogger.com/atom/ns#" term="mysql-server" /><title>quick LAMP install in fedora</title><content type="html">I wanted to create a database of songs for my band, &lt;a href="http://www.stormpigs.com/"&gt;the stormpigs&lt;/a&gt;, and figured I use the Linux Apache Mysql Php (LAMP) stack to do it.  Having this goal in mind, here are a few notes on installing apache, mysql, php, phpmyadmin in fedora.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1) install apache&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;yum install httpd&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) start apache&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@box /]# service httpd start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using ::1 for ServerName&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;                                                           [  OK  ]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3) install mysql and mysql-server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@ogre /]# yum install mysql mysql-server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Loaded plugins: presto, refresh-packagekit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Setting up Install Process&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Resolving Dependencies&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&amp;gt; Running transaction check&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&amp;gt; Package mysql.x86_64 0:5.1.47-2.fc12 set to be installed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&amp;gt; Package mysql-server.x86_64 0:5.1.47-2.fc12 set to be installed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.47-2.fc12.x86_64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: perl-DBI for package: mysql-server-5.1.47-2.fc12.x86_64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: perl(DBI) for package: mysql-server-5.1.47-2.fc12.x86_64&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&amp;gt; Running transaction check&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&amp;gt; Package perl-DBD-MySQL.x86_64 0:4.017-1.fc12 set to be installed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;---&amp;gt; Package perl-DBI.x86_64 0:1.609-3.fc12 set to be installed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--&amp;gt; Finished Dependency Resolution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Dependencies Resolved&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;====================================================================================================================================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; Package                                        Arch                                   Version                                        Repository                               Size&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;====================================================================================================================================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installing:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; mysql                                   x86_64                                   5.1.47-2.fc12                                      &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; mysql-server                                   x86_64                                 5.1.47-2.fc12                                  updates                                 9.4 M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installing for dependencies:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; perl-DBD-MySQL                                 x86_64                                 4.017-1.fc12                                   updates                                 161 k&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; perl-DBI                                       x86_64                                 1.609-3.fc12                                   fedora                                  695 k&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Transaction Summary&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;====================================================================================================================================================================================&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Install       3 Package(s)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Total download size: 9.3 M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Installed size: 27 M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Is this ok [y/N]: y&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4) start your mysql server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@box /]# &lt;span style="font-weight: bold;"&gt;/etc/init.d/mysql start&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;or&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@box /]# &lt;span style="font-weight: bold;"&gt;service mysqld start&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Initializing MySQL database:  Installing MySQL system tables...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;OK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Filling help tables...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;OK&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;To start mysqld at boot time you have to copy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;support-files/mysql.server to the right place for your system&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;To do so, start the server, then issue the following commands:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/usr/bin/mysqladmin -u root password 'new-password'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/usr/bin/mysqladmin -u root -h ogre password 'new-password'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Alternatively you can run:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/usr/bin/mysql_secure_installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;which will also give you the option of removing the test&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;databases and anonymous user created by default.  This is&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;strongly recommended for production servers.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;See the manual for more instructions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;You can start the MySQL daemon with:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;cd /usr ; /usr/bin/mysqld_safe &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;You can test the MySQL daemon with mysql-test-run.pl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;cd /usr/mysql-test ; perl mysql-test-run.pl&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Please report any problems with the /usr/bin/mysqlbug script!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;                                                           [  OK  ]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Starting MySQL:                                            [  OK  ]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5) setup mysql database root password&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@box /]# &lt;span style="font-weight: bold;"&gt;mysqladmin -u root password 'password'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sample login:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ip-10-203-5-13:~ # mysql -u root -p&lt;br /&gt;Enter password:&lt;br /&gt;Welcome to the MariaDB monitor.  Commands end with ; or \g.&lt;br /&gt;Your MariaDB connection id is 17&lt;br /&gt;Server version: 5.1.44b-MariaDB-log SUSE MariaDB RPM&lt;br /&gt;&lt;br /&gt;Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.&lt;br /&gt;&lt;br /&gt;MariaDB [(none)]&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6) install php and phpmyadmin&lt;/span&gt;&lt;br /&gt;(installing phpmyadmin installs all you'll need)&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@box ~]$ &lt;span style="font-weight: bold;"&gt;sudo yum install phpmyadmin&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Loaded plugins: presto, refresh-packagekit&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Setting up Install Process&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Resolving Dependencies&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Running transaction check&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package phpMyAdmin.noarch 0:3.3.7-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php-gd &amp;gt;= 5.2.0 for package: phpMyAdmin-3.3.7-1.fc12.noarch&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php-mbstring &amp;gt;= 5.2.0 for package: phpMyAdmin-3.3.7-1.fc12.noarch&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php-mysql &amp;gt;= 5.2.0 for package: phpMyAdmin-3.3.7-1.fc12.noarch&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php &amp;gt;= 5.2.0 for package: phpMyAdmin-3.3.7-1.fc12.noarch&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php-mcrypt &amp;gt;= 5.2.0 for package: phpMyAdmin-3.3.7-1.fc12.noarch&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Running transaction check&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php-common = 5.3.3-1.fc12 for package: php-5.3.3-1.fc12.x86_64&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php-cli = 5.3.3-1.fc12 for package: php-5.3.3-1.fc12.x86_64&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php-gd.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.3.3-1.fc12.x86_64&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php-mbstring.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php-mcrypt.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.3.3-1.fc12.x86_64&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php-mysql.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Processing Dependency: php-pdo for package: php-mysql-5.3.3-1.fc12.x86_64&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Running transaction check&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package libmcrypt.x86_64 0:2.5.8-9.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php-cli.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php-common.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package php-pdo.x86_64 0:5.3.3-1.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;---&amp;gt; Package t1lib.x86_64 0:5.1.2-5.fc12 set to be installed&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;--&amp;gt; Finished Dependency Resolution&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;Dependencies Resolved&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;====================================================================================================================================================================================&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; Package                                       Arch                                    Version                                       Repository                                Size&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;====================================================================================================================================================================================&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Installing:&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; phpMyAdmin                                    noarch                                  3.3.7-1.fc12                                  updates                                  3.6 M&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Installing for dependencies:&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; libmcrypt                                     x86_64                                  2.5.8-9.fc12                                  fedora                                    92 k&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php                                           x86_64                                  5.3.3-1.fc12                                  updates                                  1.1 M&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php-cli                                       x86_64                                  5.3.3-1.fc12                                  updates                                  2.2 M&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php-common                                    x86_64                                  5.3.3-1.fc12                                  updates                                  521 k&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php-gd                                        x86_64                                  5.3.3-1.fc12                                  updates                                  105 k&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php-mbstring                                  x86_64                                  5.3.3-1.fc12                                  updates                                  452 k&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php-mcrypt                                    x86_64                                  5.3.3-1.fc12                                  updates                                   30 k&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php-mysql                                     x86_64                                  5.3.3-1.fc12                                  updates                                   77 k&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; php-pdo                                       x86_64                                  5.3.3-1.fc12                                  updates                                   71 k&lt;/span&gt; &lt;span style="font-family:courier new;"&gt; t1lib                                         x86_64                                  5.1.2-5.fc12                                  fedora                                   153 k&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;Transaction Summary&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;====================================================================================================================================================================================&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Install      11 Package(s)&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;Total download size: 8.3 M&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Installed size: 31 M&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;Is this ok [y/N]: y&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8) inspect the environment&lt;/span&gt;&lt;br /&gt;Create a file called phpinfo.php and place it in the webroot of apache, usually /var/www/html&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;[root@box /]# cat /var/www/html/phpinfo.php &lt;/span&gt;&lt;br /&gt;&amp;lt; ? &lt;span style="font-family:courier new;"&gt; &lt;span style="font-family:courier new;"&gt;   phpinfo();&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;?&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;This is a very nice utility that inspects your php and apache environment showing headers, modules, etc.&lt;br /&gt;&lt;a href="http://2.bp.blogspot.com/_bcLw_LVf5nA/TMypnijJ-SI/AAAAAAAAA_4/2df_iwb2JdM/s1600/phpinfo.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor: pointer; width: 400px; height: 399px;" src="http://2.bp.blogspot.com/_bcLw_LVf5nA/TMypnijJ-SI/AAAAAAAAA_4/2df_iwb2JdM/s400/phpinfo.png" alt="" id="BLOGGER_PHOTO_ID_5533984538885749026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;9) login to phpMyAdmin&lt;br /&gt;Visit http://localhost/phpmyadmin.  You will be prompted to enter the username and password of an authorized user (root, usually).&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_bcLw_LVf5nA/TMyqs2CucfI/AAAAAAAABAI/p4ezU0SC_2k/s1600/phpMyAdmin.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="cursor: pointer; width: 400px; height: 304px;" src="http://4.bp.blogspot.com/_bcLw_LVf5nA/TMyqs2CucfI/AAAAAAAABAI/p4ezU0SC_2k/s400/phpMyAdmin.png" alt="" id="BLOGGER_PHOTO_ID_5533985729529410034" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Those are the basics of a LAMP install.  More to come.&lt;br /&gt;TAG&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Troubleshooting&lt;/span&gt;&lt;br /&gt;If you setup mysql, but not the server component, you'll get this error&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;References&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.flmnh.ufl.edu/linux/install_apache.htm"&gt;http://www.flmnh.ufl.edu/linux/install_apache.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://wiki.phpmyadmin.net/pma/Welcome_to_phpMyAdmin_Wiki"&gt;http://wiki.phpmyadmin.net/pma/Welcome_to_phpMyAdmin_Wiki&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;a href="http://www.analysisandsolutions.com/code/mysql-tutorial.htm"&gt;MySQL Tutorial&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-7150569704196344487?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/G6Xd-V-6J4rkk_5dOXUb8LY8cUg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G6Xd-V-6J4rkk_5dOXUb8LY8cUg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/G6Xd-V-6J4rkk_5dOXUb8LY8cUg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/G6Xd-V-6J4rkk_5dOXUb8LY8cUg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/AOIGVOxfvFM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/7150569704196344487/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=7150569704196344487" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/7150569704196344487?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/7150569704196344487?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/AOIGVOxfvFM/quick-lamp-install-in-fedora.html" title="quick LAMP install in fedora" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_bcLw_LVf5nA/TMypnijJ-SI/AAAAAAAAA_4/2df_iwb2JdM/s72-c/phpinfo.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2010/10/quick-lamp-install-in-fedora.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYFQnY6cCp7ImA9Wx5XE0Q.&quot;"><id>tag:blogger.com,1999:blog-10880212.post-545020801242090719</id><published>2010-09-09T16:53:00.005-04:00</published><updated>2010-09-13T12:58:33.818-04:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-09-13T12:58:33.818-04:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="imagemagick convert" /><category scheme="http://www.blogger.com/atom/ns#" term="shell script" /><category scheme="http://www.blogger.com/atom/ns#" term="dhcp" /><title>DHCP renewals interrupt shell script</title><content type="html">I was running a script to convert a bunch of Canon 5D photos from high res to HD resolution and noticed the script would die after 15-30 minutes.  &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It didn't seem likely that "convert" would die, as the script logged into the server that I was using to execute convert and I only executed convert once on that server:&lt;div&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;for FILE in $(cat $FILES)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;do&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    COUNT=$(expr $COUNT + 1)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    NEWFILE=$(echo $FILE | sed 's/Remote\(.*\)/new\/\1/g')&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    echo "FILE $COUNT of $NUMFILES is $FILE, NEWFILE is $NEWFILE"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    echo "converting $FILE to $NEWFILE"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    ssh $CRED "/opt/local/bin/convert -verbose -resize 1920x1280 $FILE  $NEWFILE"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    echo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    #break&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;done&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Snooping in /var/log/syslog, I found that the DHCP server was renewing my IP address every 28 minutes or so:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Sep  8 07:47:52  ubuntu NetworkManager: &lt;info&gt;    address 192.168.0.95&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 05:02:22 ubuntu  NetworkManager: &lt;info&gt;    address 192.168.0.95&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 05:26:27 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed bound  -&gt; expire&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 05:26:27 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed expire  -&gt; preinit&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 05:26:28 ubuntu  NetworkManager: &lt;info&gt;    address 192.168.0.96&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 05:53:04 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed bound  -&gt; expire&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 05:53:04 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed expire  -&gt; preinit&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 05:53:08 ubuntu  NetworkManager: &lt;info&gt;    address 192.168.0.97&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 06:21:25 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed bound  -&gt; expire&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 06:21:25 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed expire  -&gt; preinit&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 06:21:26 ubuntu  NetworkManager: &lt;info&gt;    address 192.168.0.98&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 06:50:47 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed bound  -&gt; expire&lt;/info&gt;&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;Sep  8 06:50:47 ubuntu  NetworkManager: &lt;info&gt;  DHCP: device eth0 state changed expire  -&gt; preinit&lt;/info&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What the hell?  So I manually set the IP address of the box using these instructions from Jonathan Moeller:&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.jonathanmoeller.com/screed/?p=1669"&gt;http://www.jonathanmoeller.com/screed/?p=1669&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The comment from Anurag fit my bill the best; ie, giving the complete network info to the /etc/network/interfaces files, including network and broadcast IPs.&lt;/div&gt;&lt;div&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ubuntu:~$ cat /etc/network/interfaces&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;auto eth0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;iface eth0 inet static&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;address 192.168.0.98&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;netmask 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;gateway 192.168.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;network 192.168.0.0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;broadcast 192.168.0.255&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;cheers, &lt;/div&gt;&lt;div&gt;sodo&lt;/div&gt;&lt;div&gt;&lt;br /&gt;Update 2010/09/13&lt;br /&gt;Here's an example of a simple interfaces file with dynamic setting:&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;auto lo&lt;br /&gt;iface lo inet loopback&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/10880212-545020801242090719?l=www.techanswerguy.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/je_v3sHY4t4QYEZiAcxfB0gul0A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/je_v3sHY4t4QYEZiAcxfB0gul0A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/je_v3sHY4t4QYEZiAcxfB0gul0A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/je_v3sHY4t4QYEZiAcxfB0gul0A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/TechAnswerGuy/~4/W2tTzzAIjMg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://www.techanswerguy.com/feeds/545020801242090719/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=10880212&amp;postID=545020801242090719" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/545020801242090719?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/10880212/posts/default/545020801242090719?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/TechAnswerGuy/~3/W2tTzzAIjMg/dhcp-renewals-interrupt-shell-script.html" title="DHCP renewals interrupt shell script" /><author><name>Cacasodo</name><uri>http://www.blogger.com/profile/05422708734815721628</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="http://1.bp.blogspot.com/-Ich2LFD-cbQ/TxxPBiR8NHI/AAAAAAAABR4/Y5vkkHHFSxI/s220/crazedmule.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://www.techanswerguy.com/2010/09/dhcp-renewals-interrupt-shell-script.html</feedburner:origLink></entry></feed>

