[TriLUG] Sharing WiFi through Ethernet

Brian McCullough bdmc at buadh-brath.com
Fri Aug 15 12:11:42 EDT 2014


On Fri, Aug 15, 2014 at 09:01:03AM -0400, Bill Farrow wrote:
> On Fri, Aug 15, 2014 at 12:15 AM, Brian McCullough <bdmc at buadh-brath.com> wrote:
> > There is obviously something that I am missing.  Where should I go?
> 
> Brian,
> This is my command sequence - note that I restart dnsmasq at the end:
> 
>   sudo ifconfig eth0 10.0.0.1 up
>   sudo iptables -t nat -F
>   sudo iptables -t nat -A POSTROUTING -o eth0 -s 10.0.0.0/24 -j MASQUERADE
>   sudo sysctl net.ipv4.ip_forward=1
>   sudo /etc/init.d/dnsmasq restart
> 
> 
> If this fails, please provide (via pastebin) your dnsmasq.conf ,
> ifconfig, ip route show

Unfortunately, I am still getting the "can not connect to Internet"
issue.

I don't know whether it is relevant, but the netmask on eth0 is /8,
rather than /24.

DnsMasq.conf: http://pastebin.ca/2833014
IfConfig: http://pastebin.ca/2833015
ip route show: http://pastebin.ca/2833016



Thanks for the help, Bill.


> Bill


Brian




More information about the TriLUG mailing list