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

<channel>
	<title>Strog's Place &#187; Computers</title>
	<atom:link href="http://strog.org/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://strog.org</link>
	<description>Dale Shrauger's Website</description>
	<lastBuildDate>Mon, 07 Nov 2011 22:18:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Update PEM FVWM2 theme for OpenBSD</title>
		<link>http://strog.org/2007/update-pem-fvwm2-theme-for-openbsd/</link>
		<comments>http://strog.org/2007/update-pem-fvwm2-theme-for-openbsd/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 01:32:58 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/12-guid.html</guid>
		<description><![CDATA[So an email comes in the other day asking about PEM&#8217;s theme that I tweaked for FreeBSD. He was asking about running it on OpenBSD and wasn&#8217;t having much success. The problem is OpenBSD is using an older version (another oldish version in ports) and the theme requires some things from the &#8220;unstable&#8221; 2.5 series. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://strog.org/uploads/icons/FreeBSD.Thumb.png" border="0" alt="" hspace="5" width="47" height="50" align="left" /> So an email comes in the other day asking about PEM&#8217;s theme that I tweaked for FreeBSD. He was asking about running it on OpenBSD and wasn&#8217;t having much success. The problem is OpenBSD is using an older version (another oldish version in ports) and the theme requires some things from the &#8220;unstable&#8221; 2.5 series.  OpenBSD has integrated the last version (2.2.5) before the license change so it hasn&#8217;t been updated. There&#8217;s a 2.4.x port since that&#8217;s the &#8220;stable&#8221; branch. OpenBSD doesn&#8217;t import beta software into ports/packages. This is a great idea but unfortunately some things are in perpetual beta. FVWM 2.5.0 was released in Jan &#8217;02 so it&#8217;s only a month or so younger than my son and he started school this year. heheh</p>
<p>The first obstacle to overcome is getting 2.5.x on the machine. I found an <a href="http://babilu.metavers.net/openbsd/fvwm/">an unofficial 2.5.21 port</a> but it was giving me some errors on my OpenBSD 4.1 laptop. I look around some more but didn&#8217;t find a more recent port. I did find directions for <a href="http://bsdlamer.dev-zero.de/index.php?/archives/2-How-to-compile-fvwm-2.5.16-on-OpenBSD-3.83.9.html">compiling 2.5.16 on OpenBSD 3.8/3.9</a> so I pulled some configure options and hacked together a rough port of my own using version 2.5.23 since it&#8217;s current. My build errors went away but I had some errors on install while it was building the package. It was basically some man pages that existed but were in a different directory than it was looking for and a defaults file. I copied the man pages to the right working directory and created an empty defaults file. It installed fine and created a package. I used this package on a clean install since this laptop has been upgraded a couple times to be sure it was working cleanly. I upgraded both machines to OpenBSD 4.2 today and FVWM is still working fine.  I&#8217;m going to do a fresh install of 4.2 on the test machine and give the port another look to see if I can get it to compile and install cleanly.</p>
<p>Download and install the theme and it looks like it&#8217;s supposed to but the scripts for wifi, battery and volume aren&#8217;t working since it&#8217;s trying to pull values from FreeBSD&#8217;s sysctls. This was to be expected since the original scripts were on linux and pulling stuff from /proc. A little fiddling with wicontrol, apm and mixerctl using awk, cut, etc. and I had working scripts again. I just added the FreeBSD portions of the scripts back in and used uname and some if statements to determine which to run. I guess I could add the linux version back in for completeness.</p>
<p>I did notice I was missing a couple things on the fresh install since it was pretty minimal. I needed to add ImageMagick, imlib and Esetroot (from eterm port) to get everything working. If you already have a fairly complete desktop then you likely already have it all but just double check before you decide it&#8217;s not working. You&#8217;ll also need to edit ~/.fvwm/config to set the path to your icons and set your preferred apps. I&#8217;m using aterm for the terminal and aumix for the volume but you can change it easily enough in the config file.</p>
<p>Here&#8217;s what it looks like now:</p>
<p><img src="http://strog.org/pics/images/screenshots/neon-2007-11-01-fvwm-small.png" alt="" width="512" height="384" /></p>
<p>Downloads:</p>
<p><a href="http://strog.org/files/fvwm2-devel-port.tar.gz">fvwm2-devel-port.tar.gz</a><br />
<a href="http://strog.org/files/fvwm2-devel-2.5.23.tgz">fvwm2-devel-2.5.23.tgz</a><br />
<a href="http://strog.org/files/fvwm-config-1.1.tar.gz">fvwm2 configs ver 1.1</a></p>
<p>The port file is hackish but I&#8217;ll add checksums if/when I clean it up.  The pkg was compiled on a 4.1 box but it&#8217;s working on a couple of upgraded 4.2 boxes now. You are welcome to it but use at your own risk.  :^)</p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2007/update-pem-fvwm2-theme-for-openbsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website back up and updating again</title>
		<link>http://strog.org/2006/website-back-up-and-updating-again/</link>
		<comments>http://strog.org/2006/website-back-up-and-updating-again/#comments</comments>
		<pubDate>Fri, 15 Dec 2006 20:43:16 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://dale.shrauger.com/index.php?/archives/1-guid.html</guid>
		<description><![CDATA[The webserver that I hosted my websites on died and the backups were dated. That poor old Sun box decided it couldn&#8217;t take anymore and imploded. The box belongs to a friend of mine and he let me and another friend host our sites on it. It was in a colo facility in a rack [...]]]></description>
			<content:encoded><![CDATA[<p><img height="73" width="110" style="border: 0px none ; padding-right: 5px; padding-left: 5px; float: left;" src="http://strog.org/uploads/nebraska/NebraskaLandscape.Thumb.jpg" />
<p>The webserver that I hosted my websites on died and the backups were dated. That poor old Sun box decided it couldn&#8217;t take anymore and imploded. The box belongs to a friend of mine and he let me and another friend host our sites on it. It was in a colo facility in a rack that his worked owns. He changed jobs and they allowed him to keep his stuff there but the future looked uncertain for a while. I debated on moving off the box but as time went on, it seemed that everything would be fine where it was. That&#8217;s why there hasn&#8217;t been a lot of updates on any of my sites. I should have made a new backup anyway because I started updating everything right before it died.</p>
<p>All my website stuff has been moved to another box in the same rack but it&#8217;s much more powerful. The bad news is that it&#8217;s a production box so I can&#8217;t do whatever I want. It&#8217;s not that bad since basically everything I need is already installed and I was keeping an eye on a website running on it anyway. I already have a full backup saved offsite and will be setting up regular syncs to keep it going. </p>
<p>Unfortunately Google forgot me in the month of downtime. I used to have the top result for shrauger and strog. Now I can&#8217;t even find the main pages in the first several pages of results. Oh well, I don&#8217;t know of anyone who was acutally trying to find me that way. We are back on track and will be updating with some kind of frequency now. </p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2006/website-back-up-and-updating-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD Splash Screen</title>
		<link>http://strog.org/2006/freebsd-splash-screen/</link>
		<comments>http://strog.org/2006/freebsd-splash-screen/#comments</comments>
		<pubDate>Thu, 30 Mar 2006 18:39:28 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/11-guid.html</guid>
		<description><![CDATA[I usually run without login managers (xdm/gdm/kdm/etc.), splash screens, etc. on my main desktop but I like to have my BSD laptops looking a bit nicer when I pull them out at work or wherever. So let&#8217;s talk about adding a splash screen to FreeBSD. The format of the picture needs to be a bmp [...]]]></description>
			<content:encoded><![CDATA[<p>
<p><img width="47" hspace="5" height="50" border="0" align="left" src="http://strog.org/uploads/icons/FreeBSD.Thumb.png" />I usually run without login managers (xdm/gdm/kdm/etc.), splash screens, etc. on my main desktop but I like to have my BSD laptops looking a bit nicer when I pull them out at work or wherever. So let&#8217;s talk about adding a splash screen to FreeBSD. The format of the picture needs to be a bmp or pcx file that&#8217;s 1024&#215;768 or smaller and 256 color. Put the following in your /boot/loader.conf, copy splash.bmp to /boot and reboot.</p>
<p>splash_bmp_load=&quot;YES&quot;<br />splash_pcx_load=&quot;YES&quot;<br />vesa_load=&quot;YES&quot;<br />bitmap_load=&quot;YES&quot;<br />bitmap_name=&quot;/boot/splash.bmp&quot;</pre>
<p />
<p align="baseline">You should see your splash screen after the bootloader hits the bitmap_load command. If you don't then more than likely it's larger than 1024x768 or more than 256 colors. If it's pcx format then you still need to have the splash_bmp_load for it to work. You can press a key to get the boot process so it doesn't have to get in the way. There's a <a href="http://www.baldwin.cx/splash/#screens">splash screen page</a> back from the 3.x days and I still like a couple of the splashes from there. Probably about time for someone(s) to come up with some new ones base on the new logo. </p>
<p><img src="http://www.baldwin.cx/splash/daemon_freebsd-2.thumbnail.gif" /><img src="http://www.baldwin.cx/splash/saturn_1.thumbnail.gif" /></p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2006/freebsd-splash-screen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>FreeBSD GDM Theme</title>
		<link>http://strog.org/2006/freebsd-gdm-theme/</link>
		<comments>http://strog.org/2006/freebsd-gdm-theme/#comments</comments>
		<pubDate>Wed, 29 Mar 2006 16:09:55 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/10-guid.html</guid>
		<description><![CDATA[I put this GDM theme together last fall and posted it on Screaming Electron but thought I post it here since I was doing some desktop work. I originally found a theme I liked called Tobacco Sky. It was based off an earlier theme and had a new background with some tweaks. I just took [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.freebsd.org"><img src="http://strog.org/uploads/icons/FreeBSD.Thumb.png" border="0" alt="" hspace="5" width="47" height="50" align="left" /></a><br />
I put this GDM theme together last fall and posted it on <a href="http://screamingelectron.org">Screaming Electron</a> but thought I post it here since I was doing some desktop work. I originally found a theme I liked called <a href="http://www.gnome-look.org/content/show.php?content=18178">Tobacco Sky</a>. It was based off an earlier theme and had a new background with some tweaks. I just took that and made it into a FreeBSD theme from there since I didn&#8217;t find any good FreeBSD themes for GDM that I liked. I grabbed the graphics right off <a href="http://www.freebsd.org">freebsd.org</a>. All the real work was done by those who came before me.</p>
<p>I see that SLiM has been ported to FreeBSD. It&#8217;s a simple lightweight login manager derived from Login.app. I might convert this theme to SLiM sometime if I get the notion.</p>
<p><img src="http://strog.org/images/tobacco_sky-freebsd.jpg" alt="" width="577" height="432" /></p>
<p>Download it <a href="http://strog.org/files/tobacco_sky-freebsd.tar.bz2">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2006/freebsd-gdm-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make a pretty Fvwm desktop on FreeBSD</title>
		<link>http://strog.org/2006/make-a-pretty-fvwm-desktop-on-freebsd/</link>
		<comments>http://strog.org/2006/make-a-pretty-fvwm-desktop-on-freebsd/#comments</comments>
		<pubDate>Mon, 27 Mar 2006 18:05:27 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/9-guid.html</guid>
		<description><![CDATA[I&#8217;ve known that fvwm could be customized and prettied up but hadn&#8217;t really messed with customizing it until now. I started off with fvwm and afterstep back in the day so I still get a little nostalgic when I see anything with a fvwm feel to it. OpenBSD has fvwm as the default window manager [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://strog.org/uploads/icons/FreeBSD.Thumb.png" border="0" alt="" hspace="5" width="47" height="50" align="left" />I&#8217;ve known that <a href="http://www.fvwm.org/">fvwm</a> could be customized and prettied up but hadn&#8217;t really messed with customizing it until now. I started off with fvwm and afterstep back in the day so I still get a little nostalgic when I see anything with a fvwm feel to it. OpenBSD has fvwm as the default window manager instead of twm and I&#8217;ll usually worry about installing a window manager later since fvwm gets the job done.</p>
<p>I was looking around and ran across <a href="http://pemarchandet.free.fr/fvwm.html">PEM&#8217;s Fvwm page</a> and decided I wanted to give this theme a go. I really liked that the topbar, dock, etc. weren&#8217;t some addons but they are just built-in Fvwm modules. There&#8217;s a lot of shortcuts and tweaks for things like 3ddesktop, pseudo transparency, weather popup, icon thumbnails, etc. The icons for battery, wireless and sound all change to match the varying levels of each. The config is very modular and makes it easier to tweak. Most of the apps are setup as variables so you just fill in the variables in the ~/.fvwm/config with your terminal/browser/etc. of choice and it uses that everywhere else. It also can use gnome icon themes easily (I&#8217;m still using the gnant theme).</p>
<p>The one downside to this theme is that everything is hardcoded to the screen width (height doesn&#8217;t matter since it&#8217;s relative to top and bottom). I worked around this by making versions for 1024, 1280, 1400 and 1600 and making a script that copies them into place. I call the script (~/.fvwm/scripts/resolution.sh) from my ~/.xinitrc. Since X is running when .xinitrc is invoked, you can grep the resolution from xdpyinfo and copy the correct config before the window manager starts.</p>
<p>There&#8217;s a bunch of scripts in here that rely on Linux&#8217;s /proc, /dev/shm, etc. so I knew I&#8217;d have to rewrite some of the scripts for FreeBSD. The sysctls made this part of it a lot easier than I thought it was going to be since their output was what I was looking for. There&#8217;s sysctls for battery runtime, battery percentage and a whole lot more. There were some interesting ways to grab the info from proc on Linux so I was expecting worse. There&#8217;s a <a href="http://fvwm.lair.be/viewtopic.php?t=118">long thread</a> on fvwm&#8217;s forums and it might be linux-centric but there&#8217;s a lot of good info because there&#8217;s a lot about the configs and application setup. I also posted a thread on <a href="http://www.screamingelectron.org/forum/showthread.php?t=2603">Screaming Electron Forums</a> discussing my fvwm desktop too.</p>
<p>This relies on the 2.5.x fvwm (fvwm2-devel port) since it added new features and the new layout. I also used<a href="http://www.ignavus.net/software.html"> xosd</a> for battery and wireless output. Everything else (mixer, icon theme, browser, terminal, etc.) can be set as a variable in the ~/.fvwm/config. It will automatically start <a href="http://desk3d.sourceforge.net/screenshots.php">3ddesktop</a> when it loads if you have it installed (nice cool factor to have). I have a link for my configs, the gnant icon theme and the background here if you want to use them. Extract the config to your home, put the icon theme in /usr/X11R6/share/icons and copy the background to ~/pics/.current (or change the path in the config but still name it .current) to autoload.</p>
<p align="baseline"><strong>Before:</strong></p>
<p><a href="http://strog.org/images/neon-2006-01-30-ugly.png"><img style="border: 0pt none; margin: 0px;" src="http://strog.org/images/neon-2006-01-30-ugly.png" border="0" alt="" hspace="0" vspace="0" width="577" height="461" /></a></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p align="baseline"><strong>After:</strong></p>
<p><a href="http://strog.org/images/neon-2006-01-30-fvwm.png"><img src="http://strog.org/images/neon-2006-01-30-fvwm.png" alt="" width="576" height="461" /></a></p>
<p align="baseline"><strong>Sample Wireless output:</strong></p>
<p><img src="http://strog.org/images/ssid.png" alt="" /><strong></strong></p>
<p><strong></strong></p>
<p><strong></strong></p>
<p><strong>Configs:</strong></p>
<p><a href="http://strog.org/files/fvwm-config-1.0.tbz">fvwm configs</a></p>
<p><a href="http://strog.org/files/gnant-0.2.tar.bz2">gnant icon theme</a></p>
<p><a href="http://strog.org/files/arcticsunrise.jpg">background</a><strong></strong></p>
<p>I haven&#8217;t gotten everything ported to FreeBSD yet and there&#8217;s more tweaking that could be done to this. I&#8217;ll make updated versions of this as I go but I wanted to get this going. The weather script needs fixing, the wireless icons should change with signal strength, etc. I&#8217;d be happy to add any tweaks someone wants to send me.</p>
<p>Even if this theme doesn&#8217;t float your boat you could check out <a href="http://fvwm-crystal.berlios.de/">Fvwm Crystal Theme</a>, <a href="http://fvwm.lair.be/viewforum.php?f=39">fvwm forum configs</a> or the <a href="http://www.fvwmwiki.org/">fvwm wiki</a> for more ideas. Fvwm is extremely customizable but you have to dig into it to make your own.</p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2006/make-a-pretty-fvwm-desktop-on-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connection to the webserver is fixed</title>
		<link>http://strog.org/2006/connection-to-the-webserver-is-fixed/</link>
		<comments>http://strog.org/2006/connection-to-the-webserver-is-fixed/#comments</comments>
		<pubDate>Wed, 25 Jan 2006 00:26:00 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/8-guid.html</guid>
		<description><![CDATA[For the few visitors that visit here, I&#8217;m sure you noticed some slowness and ocassional connection reset for a while now. There was a network problem at the colo and it made upload/download directly to the box a nightmare. Hats off to elmore since he went down to the colo and tracked down the issue. [...]]]></description>
			<content:encoded><![CDATA[<p><strong><img width="50" hspace="5" height="50" border="0" align="left" src="http://strog.org/uploads/icons/Vice.Thumb.png" /></strong>
<p>For the few visitors that visit here, I&#8217;m sure you noticed some slowness and ocassional connection reset for a while now. There was a network problem at the colo and it made upload/download directly to the box a nightmare. </p>
<p>Hats off to elmore since he went down to the colo and tracked down the issue. Thanks a lot man!!  Apparently there&#8217;s 4 pieces of fiber between the distribution and the rack andsomeone replaced one with multimode fiber when everything else issingle mode. I&#8217;m amazed that it even worked at all. Long story short is that everything is working wonderfully again.</p>
<p><strong></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2006/connection-to-the-webserver-is-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenBSD on the Powerbook</title>
		<link>http://strog.org/2005/openbsd-on-the-powerbook/</link>
		<comments>http://strog.org/2005/openbsd-on-the-powerbook/#comments</comments>
		<pubDate>Fri, 30 Dec 2005 15:32:34 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/7-guid.html</guid>
		<description><![CDATA[I was looking at the OpenBSD changes since 3.8 was released and I noticed they added a new driver for the touchpads in the new Powerbooks/iBooks. I had 3.8 on here but the external mouse and lack of multiple consoles made me try ubuntu on the Powerbook. Ubuntu was ok but there were several patches [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://strog.org/uploads/icons/Powerbook.Thumb.png" border="0" alt="" hspace="5" width="54" height="50" align="left" /></p>
<p>I was looking at the OpenBSD changes since 3.8 was released and I noticed they added a new driver for the touchpads in the new Powerbooks/iBooks.  I had 3.8 on here but the external mouse and lack of multiple consoles made me try ubuntu on the Powerbook. Ubuntu was ok but there were several patches and every patch seemed to break something else. I had it working pretty good except the cpu was still running at full speed on battery. I wanted BSD on here so the fight was over. I immediatedly grabbed the latest snapshot and blew away the ubuntu install on here.</p>
<p>A quick netinstall and it&#8217;s time to find out if my touchpad works on here. I login, fire up X and the touchpad works great. I started building ports and it was smooth and working well during that. I took the laptop home after work. I started it up again and it was erratic and I had to plug in an external mouse. I tried it again later and it works fine again. Guess I&#8217;ll need to play with it some more. I&#8217;m just happy it&#8217;s making progress.</p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2005/openbsd-on-the-powerbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Project Evil and WPA</title>
		<link>http://strog.org/2005/project-evil-and-wpa/</link>
		<comments>http://strog.org/2005/project-evil-and-wpa/#comments</comments>
		<pubDate>Thu, 15 Dec 2005 00:20:00 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/6-guid.html</guid>
		<description><![CDATA[We had a bunch of Belkin wireless bridges leftover when we had a dept moving around and finally got into their own building. I found out that they had a mini-PCI card in them that could be removed and put into a laptop. I saw that it was a Broadcom chipset (Windows drivers only) until [...]]]></description>
			<content:encoded><![CDATA[<p>
<p><img width="47" hspace="5" height="50" border="0" align="left" src="http://strog.org/uploads/icons/FreeBSD.Thumb.png" /><br />We had a bunch of <a href="http://catalog.belkin.com/IWCatProductPage.process?Merchant_Id=&#038;Section_Id=201522&#038;pcount=&#038;Product_Id=154416">Belkin wireless bridges</a> leftover when we had a dept moving around and finally got into their own building. I found out that they had a mini-PCI card in them that could be removed and put into a laptop. I saw that it was a Broadcom chipset (Windows drivers only) until I had a couple Windows laptops at work that we wanted to add wireless to. I had a extra one sitting on my desk so I decided to put it in the Dell laptop and see how far I could go with <a href="http://www.freebsd.org">FreeBSD</a> 6.0.<br />Installation was easy enough since it had two antenna connectors on the card and the laptop and the slot is right behind a panel on the bottom of the laptop. I knew the drivers were hard to find until I found out the Dell 1300 wireless cards had the same chipset. We used those drivers on the Windows laptops and they worked great so I decided that&#8217;s what I&#8217;ll be using for this too. </p>
<p>Ndisgen makes building a kernel module pretty easy. You need the inf and sys drivers files from Windows and your kernel sources. It built the kernel module and then copied it to /boot/kernel with the other kernel modules. I loaded up the module by hand to make sure it would load fine and then added it and ndis to my loader.conf. A quick reboot to test it all and I see it in my dmesg when it only showed an unidentified PCI network device before. Ifconfig shows ndis0 in my interface list and it appears to be ready to be configured.</p>
<p>I read the man page and found a couple good examples for wpa_supplicant. This seems to be fairly straight forward so I loaded the kernel module, created a config file and fired it up. Everything seemed to work so I ran a dhclient on ndis0 and it immediately picks up an address. I was a bit suprised that it went so smoothly but it&#8217;s been working great for the last couple days. One of the limitations to using NDIS wrappers is that you can&#8217;t use monitor mode with the cards so wireless sniffing is out. I have an Atheros and a Orinoco card that I can use for that and besides, the Powerbook and <a href="http://kismac.binaervarianz.de">KisMac</a> do a better job at that anyway.</p>
<p />
<p />
<p />
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2005/project-evil-and-wpa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Another network change already</title>
		<link>http://strog.org/2005/another-network-change-already/</link>
		<comments>http://strog.org/2005/another-network-change-already/#comments</comments>
		<pubDate>Sat, 10 Dec 2005 01:00:00 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/5-guid.html</guid>
		<description><![CDATA[Work is providing a Sonicwall VPN/Firewall/WAP device for remote access. This complicates my network setup but I like a good challenge. I already have 4 subnets, IPSEC &#38; OpenVPN VPNs and a wireless connection. This will add another IPSEC connection, firewall with NAT, wireless and a couple more subnets. I plugged it into the DMZ [...]]]></description>
			<content:encoded><![CDATA[<p>
<p><img width="54" hspace="5" height="49" border="0" align="left" src="http://strog.org/uploads/icons/Bottle.Thumb.png" />Work is providing a <a href="http://www.sonicwall.com">Sonicwall</a> VPN/Firewall/WAP device for remote access. This complicates my network setup but I like a good challenge. I already have 4 subnets, IPSEC &amp; OpenVPN VPNs and a wireless connection. This will add another IPSEC connection, firewall with NAT, wireless and a couple more subnets.</p>
<p>I plugged it into the DMZ switch first thing since that is a restrictive subnet as far as firewall rules are concerned. I wanted to disable NAT right away but I don&#8217;t see any good way to do this with this firmware (or the latest after I loaded it). I did find the  NAT one-to-one options and assigned a couple ranges to the wired and wireless ranges respectively.  It won&#8217;t allow wireless to LAN unless you are encypted so I enabled WPA and setup the Powerbook to connect. I plugged the Dell laptop into  one of the LAN ports to test the wired side of this setup. I still have the VPN client on the Powerbook to connect directly so I logged into the main VPN concentrator with that and used the Dell to connect to the local. I had a functional tunnel in less than 5 minutes.  </p>
<p>It looks like the detect dead tunnel option is kicking in faster than the heartbeats to keep the tunnel active. That basically means the tunnel isn&#8217;t staying up unless I keep traffic running across it. I have to initiate it from the client (home) side so that means I can&#8217;t get back to home from work unless I tweak this setting. I wrote a little ping script running in screen on the Dell to test and it seems to keep the tunnel up fine.  This 802.11g connection isn&#8217;t really doing much better on throughput than my old setup which was just a 802.11b PCMCIA card in a PCI slot running on a system cobbled together out of spare parts. Guess I&#8217;ll have to look into this some more. </p>
<p>I also need to put another NIC (or two while I&#8217;m at it) into the firewall and move this to its own DMZ so I can lock the firewall rules down with more control. An upside of not running the wireless over OpenVPN is that I don&#8217;t have to push the default gateway. That makes external access a lot easier to manage since it reduces the bandwidth going through the home connection.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2005/another-network-change-already/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVPN on the wireless and external</title>
		<link>http://strog.org/2005/openvpn-on-the-wireless-and-external/</link>
		<comments>http://strog.org/2005/openvpn-on-the-wireless-and-external/#comments</comments>
		<pubDate>Sun, 04 Dec 2005 21:33:00 +0000</pubDate>
		<dc:creator>Strog</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://strog.org/index.php?/archives/4-guid.html</guid>
		<description><![CDATA[I installed OpenVPN on the firewall/WAP to replace WEP permanently. It&#8217;s pushing the subnet and remote gateway as default. This is working great on wireless but the same setup works on the external interface too and I&#8217;m not so sure that I want to push the default gateway when I&#8217;m logged in from work/out/etc. That [...]]]></description>
			<content:encoded><![CDATA[<p><img width="50" hspace="5" height="50" border="0" align="left" src="http://strog.org/uploads/icons/Wireless2.Thumb.png" />
<p>I installed <a href="http://openvpn.net">OpenVPN</a> on the firewall/WAP to replace WEP permanently. It&#8217;s pushing the subnet and remote gateway as default. This is working great on wireless but the same setup works on the external interface too and I&#8217;m not so sure that I want to push the default gateway when I&#8217;m logged in from work/out/etc. That can be a lot of data to push to home and then out. This needs some tweaking. I&#8217;m using <a href="http://tunnelblick.net/">Tunnelblick</a> front end on the <a href="http://www.apple.com/powerbook/">Powerbook</a> and it&#8217;s working nicely.   </p>
<p>The client/server setup only uses tun devices which works great for *nix but Windows only has tap drivers available. I could setup another instance of <a href="http://openvpn.net">OpenVPN</a> to create a point to point connection for Windows but I think I&#8217;ll just enable an <a href="http://www.openbsd.org/faq/pf/authpf.html">authpf</a> profile for this. I don&#8217;t have a laptop running Windows so this isn&#8217;t really a big issue right now. The Powerbook has an install of Win2k on it that I use once in a while but it routes through OS X and the old Dell laptop runs FreeBSD, OpenBSD, and Linux. The other option is Windows is wired instead of wireless.</p>
]]></content:encoded>
			<wfw:commentRss>http://strog.org/2005/openvpn-on-the-wireless-and-external/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

