<?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>What&#039;s All This Brouhaha? &#187; OpenWRT</title>
	<atom:link href="https://whats.all.this.brouhaha.com/category/computing/software/linux/openwrt/feed/" rel="self" type="application/rss+xml" />
	<link>https://whats.all.this.brouhaha.com</link>
	<description>miscellaneous musings and random rantings</description>
	<lastBuildDate>Fri, 01 Nov 2019 06:31:54 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9</generator>
	<item>
		<title>USB tethering an Android phone to an OpenWRT router</title>
		<link>https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/</link>
		<comments>https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 05:46:56 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[OpenWRT]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=834</guid>
		<description><![CDATA[Now that I&#8217;ve got OpenWRT 10.03 &#8220;Backfire&#8221; running on my DIR-825, I decided to take advantage of the new USB tethering feature of Android 2.2 &#8220;Froyo&#8221;.  I connected my Nexus One phone to the USB port of the DIR-825, and &#8230; <a href="https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Now that I&#8217;ve got OpenWRT 10.03 &#8220;Backfire&#8221; running on my DIR-825, I decided to take advantage of the new USB tethering feature of Android 2.2 &#8220;Froyo&#8221;.  I connected my Nexus One phone to the USB port of the DIR-825, and installed the following packages:</p>
<ul>
<li>kmod-nls-base</li>
<li>kmod-usb2</li>
<li>kmod-usb-core</li>
<li>kmod-usb-net</li>
<li>kmod-usb-net-cdc-ether</li>
<li>kmod-usb-net-rndis</li>
<li>kmod-usb-ohci</li>
<li>kmod-usb-uhci</li>
</ul>
<p>Once these were installed, I edited /etc/config/network, and under &#8220;config interface wan&#8221; replaced &#8220;option ifname eth1&#8243; with &#8220;option ifname usb0&#8243;.</p>
<p>I enabled USB tethering on the phone, and upon rebooting the router, it successfully set up the usb0 network interface and obtained its IP address, netmask, default gateway, etc. from the phone via DHCP.</p>
<p>At this point the only problem is that if I disconnect the phone (or disable tethering), then reconnect, the usb0 interface appears, but does not get configured by dhcp.</p>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2010/07/21/usb-tethering-an-android-phone-to-an-openwrt-router/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Installing OpenWRT 10.03 &#8220;Backfire&#8221; on a DIR-825</title>
		<link>https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/</link>
		<comments>https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/#comments</comments>
		<pubDate>Thu, 22 Jul 2010 05:38:01 +0000</pubDate>
		<dc:creator><![CDATA[Eric]]></dc:creator>
				<category><![CDATA[OpenWRT]]></category>

		<guid isPermaLink="false">http://whats.all.this.brouhaha.com/?p=830</guid>
		<description><![CDATA[I did a fresh install of the jffs2 build of Backfire on a D-Link DIR-825.  I could have used the squashfs version, and have done that in the past, but using the jffs2 build makes it easier to use an &#8230; <a href="https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I did a fresh install of the jffs2 build of Backfire on a D-Link DIR-825.  I could have used the squashfs version, and have done that in the past, but using the jffs2 build makes it easier to use an external USB flash drive as the root filesystem, which I plan to do later.</p>
<p>If you&#8217;re starting from factory firmware, the release image of Backfire has to be installed via the router&#8217;s recovery mode, which is slightly tricky.  Previously I&#8217;d figured out how to modify the image to install using the router&#8217;s standard firmware upgrade page, and that is now available in OpenWRT snapshots, but not yet in an official release.  However, last night I found that this method didn&#8217;t seem to work with the jffs2 image, so I reverted to trying to use the recovery mode.</p>
<p>Some people have had lots of problems with the DIR-825 recovery mode, but for others it works fine.  Originally it seemed like there was some kind of browser dependency, but apparently that is not the case.  The actual problem is that the recovery mode doesn&#8217;t work over a gigabit LAN link.  (This is now noted in the OpenWRT wiki, but wasn&#8217;t back when I first was trying to install OpenWRT.)  If you stick to 100 Mbps or 10 Mbps, it works fine.  Some people have had luck with issuing a command on their host to force the interface to 100 Mbps.  I tried that using ethtool on Linux (e.g., &#8220;sudo ethtool -s eth0 autoneg off advertise 00c speed 100&#8243;), and while that did seem to force the link to 100 Mbps, then I couldn&#8217;t talk to the DIR-825 at all.  I ultimately used a different laptop that had only a 10/100 port, and it worked fine.  Alternatively, I could have stuck a 10/100 switch between my laptop with gigabit and the DIR-825.</p>
]]></content:encoded>
			<wfw:commentRss>https://whats.all.this.brouhaha.com/2010/07/21/installing-openwrt-10-03-backfire-on-a-dir-825/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
