<div dir="ltr">It might be worth while to add these steps somewhere on the wiki.<br><br>-SR<br><br><div class="gmail_quote">On Sat, Jul 19, 2008 at 5:34 AM, Yoann B. &lt;<a href="mailto:executionner@free.fr">executionner@free.fr</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Ok, I finally made it work !!!!!<br>
<br>
So, for those who are under <a href="http://192.168.0." target="_blank">192.168.0.</a>* network, and ubuntu, here&#39;s what I<br>
did :<br>
<br>
** disconnect from network<br>
<div class="Ih2E3d">On freerunner /etc/network/interfaces I replaced by<br>
iface usb0 inet static<br>
 &nbsp; &nbsp; &nbsp; &nbsp;address <a href="http://192.168.2.202" target="_blank">192.168.2.202</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;netmask <a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;network <a href="http://192.168.2.0" target="_blank">192.168.2.0</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;gateway <a href="http://192.168.2.200" target="_blank">192.168.2.200</a><br>
 &nbsp; &nbsp; &nbsp; &nbsp;up echo nameserver <a href="http://192.168.2.200" target="_blank">192.168.2.200</a> &gt;/etc/resolv.conf<br>
<br>
</div>In /etc/resolv.conf, replace &quot;nameserver <a href="http://192.168.0.200" target="_blank">192.168.0.200</a>&quot; by &quot;nameserver<br>
<a href="http://192.168.2.202" target="_blank">192.168.2.202</a>&quot;<br>
* not very useful, but give it a try<br>
Still in freerunner, but on the device : &quot;/etc/init.d/networking restart&quot;<br>
<div class="Ih2E3d"><br>
Then on my computer&#39;s /etc/network/interfaces :<br>
auto usb0<br>
iface usb0 inet static<br>
 &nbsp; address <a href="http://192.168.2.200" target="_blank">192.168.2.200</a><br>
 &nbsp; netmask <a href="http://255.255.255.0" target="_blank">255.255.255.0</a><br>
 &nbsp; network <a href="http://192.168.2.0" target="_blank">192.168.2.0</a><br>
 &nbsp; up iptables -A POSTROUTING -t nat -j MASQUERADE -s <a href="http://192.168.2.0/24" target="_blank">192.168.2.0/24</a> &amp;<br>
 &nbsp; up echo 1 &gt; /proc/sys/net/ipv4/ip_forward &amp;<br>
 &nbsp; up iptables -P FORWARD ACCEPT &amp;<br>
 &nbsp; down iptables -D POSTROUTING -t nat -j MASQUERADE -s <a href="http://192.168.2.0/24" target="_blank">192.168.2.0/24</a> &amp;<br>
<br>
</div>On computer&#39;s, &quot;/etc/init.d/networking/restart&quot;.<br>
Then, in Firestarter (System -&gt; Administration -&gt; Firestarter), this<br>
configuration :<br>
- in politic, entry trafic, autorize connections from <a href="http://192.168.2.202" target="_blank">192.168.2.202</a><br>
- autorize service SSH port 22 for <a href="http://192.168.2.202" target="_blank">192.168.2.202</a><br>
<br>
And the most important, in Preferences -&gt; Firewall -&gt; Network configuration<br>
:<br>
Set local network device to &quot;Unknown device (usb0)&quot;, and tick &quot;Authorize<br>
internet connection sharing&quot;<br>
<br>
Then &quot;Accept&quot;, on my computer it display an error message, but no matter.<br>
<br>
In a console, ssh <a href="mailto:root@192.168.2.202">root@192.168.2.202</a> ... and it works !!!<br>
<br>
Thanks for your help all !<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
arne anka wrote:<br>
&gt;<br>
&gt;&gt; And when I try to ping (with network enabled) :<br>
&gt;&gt; ~$ ping <a href="http://192.168.2.202" target="_blank">192.168.2.202</a><br>
&gt;&gt; PING <a href="http://192.168.2.202" target="_blank">192.168.2.202</a> (<a href="http://192.168.2.202" target="_blank">192.168.2.202</a>) 56(84) bytes of data.<br>
&gt;&gt; ping: sendmsg: Operation not permitted<br>
&gt;<br>
&gt; we got that earlier today on the list and it turned out to be the<br>
&gt; firewall&#39;s fault -- probably your firewall ist shut down when you shutdown<br>
&gt; your network.<br>
&gt; have a look at the firewall&#39;s configuration if so and add a rule for the<br>
&gt; openmoko.<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; support mailing list<br>
&gt; <a href="mailto:support@lists.openmoko.org">support@lists.openmoko.org</a><br>
&gt; <a href="https://lists.openmoko.org/mailman/listinfo/support" target="_blank">https://lists.openmoko.org/mailman/listinfo/support</a><br>
&gt;<br>
&gt;<br>
<br>
</div></div><font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/SSH-into-Freerunner-tp532402p551018.html" target="_blank">http://n2.nabble.com/SSH-into-Freerunner-tp532402p551018.html</a><br>
</font><div class="Ih2E3d">Sent from the Openmoko Support mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">support mailing list<br>
<a href="mailto:support@lists.openmoko.org">support@lists.openmoko.org</a><br>
<a href="https://lists.openmoko.org/mailman/listinfo/support" target="_blank">https://lists.openmoko.org/mailman/listinfo/support</a><br>
</div></div></blockquote></div><br></div>