<div><br><div class="gmail_quote">On Mon, Jan 10, 2011 at 10:07 AM, andu novac <span dir="ltr">&lt;<a href="mailto:novac.andu@gmail.com">novac.andu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I&#39;m trying to share an internet connection (pppoe) from one computer<br>
to another via wifi (wlan0). I had this working fine before I upgraded<br>
fron 32 to 64 bit Debian. The problem is that the computer on the wifi<br>
network (the client) can reach some addresses (Google, Yahoo) but not<br>
others where it hangs forever (Facebook). This setup I&#39;m using is a<br>
solution I found on the internet.<br>
<br></blockquote><div><br></div><div>If the client can reach some addresses, it&#39;s not a dhcp issue, and probably not dns either, so dnsmasq is the last place I&#39;d look.<div><br></div><div>My crystal ball says you have an MTU problem.  pppoe, like all tunnels, often reduces the MTU for tunneled traffic.  If PTMU discovery isn&#39;t configured or working right on the client, there could be problems.  Just turning the interface MTU on the client down by 40 bytes or so may resolve the issue.<br>
</div></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The relevant options in dnsmasq.conf are:<br>
domain-needed<br>
bogus-priv<br>
interface=wlan0<br>
dhcp-range=10.11.5.1,10.11.5.5,12h<br>
<br>
and the script used to get everything working just configures wlan0<br>
for ad-hoc mode and<br>
/etc/init.d/dnsmasq restart<br>
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE<br>
<br>
Any help would be appreciated, thanks.<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
<a href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a><br>
<a href="http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss" target="_blank">http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss</a><br>
</blockquote></div><br></div>