Note: This page does not discuss connecting HSMM mesh to the Internet. It’s just about talking to the mesh and the Internet from the same client device.
I’ve been playing with hsmm-mesh lately on my laptop. Up until now, when I’ve done this I could either view the HSMM mesh or the Internet, but not both. There were a couple of reasons:
1. My routing tables didn’t know how to direct traffic to the HSMM mesh network.
To solve this, I needed to tell the laptop to send traffic in the 10.*.*.* range to the HSMM mesh rather than to the default gateway:
ip route add 10.0.0.0/8 via 172.27.0.1 dev eth0
2. I had to make sure things were resolving right for DNS (in my /etc/resolv.conf):
domain austin.tx.us.mesh search austin.tx.us.mesh nameserver 172.27.0.1 nameserver 192.168.1.1
DNS is still a bit of an issue. 172.27.0.1 resolves anything in *.austin.tx.us.mesh, so my local network is never found. But at least I can browse the web and HSMM.