<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>tomato networking on random thoughts</title><link>https://awesomeprogrammer.com/categories/tomato-networking/</link><description>Recent content in tomato networking on random thoughts</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Thu, 23 Apr 2015 00:00:00 +0000</lastBuildDate><atom:link href="https://awesomeprogrammer.com/categories/tomato-networking/index.xml" rel="self" type="application/rss+xml"/><item><title>WAN DHCP mystery on Tomato software</title><link>https://awesomeprogrammer.com/blog/2015/04/23/wan-dhcp-mystery-on-tomato-software/</link><pubDate>Thu, 23 Apr 2015 00:00:00 +0000</pubDate><guid>https://awesomeprogrammer.com/blog/2015/04/23/wan-dhcp-mystery-on-tomato-software/</guid><description><![CDATA[<p>Lately I&rsquo;ve been messing with my home network - long story short I ended up buying new router because my old Buffalo WZR-HP-G300NH was starting to having problems with wifi signal strength out of the blue. So I ended up with NetGear N300 v2 running Tomato by Shibby and a smaller one TP-LINK WR710N for the other room. And here is the kicker - none of routers was able to obtain IP address on WAN port via DHCP (after cloning mac address of wan port, as mac was filtered by my Internet provided).</p>
<p>I tried different configurations, different firmwares, but it seems like only my Buffalo (running OpenWRT) was working fine. After wasting hours and reading many forums I decided to check default <code>udhcpc</code> settings on OpenWRT very next morning and there I had epiphany - Tomato used different configuration, and to be exact two options were missing:</p>
<ul>
<li><code>-t 0</code> - <em>Send up to N discover packets</em></li>
<li><code>-C</code> - <em>Don&rsquo;t send MAC as client identifier</em></li>
</ul>
<p>My solution:</p>
<ul>
<li>go to Settings -&gt; Advanced -&gt; DHCP Client (WAN)</li>
<li>In <em>DHCPC Options</em> simply add <code>-t 0 -C</code>, click save and enjoy obtained IP address. I&rsquo;m guessing this is required by <em>some</em> routers on the other end (didn&rsquo;t bothered to dig deeper into this)</li>
</ul>
<p>I hope this tip will save some time for some lost souls like me ;).</p>
]]></description><content:encoded><![CDATA[<p>Lately I&rsquo;ve been messing with my home network - long story short I ended up buying new router because my old Buffalo WZR-HP-G300NH was starting to having problems with wifi signal strength out of the blue. So I ended up with NetGear N300 v2 running Tomato by Shibby and a smaller one TP-LINK WR710N for the other room. And here is the kicker - none of routers was able to obtain IP address on WAN port via DHCP (after cloning mac address of wan port, as mac was filtered by my Internet provided).</p>
<p>I tried different configurations, different firmwares, but it seems like only my Buffalo (running OpenWRT) was working fine. After wasting hours and reading many forums I decided to check default <code>udhcpc</code> settings on OpenWRT very next morning and there I had epiphany - Tomato used different configuration, and to be exact two options were missing:</p>
<ul>
<li><code>-t 0</code> - <em>Send up to N discover packets</em></li>
<li><code>-C</code> - <em>Don&rsquo;t send MAC as client identifier</em></li>
</ul>
<p>My solution:</p>
<ul>
<li>go to Settings -&gt; Advanced -&gt; DHCP Client (WAN)</li>
<li>In <em>DHCPC Options</em> simply add <code>-t 0 -C</code>, click save and enjoy obtained IP address. I&rsquo;m guessing this is required by <em>some</em> routers on the other end (didn&rsquo;t bothered to dig deeper into this)</li>
</ul>
<p>I hope this tip will save some time for some lost souls like me ;).</p>
]]></content:encoded></item></channel></rss>