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 252: Line 252:
  ifconfig n900
  ifconfig n900
-
 
-
=== Automatic configuration with Ubuntu 12.04 ===
 
-
 
-
Create the file /etc/udev/rules.d/nokia-n900.rules and add this (single) line:
 
-
<pre>
 
-
ACTION=="add", DRIVERS=="usb", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="01c8", ATTRS{manufacturer}=="Nokia", ATTRS{product}=="N900 (PC-Suite Mode)", NAME="usb0", RUN+="/sbin/ifup usb0"
 
-
</pre>
 
-
 
-
NetworkManager must be told to ignore usb0.  Use ifconfig to get the MAC address of usb0, and add these lines to /etc/NetworkManager/NetworkManager.conf:
 
-
<pre>
 
-
[keyfile]
 
-
unmanaged-devices=mac:XX:XX:XX:XX:XX:XX # replace X's with usb0 MAC address
 
-
</pre>
 
-
 
-
Add the following lines to /etc/network/interfaces:
 
-
<pre>
 
-
# N900 on usb0
 
-
allow-hotplug usb0
 
-
iface usb0 inet static
 
-
  address 192.168.2.14 
 
-
  netmask 255.255.255.0
 
-
</pre>
 
-
 
-
Restart the affected services:
 
-
<pre>
 
-
sudo service udev restart
 
-
sudo service network-manager restart
 
-
</pre>
 
-
 
-
Now when you connect the N900 via USB and select PC Suite Mode, usb0 will be up and configured.
 
=== Automatic configuration with Ubuntu 9.10/10.04/11.10 ===
=== Automatic configuration with Ubuntu 9.10/10.04/11.10 ===

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)