<a href="Non-Sumou.html">Other Debian GNU/Linux on the Universal tips</a></p>
The phone can connect to a PC via a standard USB cable. To create the network interface:</p> <ul> <li><strong>On the Universal</strong> install titchy-network-settings: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># aptitude update<br /> # aptitude install titchy-network-settings</b></td></tr></table></li> <li>Plug in the USB cable, connecting the Universal and the PC.</li> <li><strong>On the PC</strong> type: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># ifconfig usb0 192.168.0.1<br /> # echo 1 > /proc/sys/net/ipv4/ip_forward<br /> # iptables -A FORWARD -j ACCEPT<br /> # iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -o eth0 -j MASQUERADE</b></td></tr></table> where usb0 is the USB network interface, and eth0 is the internet-connected interface.</li> <li><strong>On the Universal</strong>, type: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># ifup usb0</b></td></tr></table></li> </ul>
To stop the USB network connection, <strong>on the Universal</strong> type: <table bgcolor="#000000" border="1"><tr><td border="0"><font color="#FFFF00"><b># ifdown usb0</b></td></tr></table></p>
<em>Reference:</em> <em><a href="http://sumou.comuni/vebu/titchy-usb-networking.html">Titchy USB networking</a>,</em> <em>originally found</em> <em><a href="http://wiki.neilandtheresa.co.uk/Titchy_Linux/Tips/Networking/USB">here</a>.</em> <!— Page published by Emacs Muse ends here —> </div> <i>To send me feedback about this page, use the below email.</i><br /> <b>© sumoudou.org 2010</b><br /> <img style="border:0" alt="sumoudou.org" src="email.gif" width="129" height="10" /><br /> <a href="http://www.gnu.org/" style="text-decoration: none;"><img style="border:0" alt="GNU" src="powered-by-gnu.png" />]] <a href="http://www.gnu.org/software/emacs/emacs.html" style="text-decoration: none;"><img style="border:0" alt="GNU Emacs" src="made-with-emacs.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hcoop-proud-member.png" />]] <a href="http://hcoop.net/" style="text-decoration: none;"><img style="border:0" alt="HCoop" src="hosted-by-hcoop.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="made-with-muse.png" />]] <a href="http://mwolson.org/projects/EmacsMuse.html" style="text-decoration: none;"><img style="border:0" alt="Emacs Muse" src="powered-by-muse.png" />]] <br /> <a href="http://www.fsf.org/resources/formats/playogg" style="text-decoration: none;"><img style="border:0" alt="Ogg" src="play-ogg.png" />]] <a href="http://www.catb.org/hacker-emblem/" style="text-decoration: none;"><img style="border:0" alt="Glider" src="glider.png" />]] <a href="http://ubuntu.com/" style="text-decoration: none;"><img style="border:0" alt="Ubuntu" src="ubuntu.png" />]] <a href="http://validator.w3.org/check?uri=referer" style="text-decoration: none;"><img style="border:0" alt="Valid XHTML 1.0 Strict!" src="valid-xhtml10-blue.png" />]] <a href="http://jigsaw.w3.org/css-validator/check/referer" style="text-decoration: none;"><img style="border:0" alt="Valid CSS!" src="valid-css-blue.png" />]] <br />Last updated January 10, 2010
</div> <br />. </body> </html>