Stefan Monnier, 2009-07-20 22:41:32 -0400 :

>>> Could you describe a bit more what this is trying to do (which
>>> problem it's trying to solve)?  I've looked at the file but still
>>> can't figure it out.
>
>> All the networking I do on the Freerunner goes through USB, via a more
>> standard computer (desktop or laptop) that happens to have a
>> conventional IP connection (ethernet or wireless).  To share the
>> connection, you need:
>
> So, IIUC, the script you sent is installed/run on the PC not on the
> FR?

  Right.

>> - NATing/masquerading and forwarding so that the computer forwards
>>   packets back and forth;
>
> I get the above two on my Debian PC with the chunk below in
> /etc/network/interfaces:

[...]

>         #post-up ssh neo resolvconf -a usb0 </etc/resolv.conf &

  Nice trick :-)

> So the DNAT bits of your script can be replaced by the installation
> of the dnsmasq package, right?

  Right.

> So your Neo is setup with "server 192.168.0.200" in
> /etc/resolv.conf?

  Yes.

> How do you do that (purely statically by hand, or via resolvconf?)?

  By hand (but only once).

> As you can see in the above "interfaces" snippet, I used yet another
> trick at some point (copy the resolv.conf file from the PC to the
> Neo via ssh).

  That can work too, if you have SSH keys set up.

Roland.
-- 
Roland Mas

...sur un portable, quelque part dans le monde...
...on a laptop, somewhere in the world...

_______________________________________________
Smartphones-userland mailing list
Smartphones-userland@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/smartphones-userland

Reply via email to