Editing N900 USB networking

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 71: Line 71:
</pre>
</pre>
-
To automatically setup usb0 when entering PC suite mode edit the file <code>/etc/default/usbnetwork</code> and set the variable <code>USBNETWORK_ENABLE</code>.
+
To automatically setup usb0 when entering PC suite mode change the last few lines of <code>/usr/sbin/pcsuite-enable.sh</code> by adding the "ifup usb0" line.
 +
<pre>
 +
logger "$0: sent SIGUSR1 to syncd"
 +
ifup usb0
 +
exit 0
 +
</pre>
 +
And, to automatically down your usb0 interface when leaving PC suite mode, add to <code>/usr/sbin/pcsuite-disable.sh</code>
<pre>
<pre>
-
# Automatically enable USB network when PC Suite mode is active (default disabled)
+
ifdown usb0
-
USBNETWORK_ENABLE=1
+
exit 0
</pre>
</pre>

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)