<?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>munky.net &#187; Linux</title>
	<atom:link href="http://www.munky.net/category/software/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.munky.net</link>
	<description>design and open source</description>
	<lastBuildDate>Mon, 19 Jul 2010 23:25:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>More on system-config-network</title>
		<link>http://www.munky.net/software/linux/more-on-system-config-network/</link>
		<comments>http://www.munky.net/software/linux/more-on-system-config-network/#comments</comments>
		<pubDate>Wed, 30 Mar 2005 01:44:43 +0000</pubDate>
		<dc:creator>rdo</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.munky.net/?p=18</guid>
		<description><![CDATA[Now that I&#8217;ve been using my linux laptop with its new wireless connection, I wanted a way to switch between configurations for home (specific ESSID with encryption) and school (various ESSIDs with no encryption). I struggled with this for awhile using the system-config-network tool, which shows up in xfce as &#8220;Network Device Control&#8221; under the [...]]]></description>
			<content:encoded><![CDATA[<p>Now that I&#8217;ve been using my linux laptop with its new wireless connection, I wanted a way to switch between configurations for home (specific ESSID with encryption) and school (various ESSIDs with no encryption). I struggled with this for awhile using the system-config-network tool, which shows up in xfce as &#8220;Network Device Control&#8221; under the System menu and used to be called redhat-config-network in the RedHat days. However, I was having trouble getting multiple profiles to work, and the documentation wasn&#8217;t helping.</p>
<p>Finally I figured it out with the help of <a href="http://linuxplanet.com/linuxplanet/tutorials/5779/2/">this guide on LinuxPlanet</a>. Apparently settings in the default &#8220;Common&#8221; profile actually affects all profiles, which is why I was unable to get my Common (home) and School profiles to maintain separate settings. The key is to ignore the Common profile and create discrete new profiles for each actual set of settings you want to use.</p>
<p><span id="more-18"></span>Now if I could only figure out how to get the wireless card to just connect to any available AP without having to tell it an ESSID, since there are many AP&#8217;s in my department building. Apparently that problem is solved by <a href="http://www.gnome.org/projects/NetworkManager/">NetworkManager</a>, which is a replacement for the standard linux network service, but I haven&#8217;t had any luck getting that to work yet (for one thing, the UI component doesn&#8217;t work under xfce).</p>
<p>For now the way I&#8217;m dealing with this is to set up a profile in the system network tool for each AP that I connect to, and use the netprofile=[profile name] kernel param in grub.conf to choose between which one I want at startup.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.munky.net/software/linux/more-on-system-config-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting a wireless card working in Fedora Core 3 using ndiswrapper</title>
		<link>http://www.munky.net/software/linux/getting-a-wireless-card-working-using-ndiswrapper/</link>
		<comments>http://www.munky.net/software/linux/getting-a-wireless-card-working-using-ndiswrapper/#comments</comments>
		<pubDate>Wed, 23 Mar 2005 08:49:27 +0000</pubDate>
		<dc:creator>rdo</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.munky.net/?p=17</guid>
		<description><![CDATA[My (ultimately successful) experiences getting a cheap wireless card working using the ndiswrapper drivers.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m posting this with the hope that someone in a similar situation might come across it on a Google search and find some helpful information.</p>
<p>This evening I managed to get a cheap ($10 after rebates at Fry&#8217;s) <a href="http://www.buffalotech.com/wireless/products/airstation/WLICBG54L.html">Buffalo WLI-CB-G54L wireless PCMCIA card</a> working in my aging Sony Vaio PCG-F540 (Pentium III) laptop, which I just upgraded to Fedora Core 3. This card is based on the Texas Instruments ACX 111 chip, which lacks any sort of official Linux driver support from the manufacturer. Although <a href="http://acx100.sourceforge.net/">there is an open-source project to create a native Linux driver for this device</a>, that driver in its present state does not support WEP encryption, and I wasn&#8217;t about to run an unsecured wireless network. My only other option was to use the <a href="http://ndiswrapper.sourceforge.net">ndiswrapper</a> package, which basically allows binary Windows XP wireless drivers to work in Linux. Amazingly enough, it ended up working.</p>
<p><span id="more-17"></span>There&#8217;s a <a href="http://ndiswrapper.sourceforge.net/mediawiki/index.php/Installation">pretty good install guide for ndiswrapper</a> as part of the Wiki on their site. I basically followed the instructions there, but there are a few things worth mentioning.</p>
<p>First, it&#8217;s not necessary to install the Fedora 3 kernel sources as the install guide implies. Doing this is actually a pain in FC3 because they&#8217;ve gotten rid of the kernel-sources rpm; you now have to get the sources by installing the kernel SRPM (which is different) and going through a few additional steps (this is documented in the <a href="http://download.fedora.redhat.com/pub/fedora/linux/core/3/i386/os/RELEASE-NOTES-en.html">Fedora Core 3 Release Notes</a>). The ndiswrapper source only needs the kernel module sources to be present, which you will find in /lib/modules on a stock FC3 install.</p>
<p>So I build ndiswrapper with the usual <code>make</code>, <code>make install</code> procedure, and then downloaded the card&#8217;s windows drivers from <a href="http://www.buffalotech.com/downloads/CBG54L.zip">Buffalo&#8217;s site</a>. Following the instructions on the Wiki, I installed those drivers using <code>ndiswrapper -i</code>, modprobe&#8217;d the ndiswrapper kernel module, and was able to see my AP with <code>iwlist wlan0 scan</code>.</p>
<p>At this point I encountered the first big problem, which was that when I tried to set the WEP key using <code>iwconfig wlan key restricted [key]</code>, I ended up with a segfault that pretty much locked up the machine. Looking back through the Wiki, I suspected that the problem was that the FC3 kernel has a stack size limited to 4k. Windows drivers apparently often use much more than that. I couldn&#8217;t even find the right option to change that in the Fedora kernel config (<code>CONFIG_4KSTACKS</code>); evidently I&#8217;d have to compile a totally generic kernel in order to change that setting. Fortunately <a href="http://www.linuxant.com">Linuxant</a>, a software company that sells a commercial version of what ndiswrapper does has provided <a href="http://www.linuxant.com/driverloader/wlan/full/downloads-fc3-kernel-i686.php">versions of the Fedora kernel that allow larger stack sizes</a>. I downloaded and installed their kernel RPM, and no more segfault when turning on WEP.</p>
<p>The next step was to get the wireless card to connect to the AP using <code>iwconfig wlan0 essid [my AP's ESSID]</code>. That took a lot longer than it should have, because I forgot that my wireless AP was set up to only take connections from certain preregistered MAC addresses. So once I remembered that and added the new card&#8217;s MAC address to the list, I was able to establish a link to the AP.</p>
<p>The final step was to set up linux networking to use the wireless link. At first I tried writing my own <code>/etc/sysconfig/network-scripts/ifcfg-wlan0</code> file, but I kept getting something wrong and it wouldn&#8217;t work. Every time I tried <code>/sbin/ifup</code> the card try to get a DHCP address, fail, reset, and no longer be connected to the AP.</p>
<p>A few more Google searches led me to try the built in network config tool, which lives at <code>/usr/sbin/system-config-network-gui</code>. I never used to pay much attention to those RedHat system config tools, but it really saved me in this case. First, though, I had to run <code>ndiswrapper -m</code>, which added a line to <code>/etc/modprobe.conf</code> that allowed the system-config tool to recognize the ndiswrapper process as a wlan device. From there I just set it up using the GUI, saved the configuration, and hit Activate. Actually that ended up crashing the machine on the first try, but after I restarted my net connection was up and running just like magic.</p>
<p>This all involved a bit more fussing around than I normally like to have to do to get a network connection going these days, but I&#8217;m glad it worked out eventually and hope that this post can point some others in the right direction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.munky.net/software/linux/getting-a-wireless-card-working-using-ndiswrapper/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
