<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-37110245</id><updated>2024-02-20T12:30:26.889-07:00</updated><category term="Digg"/><category term="Linux"/><title type='text'>Sanity Is Around The Corner</title><subtitle type='html'>Network Admin, Sys Admin, Solaris, Linux, and I&#39;m sure I&#39;ll have some anti-M$</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default?alt=atom'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-37110245.post-1189686630340315681</id><published>2007-05-01T17:59:00.000-06:00</published><updated>2007-05-01T18:00:52.302-06:00</updated><title type='text'>I posted it you bums</title><content type='html'>09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/1189686630340315681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/1189686630340315681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/1189686630340315681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/1189686630340315681'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2007/05/i-posted-it-you-bums.html' title='I posted it you bums'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-6897219975208388761</id><published>2006-12-13T21:04:00.000-07:00</published><updated>2006-12-13T21:05:17.623-07:00</updated><title type='text'>I suck</title><content type='html'>Bahhhh, I suck at blogging. To lazy and I&#39;m just uninteresting.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/6897219975208388761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/6897219975208388761' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/6897219975208388761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/6897219975208388761'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/12/i-suck.html' title='I suck'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-8329026739996653535</id><published>2006-11-29T22:08:00.000-07:00</published><updated>2006-11-29T22:15:52.164-07:00</updated><title type='text'>Some PHP and MySQL Fun</title><content type='html'>So at work we have an application that shows the hotel staff the status of their network. I wrote it a long time ago when I was first learning PHP, soooooo it sucked. I&#39;ve finally gotten to rewriting it, and I must say its a whooole lot better. Before I wasn&#39;t even using MySQL because I didn&#39;t know how (I think anyway. I might have just thought it was better to use a flat file. . . man I&#39;m an idiot). So now the status is shown kinda graphically and all pretty like!&lt;br /&gt;&lt;br /&gt;I&#39;ve learned some more with CSS and each thing is in DIVs. Kinda like modules. It looks pretty sweet if I must say. I&#39;ve yet to make an admin interface for it, but it will be pretty good and easy. I&#39;m actually going to make an admin interface for everything, but that might take a while. So we&#39;ll see how that goes.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/8329026739996653535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/8329026739996653535' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/8329026739996653535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/8329026739996653535'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/some-php-and-mysql-fun.html' title='Some PHP and MySQL Fun'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-2756914303587024465</id><published>2006-11-19T22:32:00.000-07:00</published><updated>2006-11-19T22:47:25.395-07:00</updated><title type='text'>Freemind in Ubuntu 6.10</title><content type='html'>So I&#39;m installing Freemind on Ubuntu and it isn&#39;t perfect, but easy enough. Thought I would just make a quick mention on how I did it. Installing Java seems easier than previous versions of Ubuntu. Just go to Add/Remove in the main menu, search for &quot;sun java&quot; and install what you like.&lt;br /&gt;&lt;br /&gt;To get Freemind to work, &lt;a href=&quot;http://sourceforge.net/project/showfiles.php?group_id=7118&amp;package_id=161831&amp;amp;release_id=355162&quot;&gt;download&lt;/a&gt; the deb package and the libforms deb package. Install them with &quot;&lt;code&gt;dpkg -i pkg-name&lt;/code&gt;&quot;. I also got an error when I tried to run it:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;border: 1px inset ; margin: 0px; padding: 6px; background: rgb(255, 255, 255) none repeat scroll 0% 50%; overflow: auto; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: 10pt; font-family: Arial;&quot;&gt;123@123:~/dl$ freemind&lt;br /&gt;Exception in thread &quot;main&quot; java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit&lt;br /&gt;at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)&lt;br /&gt;at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(libgcj.so.70)&lt;br /&gt;at java.awt.Window.&lt;init&gt;(libgcj.so.70)&lt;br /&gt;at java.awt.Frame.&lt;init&gt;(libgcj.so.70)&lt;br /&gt;at javax.swing.JFrame.&lt;init&gt;(libgcj.so.70)&lt;br /&gt;at freemind.main.FreeMind.&lt;init&gt;(FreeMind.java:107)&lt;br /&gt;at freemind.main.FreeMind.main(FreeMind.java:647)&lt;br /&gt;Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or directory&lt;br /&gt;at java.lang.Runtime._load(libgcj.so.70)&lt;br /&gt;at java.lang.Runtime.loadLibrary(libgcj.so.70)&lt;br /&gt;at java.lang.System.loadLibrary(libgcj.so.70)&lt;br /&gt;at gnu.java.awt.peer.gtk.GtkToolkit.&lt;clinit&gt;(libgcj.so.70)&lt;br /&gt;at java.lang.Class.initializeClass(libgcj.so.70)&lt;br /&gt;at java.lang.Class.forName(libgcj.so.70)&lt;br /&gt;at java.awt.Toolkit.getDefaultToolkit(libgcj.so.70)&lt;br /&gt;...6 more&lt;/clinit&gt;&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/init&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;So at &lt;a href=&quot;http://blog.siliconchaos.net/articles/2006/05/22/setting-up-freemind-in-ubuntu-dapper&quot;&gt;this site&lt;/a&gt; I found the solution in a comment. Run &quot;&lt;code&gt;sudo update-alternatives --config java&lt;/code&gt;&quot; and choose &quot;&lt;code&gt;/usr/lib/jvm/java-1.5.0-sun/jre/bin/java&lt;/code&gt;&quot;. Easy as that.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/2756914303587024465/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/2756914303587024465' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/2756914303587024465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/2756914303587024465'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/freemind-in-ubuntu-610.html' title='Freemind in Ubuntu 6.10'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-275897450703439964</id><published>2006-11-15T16:50:00.000-07:00</published><updated>2006-11-15T16:58:44.442-07:00</updated><title type='text'>Google Reader</title><content type='html'>I use Google Reader for my RSS needs, which have just started. I never really read many blogs or anything before about two weeks ago. But with the Reader I now read plenty of blogs and it makes things quite easier. The Reader gadget for Google home page is really cool and I use that mainly really. Also podcasts are cool if done right. The great posts on the right is from my Reader shared list and you can also look at the &lt;a href=&quot;http://www.google.com/reader/shared/16033543753280237331&quot;&gt;complete list&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Its not complete yet (still in labs), like it won&#39;t do authenticated feeds, and the folders are really weird. You have to put the feed in a folder when you add it and can&#39;t change it again unless you remove and add the feed again. But otherwise, its great so go take a look at &lt;a href=&quot;http://reader.google.com&quot;&gt;reader.google.com&lt;/a&gt;. Also the &lt;a href=&quot;http://googlereader.blogspot.com/&quot;&gt;Reader blog&lt;/a&gt; is great too. There are some interviews of the developers and more!</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/275897450703439964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/275897450703439964' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/275897450703439964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/275897450703439964'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/google-reader.html' title='Google Reader'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-8549332894442475979</id><published>2006-11-13T17:57:00.000-07:00</published><updated>2006-11-13T18:01:28.250-07:00</updated><title type='text'>I R Stoopid</title><content type='html'>&lt;a onblur=&quot;try {parent.deselectBloggerImageGracefully();} catch(e) {}&quot; href=&quot;http://wdr1.com/blog/img/halp_us.jpg&quot;&gt;&lt;img style=&quot;margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;&quot; src=&quot;http://wdr1.com/blog/img/halp_us.jpg&quot; alt=&quot;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;I know this has been blogged all over the place now, but it is funny. Gave me a chuckle anyway.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/8549332894442475979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/8549332894442475979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/8549332894442475979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/8549332894442475979'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/i-know-this-has-been-blogged-all-over.html' title='I R Stoopid'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-2953866058127457680</id><published>2006-11-12T18:20:00.000-07:00</published><updated>2006-11-12T18:39:02.129-07:00</updated><title type='text'>VMware-player</title><content type='html'>I discovered the free &lt;a href=&quot;http://www.vmware.com/products/player/&quot;&gt;VMware-player&lt;/a&gt; the other day and decided to try it by installing Windows on Ubuntu. I&#39;ve used &lt;a href=&quot;http://fabrice.bellard.free.fr/qemu/&quot;&gt;Qemu&lt;/a&gt; before, but it wasn&#39;t quite what I expected. It was pretty slow and I couldn&#39;t get the Qemu accelerator to work. So it worked, but I never used it.&lt;br /&gt;&lt;br /&gt;I found &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=84275&quot;&gt;this how-to&lt;/a&gt; with Google and worked just fine. I didn&#39;t do everything it says, like using qemu-img instead of wine with the windows version of Qemu. But you can use the same arguments and the image will be made. I also didn&#39;t make the ISO the way the how-to says. I saw &lt;a href=&quot;http://ubuntuforums.org/showpost.php?p=1339690&amp;postcount=260&quot;&gt;this post&lt;/a&gt; and used this command to make the ISO:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;border: 1px inset ; margin: 0px; padding: 6px; background: rgb(255, 255, 255) none repeat scroll 0% 50%; overflow: auto; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: 10pt; font-family: Arial;&quot;&gt;dd if=/dev/hdc of=winxp.iso&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;I got rid of the floppy stuff in the vmx file and it installed just fine and worked. On my desktop the virtual net doesn&#39;t work. I can&#39;t figure out why, there doesn&#39;t seem to be anything in the log files. My laptop worked perfectly, even installed service pack 2. The speed isn&#39;t bad so I&#39;m pretty happy with it.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/2953866058127457680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/2953866058127457680' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/2953866058127457680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/2953866058127457680'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/vmware-player.html' title='VMware-player'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-2808648789293255847</id><published>2006-11-12T12:17:00.000-07:00</published><updated>2006-11-12T12:19:11.793-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Digg"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Digg and Linux Don&#39;t Mix</title><content type='html'>I use Digg pretty often. I have a couple feeds on my Google home page. I most often check out the stories in the Linux/Unix section. Sometimes there are some great articles there, and I learn some stuff. But usually the comments left behind by the Digg Linux/Unix community just plain . . . . . suck.&lt;br /&gt;&lt;br /&gt;Lets just say I&#39;ve never seen or been a part of such a horrible Linux community. Most of the comments are just petty attacks on one another. The Gentoo fans ALWAYS complain about there being to many Ubuntu articles. Would you guys just shutup. If you don&#39;t like articles with Ubuntu in the title then don&#39;t read and comment about them! Yes there are a lot of  Ubuntu  articles , but thats because its very popular right now. Many new users switch to Ubuntu, and all of the Linux community should be happy about that. Means less people using Windows right? This is a good thing guys.&lt;br /&gt;&lt;br /&gt;But so many of the Ubuntu users do the same. They bash the Gentoo guys about having to wait through hours and hours of compiling. These guys just know what they want and have the time to do it. Thats perfectly ok.&lt;br /&gt;&lt;br /&gt;There is a time and place for every Linux distro. I&#39;ve used many: Slackware, Gentoo, Mandrake, Fedora, Ubuntu, and some others. Each one has its strengths and weaknesses. I actually use to use FreeBSD as my desktop. It took a while, but I got it exactly how I wanted. But that was in high school, when I had time. Now I use Ubuntu, because I&#39;m more productive on it. Things don&#39;t take forever to get to work, especially for my job. Although I&#39;m thinking about switching my desktop at home to something like Gentoo, because I want more control. But my laptop for work would need to stay Ubuntu. I also still use FreeBSD on my little home server. Works great.&lt;br /&gt;&lt;br /&gt;We should all be banding together to get more users to Linux. The distro should not matter. Maybe after the user has used Linux for a while convince them to switch to your distro of choice, but first things first.&lt;br /&gt;&lt;br /&gt;So lets all get together and wipe out those Windows partitions (or at least dual boot them).</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/2808648789293255847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/2808648789293255847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/2808648789293255847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/2808648789293255847'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/digg-and-linux-dont-mix.html' title='Digg and Linux Don&#39;t Mix'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-116308942464775220</id><published>2006-11-09T09:11:00.000-07:00</published><updated>2006-11-10T20:52:32.127-07:00</updated><title type='text'>DHCP settings for Wanray</title><content type='html'>I&#39;ve been using sunrays behind firewalls and routers for a while now using other DHCP servers to hand out the correct attributes. But, I&#39;ve only found the right attributes in one place. &lt;a href=&quot;http://www.cse.nd.edu/%7Estriegel/HowTo/WANRay.html&quot;&gt;Here&lt;/a&gt; at Notre Dame&#39;s site, an assistant professor named &lt;a href=&quot;http://www.cse.nd.edu/%7Estriegel/&quot;&gt;Aaron Striegal&lt;/a&gt; made a short how-to. Here are the main things you must put in your dhcpd.conf:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;background: rgb(255, 255, 255) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;&quot;&gt;&lt;span style=&quot;;font-family:verdana;font-size:85%;&quot;  &gt;&lt;span style=&quot;font-style: italic;&quot;&gt;authoritative;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option space SUNW-NewT;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.AuthSrvr code 21 = ip-address;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.AuthPort code 22 = unsigned integer 16;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.NewTVer code 23 = text;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.LogHost code 24 = ip-address;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.LogKern code 25 = unsigned integer 8;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.LogNet code 26 = unsigned integer 8;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.LogUSB code 27 = unsigned integer 8;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.LogVid code 28 = unsigned integer 8;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.LogAppl code 29 = unsigned integer 8;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.FWSrvr code 31 = ip-address;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;option SUNW-NewT.Intf code 33 = text;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;class &quot;vendor-classes&quot; {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;  match option vendor-class-identifier;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;subclass &quot;vendor-classes&quot; &quot;SUNW.NewT.SUNW&quot; {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;  vendor-option-space SUNW-NewT;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;  option SUNW-NewT.AuthSrvr XXX.XX.XX.XXX;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-style: italic;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;Obviously you want to replace the Xs with your server&#39;s IP. The link is also in &lt;a href=&quot;http://del.icio.us/nahun&quot;&gt;my del.icio.us&lt;/a&gt;. The &lt;a href=&quot;http://blogs.sun.com/ThinkThin/entry/configuring_dhcp_options_49_and&quot;&gt;Think Thin blog&lt;/a&gt; also has some info on it. I also just put my feed on &lt;a href=&quot;http://www.feedburner.com&quot;&gt;feedburner&lt;/a&gt;, &lt;a href=&quot;http://feeds.feedburner.com/sanity-corner&quot;&gt;check it out&lt;/a&gt;.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/116308942464775220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/116308942464775220' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116308942464775220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116308942464775220'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/dhcp-settings-for-wanray.html' title='DHCP settings for Wanray'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-116301758474794286</id><published>2006-11-08T13:15:00.000-07:00</published><updated>2006-11-10T20:52:31.794-07:00</updated><title type='text'>Webcam Fun</title><content type='html'>At work we&#39;ve got a couple webcams for hotels being built. They are a new type of suites brand for Choice. Look &lt;a href=&quot;http://www.cambriasuiteslive.com&quot;&gt;here&lt;/a&gt; for the webcams. Managing the images for the webcams have been just &quot;great&quot;!&lt;br /&gt;&lt;br /&gt;The webcam is a Toshiba network camera that records images to a FTP server onsite. We record one image every 30 seconds. That makes to be a LOT of images. Typically, about 1.5 gigs worth a week. I wrote scripts to move the last days images, tar them, then FTP that tar file to our main co-lo&#39;ed server. Then every once in a while (months sometimes) I grab those tar files and then extract them and burn the images on DVDs. Burning 5000 images isn&#39;t cool. The longest part is waiting for Nero to load up the list of images so I can add them.&lt;br /&gt;&lt;br /&gt;With all the scripts now written, it makes it a lot easier though. I use to do a lot of crap (I don&#39;t feel like getting into it right now) to just keep from running out of space. Now everything is standardized and the files are centralized. Nice and easy, should be anyway. Burning still won&#39;t be cool, but oh well.&lt;br /&gt;&lt;br /&gt;Oh ya, take a look to the right. I&#39;ve got my shared google reader items up. I love google, just so cool.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/116301758474794286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/116301758474794286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116301758474794286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116301758474794286'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/webcam-fun.html' title='Webcam Fun'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-116286223530965843</id><published>2006-11-06T18:13:00.000-07:00</published><updated>2006-11-10T20:52:31.355-07:00</updated><title type='text'>Screw ITX Boxes</title><content type='html'>A long time ago, we got a bunch of ITX boxes for kiosks for hotels. I put Ubuntu on them and did some editing and made them kiosks. Firefox was the only application that came up and no one could exit it. Well, I had to do that in a week and I had no experience with it, so it sucked. We&#39;ve replaced them now with sunrays (whew), and now we have some of these back at the office.&lt;br /&gt;&lt;br /&gt;They SUCK! It seems that the hardware just dies. They were running, then I brought them back and formatted them and tried another install of Ubuntu (just the server part), and nothing will work. Some boxes won&#39;t even install it, some will but won&#39;t boot it. I&#39;ve tried multiple versions of Ubuntu, differents drives, cdroms, nothing. It is so weird. I just want one box that is good for a transparent proxy I need to make. It doesn&#39;t take much for this, so I just need one good machine. grrrrrrr . . .</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/116286223530965843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/116286223530965843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116286223530965843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116286223530965843'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/screw-itx-boxes.html' title='Screw ITX Boxes'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-116266972161217416</id><published>2006-11-04T12:47:00.000-07:00</published><updated>2006-11-10T20:52:30.991-07:00</updated><title type='text'>STTNG gone wild</title><content type='html'>Read &lt;a href=&quot;http://www.tvsquad.com/2006/10/27/star-trek-the-next-generation-where-no-one-has-gone-before/&quot;&gt;Wil&#39;s review&lt;/a&gt; of this episode. It is freaking hilarious. I read it days ago and I&#39;m starting to laugh again...</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/116266972161217416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/116266972161217416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116266972161217416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116266972161217416'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/sttng-gone-wild.html' title='STTNG gone wild'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-116266729356477532</id><published>2006-11-04T11:47:00.000-07:00</published><updated>2006-11-10T20:52:30.567-07:00</updated><title type='text'>Solaris Virtual Interfaces and NAT</title><content type='html'>At work I use a Sun X2100 with a AMD dual core 64bit. We colocate it at an ISP. Its got Solaris 10 on it with virtual interfaces on the bge0 interface. The nge0 if connects to the ISPs router and the other is for our network. I&#39;ve had it routing for quite some time. But now I needed to see if I could get NAT working too. Well it took a while (cause I&#39;m stupid), but I got it. &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-4554/6maoq024i?a=view&quot;&gt;Sun&#39;s docs&lt;/a&gt; really aren&#39;t bad when you find it. I had heard that getting NAT to work on virtual interfaces wouldn&#39;t work, but I went ahead with it.&lt;br /&gt;&lt;br /&gt;Using IPFilter obviously, I configured &lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;/etc/ipf/pfil.ap&lt;/span&gt; to load the modules (or whatever) for the interfaces. Then I configured &lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;/etc/ipf/ipnat.conf&lt;/span&gt; for plain old NAT. Heres my &lt;span style=&quot;font-weight: bold; font-style: italic;&quot;&gt;ipnat.conf&lt;/span&gt; with some edits.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold; font-style: italic;font-size:85%;&quot; &gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;map nge0 192.168.1.0/24 -&gt; 1.2.3.4/32 proxy port ftp ftp/tcp&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;map nge0 192.168.1.0/24 -&gt; 1.2.3.4/32 portmap tcp/udp auto&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;map nge0 192.168.1.0/24 -&gt; 1.2.3.4/32&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new;&quot;&gt;rdr nge0 1.2.3.4/32 port 70002 -&gt; 192.168.1.2 port 80&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So the first three lines are for NAT. It maps the private subnet to one of our public IPs on nge0. The first one is for something that goes wrong with FTP when using IPFilter for NAT. I&#39;m not quite sure, but all the docs say to use it. The second one is for using the higher ports or something. The third does the real thing. That last line is for portmapping. All the data that comes in on our public IP on port 70002 goes to 192.168.1.2 on port 80. Pretty simple.&lt;br /&gt;&lt;br /&gt;Now you must restart pfil. Then unplumb your interfaces then replumb them. Last is to restart IPFilter. I found I had to disable and enable it to work.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size:85%;&quot;&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;svcadm restart network/pfil&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;ifconfig nge0 unplumb&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;ifconfig bge0 unplumb&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;ifconfig nge0 plumb up&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;ifconfig nge0 1.2.3.4 netmask 255.255.255.248&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;ifconfig bge0:1 plumb up&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;ifconfig bge0:1 192.168.1.1 netmask 255.255.255.0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;svcadm disable ipfilter&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: courier new; font-weight: bold; font-style: italic;&quot;&gt;svcadm enable ipfilter&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then you should be good. I&#39;m not quite sure, but I think it may not work if you have your gateway interface (the public IP, or nge0 in this case) as a virtual interface. I&#39;d have to do some more testing, but I think thats right.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/116266729356477532/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/116266729356477532' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116266729356477532'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116266729356477532'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/solaris-virtual-interfaces-and-nat.html' title='Solaris Virtual Interfaces and NAT'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-37110245.post-116262504320190819</id><published>2006-11-04T00:19:00.000-07:00</published><updated>2006-11-10T20:52:30.140-07:00</updated><title type='text'>The Beginning</title><content type='html'>Just started using blogger.com because I&#39;m kind of tired of maintaining my own site. No one reads my blog now anyway, but hey its kinda fun. My site is &lt;a href=&quot;http://nahun.ath.cx&quot;&gt;nahun.ath.cx&lt;/a&gt;. I mostly blog about my job, network admin, sys admin. Mainly with Solaris now, but plenty of linux too. We&#39;ll see how much I can get into it.</content><link rel='replies' type='application/atom+xml' href='http://sanity-corner.blogspot.com/feeds/116262504320190819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/37110245/116262504320190819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116262504320190819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/37110245/posts/default/116262504320190819'/><link rel='alternate' type='text/html' href='http://sanity-corner.blogspot.com/2006/11/beginning.html' title='The Beginning'/><author><name>Nate Wheeler</name><uri>http://www.blogger.com/profile/12565061581702995674</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>